1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
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 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
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
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
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)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxOGLConstraint swig_types[0]
210 #define SWIGTYPE_p_wxBrush swig_types[1]
211 #define SWIGTYPE_p_wxColour swig_types[2]
212 #define SWIGTYPE_p_wxShapeRegion swig_types[3]
213 #define SWIGTYPE_p_wxDC swig_types[4]
214 #define SWIGTYPE_p_wxRealPoint swig_types[5]
215 #define SWIGTYPE_p_wxPyControlPoint swig_types[6]
216 #define SWIGTYPE_p_wxArrowHead swig_types[7]
217 #define SWIGTYPE_p_char swig_types[8]
218 #define SWIGTYPE_p_wxStringList swig_types[9]
219 #define SWIGTYPE_p_wxPanel swig_types[10]
220 #define SWIGTYPE_p_bool swig_types[11]
221 #define SWIGTYPE_p_wxList swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxScrolledWindow swig_types[14]
224 #define SWIGTYPE_p_wxWindow swig_types[15]
225 #define SWIGTYPE_p_double swig_types[16]
226 #define SWIGTYPE_p_wxPyDivisionShape swig_types[17]
227 #define SWIGTYPE_p_wxPyDrawnShape swig_types[18]
228 #define SWIGTYPE_p_wxPyPolygonShape swig_types[19]
229 #define SWIGTYPE_p_wxBitmap swig_types[20]
230 #define SWIGTYPE_p_wxObject swig_types[21]
231 #define SWIGTYPE_p_wxPyBitmapShape swig_types[22]
232 #define SWIGTYPE_p_wxPyShapeEvtHandler swig_types[23]
233 #define SWIGTYPE_p_wxEvtHandler swig_types[24]
234 #define SWIGTYPE_p_wxPyEllipseShape swig_types[25]
235 #define SWIGTYPE_p_wxPyShapeCanvas swig_types[26]
236 #define SWIGTYPE_p_wxPoint swig_types[27]
237 #define SWIGTYPE_p_wxDiagram swig_types[28]
238 #define SWIGTYPE_p_wxPyShape swig_types[29]
239 #define SWIGTYPE_p_wxAttachmentPoint swig_types[30]
240 #define SWIGTYPE_p_wxClassInfo swig_types[31]
241 #define SWIGTYPE_p_wxPyLineShape swig_types[32]
242 #define SWIGTYPE_p_wxPyRectangleShape swig_types[33]
243 #define SWIGTYPE_p_wxPyCompositeShape swig_types[34]
244 #define SWIGTYPE_p_wxPyCircleShape swig_types[35]
245 #define SWIGTYPE_p_wxPen swig_types[36]
246 #define SWIGTYPE_p_int swig_types[37]
247 #define SWIGTYPE_p_wxPseudoMetaFile swig_types[38]
248 #define SWIGTYPE_p_wxPyTextShape swig_types[39]
249 #define SWIGTYPE_p_wxPyDividedShape swig_types[40]
250 static swig_type_info
*swig_types
[42];
252 /* -------- TYPES TABLE (END) -------- */
255 /*-----------------------------------------------
257 ------------------------------------------------*/
258 #define SWIG_init init_ogl
260 #define SWIG_name "_ogl"
262 /* Auxiliar swig macros */
265 #define SWIGSTATICINLINE(a) static inline a
266 #define SWIGSTATIC(a) static a
267 #define swig_new_array(type, size) (new type[(size)])
268 #define swig_delete_array(cptr) delete[] cptr
269 #define swig_const_cast(type,a) const_cast<type>(a)
270 #define swig_static_cast(type,a) static_cast<type>(a)
271 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
273 #ifdef HAVE_NUMERIC_CAST
274 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
276 #define swig_numeric_cast(type,a) static_cast<type>(a)
281 #define SWIGSTATICINLINE(a) static a
282 #define SWIGSTATIC(a) static a
283 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
284 #define swig_delete_array(cptr) free((char*)cptr)
285 #define swig_const_cast(type,a) (type)(a)
286 #define swig_static_cast(type,a) (type)(a)
287 #define swig_reinterpret_cast(type,a) (type)(a)
288 #define swig_numeric_cast(type,a) (type)(a)
290 #endif /* __cplusplus */
293 #define SWIG_FromSignedChar PyInt_FromLong
294 #define SWIG_FromUnsignedChar PyInt_FromLong
295 #define SWIG_FromShort PyInt_FromLong
296 #define SWIG_FromUnsignedShort PyInt_FromLong
297 #define SWIG_FromInt PyInt_FromLong
298 #define SWIG_FromLong PyInt_FromLong
299 #define SWIG_FromFloat PyFloat_FromDouble
300 #define SWIG_FromDouble PyFloat_FromDouble
301 #define SWIG_FromFloat PyFloat_FromDouble
302 #define SWIG_FromDouble PyFloat_FromDouble
305 #include "wx/wxPython/wxPython.h"
306 #include "wx/wxPython/pyclasses.h"
307 #include "oglhelpers.h"
310 static const wxString
wxPyEmptyString(wxEmptyString
);
312 SWIGSTATICINLINE(double)
313 SWIG_AsDouble(PyObject
*obj
)
315 if (PyNumber_Check(obj
))
316 return PyFloat_AsDouble(obj
);
318 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
319 obj
->ob_type
->tp_name
);
320 PyErr_SetObject(PyExc_TypeError
, errmsg
);
327 SWIGSTATICINLINE(int)
328 SWIG_CheckDouble(PyObject
* obj
)
331 if (PyErr_Occurred()) {
343 SWIGSTATICINLINE(long)
344 SWIG_CheckLongInRange(long value
, const char* type
,
345 long min_value
, long max_value
)
347 if (!PyErr_Occurred()) {
348 if (value
< min_value
) {
350 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
351 value
, type
, min_value
);
353 PyErr_SetObject(PyExc_OverflowError
, err
);
355 } else if (value
> max_value
) {
357 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
358 value
, type
, max_value
);
359 PyErr_SetObject(PyExc_OverflowError
, err
);
367 SWIGSTATICINLINE(long)
368 SWIG_AsLong(PyObject
* obj
)
370 if (PyNumber_Check(obj
))
371 return PyInt_AsLong(obj
);
373 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
374 obj
->ob_type
->tp_name
);
375 PyErr_SetObject(PyExc_TypeError
, errmsg
);
382 #if INT_MAX != LONG_MAX
383 SWIGSTATICINLINE(int)
384 SWIG_AsInt(PyObject
*obj
)
386 return swig_numeric_cast(int,
387 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
388 "int", INT_MIN
, INT_MAX
));
391 #define SWIG_AsInt SWIG_AsLong
395 SWIGSTATICINLINE(int)
396 SWIG_CheckInt(PyObject
* obj
)
399 if (PyErr_Occurred()) {
408 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
414 } else if (target
== Py_None
) {
418 if (!PyTuple_Check(target
)) {
420 target
= PyTuple_New(1);
421 PyTuple_SetItem(target
, 0, o2
);
424 PyTuple_SetItem(o3
, 0, o
);
427 target
= PySequence_Concat(o2
, o3
);
435 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler
,wxShapeEvtHandler
);
437 void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler
*self
,PyObject
*_self
){
438 self
->SetClientObject(new wxPyOORClientData(_self
));
441 SWIGSTATICINLINE(bool)
442 SWIG_AsBool(PyObject
*obj
)
444 return PyObject_IsTrue(obj
) ? true : false;
448 SWIGSTATICINLINE(int)
449 SWIG_CheckBool(PyObject
* obj
)
452 if (PyErr_Occurred()) {
461 WXSHAPE_IMP_CALLBACKS(wxPyShape
, wxShape
);
463 PyObject
*wxPyShape_GetChildren(wxPyShape
*self
){
464 wxList
& list
= self
->GetChildren();
465 return wxPy_ConvertShapeList(&list
);
467 PyObject
*wxPyShape_GetLines(wxPyShape
*self
){
468 wxList
& list
= self
->GetLines();
469 return wxPy_ConvertShapeList(&list
);
472 SWIGSTATICINLINE(int)
473 SWIG_CheckLong(PyObject
* obj
)
476 if (PyErr_Occurred()) {
484 PyObject
*wxPyShape_GetRegions(wxPyShape
*self
){
485 wxList
& list
= self
->GetRegions();
486 return wxPy_ConvertList(&list
);
488 PyObject
*wxPyShape_GetAttachments(wxPyShape
*self
){
489 wxList
& list
= self
->GetAttachments();
490 return wxPy_ConvertList(&list
);
492 void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
*linesToSort
){
493 wxList
* list
= wxPy_wxListHelper(linesToSort
, wxT("wxPyLineShape"));
494 self
->ApplyAttachmentOrdering(*list
);
498 // Using this macro can sometimes provoke an Internal Compiler Error in MSVC
499 // 6, so instead I'l just expand it out by hand...
500 // WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
502 IMP_PYCALLBACK__ (wxPyRectangleShape
, wxRectangleShape
, OnDelete
);
503 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDraw
);
504 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawContents
);
505 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnDrawBranches
);
506 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnMoveLinks
);
507 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnErase
);
508 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseContents
);
509 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnHighlight
);
510 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftClick
);
511 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftDoubleClick
);
512 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnRightClick
);
513 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnSize
);
514 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePre
);
515 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePost
);
516 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragLeft
);
517 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragLeft
);
518 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragLeft
);
519 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragRight
);
520 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragRight
);
521 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragRight
);
522 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape
, wxRectangleShape
, OnDrawOutline
);
523 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawControlPoints
);
524 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseControlPoints
);
525 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMoveLink
);
526 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape
, wxRectangleShape
, OnSizingDragLeft
);
527 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingBeginDragLeft
);
528 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingEndDragLeft
);
529 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnBeginSize
);
530 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnEndSize
)
534 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint
, wxControlPoint
);
537 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape
, wxBitmapShape
);
540 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape
, wxDrawnShape
);
542 wxOGLConstraint
*new_wxOGLConstraint(int type
,wxPyShape
*constraining
,PyObject
*constrained
){
543 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
544 wxOGLConstraint
* rv
= new wxOGLConstraint(type
, constraining
, *list
);
549 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape
, wxCompositeShape
);
551 wxOGLConstraint
*wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape
*self
,int type
,wxPyShape
*constraining
,PyObject
*constrained
){
552 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
553 wxOGLConstraint
* rv
= self
->AddConstraint(type
, constraining
, *list
);
557 PyObject
*wxPyCompositeShape_GetConstraints(wxPyCompositeShape
*self
){
558 wxList
& list
= self
->GetConstraints();
559 return wxPy_ConvertList(&list
);
561 PyObject
*wxPyCompositeShape_GetDivisions(wxPyCompositeShape
*self
){
562 wxList
& list
= self
->GetDivisions();
563 return wxPy_ConvertShapeList(&list
);
566 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape
, wxDividedShape
);
569 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape
, wxDivisionShape
);
572 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape
, wxEllipseShape
);
575 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape
, wxCircleShape
);
578 WXSHAPE_IMP_CALLBACKS(wxPyLineShape
, wxLineShape
);
580 void wxPyLineShape_AddArrowOrdered(wxPyLineShape
*self
,wxArrowHead
*arrow
,PyObject
*referenceList
,int end
){
581 wxList
* list
= wxPy_wxListHelper(referenceList
, wxT("wxArrowHead"));
582 self
->AddArrowOrdered(arrow
, *list
, end
);
585 PyObject
*wxPyLineShape_GetLineControlPoints(wxPyLineShape
*self
){
586 wxList
* list
= self
->GetLineControlPoints();
587 return wxPy_ConvertShapeList(list
);
590 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape
, wxPolygonShape
);
592 PyObject
*wxPyPolygonShape_Create(wxPyPolygonShape
*self
,PyObject
*points
){
593 wxList
* list
= wxPy_wxRealPoint_ListHelper(points
);
601 PyObject
*wxPyPolygonShape_GetPoints(wxPyPolygonShape
*self
){
602 wxList
* list
= self
->GetPoints();
606 wxNode
* node
= list
->GetFirst();
608 bool blocked
= wxPyBeginBlockThreads();
609 pyList
= PyList_New(0);
611 wxObj
= node
->GetData();
612 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
613 PyList_Append(pyList
, pyObj
);
614 node
= node
->GetNext();
616 wxPyEndBlockThreads(blocked
);
619 PyObject
*wxPyPolygonShape_GetOriginalPoints(wxPyPolygonShape
*self
){
620 wxList
* list
= self
->GetOriginalPoints();
624 wxNode
* node
= list
->GetFirst();
626 bool blocked
= wxPyBeginBlockThreads();
627 pyList
= PyList_New(0);
629 wxObj
= node
->GetData();
630 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
631 PyList_Append(pyList
, pyObj
);
632 node
= node
->GetNext();
634 wxPyEndBlockThreads(blocked
);
638 WXSHAPE_IMP_CALLBACKS(wxPyTextShape
, wxTextShape
);
641 // Put some wx default wxChar* values into wxStrings.
642 DECLARE_DEF_STRING(ShapeCanvasNameStr
);
644 PyObject
*wxDiagram_GetShapeList(wxDiagram
*self
){
645 wxList
* list
= self
->GetShapeList();
646 return wxPy_ConvertShapeList(list
);
649 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragLeft
);
650 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragRight
);
651 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragLeft
);
652 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragRight
);
653 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragLeft
);
654 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragRight
);
655 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnLeftClick
);
656 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnRightClick
);
659 //---------------------------------------------------------------------------
661 // Convert from a Python list to a list of className objects. This one will
662 // work for any class for the VERY generic cases, but beyond that the helper
663 // needs to know more about the type.
664 wxList
* wxPy_wxListHelper(PyObject
* pyList
, const wxChar
* className
) {
665 bool blocked
= wxPyBeginBlockThreads();
666 if (!PyList_Check(pyList
)) {
667 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
668 wxPyEndBlockThreads(blocked
);
671 int count
= PyList_Size(pyList
);
672 wxList
* list
= new wxList
;
674 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
675 wxPyEndBlockThreads(blocked
);
678 for (int x
=0; x
<count
; x
++) {
679 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
680 wxObject
* wxo
= NULL
;
682 if ( !wxPyConvertSwigPtr(pyo
, (void **)&wxo
, className
) ) {
684 errmsg
.Printf(wxT("Type error, expected list of %s objects"), className
);
685 PyErr_SetString(PyExc_TypeError
, errmsg
.mb_str());
686 wxPyEndBlockThreads(blocked
);
691 wxPyEndBlockThreads(blocked
);
695 //---------------------------------------------------------------------------
697 wxList
* wxPy_wxRealPoint_ListHelper(PyObject
* pyList
) {
698 bool blocked
= wxPyBeginBlockThreads();
699 if (!PyList_Check(pyList
)) {
700 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
701 wxPyEndBlockThreads(blocked
);
704 int count
= PyList_Size(pyList
);
705 wxList
* list
= new wxList
;
707 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
708 wxPyEndBlockThreads(blocked
);
711 for (int x
=0; x
<count
; x
++) {
712 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
714 if (PyTuple_Check(pyo
)) {
715 PyObject
* o1
= PyNumber_Float(PyTuple_GetItem(pyo
, 0));
716 PyObject
* o2
= PyNumber_Float(PyTuple_GetItem(pyo
, 1));
718 double val1
= (o1
? PyFloat_AsDouble(o1
) : 0.0);
719 double val2
= (o2
? PyFloat_AsDouble(o2
) : 0.0);
721 list
->Append((wxObject
*) new wxRealPoint(val1
, val2
));
724 wxRealPoint
* wxo
= NULL
;
725 if (wxPyConvertSwigPtr(pyo
, (void **)&wxo
, wxT("wxRealPoint"))) {
726 PyErr_SetString(PyExc_TypeError
, "Type error, expected list of wxRealPoint objects or 2-tuples");
727 wxPyEndBlockThreads(blocked
);
730 list
->Append((wxObject
*) new wxRealPoint(*wxo
));
733 wxPyEndBlockThreads(blocked
);
737 //---------------------------------------------------------------------------
739 PyObject
* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler
* source
) {
740 PyObject
* target
= NULL
;
742 if (source
&& wxIsKindOf(source
, wxShapeEvtHandler
)) {
743 // If it's derived from wxShapeEvtHandler then there may
744 // already be a pointer to a Python object that we can use
746 wxShapeEvtHandler
* seh
= (wxShapeEvtHandler
*)source
;
747 wxPyOORClientData
* data
= (wxPyOORClientData
*)seh
->GetClientObject();
749 target
= data
->m_obj
;
754 target
= wxPyMake_wxObject2(source
, FALSE
);
755 if (target
!= Py_None
)
756 ((wxShapeEvtHandler
*)source
)->SetClientObject(new wxPyOORClientData(target
));
761 //---------------------------------------------------------------------------
763 PyObject
* wxPy_ConvertShapeList(wxListBase
* listbase
) {
764 wxList
* list
= (wxList
*)listbase
;
768 wxNode
* node
= list
->GetFirst();
770 bool blocked
= wxPyBeginBlockThreads();
771 pyList
= PyList_New(0);
773 wxObj
= node
->GetData();
774 pyObj
= wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler
*)wxObj
);
775 PyList_Append(pyList
, pyObj
);
776 node
= node
->GetNext();
778 wxPyEndBlockThreads(blocked
);
783 //---------------------------------------------------------------------------
785 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas
, wxShapeCanvas
);
786 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler
, wxShapeEvtHandler
);
787 IMPLEMENT_ABSTRACT_CLASS(wxPyShape
, wxShape
);
788 IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape
, wxRectangleShape
);
789 IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint
, wxControlPoint
);
790 IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape
, wxBitmapShape
);
791 IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape
, wxDrawnShape
);
792 IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape
, wxCompositeShape
);
793 IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape
, wxDividedShape
);
794 IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape
, wxDivisionShape
);
795 IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape
, wxEllipseShape
);
796 IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape
, wxCircleShape
);
797 IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape
, wxLineShape
);
798 IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape
, wxPolygonShape
);
799 IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape
, wxTextShape
);
801 //---------------------------------------------------------------------------
803 // extern "C" SWIGEXPORT(void) initoglbasicc();
804 // extern "C" SWIGEXPORT(void) initoglshapesc();
805 // extern "C" SWIGEXPORT(void) initoglshapes2c();
806 // extern "C" SWIGEXPORT(void) initoglcanvasc();
811 static PyObject
*_wrap_new_ShapeRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
813 wxShapeRegion
*result
;
818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ShapeRegion",kwnames
)) goto fail
;
820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
821 result
= (wxShapeRegion
*)new wxShapeRegion();
823 wxPyEndAllowThreads(__tstate
);
824 if (PyErr_Occurred()) SWIG_fail
;
826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShapeRegion
, 1);
833 static PyObject
*_wrap_ShapeRegion_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
835 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
838 PyObject
* obj0
= 0 ;
839 PyObject
* obj1
= 0 ;
841 (char *) "self",(char *) "s", NULL
844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
848 arg2
= wxString_in_helper(obj1
);
849 if (arg2
== NULL
) SWIG_fail
;
853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
854 (arg1
)->SetText((wxString
const &)*arg2
);
856 wxPyEndAllowThreads(__tstate
);
857 if (PyErr_Occurred()) SWIG_fail
;
859 Py_INCREF(Py_None
); resultobj
= Py_None
;
874 static PyObject
*_wrap_ShapeRegion_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
876 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
877 wxFont
*arg2
= (wxFont
*) 0 ;
878 PyObject
* obj0
= 0 ;
879 PyObject
* obj1
= 0 ;
881 (char *) "self",(char *) "f", NULL
884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
890 if (obj1
== Py_None
) {
893 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
894 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
899 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
903 temp
->GetUnderlined(),
905 temp
->GetEncoding());
910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
911 (arg1
)->SetFont(arg2
);
913 wxPyEndAllowThreads(__tstate
);
914 if (PyErr_Occurred()) SWIG_fail
;
916 Py_INCREF(Py_None
); resultobj
= Py_None
;
923 static PyObject
*_wrap_ShapeRegion_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
925 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
928 PyObject
* obj0
= 0 ;
929 PyObject
* obj1
= 0 ;
930 PyObject
* obj2
= 0 ;
932 (char *) "self",(char *) "w",(char *) "h", NULL
935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
938 arg2
= (double) SWIG_AsDouble(obj1
);
939 if (PyErr_Occurred()) SWIG_fail
;
940 arg3
= (double) SWIG_AsDouble(obj2
);
941 if (PyErr_Occurred()) SWIG_fail
;
943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
944 (arg1
)->SetMinSize(arg2
,arg3
);
946 wxPyEndAllowThreads(__tstate
);
947 if (PyErr_Occurred()) SWIG_fail
;
949 Py_INCREF(Py_None
); resultobj
= Py_None
;
956 static PyObject
*_wrap_ShapeRegion_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
958 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
961 PyObject
* obj0
= 0 ;
962 PyObject
* obj1
= 0 ;
963 PyObject
* obj2
= 0 ;
965 (char *) "self",(char *) "w",(char *) "h", NULL
968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
971 arg2
= (double) SWIG_AsDouble(obj1
);
972 if (PyErr_Occurred()) SWIG_fail
;
973 arg3
= (double) SWIG_AsDouble(obj2
);
974 if (PyErr_Occurred()) SWIG_fail
;
976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
977 (arg1
)->SetSize(arg2
,arg3
);
979 wxPyEndAllowThreads(__tstate
);
980 if (PyErr_Occurred()) SWIG_fail
;
982 Py_INCREF(Py_None
); resultobj
= Py_None
;
989 static PyObject
*_wrap_ShapeRegion_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
991 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
994 PyObject
* obj0
= 0 ;
995 PyObject
* obj1
= 0 ;
996 PyObject
* obj2
= 0 ;
998 (char *) "self",(char *) "x",(char *) "y", NULL
1001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1004 arg2
= (double) SWIG_AsDouble(obj1
);
1005 if (PyErr_Occurred()) SWIG_fail
;
1006 arg3
= (double) SWIG_AsDouble(obj2
);
1007 if (PyErr_Occurred()) SWIG_fail
;
1009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1010 (arg1
)->SetPosition(arg2
,arg3
);
1012 wxPyEndAllowThreads(__tstate
);
1013 if (PyErr_Occurred()) SWIG_fail
;
1015 Py_INCREF(Py_None
); resultobj
= Py_None
;
1022 static PyObject
*_wrap_ShapeRegion_SetProportions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1023 PyObject
*resultobj
;
1024 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1027 PyObject
* obj0
= 0 ;
1028 PyObject
* obj1
= 0 ;
1029 PyObject
* obj2
= 0 ;
1031 (char *) "self",(char *) "x",(char *) "y", NULL
1034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetProportions",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1037 arg2
= (double) SWIG_AsDouble(obj1
);
1038 if (PyErr_Occurred()) SWIG_fail
;
1039 arg3
= (double) SWIG_AsDouble(obj2
);
1040 if (PyErr_Occurred()) SWIG_fail
;
1042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1043 (arg1
)->SetProportions(arg2
,arg3
);
1045 wxPyEndAllowThreads(__tstate
);
1046 if (PyErr_Occurred()) SWIG_fail
;
1048 Py_INCREF(Py_None
); resultobj
= Py_None
;
1055 static PyObject
*_wrap_ShapeRegion_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1056 PyObject
*resultobj
;
1057 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1059 PyObject
* obj0
= 0 ;
1060 PyObject
* obj1
= 0 ;
1062 (char *) "self",(char *) "mode", NULL
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetFormatMode",kwnames
,&obj0
,&obj1
)) goto fail
;
1066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1068 arg2
= (int) SWIG_AsInt(obj1
);
1069 if (PyErr_Occurred()) SWIG_fail
;
1071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1072 (arg1
)->SetFormatMode(arg2
);
1074 wxPyEndAllowThreads(__tstate
);
1075 if (PyErr_Occurred()) SWIG_fail
;
1077 Py_INCREF(Py_None
); resultobj
= Py_None
;
1084 static PyObject
*_wrap_ShapeRegion_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1085 PyObject
*resultobj
;
1086 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1087 wxString
*arg2
= 0 ;
1088 bool temp2
= False
;
1089 PyObject
* obj0
= 0 ;
1090 PyObject
* obj1
= 0 ;
1092 (char *) "self",(char *) "s", NULL
1095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
1096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1099 arg2
= wxString_in_helper(obj1
);
1100 if (arg2
== NULL
) SWIG_fail
;
1104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1105 (arg1
)->SetName((wxString
const &)*arg2
);
1107 wxPyEndAllowThreads(__tstate
);
1108 if (PyErr_Occurred()) SWIG_fail
;
1110 Py_INCREF(Py_None
); resultobj
= Py_None
;
1125 static PyObject
*_wrap_ShapeRegion_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1126 PyObject
*resultobj
;
1127 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1128 wxString
*arg2
= 0 ;
1129 bool temp2
= False
;
1130 PyObject
* obj0
= 0 ;
1131 PyObject
* obj1
= 0 ;
1133 (char *) "self",(char *) "col", NULL
1136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1140 arg2
= wxString_in_helper(obj1
);
1141 if (arg2
== NULL
) SWIG_fail
;
1145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1146 (arg1
)->SetColour((wxString
const &)*arg2
);
1148 wxPyEndAllowThreads(__tstate
);
1149 if (PyErr_Occurred()) SWIG_fail
;
1151 Py_INCREF(Py_None
); resultobj
= Py_None
;
1166 static PyObject
*_wrap_ShapeRegion_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1167 PyObject
*resultobj
;
1168 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1170 PyObject
* obj0
= 0 ;
1172 (char *) "self", NULL
1175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetText",kwnames
,&obj0
)) goto fail
;
1176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1180 result
= (arg1
)->GetText();
1182 wxPyEndAllowThreads(__tstate
);
1183 if (PyErr_Occurred()) SWIG_fail
;
1187 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1189 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1198 static PyObject
*_wrap_ShapeRegion_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1199 PyObject
*resultobj
;
1200 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1202 PyObject
* obj0
= 0 ;
1204 (char *) "self", NULL
1207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFont",kwnames
,&obj0
)) goto fail
;
1208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1212 result
= (wxFont
*)(arg1
)->GetFont();
1214 wxPyEndAllowThreads(__tstate
);
1215 if (PyErr_Occurred()) SWIG_fail
;
1217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
1224 static PyObject
*_wrap_ShapeRegion_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1225 PyObject
*resultobj
;
1226 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1227 double *arg2
= (double *) 0 ;
1228 double *arg3
= (double *) 0 ;
1231 PyObject
* obj0
= 0 ;
1233 (char *) "self", NULL
1238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetMinSize",kwnames
,&obj0
)) goto fail
;
1239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1243 (arg1
)->GetMinSize(arg2
,arg3
);
1245 wxPyEndAllowThreads(__tstate
);
1246 if (PyErr_Occurred()) SWIG_fail
;
1248 Py_INCREF(Py_None
); resultobj
= Py_None
;
1250 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1251 resultobj
= t_output_helper(resultobj
,o
);
1254 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1255 resultobj
= t_output_helper(resultobj
,o
);
1263 static PyObject
*_wrap_ShapeRegion_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1264 PyObject
*resultobj
;
1265 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1266 double *arg2
= (double *) 0 ;
1267 double *arg3
= (double *) 0 ;
1270 PyObject
* obj0
= 0 ;
1272 (char *) "self", NULL
1277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetProportion",kwnames
,&obj0
)) goto fail
;
1278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1282 (arg1
)->GetProportion(arg2
,arg3
);
1284 wxPyEndAllowThreads(__tstate
);
1285 if (PyErr_Occurred()) SWIG_fail
;
1287 Py_INCREF(Py_None
); resultobj
= Py_None
;
1289 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1290 resultobj
= t_output_helper(resultobj
,o
);
1293 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1294 resultobj
= t_output_helper(resultobj
,o
);
1302 static PyObject
*_wrap_ShapeRegion_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1303 PyObject
*resultobj
;
1304 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1305 double *arg2
= (double *) 0 ;
1306 double *arg3
= (double *) 0 ;
1309 PyObject
* obj0
= 0 ;
1311 (char *) "self", NULL
1316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetSize",kwnames
,&obj0
)) goto fail
;
1317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1321 (arg1
)->GetSize(arg2
,arg3
);
1323 wxPyEndAllowThreads(__tstate
);
1324 if (PyErr_Occurred()) SWIG_fail
;
1326 Py_INCREF(Py_None
); resultobj
= Py_None
;
1328 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1329 resultobj
= t_output_helper(resultobj
,o
);
1332 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1333 resultobj
= t_output_helper(resultobj
,o
);
1341 static PyObject
*_wrap_ShapeRegion_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1342 PyObject
*resultobj
;
1343 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1344 double *arg2
= (double *) 0 ;
1345 double *arg3
= (double *) 0 ;
1348 PyObject
* obj0
= 0 ;
1350 (char *) "self", NULL
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPosition",kwnames
,&obj0
)) goto fail
;
1356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1360 (arg1
)->GetPosition(arg2
,arg3
);
1362 wxPyEndAllowThreads(__tstate
);
1363 if (PyErr_Occurred()) SWIG_fail
;
1365 Py_INCREF(Py_None
); resultobj
= Py_None
;
1367 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1368 resultobj
= t_output_helper(resultobj
,o
);
1371 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1372 resultobj
= t_output_helper(resultobj
,o
);
1380 static PyObject
*_wrap_ShapeRegion_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1381 PyObject
*resultobj
;
1382 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1384 PyObject
* obj0
= 0 ;
1386 (char *) "self", NULL
1389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormatMode",kwnames
,&obj0
)) goto fail
;
1390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1394 result
= (int)(arg1
)->GetFormatMode();
1396 wxPyEndAllowThreads(__tstate
);
1397 if (PyErr_Occurred()) SWIG_fail
;
1399 resultobj
= SWIG_FromInt((int)result
);
1406 static PyObject
*_wrap_ShapeRegion_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
*resultobj
;
1408 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1410 PyObject
* obj0
= 0 ;
1412 (char *) "self", NULL
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetName",kwnames
,&obj0
)) goto fail
;
1416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1420 result
= (arg1
)->GetName();
1422 wxPyEndAllowThreads(__tstate
);
1423 if (PyErr_Occurred()) SWIG_fail
;
1427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1438 static PyObject
*_wrap_ShapeRegion_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1439 PyObject
*resultobj
;
1440 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1442 PyObject
* obj0
= 0 ;
1444 (char *) "self", NULL
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetColour",kwnames
,&obj0
)) goto fail
;
1448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1452 result
= (arg1
)->GetColour();
1454 wxPyEndAllowThreads(__tstate
);
1455 if (PyErr_Occurred()) SWIG_fail
;
1459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1470 static PyObject
*_wrap_ShapeRegion_GetActualColourObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
*resultobj
;
1472 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1474 PyObject
* obj0
= 0 ;
1476 (char *) "self", NULL
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualColourObject",kwnames
,&obj0
)) goto fail
;
1480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1484 result
= (arg1
)->GetActualColourObject();
1486 wxPyEndAllowThreads(__tstate
);
1487 if (PyErr_Occurred()) SWIG_fail
;
1490 wxColour
* resultptr
;
1491 resultptr
= new wxColour((wxColour
&) result
);
1492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1500 static PyObject
*_wrap_ShapeRegion_GetFormattedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1501 PyObject
*resultobj
;
1502 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1504 PyObject
* obj0
= 0 ;
1506 (char *) "self", NULL
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormattedText",kwnames
,&obj0
)) goto fail
;
1510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1515 wxList
&_result_ref
= (arg1
)->GetFormattedText();
1516 result
= (wxList
*) &_result_ref
;
1519 wxPyEndAllowThreads(__tstate
);
1520 if (PyErr_Occurred()) SWIG_fail
;
1522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxList
, 0);
1529 static PyObject
*_wrap_ShapeRegion_GetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1530 PyObject
*resultobj
;
1531 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1533 PyObject
* obj0
= 0 ;
1535 (char *) "self", NULL
1538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenColour",kwnames
,&obj0
)) goto fail
;
1539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1543 result
= (arg1
)->GetPenColour();
1545 wxPyEndAllowThreads(__tstate
);
1546 if (PyErr_Occurred()) SWIG_fail
;
1550 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1552 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1561 static PyObject
*_wrap_ShapeRegion_GetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1562 PyObject
*resultobj
;
1563 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1565 PyObject
* obj0
= 0 ;
1567 (char *) "self", NULL
1570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenStyle",kwnames
,&obj0
)) goto fail
;
1571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1575 result
= (int)(arg1
)->GetPenStyle();
1577 wxPyEndAllowThreads(__tstate
);
1578 if (PyErr_Occurred()) SWIG_fail
;
1580 resultobj
= SWIG_FromInt((int)result
);
1587 static PyObject
*_wrap_ShapeRegion_SetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
*resultobj
;
1589 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1591 PyObject
* obj0
= 0 ;
1592 PyObject
* obj1
= 0 ;
1594 (char *) "self",(char *) "style", NULL
1597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetPenStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
1598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1600 arg2
= (int) SWIG_AsInt(obj1
);
1601 if (PyErr_Occurred()) SWIG_fail
;
1603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1604 (arg1
)->SetPenStyle(arg2
);
1606 wxPyEndAllowThreads(__tstate
);
1607 if (PyErr_Occurred()) SWIG_fail
;
1609 Py_INCREF(Py_None
); resultobj
= Py_None
;
1616 static PyObject
*_wrap_ShapeRegion_SetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
*resultobj
;
1618 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1619 wxString
*arg2
= 0 ;
1620 bool temp2
= False
;
1621 PyObject
* obj0
= 0 ;
1622 PyObject
* obj1
= 0 ;
1624 (char *) "self",(char *) "col", NULL
1627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetPenColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1631 arg2
= wxString_in_helper(obj1
);
1632 if (arg2
== NULL
) SWIG_fail
;
1636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1637 (arg1
)->SetPenColour((wxString
const &)*arg2
);
1639 wxPyEndAllowThreads(__tstate
);
1640 if (PyErr_Occurred()) SWIG_fail
;
1642 Py_INCREF(Py_None
); resultobj
= Py_None
;
1657 static PyObject
*_wrap_ShapeRegion_GetActualPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1658 PyObject
*resultobj
;
1659 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1661 PyObject
* obj0
= 0 ;
1663 (char *) "self", NULL
1666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualPen",kwnames
,&obj0
)) goto fail
;
1667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1671 result
= (wxPen
*)(arg1
)->GetActualPen();
1673 wxPyEndAllowThreads(__tstate
);
1674 if (PyErr_Occurred()) SWIG_fail
;
1676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
1683 static PyObject
*_wrap_ShapeRegion_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
*resultobj
;
1685 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1687 PyObject
* obj0
= 0 ;
1689 (char *) "self", NULL
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetWidth",kwnames
,&obj0
)) goto fail
;
1693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1697 result
= (double)(arg1
)->GetWidth();
1699 wxPyEndAllowThreads(__tstate
);
1700 if (PyErr_Occurred()) SWIG_fail
;
1702 resultobj
= SWIG_FromDouble((double)result
);
1709 static PyObject
*_wrap_ShapeRegion_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1710 PyObject
*resultobj
;
1711 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1713 PyObject
* obj0
= 0 ;
1715 (char *) "self", NULL
1718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetHeight",kwnames
,&obj0
)) goto fail
;
1719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1723 result
= (double)(arg1
)->GetHeight();
1725 wxPyEndAllowThreads(__tstate
);
1726 if (PyErr_Occurred()) SWIG_fail
;
1728 resultobj
= SWIG_FromDouble((double)result
);
1735 static PyObject
*_wrap_ShapeRegion_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
*resultobj
;
1737 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1738 PyObject
* obj0
= 0 ;
1740 (char *) "self", NULL
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_ClearText",kwnames
,&obj0
)) goto fail
;
1744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1748 (arg1
)->ClearText();
1750 wxPyEndAllowThreads(__tstate
);
1751 if (PyErr_Occurred()) SWIG_fail
;
1753 Py_INCREF(Py_None
); resultobj
= Py_None
;
1760 static PyObject
* ShapeRegion_swigregister(PyObject
*self
, PyObject
*args
) {
1762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1763 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion
, obj
);
1765 return Py_BuildValue((char *)"");
1767 static PyObject
*_wrap_new_AttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
*resultobj
;
1769 int arg1
= (int) 0 ;
1770 double arg2
= (double) 0.0 ;
1771 double arg3
= (double) 0.0 ;
1772 wxAttachmentPoint
*result
;
1773 PyObject
* obj0
= 0 ;
1774 PyObject
* obj1
= 0 ;
1775 PyObject
* obj2
= 0 ;
1777 (char *) "id",(char *) "x",(char *) "y", NULL
1780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AttachmentPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1782 arg1
= (int) SWIG_AsInt(obj0
);
1783 if (PyErr_Occurred()) SWIG_fail
;
1786 arg2
= (double) SWIG_AsDouble(obj1
);
1787 if (PyErr_Occurred()) SWIG_fail
;
1790 arg3
= (double) SWIG_AsDouble(obj2
);
1791 if (PyErr_Occurred()) SWIG_fail
;
1794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1795 result
= (wxAttachmentPoint
*)new wxAttachmentPoint(arg1
,arg2
,arg3
);
1797 wxPyEndAllowThreads(__tstate
);
1798 if (PyErr_Occurred()) SWIG_fail
;
1800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAttachmentPoint
, 1);
1807 static PyObject
*_wrap_AttachmentPoint_m_id_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
*resultobj
;
1809 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1811 PyObject
* obj0
= 0 ;
1812 PyObject
* obj1
= 0 ;
1814 (char *) "self",(char *) "m_id", NULL
1817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AttachmentPoint_m_id_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
1819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1820 arg2
= (int) SWIG_AsInt(obj1
);
1821 if (PyErr_Occurred()) SWIG_fail
;
1822 if (arg1
) (arg1
)->m_id
= arg2
;
1824 Py_INCREF(Py_None
); resultobj
= Py_None
;
1831 static PyObject
*_wrap_AttachmentPoint_m_id_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
*resultobj
;
1833 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1835 PyObject
* obj0
= 0 ;
1837 (char *) "self", NULL
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_id_get",kwnames
,&obj0
)) goto fail
;
1841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
1842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1843 result
= (int) ((arg1
)->m_id
);
1845 resultobj
= SWIG_FromInt((int)result
);
1852 static PyObject
*_wrap_AttachmentPoint_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
*resultobj
;
1854 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1856 PyObject
* obj0
= 0 ;
1857 PyObject
* obj1
= 0 ;
1859 (char *) "self",(char *) "m_x", NULL
1862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AttachmentPoint_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
1864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1865 arg2
= (double) SWIG_AsDouble(obj1
);
1866 if (PyErr_Occurred()) SWIG_fail
;
1867 if (arg1
) (arg1
)->m_x
= arg2
;
1869 Py_INCREF(Py_None
); resultobj
= Py_None
;
1876 static PyObject
*_wrap_AttachmentPoint_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
*resultobj
;
1878 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1880 PyObject
* obj0
= 0 ;
1882 (char *) "self", NULL
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_x_get",kwnames
,&obj0
)) goto fail
;
1886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
1887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1888 result
= (double) ((arg1
)->m_x
);
1890 resultobj
= SWIG_FromDouble((double)result
);
1897 static PyObject
*_wrap_AttachmentPoint_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
*resultobj
;
1899 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1901 PyObject
* obj0
= 0 ;
1902 PyObject
* obj1
= 0 ;
1904 (char *) "self",(char *) "m_y", NULL
1907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AttachmentPoint_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
1909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1910 arg2
= (double) SWIG_AsDouble(obj1
);
1911 if (PyErr_Occurred()) SWIG_fail
;
1912 if (arg1
) (arg1
)->m_y
= arg2
;
1914 Py_INCREF(Py_None
); resultobj
= Py_None
;
1921 static PyObject
*_wrap_AttachmentPoint_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1922 PyObject
*resultobj
;
1923 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1925 PyObject
* obj0
= 0 ;
1927 (char *) "self", NULL
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_y_get",kwnames
,&obj0
)) goto fail
;
1931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
1932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1933 result
= (double) ((arg1
)->m_y
);
1935 resultobj
= SWIG_FromDouble((double)result
);
1942 static PyObject
* AttachmentPoint_swigregister(PyObject
*self
, PyObject
*args
) {
1944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1945 SWIG_TypeClientData(SWIGTYPE_p_wxAttachmentPoint
, obj
);
1947 return Py_BuildValue((char *)"");
1949 static PyObject
*_wrap_new_PyShapeEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
*resultobj
;
1951 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) NULL
;
1952 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
1953 wxPyShapeEvtHandler
*result
;
1954 PyObject
* obj0
= 0 ;
1955 PyObject
* obj1
= 0 ;
1957 (char *) "prev",(char *) "shape", NULL
1960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyShapeEvtHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
1962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
1963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
1967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1971 result
= (wxPyShapeEvtHandler
*)new wxPyShapeEvtHandler(arg1
,arg2
);
1973 wxPyEndAllowThreads(__tstate
);
1974 if (PyErr_Occurred()) SWIG_fail
;
1977 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
1985 static PyObject
*_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
*resultobj
;
1987 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1988 PyObject
*arg2
= (PyObject
*) 0 ;
1989 PyObject
*arg3
= (PyObject
*) 0 ;
1990 PyObject
* obj0
= 0 ;
1991 PyObject
* obj1
= 0 ;
1992 PyObject
* obj2
= 0 ;
1994 (char *) "self",(char *) "self",(char *) "_class", NULL
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
1999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2004 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2006 wxPyEndAllowThreads(__tstate
);
2007 if (PyErr_Occurred()) SWIG_fail
;
2009 Py_INCREF(Py_None
); resultobj
= Py_None
;
2016 static PyObject
*_wrap_PyShapeEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2017 PyObject
*resultobj
;
2018 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2019 PyObject
*arg2
= (PyObject
*) 0 ;
2020 PyObject
* obj0
= 0 ;
2021 PyObject
* obj1
= 0 ;
2023 (char *) "self",(char *) "_self", NULL
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2032 wxPyShapeEvtHandler__setOORInfo(arg1
,arg2
);
2034 wxPyEndAllowThreads(__tstate
);
2035 if (PyErr_Occurred()) SWIG_fail
;
2037 Py_INCREF(Py_None
); resultobj
= Py_None
;
2044 static PyObject
*_wrap_PyShapeEvtHandler_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
*resultobj
;
2046 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2047 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
2048 PyObject
* obj0
= 0 ;
2049 PyObject
* obj1
= 0 ;
2051 (char *) "self",(char *) "sh", NULL
2054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
2058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2061 (arg1
)->SetShape(arg2
);
2063 wxPyEndAllowThreads(__tstate
);
2064 if (PyErr_Occurred()) SWIG_fail
;
2066 Py_INCREF(Py_None
); resultobj
= Py_None
;
2073 static PyObject
*_wrap_PyShapeEvtHandler_GetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2074 PyObject
*resultobj
;
2075 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2077 PyObject
* obj0
= 0 ;
2079 (char *) "self", NULL
2082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetShape",kwnames
,&obj0
)) goto fail
;
2083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2087 result
= (wxPyShape
*)(arg1
)->GetShape();
2089 wxPyEndAllowThreads(__tstate
);
2090 if (PyErr_Occurred()) SWIG_fail
;
2093 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
2101 static PyObject
*_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
*resultobj
;
2103 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2104 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
2105 PyObject
* obj0
= 0 ;
2106 PyObject
* obj1
= 0 ;
2108 (char *) "self",(char *) "handler", NULL
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
2112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2118 (arg1
)->SetPreviousHandler(arg2
);
2120 wxPyEndAllowThreads(__tstate
);
2121 if (PyErr_Occurred()) SWIG_fail
;
2123 Py_INCREF(Py_None
); resultobj
= Py_None
;
2130 static PyObject
*_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2131 PyObject
*resultobj
;
2132 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2133 wxPyShapeEvtHandler
*result
;
2134 PyObject
* obj0
= 0 ;
2136 (char *) "self", NULL
2139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
2140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetPreviousHandler();
2146 wxPyEndAllowThreads(__tstate
);
2147 if (PyErr_Occurred()) SWIG_fail
;
2150 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
2158 static PyObject
*_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2159 PyObject
*resultobj
;
2160 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2161 wxPyShapeEvtHandler
*result
;
2162 PyObject
* obj0
= 0 ;
2164 (char *) "self", NULL
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames
,&obj0
)) goto fail
;
2168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2172 result
= (wxPyShapeEvtHandler
*)(arg1
)->CreateNewCopy();
2174 wxPyEndAllowThreads(__tstate
);
2175 if (PyErr_Occurred()) SWIG_fail
;
2178 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
2186 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2187 PyObject
*resultobj
;
2188 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2189 PyObject
* obj0
= 0 ;
2191 (char *) "self", NULL
2194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames
,&obj0
)) goto fail
;
2195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2199 (arg1
)->base_OnDelete();
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) SWIG_fail
;
2204 Py_INCREF(Py_None
); resultobj
= Py_None
;
2211 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
*resultobj
;
2213 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2215 PyObject
* obj0
= 0 ;
2216 PyObject
* obj1
= 0 ;
2218 (char *) "self",(char *) "dc", NULL
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
2222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2228 PyErr_SetString(PyExc_TypeError
,"null reference");
2232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2233 (arg1
)->base_OnDraw(*arg2
);
2235 wxPyEndAllowThreads(__tstate
);
2236 if (PyErr_Occurred()) SWIG_fail
;
2238 Py_INCREF(Py_None
); resultobj
= Py_None
;
2245 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2246 PyObject
*resultobj
;
2247 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2249 PyObject
* obj0
= 0 ;
2250 PyObject
* obj1
= 0 ;
2252 (char *) "self",(char *) "dc", NULL
2255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
2256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2259 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2262 PyErr_SetString(PyExc_TypeError
,"null reference");
2266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2267 (arg1
)->base_OnDrawContents(*arg2
);
2269 wxPyEndAllowThreads(__tstate
);
2270 if (PyErr_Occurred()) SWIG_fail
;
2272 Py_INCREF(Py_None
); resultobj
= Py_None
;
2279 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
*resultobj
;
2281 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2283 bool arg3
= (bool) False
;
2284 PyObject
* obj0
= 0 ;
2285 PyObject
* obj1
= 0 ;
2286 PyObject
* obj2
= 0 ;
2288 (char *) "self",(char *) "dc",(char *) "erase", NULL
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2294 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2295 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2298 PyErr_SetString(PyExc_TypeError
,"null reference");
2302 arg3
= (bool) SWIG_AsBool(obj2
);
2303 if (PyErr_Occurred()) SWIG_fail
;
2306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2307 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
2309 wxPyEndAllowThreads(__tstate
);
2310 if (PyErr_Occurred()) SWIG_fail
;
2312 Py_INCREF(Py_None
); resultobj
= Py_None
;
2319 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2320 PyObject
*resultobj
;
2321 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2323 PyObject
* obj0
= 0 ;
2324 PyObject
* obj1
= 0 ;
2326 (char *) "self",(char *) "dc", NULL
2329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
2330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2332 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2333 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2336 PyErr_SetString(PyExc_TypeError
,"null reference");
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 (arg1
)->base_OnMoveLinks(*arg2
);
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) SWIG_fail
;
2346 Py_INCREF(Py_None
); resultobj
= Py_None
;
2353 static PyObject
*_wrap_PyShapeEvtHandler_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2354 PyObject
*resultobj
;
2355 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2357 PyObject
* obj0
= 0 ;
2358 PyObject
* obj1
= 0 ;
2360 (char *) "self",(char *) "dc", NULL
2363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
2364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2367 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2370 PyErr_SetString(PyExc_TypeError
,"null reference");
2374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2375 (arg1
)->base_OnErase(*arg2
);
2377 wxPyEndAllowThreads(__tstate
);
2378 if (PyErr_Occurred()) SWIG_fail
;
2380 Py_INCREF(Py_None
); resultobj
= Py_None
;
2387 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2388 PyObject
*resultobj
;
2389 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2391 PyObject
* obj0
= 0 ;
2392 PyObject
* obj1
= 0 ;
2394 (char *) "self",(char *) "dc", NULL
2397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
2398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2401 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2404 PyErr_SetString(PyExc_TypeError
,"null reference");
2408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2409 (arg1
)->base_OnEraseContents(*arg2
);
2411 wxPyEndAllowThreads(__tstate
);
2412 if (PyErr_Occurred()) SWIG_fail
;
2414 Py_INCREF(Py_None
); resultobj
= Py_None
;
2421 static PyObject
*_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2422 PyObject
*resultobj
;
2423 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2425 PyObject
* obj0
= 0 ;
2426 PyObject
* obj1
= 0 ;
2428 (char *) "self",(char *) "dc", NULL
2431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
2432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2435 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2438 PyErr_SetString(PyExc_TypeError
,"null reference");
2442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2443 (arg1
)->base_OnHighlight(*arg2
);
2445 wxPyEndAllowThreads(__tstate
);
2446 if (PyErr_Occurred()) SWIG_fail
;
2448 Py_INCREF(Py_None
); resultobj
= Py_None
;
2455 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
*resultobj
;
2457 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2460 int arg4
= (int) 0 ;
2461 int arg5
= (int) 0 ;
2462 PyObject
* obj0
= 0 ;
2463 PyObject
* obj1
= 0 ;
2464 PyObject
* obj2
= 0 ;
2465 PyObject
* obj3
= 0 ;
2466 PyObject
* obj4
= 0 ;
2468 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2474 arg2
= (double) SWIG_AsDouble(obj1
);
2475 if (PyErr_Occurred()) SWIG_fail
;
2476 arg3
= (double) SWIG_AsDouble(obj2
);
2477 if (PyErr_Occurred()) SWIG_fail
;
2479 arg4
= (int) SWIG_AsInt(obj3
);
2480 if (PyErr_Occurred()) SWIG_fail
;
2483 arg5
= (int) SWIG_AsInt(obj4
);
2484 if (PyErr_Occurred()) SWIG_fail
;
2487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2488 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
2490 wxPyEndAllowThreads(__tstate
);
2491 if (PyErr_Occurred()) SWIG_fail
;
2493 Py_INCREF(Py_None
); resultobj
= Py_None
;
2500 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
*resultobj
;
2502 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2505 int arg4
= (int) 0 ;
2506 int arg5
= (int) 0 ;
2507 PyObject
* obj0
= 0 ;
2508 PyObject
* obj1
= 0 ;
2509 PyObject
* obj2
= 0 ;
2510 PyObject
* obj3
= 0 ;
2511 PyObject
* obj4
= 0 ;
2513 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2519 arg2
= (double) SWIG_AsDouble(obj1
);
2520 if (PyErr_Occurred()) SWIG_fail
;
2521 arg3
= (double) SWIG_AsDouble(obj2
);
2522 if (PyErr_Occurred()) SWIG_fail
;
2524 arg4
= (int) SWIG_AsInt(obj3
);
2525 if (PyErr_Occurred()) SWIG_fail
;
2528 arg5
= (int) SWIG_AsInt(obj4
);
2529 if (PyErr_Occurred()) SWIG_fail
;
2532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2533 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
2535 wxPyEndAllowThreads(__tstate
);
2536 if (PyErr_Occurred()) SWIG_fail
;
2538 Py_INCREF(Py_None
); resultobj
= Py_None
;
2545 static PyObject
*_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
*resultobj
;
2547 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2550 int arg4
= (int) 0 ;
2551 int arg5
= (int) 0 ;
2552 PyObject
* obj0
= 0 ;
2553 PyObject
* obj1
= 0 ;
2554 PyObject
* obj2
= 0 ;
2555 PyObject
* obj3
= 0 ;
2556 PyObject
* obj4
= 0 ;
2558 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2564 arg2
= (double) SWIG_AsDouble(obj1
);
2565 if (PyErr_Occurred()) SWIG_fail
;
2566 arg3
= (double) SWIG_AsDouble(obj2
);
2567 if (PyErr_Occurred()) SWIG_fail
;
2569 arg4
= (int) SWIG_AsInt(obj3
);
2570 if (PyErr_Occurred()) SWIG_fail
;
2573 arg5
= (int) SWIG_AsInt(obj4
);
2574 if (PyErr_Occurred()) SWIG_fail
;
2577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2578 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
2580 wxPyEndAllowThreads(__tstate
);
2581 if (PyErr_Occurred()) SWIG_fail
;
2583 Py_INCREF(Py_None
); resultobj
= Py_None
;
2590 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
*resultobj
;
2592 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2595 PyObject
* obj0
= 0 ;
2596 PyObject
* obj1
= 0 ;
2597 PyObject
* obj2
= 0 ;
2599 (char *) "self",(char *) "x",(char *) "y", NULL
2602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2605 arg2
= (double) SWIG_AsDouble(obj1
);
2606 if (PyErr_Occurred()) SWIG_fail
;
2607 arg3
= (double) SWIG_AsDouble(obj2
);
2608 if (PyErr_Occurred()) SWIG_fail
;
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 (arg1
)->base_OnSize(arg2
,arg3
);
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) SWIG_fail
;
2616 Py_INCREF(Py_None
); resultobj
= Py_None
;
2623 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
*resultobj
;
2625 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2631 bool arg7
= (bool) True
;
2633 PyObject
* obj0
= 0 ;
2634 PyObject
* obj1
= 0 ;
2635 PyObject
* obj2
= 0 ;
2636 PyObject
* obj3
= 0 ;
2637 PyObject
* obj4
= 0 ;
2638 PyObject
* obj5
= 0 ;
2639 PyObject
* obj6
= 0 ;
2641 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2648 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2651 PyErr_SetString(PyExc_TypeError
,"null reference");
2654 arg3
= (double) SWIG_AsDouble(obj2
);
2655 if (PyErr_Occurred()) SWIG_fail
;
2656 arg4
= (double) SWIG_AsDouble(obj3
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2658 arg5
= (double) SWIG_AsDouble(obj4
);
2659 if (PyErr_Occurred()) SWIG_fail
;
2660 arg6
= (double) SWIG_AsDouble(obj5
);
2661 if (PyErr_Occurred()) SWIG_fail
;
2663 arg7
= (bool) SWIG_AsBool(obj6
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2668 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2670 wxPyEndAllowThreads(__tstate
);
2671 if (PyErr_Occurred()) SWIG_fail
;
2674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2682 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2683 PyObject
*resultobj
;
2684 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2690 bool arg7
= (bool) True
;
2691 PyObject
* obj0
= 0 ;
2692 PyObject
* obj1
= 0 ;
2693 PyObject
* obj2
= 0 ;
2694 PyObject
* obj3
= 0 ;
2695 PyObject
* obj4
= 0 ;
2696 PyObject
* obj5
= 0 ;
2697 PyObject
* obj6
= 0 ;
2699 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2706 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2709 PyErr_SetString(PyExc_TypeError
,"null reference");
2712 arg3
= (double) SWIG_AsDouble(obj2
);
2713 if (PyErr_Occurred()) SWIG_fail
;
2714 arg4
= (double) SWIG_AsDouble(obj3
);
2715 if (PyErr_Occurred()) SWIG_fail
;
2716 arg5
= (double) SWIG_AsDouble(obj4
);
2717 if (PyErr_Occurred()) SWIG_fail
;
2718 arg6
= (double) SWIG_AsDouble(obj5
);
2719 if (PyErr_Occurred()) SWIG_fail
;
2721 arg7
= (bool) SWIG_AsBool(obj6
);
2722 if (PyErr_Occurred()) SWIG_fail
;
2725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2726 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2728 wxPyEndAllowThreads(__tstate
);
2729 if (PyErr_Occurred()) SWIG_fail
;
2731 Py_INCREF(Py_None
); resultobj
= Py_None
;
2738 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
*resultobj
;
2740 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2744 int arg5
= (int) 0 ;
2745 int arg6
= (int) 0 ;
2746 PyObject
* obj0
= 0 ;
2747 PyObject
* obj1
= 0 ;
2748 PyObject
* obj2
= 0 ;
2749 PyObject
* obj3
= 0 ;
2750 PyObject
* obj4
= 0 ;
2751 PyObject
* obj5
= 0 ;
2753 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2759 arg2
= (bool) SWIG_AsBool(obj1
);
2760 if (PyErr_Occurred()) SWIG_fail
;
2761 arg3
= (double) SWIG_AsDouble(obj2
);
2762 if (PyErr_Occurred()) SWIG_fail
;
2763 arg4
= (double) SWIG_AsDouble(obj3
);
2764 if (PyErr_Occurred()) SWIG_fail
;
2766 arg5
= (int) SWIG_AsInt(obj4
);
2767 if (PyErr_Occurred()) SWIG_fail
;
2770 arg6
= (int) SWIG_AsInt(obj5
);
2771 if (PyErr_Occurred()) SWIG_fail
;
2774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2775 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
2777 wxPyEndAllowThreads(__tstate
);
2778 if (PyErr_Occurred()) SWIG_fail
;
2780 Py_INCREF(Py_None
); resultobj
= Py_None
;
2787 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
*resultobj
;
2789 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2792 int arg4
= (int) 0 ;
2793 int arg5
= (int) 0 ;
2794 PyObject
* obj0
= 0 ;
2795 PyObject
* obj1
= 0 ;
2796 PyObject
* obj2
= 0 ;
2797 PyObject
* obj3
= 0 ;
2798 PyObject
* obj4
= 0 ;
2800 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2806 arg2
= (double) SWIG_AsDouble(obj1
);
2807 if (PyErr_Occurred()) SWIG_fail
;
2808 arg3
= (double) SWIG_AsDouble(obj2
);
2809 if (PyErr_Occurred()) SWIG_fail
;
2811 arg4
= (int) SWIG_AsInt(obj3
);
2812 if (PyErr_Occurred()) SWIG_fail
;
2815 arg5
= (int) SWIG_AsInt(obj4
);
2816 if (PyErr_Occurred()) SWIG_fail
;
2819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2820 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
2822 wxPyEndAllowThreads(__tstate
);
2823 if (PyErr_Occurred()) SWIG_fail
;
2825 Py_INCREF(Py_None
); resultobj
= Py_None
;
2832 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2833 PyObject
*resultobj
;
2834 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2837 int arg4
= (int) 0 ;
2838 int arg5
= (int) 0 ;
2839 PyObject
* obj0
= 0 ;
2840 PyObject
* obj1
= 0 ;
2841 PyObject
* obj2
= 0 ;
2842 PyObject
* obj3
= 0 ;
2843 PyObject
* obj4
= 0 ;
2845 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2851 arg2
= (double) SWIG_AsDouble(obj1
);
2852 if (PyErr_Occurred()) SWIG_fail
;
2853 arg3
= (double) SWIG_AsDouble(obj2
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2856 arg4
= (int) SWIG_AsInt(obj3
);
2857 if (PyErr_Occurred()) SWIG_fail
;
2860 arg5
= (int) SWIG_AsInt(obj4
);
2861 if (PyErr_Occurred()) SWIG_fail
;
2864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2865 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
2867 wxPyEndAllowThreads(__tstate
);
2868 if (PyErr_Occurred()) SWIG_fail
;
2870 Py_INCREF(Py_None
); resultobj
= Py_None
;
2877 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2878 PyObject
*resultobj
;
2879 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2883 int arg5
= (int) 0 ;
2884 int arg6
= (int) 0 ;
2885 PyObject
* obj0
= 0 ;
2886 PyObject
* obj1
= 0 ;
2887 PyObject
* obj2
= 0 ;
2888 PyObject
* obj3
= 0 ;
2889 PyObject
* obj4
= 0 ;
2890 PyObject
* obj5
= 0 ;
2892 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2898 arg2
= (bool) SWIG_AsBool(obj1
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2900 arg3
= (double) SWIG_AsDouble(obj2
);
2901 if (PyErr_Occurred()) SWIG_fail
;
2902 arg4
= (double) SWIG_AsDouble(obj3
);
2903 if (PyErr_Occurred()) SWIG_fail
;
2905 arg5
= (int) SWIG_AsInt(obj4
);
2906 if (PyErr_Occurred()) SWIG_fail
;
2909 arg6
= (int) SWIG_AsInt(obj5
);
2910 if (PyErr_Occurred()) SWIG_fail
;
2913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2914 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
2916 wxPyEndAllowThreads(__tstate
);
2917 if (PyErr_Occurred()) SWIG_fail
;
2919 Py_INCREF(Py_None
); resultobj
= Py_None
;
2926 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2927 PyObject
*resultobj
;
2928 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2931 int arg4
= (int) 0 ;
2932 int arg5
= (int) 0 ;
2933 PyObject
* obj0
= 0 ;
2934 PyObject
* obj1
= 0 ;
2935 PyObject
* obj2
= 0 ;
2936 PyObject
* obj3
= 0 ;
2937 PyObject
* obj4
= 0 ;
2939 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2945 arg2
= (double) SWIG_AsDouble(obj1
);
2946 if (PyErr_Occurred()) SWIG_fail
;
2947 arg3
= (double) SWIG_AsDouble(obj2
);
2948 if (PyErr_Occurred()) SWIG_fail
;
2950 arg4
= (int) SWIG_AsInt(obj3
);
2951 if (PyErr_Occurred()) SWIG_fail
;
2954 arg5
= (int) SWIG_AsInt(obj4
);
2955 if (PyErr_Occurred()) SWIG_fail
;
2958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2959 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
2961 wxPyEndAllowThreads(__tstate
);
2962 if (PyErr_Occurred()) SWIG_fail
;
2964 Py_INCREF(Py_None
); resultobj
= Py_None
;
2971 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
*resultobj
;
2973 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2976 int arg4
= (int) 0 ;
2977 int arg5
= (int) 0 ;
2978 PyObject
* obj0
= 0 ;
2979 PyObject
* obj1
= 0 ;
2980 PyObject
* obj2
= 0 ;
2981 PyObject
* obj3
= 0 ;
2982 PyObject
* obj4
= 0 ;
2984 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2990 arg2
= (double) SWIG_AsDouble(obj1
);
2991 if (PyErr_Occurred()) SWIG_fail
;
2992 arg3
= (double) SWIG_AsDouble(obj2
);
2993 if (PyErr_Occurred()) SWIG_fail
;
2995 arg4
= (int) SWIG_AsInt(obj3
);
2996 if (PyErr_Occurred()) SWIG_fail
;
2999 arg5
= (int) SWIG_AsInt(obj4
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3004 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
3006 wxPyEndAllowThreads(__tstate
);
3007 if (PyErr_Occurred()) SWIG_fail
;
3009 Py_INCREF(Py_None
); resultobj
= Py_None
;
3016 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3017 PyObject
*resultobj
;
3018 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3024 PyObject
* obj0
= 0 ;
3025 PyObject
* obj1
= 0 ;
3026 PyObject
* obj2
= 0 ;
3027 PyObject
* obj3
= 0 ;
3028 PyObject
* obj4
= 0 ;
3029 PyObject
* obj5
= 0 ;
3031 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShapeEvtHandler_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3041 PyErr_SetString(PyExc_TypeError
,"null reference");
3044 arg3
= (double) SWIG_AsDouble(obj2
);
3045 if (PyErr_Occurred()) SWIG_fail
;
3046 arg4
= (double) SWIG_AsDouble(obj3
);
3047 if (PyErr_Occurred()) SWIG_fail
;
3048 arg5
= (double) SWIG_AsDouble(obj4
);
3049 if (PyErr_Occurred()) SWIG_fail
;
3050 arg6
= (double) SWIG_AsDouble(obj5
);
3051 if (PyErr_Occurred()) SWIG_fail
;
3053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3054 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
3056 wxPyEndAllowThreads(__tstate
);
3057 if (PyErr_Occurred()) SWIG_fail
;
3059 Py_INCREF(Py_None
); resultobj
= Py_None
;
3066 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
*resultobj
;
3068 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3070 PyObject
* obj0
= 0 ;
3071 PyObject
* obj1
= 0 ;
3073 (char *) "self",(char *) "dc", NULL
3076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3080 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3083 PyErr_SetString(PyExc_TypeError
,"null reference");
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 (arg1
)->base_OnDrawControlPoints(*arg2
);
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) SWIG_fail
;
3093 Py_INCREF(Py_None
); resultobj
= Py_None
;
3100 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
*resultobj
;
3102 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3104 PyObject
* obj0
= 0 ;
3105 PyObject
* obj1
= 0 ;
3107 (char *) "self",(char *) "dc", NULL
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3114 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3117 PyErr_SetString(PyExc_TypeError
,"null reference");
3121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3122 (arg1
)->base_OnEraseControlPoints(*arg2
);
3124 wxPyEndAllowThreads(__tstate
);
3125 if (PyErr_Occurred()) SWIG_fail
;
3127 Py_INCREF(Py_None
); resultobj
= Py_None
;
3134 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3135 PyObject
*resultobj
;
3136 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3138 bool arg3
= (bool) True
;
3139 PyObject
* obj0
= 0 ;
3140 PyObject
* obj1
= 0 ;
3141 PyObject
* obj2
= 0 ;
3143 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
3146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3149 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3150 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3153 PyErr_SetString(PyExc_TypeError
,"null reference");
3157 arg3
= (bool) SWIG_AsBool(obj2
);
3158 if (PyErr_Occurred()) SWIG_fail
;
3161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3162 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
3164 wxPyEndAllowThreads(__tstate
);
3165 if (PyErr_Occurred()) SWIG_fail
;
3167 Py_INCREF(Py_None
); resultobj
= Py_None
;
3174 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3175 PyObject
*resultobj
;
3176 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3177 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3181 int arg6
= (int) 0 ;
3182 int arg7
= (int) 0 ;
3183 PyObject
* obj0
= 0 ;
3184 PyObject
* obj1
= 0 ;
3185 PyObject
* obj2
= 0 ;
3186 PyObject
* obj3
= 0 ;
3187 PyObject
* obj4
= 0 ;
3188 PyObject
* obj5
= 0 ;
3189 PyObject
* obj6
= 0 ;
3191 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
3198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3199 arg3
= (bool) SWIG_AsBool(obj2
);
3200 if (PyErr_Occurred()) SWIG_fail
;
3201 arg4
= (double) SWIG_AsDouble(obj3
);
3202 if (PyErr_Occurred()) SWIG_fail
;
3203 arg5
= (double) SWIG_AsDouble(obj4
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3206 arg6
= (int) SWIG_AsInt(obj5
);
3207 if (PyErr_Occurred()) SWIG_fail
;
3210 arg7
= (int) SWIG_AsInt(obj6
);
3211 if (PyErr_Occurred()) SWIG_fail
;
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
3217 wxPyEndAllowThreads(__tstate
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3220 Py_INCREF(Py_None
); resultobj
= Py_None
;
3227 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3228 PyObject
*resultobj
;
3229 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3230 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3233 int arg5
= (int) 0 ;
3234 int arg6
= (int) 0 ;
3235 PyObject
* obj0
= 0 ;
3236 PyObject
* obj1
= 0 ;
3237 PyObject
* obj2
= 0 ;
3238 PyObject
* obj3
= 0 ;
3239 PyObject
* obj4
= 0 ;
3240 PyObject
* obj5
= 0 ;
3242 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
3249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3250 arg3
= (double) SWIG_AsDouble(obj2
);
3251 if (PyErr_Occurred()) SWIG_fail
;
3252 arg4
= (double) SWIG_AsDouble(obj3
);
3253 if (PyErr_Occurred()) SWIG_fail
;
3255 arg5
= (int) SWIG_AsInt(obj4
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3259 arg6
= (int) SWIG_AsInt(obj5
);
3260 if (PyErr_Occurred()) SWIG_fail
;
3263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3264 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
3266 wxPyEndAllowThreads(__tstate
);
3267 if (PyErr_Occurred()) SWIG_fail
;
3269 Py_INCREF(Py_None
); resultobj
= Py_None
;
3276 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3277 PyObject
*resultobj
;
3278 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3279 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3282 int arg5
= (int) 0 ;
3283 int arg6
= (int) 0 ;
3284 PyObject
* obj0
= 0 ;
3285 PyObject
* obj1
= 0 ;
3286 PyObject
* obj2
= 0 ;
3287 PyObject
* obj3
= 0 ;
3288 PyObject
* obj4
= 0 ;
3289 PyObject
* obj5
= 0 ;
3291 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
3298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3299 arg3
= (double) SWIG_AsDouble(obj2
);
3300 if (PyErr_Occurred()) SWIG_fail
;
3301 arg4
= (double) SWIG_AsDouble(obj3
);
3302 if (PyErr_Occurred()) SWIG_fail
;
3304 arg5
= (int) SWIG_AsInt(obj4
);
3305 if (PyErr_Occurred()) SWIG_fail
;
3308 arg6
= (int) SWIG_AsInt(obj5
);
3309 if (PyErr_Occurred()) SWIG_fail
;
3312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3313 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
3315 wxPyEndAllowThreads(__tstate
);
3316 if (PyErr_Occurred()) SWIG_fail
;
3318 Py_INCREF(Py_None
); resultobj
= Py_None
;
3325 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
*resultobj
;
3327 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3330 PyObject
* obj0
= 0 ;
3331 PyObject
* obj1
= 0 ;
3332 PyObject
* obj2
= 0 ;
3334 (char *) "self",(char *) "w",(char *) "h", NULL
3337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3340 arg2
= (double) SWIG_AsDouble(obj1
);
3341 if (PyErr_Occurred()) SWIG_fail
;
3342 arg3
= (double) SWIG_AsDouble(obj2
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3346 (arg1
)->base_OnBeginSize(arg2
,arg3
);
3348 wxPyEndAllowThreads(__tstate
);
3349 if (PyErr_Occurred()) SWIG_fail
;
3351 Py_INCREF(Py_None
); resultobj
= Py_None
;
3358 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3359 PyObject
*resultobj
;
3360 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3363 PyObject
* obj0
= 0 ;
3364 PyObject
* obj1
= 0 ;
3365 PyObject
* obj2
= 0 ;
3367 (char *) "self",(char *) "w",(char *) "h", NULL
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3373 arg2
= (double) SWIG_AsDouble(obj1
);
3374 if (PyErr_Occurred()) SWIG_fail
;
3375 arg3
= (double) SWIG_AsDouble(obj2
);
3376 if (PyErr_Occurred()) SWIG_fail
;
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3379 (arg1
)->base_OnEndSize(arg2
,arg3
);
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) SWIG_fail
;
3384 Py_INCREF(Py_None
); resultobj
= Py_None
;
3391 static PyObject
* PyShapeEvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
3393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3394 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler
, obj
);
3396 return Py_BuildValue((char *)"");
3398 static PyObject
*_wrap_new_PyShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
;
3400 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
3402 PyObject
* obj0
= 0 ;
3404 (char *) "can", NULL
3407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyShape",kwnames
,&obj0
)) goto fail
;
3409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
3410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3414 result
= (wxPyShape
*)new wxPyShape(arg1
);
3416 wxPyEndAllowThreads(__tstate
);
3417 if (PyErr_Occurred()) SWIG_fail
;
3420 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3428 static PyObject
*_wrap_PyShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
;
3430 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3431 PyObject
*arg2
= (PyObject
*) 0 ;
3432 PyObject
*arg3
= (PyObject
*) 0 ;
3433 PyObject
* obj0
= 0 ;
3434 PyObject
* obj1
= 0 ;
3435 PyObject
* obj2
= 0 ;
3437 (char *) "self",(char *) "self",(char *) "_class", NULL
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3447 (arg1
)->_setCallbackInfo(arg2
,arg3
);
3449 wxPyEndAllowThreads(__tstate
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3452 Py_INCREF(Py_None
); resultobj
= Py_None
;
3459 static PyObject
*_wrap_PyShape_GetBoundingBoxMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
*resultobj
;
3461 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3462 double *arg2
= (double *) 0 ;
3463 double *arg3
= (double *) 0 ;
3466 PyObject
* obj0
= 0 ;
3468 (char *) "self", NULL
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMax",kwnames
,&obj0
)) goto fail
;
3474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3478 (arg1
)->GetBoundingBoxMax(arg2
,arg3
);
3480 wxPyEndAllowThreads(__tstate
);
3481 if (PyErr_Occurred()) SWIG_fail
;
3483 Py_INCREF(Py_None
); resultobj
= Py_None
;
3485 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
3486 resultobj
= t_output_helper(resultobj
,o
);
3489 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
3490 resultobj
= t_output_helper(resultobj
,o
);
3498 static PyObject
*_wrap_PyShape_GetBoundingBoxMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
*resultobj
;
3500 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3501 double *arg2
= (double *) 0 ;
3502 double *arg3
= (double *) 0 ;
3505 PyObject
* obj0
= 0 ;
3507 (char *) "self", NULL
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMin",kwnames
,&obj0
)) goto fail
;
3513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3517 (arg1
)->GetBoundingBoxMin(arg2
,arg3
);
3519 wxPyEndAllowThreads(__tstate
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3522 Py_INCREF(Py_None
); resultobj
= Py_None
;
3524 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
3525 resultobj
= t_output_helper(resultobj
,o
);
3528 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
3529 resultobj
= t_output_helper(resultobj
,o
);
3537 static PyObject
*_wrap_PyShape_GetPerimeterPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3538 PyObject
*resultobj
;
3539 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3544 double *arg6
= (double *) 0 ;
3545 double *arg7
= (double *) 0 ;
3549 PyObject
* obj0
= 0 ;
3550 PyObject
* obj1
= 0 ;
3551 PyObject
* obj2
= 0 ;
3552 PyObject
* obj3
= 0 ;
3553 PyObject
* obj4
= 0 ;
3555 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_GetPerimeterPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3563 arg2
= (double) SWIG_AsDouble(obj1
);
3564 if (PyErr_Occurred()) SWIG_fail
;
3565 arg3
= (double) SWIG_AsDouble(obj2
);
3566 if (PyErr_Occurred()) SWIG_fail
;
3567 arg4
= (double) SWIG_AsDouble(obj3
);
3568 if (PyErr_Occurred()) SWIG_fail
;
3569 arg5
= (double) SWIG_AsDouble(obj4
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 result
= (bool)(arg1
)->GetPerimeterPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
3575 wxPyEndAllowThreads(__tstate
);
3576 if (PyErr_Occurred()) SWIG_fail
;
3579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3582 PyObject
*o
= PyFloat_FromDouble((double) (*arg6
));
3583 resultobj
= t_output_helper(resultobj
,o
);
3586 PyObject
*o
= PyFloat_FromDouble((double) (*arg7
));
3587 resultobj
= t_output_helper(resultobj
,o
);
3595 static PyObject
*_wrap_PyShape_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
*resultobj
;
3597 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3598 wxPyShapeCanvas
*result
;
3599 PyObject
* obj0
= 0 ;
3601 (char *) "self", NULL
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCanvas",kwnames
,&obj0
)) goto fail
;
3605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3609 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
3611 wxPyEndAllowThreads(__tstate
);
3612 if (PyErr_Occurred()) SWIG_fail
;
3615 resultobj
= wxPyMake_wxObject(result
);
3623 static PyObject
*_wrap_PyShape_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
*resultobj
;
3625 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3626 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3627 PyObject
* obj0
= 0 ;
3628 PyObject
* obj1
= 0 ;
3630 (char *) "self",(char *) "the_canvas", NULL
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3640 (arg1
)->SetCanvas(arg2
);
3642 wxPyEndAllowThreads(__tstate
);
3643 if (PyErr_Occurred()) SWIG_fail
;
3645 Py_INCREF(Py_None
); resultobj
= Py_None
;
3652 static PyObject
*_wrap_PyShape_AddToCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
*resultobj
;
3654 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3655 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3656 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
3657 PyObject
* obj0
= 0 ;
3658 PyObject
* obj1
= 0 ;
3659 PyObject
* obj2
= 0 ;
3661 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_AddToCanvas",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3670 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
3671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3675 (arg1
)->AddToCanvas(arg2
,arg3
);
3677 wxPyEndAllowThreads(__tstate
);
3678 if (PyErr_Occurred()) SWIG_fail
;
3680 Py_INCREF(Py_None
); resultobj
= Py_None
;
3687 static PyObject
*_wrap_PyShape_InsertInCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
*resultobj
;
3689 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3690 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3691 PyObject
* obj0
= 0 ;
3692 PyObject
* obj1
= 0 ;
3694 (char *) "self",(char *) "the_canvas", NULL
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_InsertInCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 (arg1
)->InsertInCanvas(arg2
);
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3709 Py_INCREF(Py_None
); resultobj
= Py_None
;
3716 static PyObject
*_wrap_PyShape_RemoveFromCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
*resultobj
;
3718 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3719 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3720 PyObject
* obj0
= 0 ;
3721 PyObject
* obj1
= 0 ;
3723 (char *) "self",(char *) "the_canvas", NULL
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveFromCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3733 (arg1
)->RemoveFromCanvas(arg2
);
3735 wxPyEndAllowThreads(__tstate
);
3736 if (PyErr_Occurred()) SWIG_fail
;
3738 Py_INCREF(Py_None
); resultobj
= Py_None
;
3745 static PyObject
*_wrap_PyShape_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
*resultobj
;
3747 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3749 PyObject
* obj0
= 0 ;
3751 (char *) "self", NULL
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetX",kwnames
,&obj0
)) goto fail
;
3755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 result
= (double)(arg1
)->GetX();
3761 wxPyEndAllowThreads(__tstate
);
3762 if (PyErr_Occurred()) SWIG_fail
;
3764 resultobj
= SWIG_FromDouble((double)result
);
3771 static PyObject
*_wrap_PyShape_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
*resultobj
;
3773 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3775 PyObject
* obj0
= 0 ;
3777 (char *) "self", NULL
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetY",kwnames
,&obj0
)) goto fail
;
3781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 result
= (double)(arg1
)->GetY();
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3790 resultobj
= SWIG_FromDouble((double)result
);
3797 static PyObject
*_wrap_PyShape_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
*resultobj
;
3799 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3801 PyObject
* obj0
= 0 ;
3802 PyObject
* obj1
= 0 ;
3804 (char *) "self",(char *) "x", NULL
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3810 arg2
= (double) SWIG_AsDouble(obj1
);
3811 if (PyErr_Occurred()) SWIG_fail
;
3813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 wxPyEndAllowThreads(__tstate
);
3817 if (PyErr_Occurred()) SWIG_fail
;
3819 Py_INCREF(Py_None
); resultobj
= Py_None
;
3826 static PyObject
*_wrap_PyShape_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3827 PyObject
*resultobj
;
3828 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3830 PyObject
* obj0
= 0 ;
3831 PyObject
* obj1
= 0 ;
3833 (char *) "self",(char *) "y", NULL
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3839 arg2
= (double) SWIG_AsDouble(obj1
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3848 Py_INCREF(Py_None
); resultobj
= Py_None
;
3855 static PyObject
*_wrap_PyShape_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
*resultobj
;
3857 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3859 PyObject
* obj0
= 0 ;
3861 (char *) "self", NULL
3864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetParent",kwnames
,&obj0
)) goto fail
;
3865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3869 result
= (wxPyShape
*)(arg1
)->GetParent();
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3875 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3883 static PyObject
*_wrap_PyShape_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
*resultobj
;
3885 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3886 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
3887 PyObject
* obj0
= 0 ;
3888 PyObject
* obj1
= 0 ;
3890 (char *) "self",(char *) "p", NULL
3893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
3894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
3897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 (arg1
)->SetParent(arg2
);
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3905 Py_INCREF(Py_None
); resultobj
= Py_None
;
3912 static PyObject
*_wrap_PyShape_GetTopAncestor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
*resultobj
;
3914 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3916 PyObject
* obj0
= 0 ;
3918 (char *) "self", NULL
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetTopAncestor",kwnames
,&obj0
)) goto fail
;
3922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3926 result
= (wxPyShape
*)(arg1
)->GetTopAncestor();
3928 wxPyEndAllowThreads(__tstate
);
3929 if (PyErr_Occurred()) SWIG_fail
;
3932 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3940 static PyObject
*_wrap_PyShape_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
*resultobj
;
3942 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3944 PyObject
* obj0
= 0 ;
3946 (char *) "self", NULL
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetChildren",kwnames
,&obj0
)) goto fail
;
3950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 result
= (PyObject
*)wxPyShape_GetChildren(arg1
);
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3966 static PyObject
*_wrap_PyShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3968 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3969 PyObject
* obj0
= 0 ;
3971 (char *) "self", NULL
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Unlink",kwnames
,&obj0
)) goto fail
;
3975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3981 wxPyEndAllowThreads(__tstate
);
3982 if (PyErr_Occurred()) SWIG_fail
;
3984 Py_INCREF(Py_None
); resultobj
= Py_None
;
3991 static PyObject
*_wrap_PyShape_SetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
*resultobj
;
3993 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3995 PyObject
* obj0
= 0 ;
3996 PyObject
* obj1
= 0 ;
3998 (char *) "self",(char *) "drawH", NULL
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDrawHandles",kwnames
,&obj0
,&obj1
)) goto fail
;
4002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4004 arg2
= (bool) SWIG_AsBool(obj1
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 (arg1
)->SetDrawHandles(arg2
);
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4013 Py_INCREF(Py_None
); resultobj
= Py_None
;
4020 static PyObject
*_wrap_PyShape_GetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
*resultobj
;
4022 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4024 PyObject
* obj0
= 0 ;
4026 (char *) "self", NULL
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDrawHandles",kwnames
,&obj0
)) goto fail
;
4030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 result
= (bool)(arg1
)->GetDrawHandles();
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4048 static PyObject
*_wrap_PyShape_MakeControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
*resultobj
;
4050 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4051 PyObject
* obj0
= 0 ;
4053 (char *) "self", NULL
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeControlPoints",kwnames
,&obj0
)) goto fail
;
4057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 (arg1
)->MakeControlPoints();
4063 wxPyEndAllowThreads(__tstate
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4066 Py_INCREF(Py_None
); resultobj
= Py_None
;
4073 static PyObject
*_wrap_PyShape_DeleteControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
*resultobj
;
4075 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4076 wxDC
*arg2
= (wxDC
*) NULL
;
4077 PyObject
* obj0
= 0 ;
4078 PyObject
* obj1
= 0 ;
4080 (char *) "self",(char *) "dc", NULL
4083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_DeleteControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
4088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 (arg1
)->DeleteControlPoints(arg2
);
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4097 Py_INCREF(Py_None
); resultobj
= Py_None
;
4104 static PyObject
*_wrap_PyShape_ResetControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
;
4106 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4107 PyObject
* obj0
= 0 ;
4109 (char *) "self", NULL
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetControlPoints",kwnames
,&obj0
)) goto fail
;
4113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 (arg1
)->ResetControlPoints();
4119 wxPyEndAllowThreads(__tstate
);
4120 if (PyErr_Occurred()) SWIG_fail
;
4122 Py_INCREF(Py_None
); resultobj
= Py_None
;
4129 static PyObject
*_wrap_PyShape_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
*resultobj
;
4131 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4132 wxPyShapeEvtHandler
*result
;
4133 PyObject
* obj0
= 0 ;
4135 (char *) "self", NULL
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetEventHandler",kwnames
,&obj0
)) goto fail
;
4139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetEventHandler();
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4149 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
4157 static PyObject
*_wrap_PyShape_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
;
4159 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4160 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
4161 PyObject
* obj0
= 0 ;
4162 PyObject
* obj1
= 0 ;
4164 (char *) "self",(char *) "handler", NULL
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
4168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeEvtHandler
,
4171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 (arg1
)->SetEventHandler(arg2
);
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4179 Py_INCREF(Py_None
); resultobj
= Py_None
;
4186 static PyObject
*_wrap_PyShape_MakeMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
;
4188 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4189 PyObject
* obj0
= 0 ;
4191 (char *) "self", NULL
4194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
4195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 (arg1
)->MakeMandatoryControlPoints();
4201 wxPyEndAllowThreads(__tstate
);
4202 if (PyErr_Occurred()) SWIG_fail
;
4204 Py_INCREF(Py_None
); resultobj
= Py_None
;
4211 static PyObject
*_wrap_PyShape_ResetMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
*resultobj
;
4213 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4214 PyObject
* obj0
= 0 ;
4216 (char *) "self", NULL
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
4220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 (arg1
)->ResetMandatoryControlPoints();
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 Py_INCREF(Py_None
); resultobj
= Py_None
;
4236 static PyObject
*_wrap_PyShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
*resultobj
;
4238 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4240 PyObject
* obj0
= 0 ;
4242 (char *) "self", NULL
4245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Recompute",kwnames
,&obj0
)) goto fail
;
4246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 result
= (bool)(arg1
)->Recompute();
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4264 static PyObject
*_wrap_PyShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
*resultobj
;
4266 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4267 PyObject
* obj0
= 0 ;
4269 (char *) "self", NULL
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
4273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 (arg1
)->CalculateSize();
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) SWIG_fail
;
4282 Py_INCREF(Py_None
); resultobj
= Py_None
;
4289 static PyObject
*_wrap_PyShape_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
*resultobj
;
4291 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4292 bool arg2
= (bool) True
;
4293 wxDC
*arg3
= (wxDC
*) NULL
;
4294 PyObject
* obj0
= 0 ;
4295 PyObject
* obj1
= 0 ;
4296 PyObject
* obj2
= 0 ;
4298 (char *) "self",(char *) "select",(char *) "dc", NULL
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4305 arg2
= (bool) SWIG_AsBool(obj1
);
4306 if (PyErr_Occurred()) SWIG_fail
;
4309 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
4310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 (arg1
)->Select(arg2
,arg3
);
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4319 Py_INCREF(Py_None
); resultobj
= Py_None
;
4326 static PyObject
*_wrap_PyShape_SetHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
*resultobj
;
4328 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4329 bool arg2
= (bool) True
;
4330 bool arg3
= (bool) False
;
4331 PyObject
* obj0
= 0 ;
4332 PyObject
* obj1
= 0 ;
4333 PyObject
* obj2
= 0 ;
4335 (char *) "self",(char *) "hi",(char *) "recurse", NULL
4338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4342 arg2
= (bool) SWIG_AsBool(obj1
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4346 arg3
= (bool) SWIG_AsBool(obj2
);
4347 if (PyErr_Occurred()) SWIG_fail
;
4350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4351 (arg1
)->SetHighlight(arg2
,arg3
);
4353 wxPyEndAllowThreads(__tstate
);
4354 if (PyErr_Occurred()) SWIG_fail
;
4356 Py_INCREF(Py_None
); resultobj
= Py_None
;
4363 static PyObject
*_wrap_PyShape_IsHighlighted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
*resultobj
;
4365 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4367 PyObject
* obj0
= 0 ;
4369 (char *) "self", NULL
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsHighlighted",kwnames
,&obj0
)) goto fail
;
4373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4377 result
= (bool)(arg1
)->IsHighlighted();
4379 wxPyEndAllowThreads(__tstate
);
4380 if (PyErr_Occurred()) SWIG_fail
;
4383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4391 static PyObject
*_wrap_PyShape_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
*resultobj
;
4393 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4395 PyObject
* obj0
= 0 ;
4397 (char *) "self", NULL
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Selected",kwnames
,&obj0
)) goto fail
;
4401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4405 result
= (bool)(arg1
)->Selected();
4407 wxPyEndAllowThreads(__tstate
);
4408 if (PyErr_Occurred()) SWIG_fail
;
4411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4419 static PyObject
*_wrap_PyShape_AncestorSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
*resultobj
;
4421 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4423 PyObject
* obj0
= 0 ;
4425 (char *) "self", NULL
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AncestorSelected",kwnames
,&obj0
)) goto fail
;
4429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4433 result
= (bool)(arg1
)->AncestorSelected();
4435 wxPyEndAllowThreads(__tstate
);
4436 if (PyErr_Occurred()) SWIG_fail
;
4439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4447 static PyObject
*_wrap_PyShape_SetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4448 PyObject
*resultobj
;
4449 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4450 int arg2
= (int) OP_ALL
;
4451 bool arg3
= (bool) False
;
4452 PyObject
* obj0
= 0 ;
4453 PyObject
* obj1
= 0 ;
4454 PyObject
* obj2
= 0 ;
4456 (char *) "self",(char *) "sens",(char *) "recursive", NULL
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetSensitivityFilter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4463 arg2
= (int) SWIG_AsInt(obj1
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4467 arg3
= (bool) SWIG_AsBool(obj2
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4472 (arg1
)->SetSensitivityFilter(arg2
,arg3
);
4474 wxPyEndAllowThreads(__tstate
);
4475 if (PyErr_Occurred()) SWIG_fail
;
4477 Py_INCREF(Py_None
); resultobj
= Py_None
;
4484 static PyObject
*_wrap_PyShape_GetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
*resultobj
;
4486 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4488 PyObject
* obj0
= 0 ;
4490 (char *) "self", NULL
4493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSensitivityFilter",kwnames
,&obj0
)) goto fail
;
4494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 result
= (int)(arg1
)->GetSensitivityFilter();
4500 wxPyEndAllowThreads(__tstate
);
4501 if (PyErr_Occurred()) SWIG_fail
;
4503 resultobj
= SWIG_FromInt((int)result
);
4510 static PyObject
*_wrap_PyShape_SetDraggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4511 PyObject
*resultobj
;
4512 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4514 bool arg3
= (bool) False
;
4515 PyObject
* obj0
= 0 ;
4516 PyObject
* obj1
= 0 ;
4517 PyObject
* obj2
= 0 ;
4519 (char *) "self",(char *) "drag",(char *) "recursive", NULL
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetDraggable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4525 arg2
= (bool) SWIG_AsBool(obj1
);
4526 if (PyErr_Occurred()) SWIG_fail
;
4528 arg3
= (bool) SWIG_AsBool(obj2
);
4529 if (PyErr_Occurred()) SWIG_fail
;
4532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4533 (arg1
)->SetDraggable(arg2
,arg3
);
4535 wxPyEndAllowThreads(__tstate
);
4536 if (PyErr_Occurred()) SWIG_fail
;
4538 Py_INCREF(Py_None
); resultobj
= Py_None
;
4545 static PyObject
*_wrap_PyShape_SetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4546 PyObject
*resultobj
;
4547 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4550 PyObject
* obj0
= 0 ;
4551 PyObject
* obj1
= 0 ;
4552 PyObject
* obj2
= 0 ;
4554 (char *) "self",(char *) "x",(char *) "y", NULL
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetFixedSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4560 arg2
= (bool) SWIG_AsBool(obj1
);
4561 if (PyErr_Occurred()) SWIG_fail
;
4562 arg3
= (bool) SWIG_AsBool(obj2
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4566 (arg1
)->SetFixedSize(arg2
,arg3
);
4568 wxPyEndAllowThreads(__tstate
);
4569 if (PyErr_Occurred()) SWIG_fail
;
4571 Py_INCREF(Py_None
); resultobj
= Py_None
;
4578 static PyObject
*_wrap_PyShape_GetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
*resultobj
;
4580 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4581 bool *arg2
= (bool *) 0 ;
4582 bool *arg3
= (bool *) 0 ;
4585 PyObject
* obj0
= 0 ;
4587 (char *) "self", NULL
4592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedSize",kwnames
,&obj0
)) goto fail
;
4593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4597 (arg1
)->GetFixedSize(arg2
,arg3
);
4599 wxPyEndAllowThreads(__tstate
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4602 Py_INCREF(Py_None
); resultobj
= Py_None
;
4604 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4605 resultobj
= t_output_helper(resultobj
,o
);
4608 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4609 resultobj
= t_output_helper(resultobj
,o
);
4617 static PyObject
*_wrap_PyShape_GetFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4618 PyObject
*resultobj
;
4619 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4621 PyObject
* obj0
= 0 ;
4623 (char *) "self", NULL
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedWidth",kwnames
,&obj0
)) goto fail
;
4627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4631 result
= (bool)(arg1
)->GetFixedWidth();
4633 wxPyEndAllowThreads(__tstate
);
4634 if (PyErr_Occurred()) SWIG_fail
;
4637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4645 static PyObject
*_wrap_PyShape_GetFixedHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
*resultobj
;
4647 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4649 PyObject
* obj0
= 0 ;
4651 (char *) "self", NULL
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedHeight",kwnames
,&obj0
)) goto fail
;
4655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4659 result
= (bool)(arg1
)->GetFixedHeight();
4661 wxPyEndAllowThreads(__tstate
);
4662 if (PyErr_Occurred()) SWIG_fail
;
4665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4673 static PyObject
*_wrap_PyShape_SetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4674 PyObject
*resultobj
;
4675 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4677 PyObject
* obj0
= 0 ;
4678 PyObject
* obj1
= 0 ;
4680 (char *) "self",(char *) "sp", NULL
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetSpaceAttachments",kwnames
,&obj0
,&obj1
)) goto fail
;
4684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4686 arg2
= (bool) SWIG_AsBool(obj1
);
4687 if (PyErr_Occurred()) SWIG_fail
;
4689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4690 (arg1
)->SetSpaceAttachments(arg2
);
4692 wxPyEndAllowThreads(__tstate
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4695 Py_INCREF(Py_None
); resultobj
= Py_None
;
4702 static PyObject
*_wrap_PyShape_GetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
*resultobj
;
4704 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4706 PyObject
* obj0
= 0 ;
4708 (char *) "self", NULL
4711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSpaceAttachments",kwnames
,&obj0
)) goto fail
;
4712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 result
= (bool)(arg1
)->GetSpaceAttachments();
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) SWIG_fail
;
4722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4730 static PyObject
*_wrap_PyShape_SetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
;
4732 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4734 bool arg3
= (bool) False
;
4735 PyObject
* obj0
= 0 ;
4736 PyObject
* obj1
= 0 ;
4737 PyObject
* obj2
= 0 ;
4739 (char *) "self",(char *) "mode",(char *) "redraw", NULL
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetShadowMode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4745 arg2
= (int) SWIG_AsInt(obj1
);
4746 if (PyErr_Occurred()) SWIG_fail
;
4748 arg3
= (bool) SWIG_AsBool(obj2
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4753 (arg1
)->SetShadowMode(arg2
,arg3
);
4755 wxPyEndAllowThreads(__tstate
);
4756 if (PyErr_Occurred()) SWIG_fail
;
4758 Py_INCREF(Py_None
); resultobj
= Py_None
;
4765 static PyObject
*_wrap_PyShape_GetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
*resultobj
;
4767 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4769 PyObject
* obj0
= 0 ;
4771 (char *) "self", NULL
4774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetShadowMode",kwnames
,&obj0
)) goto fail
;
4775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4779 result
= (int)(arg1
)->GetShadowMode();
4781 wxPyEndAllowThreads(__tstate
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4784 resultobj
= SWIG_FromInt((int)result
);
4791 static PyObject
*_wrap_PyShape_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4792 PyObject
*resultobj
;
4793 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4796 int *arg4
= (int *) 0 ;
4797 double *arg5
= (double *) 0 ;
4801 PyObject
* obj0
= 0 ;
4802 PyObject
* obj1
= 0 ;
4803 PyObject
* obj2
= 0 ;
4805 (char *) "self",(char *) "x",(char *) "y", NULL
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_HitTest",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4813 arg2
= (double) SWIG_AsDouble(obj1
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4815 arg3
= (double) SWIG_AsDouble(obj2
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 result
= (bool)(arg1
)->HitTest(arg2
,arg3
,arg4
,arg5
);
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4828 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4829 resultobj
= t_output_helper(resultobj
,o
);
4832 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
4833 resultobj
= t_output_helper(resultobj
,o
);
4841 static PyObject
*_wrap_PyShape_SetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
*resultobj
;
4843 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4845 PyObject
* obj0
= 0 ;
4846 PyObject
* obj1
= 0 ;
4848 (char *) "self",(char *) "cr", NULL
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCentreResize",kwnames
,&obj0
,&obj1
)) goto fail
;
4852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4854 arg2
= (bool) SWIG_AsBool(obj1
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 (arg1
)->SetCentreResize(arg2
);
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4863 Py_INCREF(Py_None
); resultobj
= Py_None
;
4870 static PyObject
*_wrap_PyShape_GetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
*resultobj
;
4872 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4874 PyObject
* obj0
= 0 ;
4876 (char *) "self", NULL
4879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCentreResize",kwnames
,&obj0
)) goto fail
;
4880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 result
= (bool)(arg1
)->GetCentreResize();
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) SWIG_fail
;
4890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4898 static PyObject
*_wrap_PyShape_SetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4899 PyObject
*resultobj
;
4900 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4902 PyObject
* obj0
= 0 ;
4903 PyObject
* obj1
= 0 ;
4905 (char *) "self",(char *) "ar", NULL
4908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
4909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4911 arg2
= (bool) SWIG_AsBool(obj1
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 (arg1
)->SetMaintainAspectRatio(arg2
);
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 Py_INCREF(Py_None
); resultobj
= Py_None
;
4927 static PyObject
*_wrap_PyShape_GetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
;
4929 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4931 PyObject
* obj0
= 0 ;
4933 (char *) "self", NULL
4936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames
,&obj0
)) goto fail
;
4937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4941 result
= (bool)(arg1
)->GetMaintainAspectRatio();
4943 wxPyEndAllowThreads(__tstate
);
4944 if (PyErr_Occurred()) SWIG_fail
;
4947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4955 static PyObject
*_wrap_PyShape_GetLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
*resultobj
;
4957 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4959 PyObject
* obj0
= 0 ;
4961 (char *) "self", NULL
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetLines",kwnames
,&obj0
)) goto fail
;
4965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4969 result
= (PyObject
*)wxPyShape_GetLines(arg1
);
4971 wxPyEndAllowThreads(__tstate
);
4972 if (PyErr_Occurred()) SWIG_fail
;
4981 static PyObject
*_wrap_PyShape_SetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
*resultobj
;
4983 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4985 PyObject
* obj0
= 0 ;
4986 PyObject
* obj1
= 0 ;
4988 (char *) "self",(char *) "flag", NULL
4991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDisableLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
4992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4994 arg2
= (bool) SWIG_AsBool(obj1
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4998 (arg1
)->SetDisableLabel(arg2
);
5000 wxPyEndAllowThreads(__tstate
);
5001 if (PyErr_Occurred()) SWIG_fail
;
5003 Py_INCREF(Py_None
); resultobj
= Py_None
;
5010 static PyObject
*_wrap_PyShape_GetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
*resultobj
;
5012 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5014 PyObject
* obj0
= 0 ;
5016 (char *) "self", NULL
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDisableLabel",kwnames
,&obj0
)) goto fail
;
5020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 result
= (bool)(arg1
)->GetDisableLabel();
5026 wxPyEndAllowThreads(__tstate
);
5027 if (PyErr_Occurred()) SWIG_fail
;
5030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5038 static PyObject
*_wrap_PyShape_SetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5039 PyObject
*resultobj
;
5040 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5042 PyObject
* obj0
= 0 ;
5043 PyObject
* obj1
= 0 ;
5045 (char *) "self",(char *) "mode", NULL
5048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetAttachmentMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5051 arg2
= (int) SWIG_AsInt(obj1
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5055 (arg1
)->SetAttachmentMode(arg2
);
5057 wxPyEndAllowThreads(__tstate
);
5058 if (PyErr_Occurred()) SWIG_fail
;
5060 Py_INCREF(Py_None
); resultobj
= Py_None
;
5067 static PyObject
*_wrap_PyShape_GetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5068 PyObject
*resultobj
;
5069 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5071 PyObject
* obj0
= 0 ;
5073 (char *) "self", NULL
5076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachmentMode",kwnames
,&obj0
)) goto fail
;
5077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 result
= (int)(arg1
)->GetAttachmentMode();
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5086 resultobj
= SWIG_FromInt((int)result
);
5093 static PyObject
*_wrap_PyShape_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
*resultobj
;
5095 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5097 PyObject
* obj0
= 0 ;
5098 PyObject
* obj1
= 0 ;
5100 (char *) "self",(char *) "i", NULL
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
5104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5106 arg2
= (long) SWIG_AsLong(obj1
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5110 (arg1
)->SetId(arg2
);
5112 wxPyEndAllowThreads(__tstate
);
5113 if (PyErr_Occurred()) SWIG_fail
;
5115 Py_INCREF(Py_None
); resultobj
= Py_None
;
5122 static PyObject
*_wrap_PyShape_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5123 PyObject
*resultobj
;
5124 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5126 PyObject
* obj0
= 0 ;
5128 (char *) "self", NULL
5131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetId",kwnames
,&obj0
)) goto fail
;
5132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 result
= (long)(arg1
)->GetId();
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5141 resultobj
= SWIG_FromLong((long)result
);
5148 static PyObject
*_wrap_PyShape_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
*resultobj
;
5150 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5151 wxPen
*arg2
= (wxPen
*) 0 ;
5152 PyObject
* obj0
= 0 ;
5153 PyObject
* obj1
= 0 ;
5155 (char *) "self",(char *) "pen", NULL
5158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
5159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5164 if (obj1
== Py_None
) {
5167 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
5168 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
5173 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
5180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5181 (arg1
)->SetPen(arg2
);
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5186 Py_INCREF(Py_None
); resultobj
= Py_None
;
5193 static PyObject
*_wrap_PyShape_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5194 PyObject
*resultobj
;
5195 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5196 wxBrush
*arg2
= (wxBrush
*) 0 ;
5197 PyObject
* obj0
= 0 ;
5198 PyObject
* obj1
= 0 ;
5200 (char *) "self",(char *) "brush", NULL
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
5204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5209 if (obj1
== Py_None
) {
5212 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
5213 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
5218 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 (arg1
)->SetBrush(arg2
);
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5229 Py_INCREF(Py_None
); resultobj
= Py_None
;
5236 static PyObject
*_wrap_PyShape_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
*resultobj
;
5238 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5240 PyObject
* obj0
= 0 ;
5241 PyObject
* obj1
= 0 ;
5243 (char *) "self",(char *) "show", NULL
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5249 arg2
= (bool) SWIG_AsBool(obj1
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5258 Py_INCREF(Py_None
); resultobj
= Py_None
;
5265 static PyObject
*_wrap_PyShape_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
*resultobj
;
5267 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5269 PyObject
* obj0
= 0 ;
5271 (char *) "self", NULL
5274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsShown",kwnames
,&obj0
)) goto fail
;
5275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5279 result
= (bool)(arg1
)->IsShown();
5281 wxPyEndAllowThreads(__tstate
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5293 static PyObject
*_wrap_PyShape_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
*resultobj
;
5295 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5299 bool arg5
= (bool) True
;
5300 PyObject
* obj0
= 0 ;
5301 PyObject
* obj1
= 0 ;
5302 PyObject
* obj2
= 0 ;
5303 PyObject
* obj3
= 0 ;
5304 PyObject
* obj4
= 0 ;
5306 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
5309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShape_Move",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5313 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5316 PyErr_SetString(PyExc_TypeError
,"null reference");
5319 arg3
= (double) SWIG_AsDouble(obj2
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5321 arg4
= (double) SWIG_AsDouble(obj3
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5324 arg5
= (bool) SWIG_AsBool(obj4
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5329 (arg1
)->Move(*arg2
,arg3
,arg4
,arg5
);
5331 wxPyEndAllowThreads(__tstate
);
5332 if (PyErr_Occurred()) SWIG_fail
;
5334 Py_INCREF(Py_None
); resultobj
= Py_None
;
5341 static PyObject
*_wrap_PyShape_Erase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
*resultobj
;
5343 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5345 PyObject
* obj0
= 0 ;
5346 PyObject
* obj1
= 0 ;
5348 (char *) "self",(char *) "dc", NULL
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Erase",kwnames
,&obj0
,&obj1
)) goto fail
;
5352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5355 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5358 PyErr_SetString(PyExc_TypeError
,"null reference");
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 (arg1
)->Erase(*arg2
);
5365 wxPyEndAllowThreads(__tstate
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5368 Py_INCREF(Py_None
); resultobj
= Py_None
;
5375 static PyObject
*_wrap_PyShape_EraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
*resultobj
;
5377 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5379 PyObject
* obj0
= 0 ;
5380 PyObject
* obj1
= 0 ;
5382 (char *) "self",(char *) "dc", NULL
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_EraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
5386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5389 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5392 PyErr_SetString(PyExc_TypeError
,"null reference");
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5397 (arg1
)->EraseContents(*arg2
);
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5402 Py_INCREF(Py_None
); resultobj
= Py_None
;
5409 static PyObject
*_wrap_PyShape_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
*resultobj
;
5411 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5413 PyObject
* obj0
= 0 ;
5414 PyObject
* obj1
= 0 ;
5416 (char *) "self",(char *) "dc", NULL
5419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Draw",kwnames
,&obj0
,&obj1
)) goto fail
;
5420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5423 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5426 PyErr_SetString(PyExc_TypeError
,"null reference");
5430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5431 (arg1
)->Draw(*arg2
);
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5436 Py_INCREF(Py_None
); resultobj
= Py_None
;
5443 static PyObject
*_wrap_PyShape_Flash(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5444 PyObject
*resultobj
;
5445 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5446 PyObject
* obj0
= 0 ;
5448 (char *) "self", NULL
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Flash",kwnames
,&obj0
)) goto fail
;
5452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5461 Py_INCREF(Py_None
); resultobj
= Py_None
;
5468 static PyObject
*_wrap_PyShape_MoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
*resultobj
;
5470 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5472 PyObject
* obj0
= 0 ;
5473 PyObject
* obj1
= 0 ;
5475 (char *) "self",(char *) "dc", NULL
5478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_MoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
5479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5482 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5485 PyErr_SetString(PyExc_TypeError
,"null reference");
5489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5490 (arg1
)->MoveLinks(*arg2
);
5492 wxPyEndAllowThreads(__tstate
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5495 Py_INCREF(Py_None
); resultobj
= Py_None
;
5502 static PyObject
*_wrap_PyShape_DrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5503 PyObject
*resultobj
;
5504 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5506 PyObject
* obj0
= 0 ;
5507 PyObject
* obj1
= 0 ;
5509 (char *) "self",(char *) "dc", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_DrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
5513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5515 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5516 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5519 PyErr_SetString(PyExc_TypeError
,"null reference");
5523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5524 (arg1
)->DrawContents(*arg2
);
5526 wxPyEndAllowThreads(__tstate
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5529 Py_INCREF(Py_None
); resultobj
= Py_None
;
5536 static PyObject
*_wrap_PyShape_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5537 PyObject
*resultobj
;
5538 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5541 bool arg4
= (bool) True
;
5542 PyObject
* obj0
= 0 ;
5543 PyObject
* obj1
= 0 ;
5544 PyObject
* obj2
= 0 ;
5545 PyObject
* obj3
= 0 ;
5547 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
5550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShape_SetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5553 arg2
= (double) SWIG_AsDouble(obj1
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5555 arg3
= (double) SWIG_AsDouble(obj2
);
5556 if (PyErr_Occurred()) SWIG_fail
;
5558 arg4
= (bool) SWIG_AsBool(obj3
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 (arg1
)->SetSize(arg2
,arg3
,arg4
);
5565 wxPyEndAllowThreads(__tstate
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5568 Py_INCREF(Py_None
); resultobj
= Py_None
;
5575 static PyObject
*_wrap_PyShape_SetAttachmentSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
*resultobj
;
5577 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5580 PyObject
* obj0
= 0 ;
5581 PyObject
* obj1
= 0 ;
5582 PyObject
* obj2
= 0 ;
5584 (char *) "self",(char *) "x",(char *) "y", NULL
5587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetAttachmentSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5590 arg2
= (double) SWIG_AsDouble(obj1
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5592 arg3
= (double) SWIG_AsDouble(obj2
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5596 (arg1
)->SetAttachmentSize(arg2
,arg3
);
5598 wxPyEndAllowThreads(__tstate
);
5599 if (PyErr_Occurred()) SWIG_fail
;
5601 Py_INCREF(Py_None
); resultobj
= Py_None
;
5608 static PyObject
*_wrap_PyShape_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5609 PyObject
*resultobj
;
5610 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5611 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
5612 PyObject
* obj0
= 0 ;
5613 PyObject
* obj1
= 0 ;
5615 (char *) "self",(char *) "can", NULL
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
5619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
5622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 (arg1
)->Attach(arg2
);
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5630 Py_INCREF(Py_None
); resultobj
= Py_None
;
5637 static PyObject
*_wrap_PyShape_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
*resultobj
;
5639 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5640 PyObject
* obj0
= 0 ;
5642 (char *) "self", NULL
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Detach",kwnames
,&obj0
)) goto fail
;
5646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5655 Py_INCREF(Py_None
); resultobj
= Py_None
;
5662 static PyObject
*_wrap_PyShape_Constrain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
*resultobj
;
5664 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5666 PyObject
* obj0
= 0 ;
5668 (char *) "self", NULL
5671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Constrain",kwnames
,&obj0
)) goto fail
;
5672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5676 result
= (bool)(arg1
)->Constrain();
5678 wxPyEndAllowThreads(__tstate
);
5679 if (PyErr_Occurred()) SWIG_fail
;
5682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5690 static PyObject
*_wrap_PyShape_AddLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
*resultobj
;
5692 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5693 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5694 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
5695 int arg4
= (int) 0 ;
5696 int arg5
= (int) 0 ;
5697 int arg6
= (int) -1 ;
5698 int arg7
= (int) -1 ;
5699 PyObject
* obj0
= 0 ;
5700 PyObject
* obj1
= 0 ;
5701 PyObject
* obj2
= 0 ;
5702 PyObject
* obj3
= 0 ;
5703 PyObject
* obj4
= 0 ;
5704 PyObject
* obj5
= 0 ;
5705 PyObject
* obj6
= 0 ;
5707 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
5710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:PyShape_AddLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyLineShape
,
5714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5715 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
5716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5718 arg4
= (int) SWIG_AsInt(obj3
);
5719 if (PyErr_Occurred()) SWIG_fail
;
5722 arg5
= (int) SWIG_AsInt(obj4
);
5723 if (PyErr_Occurred()) SWIG_fail
;
5726 arg6
= (int) SWIG_AsInt(obj5
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5730 arg7
= (int) SWIG_AsInt(obj6
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 (arg1
)->AddLine(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5740 Py_INCREF(Py_None
); resultobj
= Py_None
;
5747 static PyObject
*_wrap_PyShape_GetLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5749 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5750 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5752 PyObject
* obj0
= 0 ;
5753 PyObject
* obj1
= 0 ;
5755 (char *) "self",(char *) "line", NULL
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetLinePosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyLineShape
,
5762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 result
= (int)(arg1
)->GetLinePosition(arg2
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5770 resultobj
= SWIG_FromInt((int)result
);
5777 static PyObject
*_wrap_PyShape_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5779 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5780 wxString
*arg2
= 0 ;
5781 bool temp2
= False
;
5782 PyObject
* obj0
= 0 ;
5783 PyObject
* obj1
= 0 ;
5785 (char *) "self",(char *) "string", NULL
5788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddText",kwnames
,&obj0
,&obj1
)) goto fail
;
5789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5792 arg2
= wxString_in_helper(obj1
);
5793 if (arg2
== NULL
) SWIG_fail
;
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 (arg1
)->AddText((wxString
const &)*arg2
);
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) SWIG_fail
;
5803 Py_INCREF(Py_None
); resultobj
= Py_None
;
5818 static PyObject
*_wrap_PyShape_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
;
5820 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5822 PyObject
* obj0
= 0 ;
5824 (char *) "self", NULL
5827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetPen",kwnames
,&obj0
)) goto fail
;
5828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 result
= (wxPen
*)(arg1
)->GetPen();
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
5844 static PyObject
*_wrap_PyShape_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
*resultobj
;
5846 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5848 PyObject
* obj0
= 0 ;
5850 (char *) "self", NULL
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBrush",kwnames
,&obj0
)) goto fail
;
5854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 result
= (wxBrush
*)(arg1
)->GetBrush();
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
5870 static PyObject
*_wrap_PyShape_SetDefaultRegionSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
*resultobj
;
5872 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5873 PyObject
* obj0
= 0 ;
5875 (char *) "self", NULL
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_SetDefaultRegionSize",kwnames
,&obj0
)) goto fail
;
5879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 (arg1
)->SetDefaultRegionSize();
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) SWIG_fail
;
5888 Py_INCREF(Py_None
); resultobj
= Py_None
;
5895 static PyObject
*_wrap_PyShape_FormatText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
*resultobj
;
5897 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5899 wxString
*arg3
= 0 ;
5900 int arg4
= (int) 0 ;
5901 bool temp3
= False
;
5902 PyObject
* obj0
= 0 ;
5903 PyObject
* obj1
= 0 ;
5904 PyObject
* obj2
= 0 ;
5905 PyObject
* obj3
= 0 ;
5907 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShape_FormatText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5917 PyErr_SetString(PyExc_TypeError
,"null reference");
5921 arg3
= wxString_in_helper(obj2
);
5922 if (arg3
== NULL
) SWIG_fail
;
5926 arg4
= (int) SWIG_AsInt(obj3
);
5927 if (PyErr_Occurred()) SWIG_fail
;
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 (arg1
)->FormatText(*arg2
,(wxString
const &)*arg3
,arg4
);
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5936 Py_INCREF(Py_None
); resultobj
= Py_None
;
5951 static PyObject
*_wrap_PyShape_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5952 PyObject
*resultobj
;
5953 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5955 int arg3
= (int) 0 ;
5956 PyObject
* obj0
= 0 ;
5957 PyObject
* obj1
= 0 ;
5958 PyObject
* obj2
= 0 ;
5960 (char *) "self",(char *) "mode",(char *) "regionId", NULL
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetFormatMode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5966 arg2
= (int) SWIG_AsInt(obj1
);
5967 if (PyErr_Occurred()) SWIG_fail
;
5969 arg3
= (int) SWIG_AsInt(obj2
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 (arg1
)->SetFormatMode(arg2
,arg3
);
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5979 Py_INCREF(Py_None
); resultobj
= Py_None
;
5986 static PyObject
*_wrap_PyShape_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
*resultobj
;
5988 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5989 int arg2
= (int) 0 ;
5991 PyObject
* obj0
= 0 ;
5992 PyObject
* obj1
= 0 ;
5994 (char *) "self",(char *) "regionId", NULL
5997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetFormatMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6001 arg2
= (int) SWIG_AsInt(obj1
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6006 result
= (int)(arg1
)->GetFormatMode(arg2
);
6008 wxPyEndAllowThreads(__tstate
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6011 resultobj
= SWIG_FromInt((int)result
);
6018 static PyObject
*_wrap_PyShape_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
*resultobj
;
6020 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6021 wxFont
*arg2
= (wxFont
*) 0 ;
6022 int arg3
= (int) 0 ;
6023 PyObject
* obj0
= 0 ;
6024 PyObject
* obj1
= 0 ;
6025 PyObject
* obj2
= 0 ;
6027 (char *) "self",(char *) "font",(char *) "regionId", NULL
6030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6036 if (obj1
== Py_None
) {
6039 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
6040 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
6045 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
6049 temp
->GetUnderlined(),
6050 temp
->GetFaceName(),
6051 temp
->GetEncoding());
6056 arg3
= (int) SWIG_AsInt(obj2
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6061 (arg1
)->SetFont(arg2
,arg3
);
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6066 Py_INCREF(Py_None
); resultobj
= Py_None
;
6073 static PyObject
*_wrap_PyShape_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
*resultobj
;
6075 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6076 int arg2
= (int) 0 ;
6078 PyObject
* obj0
= 0 ;
6079 PyObject
* obj1
= 0 ;
6081 (char *) "self",(char *) "regionId", NULL
6084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6088 arg2
= (int) SWIG_AsInt(obj1
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
6105 static PyObject
*_wrap_PyShape_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
*resultobj
;
6107 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6108 wxString
*arg2
= 0 ;
6109 int arg3
= (int) 0 ;
6110 bool temp2
= False
;
6111 PyObject
* obj0
= 0 ;
6112 PyObject
* obj1
= 0 ;
6113 PyObject
* obj2
= 0 ;
6115 (char *) "self",(char *) "colour",(char *) "regionId", NULL
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6122 arg2
= wxString_in_helper(obj1
);
6123 if (arg2
== NULL
) SWIG_fail
;
6127 arg3
= (int) SWIG_AsInt(obj2
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6132 (arg1
)->SetTextColour((wxString
const &)*arg2
,arg3
);
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6137 Py_INCREF(Py_None
); resultobj
= Py_None
;
6152 static PyObject
*_wrap_PyShape_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
*resultobj
;
6154 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6155 int arg2
= (int) 0 ;
6157 PyObject
* obj0
= 0 ;
6158 PyObject
* obj1
= 0 ;
6160 (char *) "self",(char *) "regionId", NULL
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6167 arg2
= (int) SWIG_AsInt(obj1
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 result
= (arg1
)->GetTextColour(arg2
);
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6190 static PyObject
*_wrap_PyShape_GetNumberOfTextRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
;
6192 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6194 PyObject
* obj0
= 0 ;
6196 (char *) "self", NULL
6199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames
,&obj0
)) goto fail
;
6200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6204 result
= (int)(arg1
)->GetNumberOfTextRegions();
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6209 resultobj
= SWIG_FromInt((int)result
);
6216 static PyObject
*_wrap_PyShape_SetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
;
6218 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6219 wxString
*arg2
= 0 ;
6220 int arg3
= (int) 0 ;
6221 bool temp2
= False
;
6222 PyObject
* obj0
= 0 ;
6223 PyObject
* obj1
= 0 ;
6224 PyObject
* obj2
= 0 ;
6226 (char *) "self",(char *) "name",(char *) "regionId", NULL
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetRegionName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6233 arg2
= wxString_in_helper(obj1
);
6234 if (arg2
== NULL
) SWIG_fail
;
6238 arg3
= (int) SWIG_AsInt(obj2
);
6239 if (PyErr_Occurred()) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 (arg1
)->SetRegionName((wxString
const &)*arg2
,arg3
);
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6248 Py_INCREF(Py_None
); resultobj
= Py_None
;
6263 static PyObject
*_wrap_PyShape_GetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6264 PyObject
*resultobj
;
6265 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6268 PyObject
* obj0
= 0 ;
6269 PyObject
* obj1
= 0 ;
6271 (char *) "self",(char *) "regionId", NULL
6274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionName",kwnames
,&obj0
,&obj1
)) goto fail
;
6275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6277 arg2
= (int) SWIG_AsInt(obj1
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 result
= (arg1
)->GetRegionName(arg2
);
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6299 static PyObject
*_wrap_PyShape_GetRegionId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
;
6301 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6302 wxString
*arg2
= 0 ;
6304 bool temp2
= False
;
6305 PyObject
* obj0
= 0 ;
6306 PyObject
* obj1
= 0 ;
6308 (char *) "self",(char *) "name", NULL
6311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionId",kwnames
,&obj0
,&obj1
)) goto fail
;
6312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6315 arg2
= wxString_in_helper(obj1
);
6316 if (arg2
== NULL
) SWIG_fail
;
6320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6321 result
= (int)(arg1
)->GetRegionId((wxString
const &)*arg2
);
6323 wxPyEndAllowThreads(__tstate
);
6324 if (PyErr_Occurred()) SWIG_fail
;
6326 resultobj
= SWIG_FromInt((int)result
);
6341 static PyObject
*_wrap_PyShape_NameRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6342 PyObject
*resultobj
;
6343 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6344 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6345 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6346 bool temp2
= False
;
6347 PyObject
* obj0
= 0 ;
6348 PyObject
* obj1
= 0 ;
6350 (char *) "self",(char *) "parentName", NULL
6353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_NameRegions",kwnames
,&obj0
,&obj1
)) goto fail
;
6354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6358 arg2
= wxString_in_helper(obj1
);
6359 if (arg2
== NULL
) SWIG_fail
;
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 (arg1
)->NameRegions((wxString
const &)*arg2
);
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 Py_INCREF(Py_None
); resultobj
= Py_None
;
6385 static PyObject
*_wrap_PyShape_GetRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6386 PyObject
*resultobj
;
6387 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6389 PyObject
* obj0
= 0 ;
6391 (char *) "self", NULL
6394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRegions",kwnames
,&obj0
)) goto fail
;
6395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6399 result
= (PyObject
*)wxPyShape_GetRegions(arg1
);
6401 wxPyEndAllowThreads(__tstate
);
6402 if (PyErr_Occurred()) SWIG_fail
;
6411 static PyObject
*_wrap_PyShape_AddRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6412 PyObject
*resultobj
;
6413 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6414 wxShapeRegion
*arg2
= (wxShapeRegion
*) 0 ;
6415 PyObject
* obj0
= 0 ;
6416 PyObject
* obj1
= 0 ;
6418 (char *) "self",(char *) "region", NULL
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxShapeRegion
,
6425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 (arg1
)->AddRegion(arg2
);
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6433 Py_INCREF(Py_None
); resultobj
= Py_None
;
6440 static PyObject
*_wrap_PyShape_ClearRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6441 PyObject
*resultobj
;
6442 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6443 PyObject
* obj0
= 0 ;
6445 (char *) "self", NULL
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearRegions",kwnames
,&obj0
)) goto fail
;
6449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 (arg1
)->ClearRegions();
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6458 Py_INCREF(Py_None
); resultobj
= Py_None
;
6465 static PyObject
*_wrap_PyShape_AssignNewIds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
;
6467 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6468 PyObject
* obj0
= 0 ;
6470 (char *) "self", NULL
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AssignNewIds",kwnames
,&obj0
)) goto fail
;
6474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 (arg1
)->AssignNewIds();
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6483 Py_INCREF(Py_None
); resultobj
= Py_None
;
6490 static PyObject
*_wrap_PyShape_FindRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
*resultobj
;
6492 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6493 wxString
*arg2
= 0 ;
6494 int *arg3
= (int *) 0 ;
6496 bool temp2
= False
;
6498 PyObject
* obj0
= 0 ;
6499 PyObject
* obj1
= 0 ;
6501 (char *) "self",(char *) "regionName", NULL
6505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6509 arg2
= wxString_in_helper(obj1
);
6510 if (arg2
== NULL
) SWIG_fail
;
6514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6515 result
= (wxPyShape
*)(arg1
)->FindRegion((wxString
const &)*arg2
,arg3
);
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6521 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
6524 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
6525 resultobj
= t_output_helper(resultobj
,o
);
6541 static PyObject
*_wrap_PyShape_FindRegionNames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6542 PyObject
*resultobj
;
6543 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6544 wxStringList
*arg2
= 0 ;
6545 PyObject
* obj0
= 0 ;
6546 PyObject
* obj1
= 0 ;
6548 (char *) "self",(char *) "list", NULL
6551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegionNames",kwnames
,&obj0
,&obj1
)) goto fail
;
6552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStringList
,
6555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6558 PyErr_SetString(PyExc_TypeError
,"null reference");
6562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6563 (arg1
)->FindRegionNames(*arg2
);
6565 wxPyEndAllowThreads(__tstate
);
6566 if (PyErr_Occurred()) SWIG_fail
;
6568 Py_INCREF(Py_None
); resultobj
= Py_None
;
6575 static PyObject
*_wrap_PyShape_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6576 PyObject
*resultobj
;
6577 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6578 int arg2
= (int) 0 ;
6579 PyObject
* obj0
= 0 ;
6580 PyObject
* obj1
= 0 ;
6582 (char *) "self",(char *) "regionId", NULL
6585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_ClearText",kwnames
,&obj0
,&obj1
)) goto fail
;
6586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6589 arg2
= (int) SWIG_AsInt(obj1
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 (arg1
)->ClearText(arg2
);
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6599 Py_INCREF(Py_None
); resultobj
= Py_None
;
6606 static PyObject
*_wrap_PyShape_RemoveLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
;
6608 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6609 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6611 PyObject
* obj1
= 0 ;
6613 (char *) "self",(char *) "line", NULL
6616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveLine",kwnames
,&obj0
,&obj1
)) goto fail
;
6617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyLineShape
,
6620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 (arg1
)->RemoveLine(arg2
);
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6628 Py_INCREF(Py_None
); resultobj
= Py_None
;
6635 static PyObject
*_wrap_PyShape_GetAttachmentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
*resultobj
;
6637 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6639 double *arg3
= (double *) 0 ;
6640 double *arg4
= (double *) 0 ;
6641 int arg5
= (int) 0 ;
6642 int arg6
= (int) 1 ;
6643 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
6647 PyObject
* obj0
= 0 ;
6648 PyObject
* obj1
= 0 ;
6649 PyObject
* obj2
= 0 ;
6650 PyObject
* obj3
= 0 ;
6651 PyObject
* obj4
= 0 ;
6653 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PyShape_GetAttachmentPosition",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6661 arg2
= (int) SWIG_AsInt(obj1
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6664 arg5
= (int) SWIG_AsInt(obj2
);
6665 if (PyErr_Occurred()) SWIG_fail
;
6668 arg6
= (int) SWIG_AsInt(obj3
);
6669 if (PyErr_Occurred()) SWIG_fail
;
6672 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg7
),SWIGTYPE_p_wxPyLineShape
,
6673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6677 result
= (bool)(arg1
)->GetAttachmentPosition(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
6679 wxPyEndAllowThreads(__tstate
);
6680 if (PyErr_Occurred()) SWIG_fail
;
6683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6686 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
6687 resultobj
= t_output_helper(resultobj
,o
);
6690 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
6691 resultobj
= t_output_helper(resultobj
,o
);
6699 static PyObject
*_wrap_PyShape_GetNumberOfAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
*resultobj
;
6701 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6703 PyObject
* obj0
= 0 ;
6705 (char *) "self", NULL
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfAttachments",kwnames
,&obj0
)) goto fail
;
6709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 result
= (int)(arg1
)->GetNumberOfAttachments();
6715 wxPyEndAllowThreads(__tstate
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6718 resultobj
= SWIG_FromInt((int)result
);
6725 static PyObject
*_wrap_PyShape_AttachmentIsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
*resultobj
;
6727 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6730 PyObject
* obj0
= 0 ;
6731 PyObject
* obj1
= 0 ;
6733 (char *) "self",(char *) "attachment", NULL
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AttachmentIsValid",kwnames
,&obj0
,&obj1
)) goto fail
;
6737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6739 arg2
= (int) SWIG_AsInt(obj1
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6743 result
= (bool)(arg1
)->AttachmentIsValid(arg2
);
6745 wxPyEndAllowThreads(__tstate
);
6746 if (PyErr_Occurred()) SWIG_fail
;
6749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6757 static PyObject
*_wrap_PyShape_GetAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
*resultobj
;
6759 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6761 PyObject
* obj0
= 0 ;
6763 (char *) "self", NULL
6766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachments",kwnames
,&obj0
)) goto fail
;
6767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 result
= (PyObject
*)wxPyShape_GetAttachments(arg1
);
6773 wxPyEndAllowThreads(__tstate
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6783 static PyObject
*_wrap_PyShape_GetAttachmentPositionEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
*resultobj
;
6785 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6787 double *arg3
= (double *) 0 ;
6788 double *arg4
= (double *) 0 ;
6789 int arg5
= (int) 0 ;
6790 int arg6
= (int) 1 ;
6791 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
6795 PyObject
* obj0
= 0 ;
6796 PyObject
* obj1
= 0 ;
6797 PyObject
* obj2
= 0 ;
6798 PyObject
* obj3
= 0 ;
6799 PyObject
* obj4
= 0 ;
6801 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PyShape_GetAttachmentPositionEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6809 arg2
= (int) SWIG_AsInt(obj1
);
6810 if (PyErr_Occurred()) SWIG_fail
;
6812 arg5
= (int) SWIG_AsInt(obj2
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6816 arg6
= (int) SWIG_AsInt(obj3
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6820 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg7
),SWIGTYPE_p_wxPyLineShape
,
6821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6825 result
= (bool)(arg1
)->GetAttachmentPositionEdge(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
6827 wxPyEndAllowThreads(__tstate
);
6828 if (PyErr_Occurred()) SWIG_fail
;
6831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6834 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
6835 resultobj
= t_output_helper(resultobj
,o
);
6838 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
6839 resultobj
= t_output_helper(resultobj
,o
);
6847 static PyObject
*_wrap_PyShape_CalcSimpleAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
;
6849 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6850 wxRealPoint
*arg2
= 0 ;
6851 wxRealPoint
*arg3
= 0 ;
6854 wxPyLineShape
*arg6
= (wxPyLineShape
*) 0 ;
6858 PyObject
* obj0
= 0 ;
6859 PyObject
* obj1
= 0 ;
6860 PyObject
* obj2
= 0 ;
6861 PyObject
* obj3
= 0 ;
6862 PyObject
* obj4
= 0 ;
6863 PyObject
* obj5
= 0 ;
6865 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
6868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_CalcSimpleAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6873 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6877 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6879 arg4
= (int) SWIG_AsInt(obj3
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6881 arg5
= (int) SWIG_AsInt(obj4
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6883 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyLineShape
,
6884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6887 result
= (arg1
)->CalcSimpleAttachment((wxRealPoint
const &)*arg2
,(wxRealPoint
const &)*arg3
,arg4
,arg5
,arg6
);
6889 wxPyEndAllowThreads(__tstate
);
6890 if (PyErr_Occurred()) SWIG_fail
;
6893 wxRealPoint
* resultptr
;
6894 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
6895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
6903 static PyObject
*_wrap_PyShape_AttachmentSortTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6904 PyObject
*resultobj
;
6905 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6907 wxRealPoint
*arg3
= 0 ;
6908 wxRealPoint
*arg4
= 0 ;
6912 PyObject
* obj0
= 0 ;
6913 PyObject
* obj1
= 0 ;
6914 PyObject
* obj2
= 0 ;
6915 PyObject
* obj3
= 0 ;
6917 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShape_AttachmentSortTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6923 arg2
= (int) SWIG_AsInt(obj1
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6927 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6931 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6935 result
= (bool)(arg1
)->AttachmentSortTest(arg2
,(wxRealPoint
const &)*arg3
,(wxRealPoint
const &)*arg4
);
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6949 static PyObject
*_wrap_PyShape_EraseLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6950 PyObject
*resultobj
;
6951 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6953 int arg3
= (int) -1 ;
6954 bool arg4
= (bool) False
;
6955 PyObject
* obj0
= 0 ;
6956 PyObject
* obj1
= 0 ;
6957 PyObject
* obj2
= 0 ;
6958 PyObject
* obj3
= 0 ;
6960 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PyShape_EraseLinks",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6967 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6970 PyErr_SetString(PyExc_TypeError
,"null reference");
6974 arg3
= (int) SWIG_AsInt(obj2
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6978 arg4
= (bool) SWIG_AsBool(obj3
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 (arg1
)->EraseLinks(*arg2
,arg3
,arg4
);
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6988 Py_INCREF(Py_None
); resultobj
= Py_None
;
6995 static PyObject
*_wrap_PyShape_DrawLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
;
6997 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6999 int arg3
= (int) -1 ;
7000 bool arg4
= (bool) False
;
7001 PyObject
* obj0
= 0 ;
7002 PyObject
* obj1
= 0 ;
7003 PyObject
* obj2
= 0 ;
7004 PyObject
* obj3
= 0 ;
7006 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PyShape_DrawLinks",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7012 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7013 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7016 PyErr_SetString(PyExc_TypeError
,"null reference");
7020 arg3
= (int) SWIG_AsInt(obj2
);
7021 if (PyErr_Occurred()) SWIG_fail
;
7024 arg4
= (bool) SWIG_AsBool(obj3
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 (arg1
)->DrawLinks(*arg2
,arg3
,arg4
);
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 Py_INCREF(Py_None
); resultobj
= Py_None
;
7041 static PyObject
*_wrap_PyShape_MoveLineToNewAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
;
7043 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7045 wxPyLineShape
*arg3
= (wxPyLineShape
*) 0 ;
7049 PyObject
* obj0
= 0 ;
7050 PyObject
* obj1
= 0 ;
7051 PyObject
* obj2
= 0 ;
7052 PyObject
* obj3
= 0 ;
7053 PyObject
* obj4
= 0 ;
7055 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_MoveLineToNewAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7062 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7065 PyErr_SetString(PyExc_TypeError
,"null reference");
7068 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyLineShape
,
7069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7070 arg4
= (double) SWIG_AsDouble(obj3
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7072 arg5
= (double) SWIG_AsDouble(obj4
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7076 result
= (bool)(arg1
)->MoveLineToNewAttachment(*arg2
,arg3
,arg4
,arg5
);
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) SWIG_fail
;
7082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7090 static PyObject
*_wrap_PyShape_ApplyAttachmentOrdering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
*resultobj
;
7092 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7093 PyObject
*arg2
= (PyObject
*) 0 ;
7094 PyObject
* obj0
= 0 ;
7095 PyObject
* obj1
= 0 ;
7097 (char *) "self",(char *) "linesToSort", NULL
7100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames
,&obj0
,&obj1
)) goto fail
;
7101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7106 wxPyShape_ApplyAttachmentOrdering(arg1
,arg2
);
7108 wxPyEndAllowThreads(__tstate
);
7109 if (PyErr_Occurred()) SWIG_fail
;
7111 Py_INCREF(Py_None
); resultobj
= Py_None
;
7118 static PyObject
*_wrap_PyShape_GetBranchingAttachmentRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7119 PyObject
*resultobj
;
7120 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7123 PyObject
* obj0
= 0 ;
7124 PyObject
* obj1
= 0 ;
7126 (char *) "self",(char *) "attachment", NULL
7129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetBranchingAttachmentRoot",kwnames
,&obj0
,&obj1
)) goto fail
;
7130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7132 arg2
= (int) SWIG_AsInt(obj1
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 result
= (arg1
)->GetBranchingAttachmentRoot(arg2
);
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7142 wxRealPoint
* resultptr
;
7143 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
7144 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
7152 static PyObject
*_wrap_PyShape_GetBranchingAttachmentInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
*resultobj
;
7154 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7156 wxRealPoint
*arg3
= 0 ;
7157 wxRealPoint
*arg4
= 0 ;
7158 wxRealPoint
*arg5
= 0 ;
7159 wxRealPoint
*arg6
= 0 ;
7165 PyObject
* obj0
= 0 ;
7166 PyObject
* obj1
= 0 ;
7167 PyObject
* obj2
= 0 ;
7168 PyObject
* obj3
= 0 ;
7169 PyObject
* obj4
= 0 ;
7170 PyObject
* obj5
= 0 ;
7172 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
7175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_GetBranchingAttachmentInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7178 arg2
= (int) SWIG_AsInt(obj1
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7182 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7186 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7190 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7194 if ( ! wxRealPoint_helper(obj5
, &arg6
)) SWIG_fail
;
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 result
= (bool)(arg1
)->GetBranchingAttachmentInfo(arg2
,*arg3
,*arg4
,*arg5
,*arg6
);
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7212 static PyObject
*_wrap_PyShape_GetBranchingAttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
*resultobj
;
7214 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7217 wxRealPoint
*arg4
= 0 ;
7218 wxRealPoint
*arg5
= 0 ;
7222 PyObject
* obj0
= 0 ;
7223 PyObject
* obj1
= 0 ;
7224 PyObject
* obj2
= 0 ;
7225 PyObject
* obj3
= 0 ;
7226 PyObject
* obj4
= 0 ;
7228 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
7231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_GetBranchingAttachmentPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7234 arg2
= (int) SWIG_AsInt(obj1
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7236 arg3
= (int) SWIG_AsInt(obj2
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7240 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7244 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7248 result
= (bool)(arg1
)->GetBranchingAttachmentPoint(arg2
,arg3
,*arg4
,*arg5
);
7250 wxPyEndAllowThreads(__tstate
);
7251 if (PyErr_Occurred()) SWIG_fail
;
7254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7262 static PyObject
*_wrap_PyShape_GetAttachmentLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7263 PyObject
*resultobj
;
7264 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7267 PyObject
* obj0
= 0 ;
7268 PyObject
* obj1
= 0 ;
7270 (char *) "self",(char *) "attachment", NULL
7273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetAttachmentLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7276 arg2
= (int) SWIG_AsInt(obj1
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 result
= (int)(arg1
)->GetAttachmentLineCount(arg2
);
7282 wxPyEndAllowThreads(__tstate
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 resultobj
= SWIG_FromInt((int)result
);
7292 static PyObject
*_wrap_PyShape_SetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
*resultobj
;
7294 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7296 PyObject
* obj0
= 0 ;
7297 PyObject
* obj1
= 0 ;
7299 (char *) "self",(char *) "len", NULL
7302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchNeckLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7305 arg2
= (int) SWIG_AsInt(obj1
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7309 (arg1
)->SetBranchNeckLength(arg2
);
7311 wxPyEndAllowThreads(__tstate
);
7312 if (PyErr_Occurred()) SWIG_fail
;
7314 Py_INCREF(Py_None
); resultobj
= Py_None
;
7321 static PyObject
*_wrap_PyShape_GetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7322 PyObject
*resultobj
;
7323 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7325 PyObject
* obj0
= 0 ;
7327 (char *) "self", NULL
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchNeckLength",kwnames
,&obj0
)) goto fail
;
7331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7335 result
= (int)(arg1
)->GetBranchNeckLength();
7337 wxPyEndAllowThreads(__tstate
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7340 resultobj
= SWIG_FromInt((int)result
);
7347 static PyObject
*_wrap_PyShape_SetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
*resultobj
;
7349 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7351 PyObject
* obj0
= 0 ;
7352 PyObject
* obj1
= 0 ;
7354 (char *) "self",(char *) "len", NULL
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchStemLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7360 arg2
= (int) SWIG_AsInt(obj1
);
7361 if (PyErr_Occurred()) SWIG_fail
;
7363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7364 (arg1
)->SetBranchStemLength(arg2
);
7366 wxPyEndAllowThreads(__tstate
);
7367 if (PyErr_Occurred()) SWIG_fail
;
7369 Py_INCREF(Py_None
); resultobj
= Py_None
;
7376 static PyObject
*_wrap_PyShape_GetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
;
7378 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7380 PyObject
* obj0
= 0 ;
7382 (char *) "self", NULL
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStemLength",kwnames
,&obj0
)) goto fail
;
7386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7390 result
= (int)(arg1
)->GetBranchStemLength();
7392 wxPyEndAllowThreads(__tstate
);
7393 if (PyErr_Occurred()) SWIG_fail
;
7395 resultobj
= SWIG_FromInt((int)result
);
7402 static PyObject
*_wrap_PyShape_SetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7403 PyObject
*resultobj
;
7404 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7406 PyObject
* obj0
= 0 ;
7407 PyObject
* obj1
= 0 ;
7409 (char *) "self",(char *) "len", NULL
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
7413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7415 arg2
= (int) SWIG_AsInt(obj1
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 (arg1
)->SetBranchSpacing(arg2
);
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7424 Py_INCREF(Py_None
); resultobj
= Py_None
;
7431 static PyObject
*_wrap_PyShape_GetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
;
7433 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7435 PyObject
* obj0
= 0 ;
7437 (char *) "self", NULL
7440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchSpacing",kwnames
,&obj0
)) goto fail
;
7441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7445 result
= (int)(arg1
)->GetBranchSpacing();
7447 wxPyEndAllowThreads(__tstate
);
7448 if (PyErr_Occurred()) SWIG_fail
;
7450 resultobj
= SWIG_FromInt((int)result
);
7457 static PyObject
*_wrap_PyShape_SetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7458 PyObject
*resultobj
;
7459 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7461 PyObject
* obj0
= 0 ;
7462 PyObject
* obj1
= 0 ;
7464 (char *) "self",(char *) "style", NULL
7467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7470 arg2
= (long) SWIG_AsLong(obj1
);
7471 if (PyErr_Occurred()) SWIG_fail
;
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 (arg1
)->SetBranchStyle(arg2
);
7476 wxPyEndAllowThreads(__tstate
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7479 Py_INCREF(Py_None
); resultobj
= Py_None
;
7486 static PyObject
*_wrap_PyShape_GetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
;
7488 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7490 PyObject
* obj0
= 0 ;
7492 (char *) "self", NULL
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStyle",kwnames
,&obj0
)) goto fail
;
7496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7500 result
= (long)(arg1
)->GetBranchStyle();
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7505 resultobj
= SWIG_FromLong((long)result
);
7512 static PyObject
*_wrap_PyShape_PhysicalToLogicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
;
7514 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7517 PyObject
* obj0
= 0 ;
7518 PyObject
* obj1
= 0 ;
7520 (char *) "self",(char *) "physicalAttachment", NULL
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_PhysicalToLogicalAttachment",kwnames
,&obj0
,&obj1
)) goto fail
;
7524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7526 arg2
= (int) SWIG_AsInt(obj1
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 result
= (int)(arg1
)->PhysicalToLogicalAttachment(arg2
);
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7535 resultobj
= SWIG_FromInt((int)result
);
7542 static PyObject
*_wrap_PyShape_LogicalToPhysicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7543 PyObject
*resultobj
;
7544 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7547 PyObject
* obj0
= 0 ;
7548 PyObject
* obj1
= 0 ;
7550 (char *) "self",(char *) "logicalAttachment", NULL
7553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_LogicalToPhysicalAttachment",kwnames
,&obj0
,&obj1
)) goto fail
;
7554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7556 arg2
= (int) SWIG_AsInt(obj1
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 result
= (int)(arg1
)->LogicalToPhysicalAttachment(arg2
);
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 resultobj
= SWIG_FromInt((int)result
);
7572 static PyObject
*_wrap_PyShape_Draggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
*resultobj
;
7574 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7576 PyObject
* obj0
= 0 ;
7578 (char *) "self", NULL
7581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Draggable",kwnames
,&obj0
)) goto fail
;
7582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7586 result
= (bool)(arg1
)->Draggable();
7588 wxPyEndAllowThreads(__tstate
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7600 static PyObject
*_wrap_PyShape_HasDescendant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7601 PyObject
*resultobj
;
7602 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7603 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
7605 PyObject
* obj0
= 0 ;
7606 PyObject
* obj1
= 0 ;
7608 (char *) "self",(char *) "image", NULL
7611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_HasDescendant",kwnames
,&obj0
,&obj1
)) goto fail
;
7612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
7615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 result
= (bool)(arg1
)->HasDescendant(arg2
);
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7632 static PyObject
*_wrap_PyShape_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
*resultobj
;
7634 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7635 bool arg2
= (bool) True
;
7636 bool arg3
= (bool) True
;
7638 PyObject
* obj0
= 0 ;
7639 PyObject
* obj1
= 0 ;
7640 PyObject
* obj2
= 0 ;
7642 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
7645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_CreateNewCopy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7649 arg2
= (bool) SWIG_AsBool(obj1
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7653 arg3
= (bool) SWIG_AsBool(obj2
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 result
= (wxPyShape
*)(arg1
)->CreateNewCopy(arg2
,arg3
);
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7664 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
7672 static PyObject
*_wrap_PyShape_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
*resultobj
;
7674 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7675 wxPyShape
*arg2
= 0 ;
7676 PyObject
* obj0
= 0 ;
7677 PyObject
* obj1
= 0 ;
7679 (char *) "self",(char *) "copy", NULL
7682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
7683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
7686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7689 PyErr_SetString(PyExc_TypeError
,"null reference");
7693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7694 (arg1
)->Copy(*arg2
);
7696 wxPyEndAllowThreads(__tstate
);
7697 if (PyErr_Occurred()) SWIG_fail
;
7699 Py_INCREF(Py_None
); resultobj
= Py_None
;
7706 static PyObject
*_wrap_PyShape_CopyWithHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
*resultobj
;
7708 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7709 wxPyShape
*arg2
= 0 ;
7710 PyObject
* obj0
= 0 ;
7711 PyObject
* obj1
= 0 ;
7713 (char *) "self",(char *) "copy", NULL
7716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_CopyWithHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
7717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
7720 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7723 PyErr_SetString(PyExc_TypeError
,"null reference");
7727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7728 (arg1
)->CopyWithHandler(*arg2
);
7730 wxPyEndAllowThreads(__tstate
);
7731 if (PyErr_Occurred()) SWIG_fail
;
7733 Py_INCREF(Py_None
); resultobj
= Py_None
;
7740 static PyObject
*_wrap_PyShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
*resultobj
;
7742 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7746 PyObject
* obj0
= 0 ;
7747 PyObject
* obj1
= 0 ;
7748 PyObject
* obj2
= 0 ;
7749 PyObject
* obj3
= 0 ;
7751 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShape_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7757 arg2
= (double) SWIG_AsDouble(obj1
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7759 arg3
= (double) SWIG_AsDouble(obj2
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7761 arg4
= (double) SWIG_AsDouble(obj3
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 (arg1
)->Rotate(arg2
,arg3
,arg4
);
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7770 Py_INCREF(Py_None
); resultobj
= Py_None
;
7777 static PyObject
*_wrap_PyShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7778 PyObject
*resultobj
;
7779 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7781 PyObject
* obj0
= 0 ;
7783 (char *) "self", NULL
7786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRotation",kwnames
,&obj0
)) goto fail
;
7787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7791 result
= (double)(arg1
)->GetRotation();
7793 wxPyEndAllowThreads(__tstate
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7796 resultobj
= SWIG_FromDouble((double)result
);
7803 static PyObject
*_wrap_PyShape_SetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
;
7805 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7807 PyObject
* obj0
= 0 ;
7808 PyObject
* obj1
= 0 ;
7810 (char *) "self",(char *) "rotation", NULL
7813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetRotation",kwnames
,&obj0
,&obj1
)) goto fail
;
7814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7816 arg2
= (double) SWIG_AsDouble(obj1
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 (arg1
)->SetRotation(arg2
);
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7825 Py_INCREF(Py_None
); resultobj
= Py_None
;
7832 static PyObject
*_wrap_PyShape_ClearAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7833 PyObject
*resultobj
;
7834 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7835 PyObject
* obj0
= 0 ;
7837 (char *) "self", NULL
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearAttachments",kwnames
,&obj0
)) goto fail
;
7841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7845 (arg1
)->ClearAttachments();
7847 wxPyEndAllowThreads(__tstate
);
7848 if (PyErr_Occurred()) SWIG_fail
;
7850 Py_INCREF(Py_None
); resultobj
= Py_None
;
7857 static PyObject
*_wrap_PyShape_Recentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
*resultobj
;
7859 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7861 PyObject
* obj0
= 0 ;
7862 PyObject
* obj1
= 0 ;
7864 (char *) "self",(char *) "dc", NULL
7867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Recentre",kwnames
,&obj0
,&obj1
)) goto fail
;
7868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7870 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7871 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7874 PyErr_SetString(PyExc_TypeError
,"null reference");
7878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7879 (arg1
)->Recentre(*arg2
);
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7884 Py_INCREF(Py_None
); resultobj
= Py_None
;
7891 static PyObject
*_wrap_PyShape_ClearPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7892 PyObject
*resultobj
;
7893 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7895 PyObject
* obj0
= 0 ;
7896 PyObject
* obj1
= 0 ;
7898 (char *) "self",(char *) "list", NULL
7901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ClearPointList",kwnames
,&obj0
,&obj1
)) goto fail
;
7902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxList
,
7905 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7908 PyErr_SetString(PyExc_TypeError
,"null reference");
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 (arg1
)->ClearPointList(*arg2
);
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7918 Py_INCREF(Py_None
); resultobj
= Py_None
;
7925 static PyObject
*_wrap_PyShape_GetBackgroundPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7926 PyObject
*resultobj
;
7927 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7929 PyObject
* obj0
= 0 ;
7931 (char *) "self", NULL
7934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundPen",kwnames
,&obj0
)) goto fail
;
7935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7939 result
= (arg1
)->GetBackgroundPen();
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7946 resultptr
= new wxPen((wxPen
&) result
);
7947 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPen
, 1);
7955 static PyObject
*_wrap_PyShape_GetBackgroundBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7959 PyObject
* obj0
= 0 ;
7961 (char *) "self", NULL
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundBrush",kwnames
,&obj0
)) goto fail
;
7965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 result
= (arg1
)->GetBackgroundBrush();
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7975 wxBrush
* resultptr
;
7976 resultptr
= new wxBrush((wxBrush
&) result
);
7977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
7985 static PyObject
*_wrap_PyShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7986 PyObject
*resultobj
;
7987 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7988 PyObject
* obj0
= 0 ;
7990 (char *) "self", NULL
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
7994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 (arg1
)->base_OnDelete();
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8003 Py_INCREF(Py_None
); resultobj
= Py_None
;
8010 static PyObject
*_wrap_PyShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
;
8012 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8014 PyObject
* obj0
= 0 ;
8015 PyObject
* obj1
= 0 ;
8017 (char *) "self",(char *) "dc", NULL
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
8021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8027 PyErr_SetString(PyExc_TypeError
,"null reference");
8031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8032 (arg1
)->base_OnDraw(*arg2
);
8034 wxPyEndAllowThreads(__tstate
);
8035 if (PyErr_Occurred()) SWIG_fail
;
8037 Py_INCREF(Py_None
); resultobj
= Py_None
;
8044 static PyObject
*_wrap_PyShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
;
8046 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8048 PyObject
* obj0
= 0 ;
8049 PyObject
* obj1
= 0 ;
8051 (char *) "self",(char *) "dc", NULL
8054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
8055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8058 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8061 PyErr_SetString(PyExc_TypeError
,"null reference");
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 (arg1
)->base_OnDrawContents(*arg2
);
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8071 Py_INCREF(Py_None
); resultobj
= Py_None
;
8078 static PyObject
*_wrap_PyShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8079 PyObject
*resultobj
;
8080 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8082 bool arg3
= (bool) False
;
8083 PyObject
* obj0
= 0 ;
8084 PyObject
* obj1
= 0 ;
8085 PyObject
* obj2
= 0 ;
8087 (char *) "self",(char *) "dc",(char *) "erase", NULL
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8094 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8097 PyErr_SetString(PyExc_TypeError
,"null reference");
8101 arg3
= (bool) SWIG_AsBool(obj2
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8111 Py_INCREF(Py_None
); resultobj
= Py_None
;
8118 static PyObject
*_wrap_PyShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
*resultobj
;
8120 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8122 PyObject
* obj0
= 0 ;
8123 PyObject
* obj1
= 0 ;
8125 (char *) "self",(char *) "dc", NULL
8128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
8129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8131 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8132 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8135 PyErr_SetString(PyExc_TypeError
,"null reference");
8139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8140 (arg1
)->base_OnMoveLinks(*arg2
);
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8145 Py_INCREF(Py_None
); resultobj
= Py_None
;
8152 static PyObject
*_wrap_PyShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
*resultobj
;
8154 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8156 PyObject
* obj0
= 0 ;
8157 PyObject
* obj1
= 0 ;
8159 (char *) "self",(char *) "dc", NULL
8162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
8163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8165 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8166 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8169 PyErr_SetString(PyExc_TypeError
,"null reference");
8173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8174 (arg1
)->base_OnErase(*arg2
);
8176 wxPyEndAllowThreads(__tstate
);
8177 if (PyErr_Occurred()) SWIG_fail
;
8179 Py_INCREF(Py_None
); resultobj
= Py_None
;
8186 static PyObject
*_wrap_PyShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
*resultobj
;
8188 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8190 PyObject
* obj0
= 0 ;
8191 PyObject
* obj1
= 0 ;
8193 (char *) "self",(char *) "dc", NULL
8196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
8197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8200 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8203 PyErr_SetString(PyExc_TypeError
,"null reference");
8207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8208 (arg1
)->base_OnEraseContents(*arg2
);
8210 wxPyEndAllowThreads(__tstate
);
8211 if (PyErr_Occurred()) SWIG_fail
;
8213 Py_INCREF(Py_None
); resultobj
= Py_None
;
8220 static PyObject
*_wrap_PyShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
*resultobj
;
8222 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8224 PyObject
* obj0
= 0 ;
8225 PyObject
* obj1
= 0 ;
8227 (char *) "self",(char *) "dc", NULL
8230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
8231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8237 PyErr_SetString(PyExc_TypeError
,"null reference");
8241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8242 (arg1
)->base_OnHighlight(*arg2
);
8244 wxPyEndAllowThreads(__tstate
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8247 Py_INCREF(Py_None
); resultobj
= Py_None
;
8254 static PyObject
*_wrap_PyShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8255 PyObject
*resultobj
;
8256 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8259 int arg4
= (int) 0 ;
8260 int arg5
= (int) 0 ;
8261 PyObject
* obj0
= 0 ;
8262 PyObject
* obj1
= 0 ;
8263 PyObject
* obj2
= 0 ;
8264 PyObject
* obj3
= 0 ;
8265 PyObject
* obj4
= 0 ;
8267 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8273 arg2
= (double) SWIG_AsDouble(obj1
);
8274 if (PyErr_Occurred()) SWIG_fail
;
8275 arg3
= (double) SWIG_AsDouble(obj2
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8278 arg4
= (int) SWIG_AsInt(obj3
);
8279 if (PyErr_Occurred()) SWIG_fail
;
8282 arg5
= (int) SWIG_AsInt(obj4
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8287 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
8289 wxPyEndAllowThreads(__tstate
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8292 Py_INCREF(Py_None
); resultobj
= Py_None
;
8299 static PyObject
*_wrap_PyShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8300 PyObject
*resultobj
;
8301 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8304 int arg4
= (int) 0 ;
8305 int arg5
= (int) 0 ;
8306 PyObject
* obj0
= 0 ;
8307 PyObject
* obj1
= 0 ;
8308 PyObject
* obj2
= 0 ;
8309 PyObject
* obj3
= 0 ;
8310 PyObject
* obj4
= 0 ;
8312 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8318 arg2
= (double) SWIG_AsDouble(obj1
);
8319 if (PyErr_Occurred()) SWIG_fail
;
8320 arg3
= (double) SWIG_AsDouble(obj2
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8323 arg4
= (int) SWIG_AsInt(obj3
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8327 arg5
= (int) SWIG_AsInt(obj4
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8337 Py_INCREF(Py_None
); resultobj
= Py_None
;
8344 static PyObject
*_wrap_PyShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
;
8346 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8349 int arg4
= (int) 0 ;
8350 int arg5
= (int) 0 ;
8351 PyObject
* obj0
= 0 ;
8352 PyObject
* obj1
= 0 ;
8353 PyObject
* obj2
= 0 ;
8354 PyObject
* obj3
= 0 ;
8355 PyObject
* obj4
= 0 ;
8357 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8363 arg2
= (double) SWIG_AsDouble(obj1
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8365 arg3
= (double) SWIG_AsDouble(obj2
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8368 arg4
= (int) SWIG_AsInt(obj3
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8372 arg5
= (int) SWIG_AsInt(obj4
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8377 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8382 Py_INCREF(Py_None
); resultobj
= Py_None
;
8389 static PyObject
*_wrap_PyShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
*resultobj
;
8391 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8394 PyObject
* obj0
= 0 ;
8395 PyObject
* obj1
= 0 ;
8396 PyObject
* obj2
= 0 ;
8398 (char *) "self",(char *) "x",(char *) "y", NULL
8401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8404 arg2
= (double) SWIG_AsDouble(obj1
);
8405 if (PyErr_Occurred()) SWIG_fail
;
8406 arg3
= (double) SWIG_AsDouble(obj2
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8410 (arg1
)->base_OnSize(arg2
,arg3
);
8412 wxPyEndAllowThreads(__tstate
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8415 Py_INCREF(Py_None
); resultobj
= Py_None
;
8422 static PyObject
*_wrap_PyShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8423 PyObject
*resultobj
;
8424 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8430 bool arg7
= (bool) True
;
8432 PyObject
* obj0
= 0 ;
8433 PyObject
* obj1
= 0 ;
8434 PyObject
* obj2
= 0 ;
8435 PyObject
* obj3
= 0 ;
8436 PyObject
* obj4
= 0 ;
8437 PyObject
* obj5
= 0 ;
8438 PyObject
* obj6
= 0 ;
8440 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8447 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8450 PyErr_SetString(PyExc_TypeError
,"null reference");
8453 arg3
= (double) SWIG_AsDouble(obj2
);
8454 if (PyErr_Occurred()) SWIG_fail
;
8455 arg4
= (double) SWIG_AsDouble(obj3
);
8456 if (PyErr_Occurred()) SWIG_fail
;
8457 arg5
= (double) SWIG_AsDouble(obj4
);
8458 if (PyErr_Occurred()) SWIG_fail
;
8459 arg6
= (double) SWIG_AsDouble(obj5
);
8460 if (PyErr_Occurred()) SWIG_fail
;
8462 arg7
= (bool) SWIG_AsBool(obj6
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8467 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8469 wxPyEndAllowThreads(__tstate
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8481 static PyObject
*_wrap_PyShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8482 PyObject
*resultobj
;
8483 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8489 bool arg7
= (bool) True
;
8490 PyObject
* obj0
= 0 ;
8491 PyObject
* obj1
= 0 ;
8492 PyObject
* obj2
= 0 ;
8493 PyObject
* obj3
= 0 ;
8494 PyObject
* obj4
= 0 ;
8495 PyObject
* obj5
= 0 ;
8496 PyObject
* obj6
= 0 ;
8498 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8504 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8505 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8508 PyErr_SetString(PyExc_TypeError
,"null reference");
8511 arg3
= (double) SWIG_AsDouble(obj2
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8513 arg4
= (double) SWIG_AsDouble(obj3
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8515 arg5
= (double) SWIG_AsDouble(obj4
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8517 arg6
= (double) SWIG_AsDouble(obj5
);
8518 if (PyErr_Occurred()) SWIG_fail
;
8520 arg7
= (bool) SWIG_AsBool(obj6
);
8521 if (PyErr_Occurred()) SWIG_fail
;
8524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8525 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8527 wxPyEndAllowThreads(__tstate
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8530 Py_INCREF(Py_None
); resultobj
= Py_None
;
8537 static PyObject
*_wrap_PyShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8538 PyObject
*resultobj
;
8539 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8543 int arg5
= (int) 0 ;
8544 int arg6
= (int) 0 ;
8545 PyObject
* obj0
= 0 ;
8546 PyObject
* obj1
= 0 ;
8547 PyObject
* obj2
= 0 ;
8548 PyObject
* obj3
= 0 ;
8549 PyObject
* obj4
= 0 ;
8550 PyObject
* obj5
= 0 ;
8552 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8558 arg2
= (bool) SWIG_AsBool(obj1
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8560 arg3
= (double) SWIG_AsDouble(obj2
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8562 arg4
= (double) SWIG_AsDouble(obj3
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8565 arg5
= (int) SWIG_AsInt(obj4
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8569 arg6
= (int) SWIG_AsInt(obj5
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8574 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8579 Py_INCREF(Py_None
); resultobj
= Py_None
;
8586 static PyObject
*_wrap_PyShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8587 PyObject
*resultobj
;
8588 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8591 int arg4
= (int) 0 ;
8592 int arg5
= (int) 0 ;
8593 PyObject
* obj0
= 0 ;
8594 PyObject
* obj1
= 0 ;
8595 PyObject
* obj2
= 0 ;
8596 PyObject
* obj3
= 0 ;
8597 PyObject
* obj4
= 0 ;
8599 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8605 arg2
= (double) SWIG_AsDouble(obj1
);
8606 if (PyErr_Occurred()) SWIG_fail
;
8607 arg3
= (double) SWIG_AsDouble(obj2
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8610 arg4
= (int) SWIG_AsInt(obj3
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8614 arg5
= (int) SWIG_AsInt(obj4
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
8621 wxPyEndAllowThreads(__tstate
);
8622 if (PyErr_Occurred()) SWIG_fail
;
8624 Py_INCREF(Py_None
); resultobj
= Py_None
;
8631 static PyObject
*_wrap_PyShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8632 PyObject
*resultobj
;
8633 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8636 int arg4
= (int) 0 ;
8637 int arg5
= (int) 0 ;
8638 PyObject
* obj0
= 0 ;
8639 PyObject
* obj1
= 0 ;
8640 PyObject
* obj2
= 0 ;
8641 PyObject
* obj3
= 0 ;
8642 PyObject
* obj4
= 0 ;
8644 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8650 arg2
= (double) SWIG_AsDouble(obj1
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8652 arg3
= (double) SWIG_AsDouble(obj2
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8655 arg4
= (int) SWIG_AsInt(obj3
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8659 arg5
= (int) SWIG_AsInt(obj4
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8664 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
8666 wxPyEndAllowThreads(__tstate
);
8667 if (PyErr_Occurred()) SWIG_fail
;
8669 Py_INCREF(Py_None
); resultobj
= Py_None
;
8676 static PyObject
*_wrap_PyShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8677 PyObject
*resultobj
;
8678 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8682 int arg5
= (int) 0 ;
8683 int arg6
= (int) 0 ;
8684 PyObject
* obj0
= 0 ;
8685 PyObject
* obj1
= 0 ;
8686 PyObject
* obj2
= 0 ;
8687 PyObject
* obj3
= 0 ;
8688 PyObject
* obj4
= 0 ;
8689 PyObject
* obj5
= 0 ;
8691 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8697 arg2
= (bool) SWIG_AsBool(obj1
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8699 arg3
= (double) SWIG_AsDouble(obj2
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8701 arg4
= (double) SWIG_AsDouble(obj3
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8704 arg5
= (int) SWIG_AsInt(obj4
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8708 arg6
= (int) SWIG_AsInt(obj5
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8713 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8718 Py_INCREF(Py_None
); resultobj
= Py_None
;
8725 static PyObject
*_wrap_PyShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
;
8727 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8730 int arg4
= (int) 0 ;
8731 int arg5
= (int) 0 ;
8732 PyObject
* obj0
= 0 ;
8733 PyObject
* obj1
= 0 ;
8734 PyObject
* obj2
= 0 ;
8735 PyObject
* obj3
= 0 ;
8736 PyObject
* obj4
= 0 ;
8738 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8744 arg2
= (double) SWIG_AsDouble(obj1
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8746 arg3
= (double) SWIG_AsDouble(obj2
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8749 arg4
= (int) SWIG_AsInt(obj3
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8753 arg5
= (int) SWIG_AsInt(obj4
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8758 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
8760 wxPyEndAllowThreads(__tstate
);
8761 if (PyErr_Occurred()) SWIG_fail
;
8763 Py_INCREF(Py_None
); resultobj
= Py_None
;
8770 static PyObject
*_wrap_PyShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8771 PyObject
*resultobj
;
8772 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8775 int arg4
= (int) 0 ;
8776 int arg5
= (int) 0 ;
8777 PyObject
* obj0
= 0 ;
8778 PyObject
* obj1
= 0 ;
8779 PyObject
* obj2
= 0 ;
8780 PyObject
* obj3
= 0 ;
8781 PyObject
* obj4
= 0 ;
8783 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8789 arg2
= (double) SWIG_AsDouble(obj1
);
8790 if (PyErr_Occurred()) SWIG_fail
;
8791 arg3
= (double) SWIG_AsDouble(obj2
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8794 arg4
= (int) SWIG_AsInt(obj3
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8798 arg5
= (int) SWIG_AsInt(obj4
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8803 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
8805 wxPyEndAllowThreads(__tstate
);
8806 if (PyErr_Occurred()) SWIG_fail
;
8808 Py_INCREF(Py_None
); resultobj
= Py_None
;
8815 static PyObject
*_wrap_PyShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
*resultobj
;
8817 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8823 PyObject
* obj0
= 0 ;
8824 PyObject
* obj1
= 0 ;
8825 PyObject
* obj2
= 0 ;
8826 PyObject
* obj3
= 0 ;
8827 PyObject
* obj4
= 0 ;
8828 PyObject
* obj5
= 0 ;
8830 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8837 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8840 PyErr_SetString(PyExc_TypeError
,"null reference");
8843 arg3
= (double) SWIG_AsDouble(obj2
);
8844 if (PyErr_Occurred()) SWIG_fail
;
8845 arg4
= (double) SWIG_AsDouble(obj3
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8847 arg5
= (double) SWIG_AsDouble(obj4
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8849 arg6
= (double) SWIG_AsDouble(obj5
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8858 Py_INCREF(Py_None
); resultobj
= Py_None
;
8865 static PyObject
*_wrap_PyShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
;
8867 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8869 PyObject
* obj0
= 0 ;
8870 PyObject
* obj1
= 0 ;
8872 (char *) "self",(char *) "dc", NULL
8875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
8876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8879 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8882 PyErr_SetString(PyExc_TypeError
,"null reference");
8886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8887 (arg1
)->base_OnDrawControlPoints(*arg2
);
8889 wxPyEndAllowThreads(__tstate
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8892 Py_INCREF(Py_None
); resultobj
= Py_None
;
8899 static PyObject
*_wrap_PyShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8900 PyObject
*resultobj
;
8901 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8903 PyObject
* obj0
= 0 ;
8904 PyObject
* obj1
= 0 ;
8906 (char *) "self",(char *) "dc", NULL
8909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
8910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8916 PyErr_SetString(PyExc_TypeError
,"null reference");
8920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8921 (arg1
)->base_OnEraseControlPoints(*arg2
);
8923 wxPyEndAllowThreads(__tstate
);
8924 if (PyErr_Occurred()) SWIG_fail
;
8926 Py_INCREF(Py_None
); resultobj
= Py_None
;
8933 static PyObject
*_wrap_PyShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8934 PyObject
*resultobj
;
8935 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8937 bool arg3
= (bool) True
;
8938 PyObject
* obj0
= 0 ;
8939 PyObject
* obj1
= 0 ;
8940 PyObject
* obj2
= 0 ;
8942 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
8945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8948 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8949 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8952 PyErr_SetString(PyExc_TypeError
,"null reference");
8956 arg3
= (bool) SWIG_AsBool(obj2
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8961 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
8963 wxPyEndAllowThreads(__tstate
);
8964 if (PyErr_Occurred()) SWIG_fail
;
8966 Py_INCREF(Py_None
); resultobj
= Py_None
;
8973 static PyObject
*_wrap_PyShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8974 PyObject
*resultobj
;
8975 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8976 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
8980 int arg6
= (int) 0 ;
8981 int arg7
= (int) 0 ;
8982 PyObject
* obj0
= 0 ;
8983 PyObject
* obj1
= 0 ;
8984 PyObject
* obj2
= 0 ;
8985 PyObject
* obj3
= 0 ;
8986 PyObject
* obj4
= 0 ;
8987 PyObject
* obj5
= 0 ;
8988 PyObject
* obj6
= 0 ;
8990 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8996 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
8997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8998 arg3
= (bool) SWIG_AsBool(obj2
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9000 arg4
= (double) SWIG_AsDouble(obj3
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9002 arg5
= (double) SWIG_AsDouble(obj4
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9005 arg6
= (int) SWIG_AsInt(obj5
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9009 arg7
= (int) SWIG_AsInt(obj6
);
9010 if (PyErr_Occurred()) SWIG_fail
;
9013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9014 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9016 wxPyEndAllowThreads(__tstate
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9019 Py_INCREF(Py_None
); resultobj
= Py_None
;
9026 static PyObject
*_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9027 PyObject
*resultobj
;
9028 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9029 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9032 int arg5
= (int) 0 ;
9033 int arg6
= (int) 0 ;
9034 PyObject
* obj0
= 0 ;
9035 PyObject
* obj1
= 0 ;
9036 PyObject
* obj2
= 0 ;
9037 PyObject
* obj3
= 0 ;
9038 PyObject
* obj4
= 0 ;
9039 PyObject
* obj5
= 0 ;
9041 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
9048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9049 arg3
= (double) SWIG_AsDouble(obj2
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9051 arg4
= (double) SWIG_AsDouble(obj3
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9054 arg5
= (int) SWIG_AsInt(obj4
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9058 arg6
= (int) SWIG_AsInt(obj5
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9065 wxPyEndAllowThreads(__tstate
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9068 Py_INCREF(Py_None
); resultobj
= Py_None
;
9075 static PyObject
*_wrap_PyShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
*resultobj
;
9077 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9078 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9081 int arg5
= (int) 0 ;
9082 int arg6
= (int) 0 ;
9083 PyObject
* obj0
= 0 ;
9084 PyObject
* obj1
= 0 ;
9085 PyObject
* obj2
= 0 ;
9086 PyObject
* obj3
= 0 ;
9087 PyObject
* obj4
= 0 ;
9088 PyObject
* obj5
= 0 ;
9090 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
9097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9098 arg3
= (double) SWIG_AsDouble(obj2
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9100 arg4
= (double) SWIG_AsDouble(obj3
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9103 arg5
= (int) SWIG_AsInt(obj4
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9107 arg6
= (int) SWIG_AsInt(obj5
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9117 Py_INCREF(Py_None
); resultobj
= Py_None
;
9124 static PyObject
*_wrap_PyShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9125 PyObject
*resultobj
;
9126 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9129 PyObject
* obj0
= 0 ;
9130 PyObject
* obj1
= 0 ;
9131 PyObject
* obj2
= 0 ;
9133 (char *) "self",(char *) "w",(char *) "h", NULL
9136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9139 arg2
= (double) SWIG_AsDouble(obj1
);
9140 if (PyErr_Occurred()) SWIG_fail
;
9141 arg3
= (double) SWIG_AsDouble(obj2
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 (arg1
)->base_OnBeginSize(arg2
,arg3
);
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9150 Py_INCREF(Py_None
); resultobj
= Py_None
;
9157 static PyObject
*_wrap_PyShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
;
9159 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9162 PyObject
* obj0
= 0 ;
9163 PyObject
* obj1
= 0 ;
9164 PyObject
* obj2
= 0 ;
9166 (char *) "self",(char *) "w",(char *) "h", NULL
9169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9172 arg2
= (double) SWIG_AsDouble(obj1
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9174 arg3
= (double) SWIG_AsDouble(obj2
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9178 (arg1
)->base_OnEndSize(arg2
,arg3
);
9180 wxPyEndAllowThreads(__tstate
);
9181 if (PyErr_Occurred()) SWIG_fail
;
9183 Py_INCREF(Py_None
); resultobj
= Py_None
;
9190 static PyObject
* PyShape_swigregister(PyObject
*self
, PyObject
*args
) {
9192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9193 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape
, obj
);
9195 return Py_BuildValue((char *)"");
9197 static PyObject
*_wrap_new_PseudoMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
*resultobj
;
9199 wxPseudoMetaFile
*result
;
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PseudoMetaFile",kwnames
)) goto fail
;
9206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9207 result
= (wxPseudoMetaFile
*)new wxPseudoMetaFile();
9209 wxPyEndAllowThreads(__tstate
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9213 resultobj
= wxPyMake_wxObject(result
);
9221 static PyObject
*_wrap_delete_PseudoMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
*resultobj
;
9223 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9224 PyObject
* obj0
= 0 ;
9226 (char *) "self", NULL
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PseudoMetaFile",kwnames
,&obj0
)) goto fail
;
9230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9236 wxPyEndAllowThreads(__tstate
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9239 Py_INCREF(Py_None
); resultobj
= Py_None
;
9246 static PyObject
*_wrap_PseudoMetaFile_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
*resultobj
;
9248 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9252 PyObject
* obj0
= 0 ;
9253 PyObject
* obj1
= 0 ;
9254 PyObject
* obj2
= 0 ;
9255 PyObject
* obj3
= 0 ;
9257 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
9260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
9264 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9267 PyErr_SetString(PyExc_TypeError
,"null reference");
9270 arg3
= (double) SWIG_AsDouble(obj2
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9272 arg4
= (double) SWIG_AsDouble(obj3
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 (arg1
)->Draw(*arg2
,arg3
,arg4
);
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 Py_INCREF(Py_None
); resultobj
= Py_None
;
9288 static PyObject
*_wrap_PseudoMetaFile_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9290 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9291 PyObject
* obj0
= 0 ;
9293 (char *) "self", NULL
9296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_Clear",kwnames
,&obj0
)) goto fail
;
9297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9306 Py_INCREF(Py_None
); resultobj
= Py_None
;
9313 static PyObject
*_wrap_PseudoMetaFile_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9314 PyObject
*resultobj
;
9315 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9316 wxPseudoMetaFile
*arg2
= 0 ;
9317 PyObject
* obj0
= 0 ;
9318 PyObject
* obj1
= 0 ;
9320 (char *) "self",(char *) "copy", NULL
9323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
9324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPseudoMetaFile
,
9327 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9330 PyErr_SetString(PyExc_TypeError
,"null reference");
9334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9335 (arg1
)->Copy(*arg2
);
9337 wxPyEndAllowThreads(__tstate
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9340 Py_INCREF(Py_None
); resultobj
= Py_None
;
9347 static PyObject
*_wrap_PseudoMetaFile_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9348 PyObject
*resultobj
;
9349 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9352 PyObject
* obj0
= 0 ;
9353 PyObject
* obj1
= 0 ;
9354 PyObject
* obj2
= 0 ;
9356 (char *) "self",(char *) "sx",(char *) "sy", NULL
9359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9362 arg2
= (double) SWIG_AsDouble(obj1
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9364 arg3
= (double) SWIG_AsDouble(obj2
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 (arg1
)->Scale(arg2
,arg3
);
9370 wxPyEndAllowThreads(__tstate
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9373 Py_INCREF(Py_None
); resultobj
= Py_None
;
9380 static PyObject
*_wrap_PseudoMetaFile_ScaleTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
;
9382 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9385 PyObject
* obj0
= 0 ;
9386 PyObject
* obj1
= 0 ;
9387 PyObject
* obj2
= 0 ;
9389 (char *) "self",(char *) "w",(char *) "h", NULL
9392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_ScaleTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9395 arg2
= (double) SWIG_AsDouble(obj1
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9397 arg3
= (double) SWIG_AsDouble(obj2
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9401 (arg1
)->ScaleTo(arg2
,arg3
);
9403 wxPyEndAllowThreads(__tstate
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9406 Py_INCREF(Py_None
); resultobj
= Py_None
;
9413 static PyObject
*_wrap_PseudoMetaFile_Translate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9414 PyObject
*resultobj
;
9415 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9418 PyObject
* obj0
= 0 ;
9419 PyObject
* obj1
= 0 ;
9420 PyObject
* obj2
= 0 ;
9422 (char *) "self",(char *) "x",(char *) "y", NULL
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9428 arg2
= (double) SWIG_AsDouble(obj1
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9430 arg3
= (double) SWIG_AsDouble(obj2
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 (arg1
)->Translate(arg2
,arg3
);
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9439 Py_INCREF(Py_None
); resultobj
= Py_None
;
9446 static PyObject
*_wrap_PseudoMetaFile_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9447 PyObject
*resultobj
;
9448 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9452 PyObject
* obj0
= 0 ;
9453 PyObject
* obj1
= 0 ;
9454 PyObject
* obj2
= 0 ;
9455 PyObject
* obj3
= 0 ;
9457 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
9460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9463 arg2
= (double) SWIG_AsDouble(obj1
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9465 arg3
= (double) SWIG_AsDouble(obj2
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9467 arg4
= (double) SWIG_AsDouble(obj3
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9471 (arg1
)->Rotate(arg2
,arg3
,arg4
);
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 Py_INCREF(Py_None
); resultobj
= Py_None
;
9483 static PyObject
*_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
;
9485 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9486 wxString
*arg2
= 0 ;
9487 double *arg3
= (double *) 0 ;
9488 double *arg4
= (double *) 0 ;
9490 bool temp2
= False
;
9491 PyObject
* obj0
= 0 ;
9492 PyObject
* obj1
= 0 ;
9493 PyObject
* obj2
= 0 ;
9494 PyObject
* obj3
= 0 ;
9496 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
9499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9503 arg2
= wxString_in_helper(obj1
);
9504 if (arg2
== NULL
) SWIG_fail
;
9507 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_double
,
9508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9509 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_double
,
9510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
,arg3
,arg4
);
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9535 static PyObject
*_wrap_PseudoMetaFile_GetBounds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9538 double *arg2
= (double *) 0 ;
9539 double *arg3
= (double *) 0 ;
9540 double *arg4
= (double *) 0 ;
9541 double *arg5
= (double *) 0 ;
9542 PyObject
* obj0
= 0 ;
9543 PyObject
* obj1
= 0 ;
9544 PyObject
* obj2
= 0 ;
9545 PyObject
* obj3
= 0 ;
9546 PyObject
* obj4
= 0 ;
9548 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
9551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_double
,
9555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9556 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_double
,
9557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9558 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_double
,
9559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9560 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_double
,
9561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9564 (arg1
)->GetBounds(arg2
,arg3
,arg4
,arg5
);
9566 wxPyEndAllowThreads(__tstate
);
9567 if (PyErr_Occurred()) SWIG_fail
;
9569 Py_INCREF(Py_None
); resultobj
= Py_None
;
9576 static PyObject
*_wrap_PseudoMetaFile_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9577 PyObject
*resultobj
;
9578 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9579 wxPyDrawnShape
*arg2
= (wxPyDrawnShape
*) 0 ;
9580 PyObject
* obj0
= 0 ;
9581 PyObject
* obj1
= 0 ;
9583 (char *) "self",(char *) "shape", NULL
9586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDrawnShape
,
9590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9593 (arg1
)->CalculateSize(arg2
);
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9598 Py_INCREF(Py_None
); resultobj
= Py_None
;
9605 static PyObject
*_wrap_PseudoMetaFile_SetRotateable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
*resultobj
;
9607 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9609 PyObject
* obj0
= 0 ;
9610 PyObject
* obj1
= 0 ;
9612 (char *) "self",(char *) "rot", NULL
9615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames
,&obj0
,&obj1
)) goto fail
;
9616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9618 arg2
= (bool) SWIG_AsBool(obj1
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 (arg1
)->SetRotateable(arg2
);
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9627 Py_INCREF(Py_None
); resultobj
= Py_None
;
9634 static PyObject
*_wrap_PseudoMetaFile_GetRotateable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
*resultobj
;
9636 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9638 PyObject
* obj0
= 0 ;
9640 (char *) "self", NULL
9643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetRotateable",kwnames
,&obj0
)) goto fail
;
9644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 result
= (bool)(arg1
)->GetRotateable();
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9662 static PyObject
*_wrap_PseudoMetaFile_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
*resultobj
;
9664 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9667 PyObject
* obj0
= 0 ;
9668 PyObject
* obj1
= 0 ;
9669 PyObject
* obj2
= 0 ;
9671 (char *) "self",(char *) "w",(char *) "h", NULL
9674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9677 arg2
= (double) SWIG_AsDouble(obj1
);
9678 if (PyErr_Occurred()) SWIG_fail
;
9679 arg3
= (double) SWIG_AsDouble(obj2
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 (arg1
)->SetSize(arg2
,arg3
);
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9688 Py_INCREF(Py_None
); resultobj
= Py_None
;
9695 static PyObject
*_wrap_PseudoMetaFile_SetFillBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9696 PyObject
*resultobj
;
9697 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9698 wxBrush
*arg2
= (wxBrush
*) 0 ;
9699 PyObject
* obj0
= 0 ;
9700 PyObject
* obj1
= 0 ;
9702 (char *) "self",(char *) "brush", NULL
9705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
9706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9711 if (obj1
== Py_None
) {
9714 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
9715 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
9720 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
9725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9726 (arg1
)->SetFillBrush(arg2
);
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9731 Py_INCREF(Py_None
); resultobj
= Py_None
;
9738 static PyObject
*_wrap_PseudoMetaFile_GetFillBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9739 PyObject
*resultobj
;
9740 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9742 PyObject
* obj0
= 0 ;
9744 (char *) "self", NULL
9747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames
,&obj0
)) goto fail
;
9748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9752 result
= (wxBrush
*)(arg1
)->GetFillBrush();
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
9764 static PyObject
*_wrap_PseudoMetaFile_SetOutlinePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9765 PyObject
*resultobj
;
9766 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9767 wxPen
*arg2
= (wxPen
*) 0 ;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9771 (char *) "self",(char *) "pen", NULL
9774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames
,&obj0
,&obj1
)) goto fail
;
9775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9780 if (obj1
== Py_None
) {
9783 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
9784 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
9789 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 (arg1
)->SetOutlinePen(arg2
);
9799 wxPyEndAllowThreads(__tstate
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9802 Py_INCREF(Py_None
); resultobj
= Py_None
;
9809 static PyObject
*_wrap_PseudoMetaFile_GetOutlinePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9810 PyObject
*resultobj
;
9811 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9813 PyObject
* obj0
= 0 ;
9815 (char *) "self", NULL
9818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames
,&obj0
)) goto fail
;
9819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9823 result
= (wxPen
*)(arg1
)->GetOutlinePen();
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
9835 static PyObject
*_wrap_PseudoMetaFile_SetOutlineOp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
*resultobj
;
9837 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9839 PyObject
* obj0
= 0 ;
9840 PyObject
* obj1
= 0 ;
9842 (char *) "self",(char *) "op", NULL
9845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlineOp",kwnames
,&obj0
,&obj1
)) goto fail
;
9846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9848 arg2
= (int) SWIG_AsInt(obj1
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 (arg1
)->SetOutlineOp(arg2
);
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9857 Py_INCREF(Py_None
); resultobj
= Py_None
;
9864 static PyObject
*_wrap_PseudoMetaFile_GetOutlineOp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
*resultobj
;
9866 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9868 PyObject
* obj0
= 0 ;
9870 (char *) "self", NULL
9873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames
,&obj0
)) goto fail
;
9874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9878 result
= (int)(arg1
)->GetOutlineOp();
9880 wxPyEndAllowThreads(__tstate
);
9881 if (PyErr_Occurred()) SWIG_fail
;
9883 resultobj
= SWIG_FromInt((int)result
);
9890 static PyObject
*_wrap_PseudoMetaFile_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
;
9892 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9894 PyObject
* obj0
= 0 ;
9896 (char *) "self", NULL
9899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_IsValid",kwnames
,&obj0
)) goto fail
;
9900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 result
= (bool)(arg1
)->IsValid();
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9918 static PyObject
*_wrap_PseudoMetaFile_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
*resultobj
;
9920 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9925 PyObject
* obj0
= 0 ;
9926 PyObject
* obj1
= 0 ;
9927 PyObject
* obj2
= 0 ;
9929 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
9932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9937 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9941 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9945 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
9947 wxPyEndAllowThreads(__tstate
);
9948 if (PyErr_Occurred()) SWIG_fail
;
9950 Py_INCREF(Py_None
); resultobj
= Py_None
;
9957 static PyObject
*_wrap_PseudoMetaFile_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
*resultobj
;
9959 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9962 PyObject
* obj0
= 0 ;
9963 PyObject
* obj1
= 0 ;
9965 (char *) "self",(char *) "rect", NULL
9968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
9969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9973 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9982 Py_INCREF(Py_None
); resultobj
= Py_None
;
9989 static PyObject
*_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9990 PyObject
*resultobj
;
9991 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9995 PyObject
* obj0
= 0 ;
9996 PyObject
* obj1
= 0 ;
9997 PyObject
* obj2
= 0 ;
9999 (char *) "self",(char *) "rect",(char *) "radius", NULL
10002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10007 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10009 arg3
= (double) SWIG_AsDouble(obj2
);
10010 if (PyErr_Occurred()) SWIG_fail
;
10012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10013 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
10015 wxPyEndAllowThreads(__tstate
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10018 Py_INCREF(Py_None
); resultobj
= Py_None
;
10025 static PyObject
*_wrap_PseudoMetaFile_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10026 PyObject
*resultobj
;
10027 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10028 wxPoint
*arg2
= 0 ;
10029 wxPoint
*arg3
= 0 ;
10030 wxPoint
*arg4
= 0 ;
10034 PyObject
* obj0
= 0 ;
10035 PyObject
* obj1
= 0 ;
10036 PyObject
* obj2
= 0 ;
10037 PyObject
* obj3
= 0 ;
10038 char *kwnames
[] = {
10039 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
10042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10047 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10051 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10055 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10059 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10061 wxPyEndAllowThreads(__tstate
);
10062 if (PyErr_Occurred()) SWIG_fail
;
10064 Py_INCREF(Py_None
); resultobj
= Py_None
;
10071 static PyObject
*_wrap_PseudoMetaFile_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10072 PyObject
*resultobj
;
10073 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10078 PyObject
* obj0
= 0 ;
10079 PyObject
* obj1
= 0 ;
10080 PyObject
* obj2
= 0 ;
10081 PyObject
* obj3
= 0 ;
10082 char *kwnames
[] = {
10083 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
10086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10091 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10093 arg3
= (double) SWIG_AsDouble(obj2
);
10094 if (PyErr_Occurred()) SWIG_fail
;
10095 arg4
= (double) SWIG_AsDouble(obj3
);
10096 if (PyErr_Occurred()) SWIG_fail
;
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 Py_INCREF(Py_None
); resultobj
= Py_None
;
10111 static PyObject
*_wrap_PseudoMetaFile_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
*resultobj
;
10113 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10116 PyObject
* obj0
= 0 ;
10117 PyObject
* obj1
= 0 ;
10118 char *kwnames
[] = {
10119 (char *) "self",(char *) "rect", NULL
10122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames
,&obj0
,&obj1
)) goto fail
;
10123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10127 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10131 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10136 Py_INCREF(Py_None
); resultobj
= Py_None
;
10143 static PyObject
*_wrap_PseudoMetaFile_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10144 PyObject
*resultobj
;
10145 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10146 wxPoint
*arg2
= 0 ;
10148 PyObject
* obj0
= 0 ;
10149 PyObject
* obj1
= 0 ;
10150 char *kwnames
[] = {
10151 (char *) "self",(char *) "pt", NULL
10154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10159 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10163 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10165 wxPyEndAllowThreads(__tstate
);
10166 if (PyErr_Occurred()) SWIG_fail
;
10168 Py_INCREF(Py_None
); resultobj
= Py_None
;
10175 static PyObject
*_wrap_PseudoMetaFile_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10176 PyObject
*resultobj
;
10177 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10178 wxString
*arg2
= 0 ;
10179 wxPoint
*arg3
= 0 ;
10180 bool temp2
= False
;
10182 PyObject
* obj0
= 0 ;
10183 PyObject
* obj1
= 0 ;
10184 PyObject
* obj2
= 0 ;
10185 char *kwnames
[] = {
10186 (char *) "self",(char *) "text",(char *) "pt", NULL
10189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10193 arg2
= wxString_in_helper(obj1
);
10194 if (arg2
== NULL
) SWIG_fail
;
10199 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10208 Py_INCREF(Py_None
); resultobj
= Py_None
;
10223 static PyObject
*_wrap_PseudoMetaFile_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10224 PyObject
*resultobj
;
10225 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10227 wxPoint
*arg3
= (wxPoint
*) 0 ;
10228 PyObject
* obj0
= 0 ;
10229 PyObject
* obj1
= 0 ;
10230 PyObject
* obj2
= 0 ;
10231 char *kwnames
[] = {
10232 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10238 arg2
= (int) SWIG_AsInt(obj1
);
10239 if (PyErr_Occurred()) SWIG_fail
;
10240 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
10241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 (arg1
)->DrawLines(arg2
,arg3
);
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 Py_INCREF(Py_None
); resultobj
= Py_None
;
10256 static PyObject
*_wrap_PseudoMetaFile_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10257 PyObject
*resultobj
;
10258 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10260 wxPoint
*arg3
= (wxPoint
*) 0 ;
10261 int arg4
= (int) 0 ;
10262 PyObject
* obj0
= 0 ;
10263 PyObject
* obj1
= 0 ;
10264 PyObject
* obj2
= 0 ;
10265 PyObject
* obj3
= 0 ;
10266 char *kwnames
[] = {
10267 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
10270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoMetaFile_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10273 arg2
= (int) SWIG_AsInt(obj1
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10275 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
10276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10278 arg4
= (int) SWIG_AsInt(obj3
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10288 Py_INCREF(Py_None
); resultobj
= Py_None
;
10295 static PyObject
*_wrap_PseudoMetaFile_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
;
10297 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10299 wxPoint
*arg3
= (wxPoint
*) 0 ;
10300 PyObject
* obj0
= 0 ;
10301 PyObject
* obj1
= 0 ;
10302 PyObject
* obj2
= 0 ;
10303 char *kwnames
[] = {
10304 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawSpline",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10310 arg2
= (int) SWIG_AsInt(obj1
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10312 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
10313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 (arg1
)->DrawSpline(arg2
,arg3
);
10318 wxPyEndAllowThreads(__tstate
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10321 Py_INCREF(Py_None
); resultobj
= Py_None
;
10328 static PyObject
*_wrap_PseudoMetaFile_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10329 PyObject
*resultobj
;
10330 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10333 PyObject
* obj0
= 0 ;
10334 PyObject
* obj1
= 0 ;
10335 char *kwnames
[] = {
10336 (char *) "self",(char *) "rect", NULL
10339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10344 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10353 Py_INCREF(Py_None
); resultobj
= Py_None
;
10360 static PyObject
*_wrap_PseudoMetaFile_DestroyClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
;
10362 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10363 PyObject
* obj0
= 0 ;
10364 char *kwnames
[] = {
10365 (char *) "self", NULL
10368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
10369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 (arg1
)->DestroyClippingRect();
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10378 Py_INCREF(Py_None
); resultobj
= Py_None
;
10385 static PyObject
*_wrap_PseudoMetaFile_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10386 PyObject
*resultobj
;
10387 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10388 wxPen
*arg2
= (wxPen
*) 0 ;
10389 bool arg3
= (bool) FALSE
;
10390 PyObject
* obj0
= 0 ;
10391 PyObject
* obj1
= 0 ;
10392 PyObject
* obj2
= 0 ;
10393 char *kwnames
[] = {
10394 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
10397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10403 if (obj1
== Py_None
) {
10406 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
10407 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
10412 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
10419 arg3
= (bool) SWIG_AsBool(obj2
);
10420 if (PyErr_Occurred()) SWIG_fail
;
10423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10424 (arg1
)->SetPen(arg2
,arg3
);
10426 wxPyEndAllowThreads(__tstate
);
10427 if (PyErr_Occurred()) SWIG_fail
;
10429 Py_INCREF(Py_None
); resultobj
= Py_None
;
10436 static PyObject
*_wrap_PseudoMetaFile_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10437 PyObject
*resultobj
;
10438 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10439 wxBrush
*arg2
= (wxBrush
*) 0 ;
10440 bool arg3
= (bool) FALSE
;
10441 PyObject
* obj0
= 0 ;
10442 PyObject
* obj1
= 0 ;
10443 PyObject
* obj2
= 0 ;
10444 char *kwnames
[] = {
10445 (char *) "self",(char *) "brush",(char *) "isFill", NULL
10448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10454 if (obj1
== Py_None
) {
10457 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
10458 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
10463 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
10468 arg3
= (bool) SWIG_AsBool(obj2
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 (arg1
)->SetBrush(arg2
,arg3
);
10475 wxPyEndAllowThreads(__tstate
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10478 Py_INCREF(Py_None
); resultobj
= Py_None
;
10485 static PyObject
*_wrap_PseudoMetaFile_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10486 PyObject
*resultobj
;
10487 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10488 wxFont
*arg2
= (wxFont
*) 0 ;
10489 PyObject
* obj0
= 0 ;
10490 PyObject
* obj1
= 0 ;
10491 char *kwnames
[] = {
10492 (char *) "self",(char *) "font", NULL
10495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10501 if (obj1
== Py_None
) {
10504 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
10505 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
10510 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
10514 temp
->GetUnderlined(),
10515 temp
->GetFaceName(),
10516 temp
->GetEncoding());
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 (arg1
)->SetFont(arg2
);
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 Py_INCREF(Py_None
); resultobj
= Py_None
;
10534 static PyObject
*_wrap_PseudoMetaFile_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10535 PyObject
*resultobj
;
10536 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10537 wxColour
*arg2
= 0 ;
10539 PyObject
* obj0
= 0 ;
10540 PyObject
* obj1
= 0 ;
10541 char *kwnames
[] = {
10542 (char *) "self",(char *) "colour", NULL
10545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10550 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10556 wxPyEndAllowThreads(__tstate
);
10557 if (PyErr_Occurred()) SWIG_fail
;
10559 Py_INCREF(Py_None
); resultobj
= Py_None
;
10566 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10567 PyObject
*resultobj
;
10568 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10569 wxColour
*arg2
= 0 ;
10571 PyObject
* obj0
= 0 ;
10572 PyObject
* obj1
= 0 ;
10573 char *kwnames
[] = {
10574 (char *) "self",(char *) "colour", NULL
10577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10582 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10591 Py_INCREF(Py_None
); resultobj
= Py_None
;
10598 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
*resultobj
;
10600 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10602 PyObject
* obj0
= 0 ;
10603 PyObject
* obj1
= 0 ;
10604 char *kwnames
[] = {
10605 (char *) "self",(char *) "mode", NULL
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
10609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10611 arg2
= (int) SWIG_AsInt(obj1
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10615 (arg1
)->SetBackgroundMode(arg2
);
10617 wxPyEndAllowThreads(__tstate
);
10618 if (PyErr_Occurred()) SWIG_fail
;
10620 Py_INCREF(Py_None
); resultobj
= Py_None
;
10627 static PyObject
* PseudoMetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
10629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10630 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile
, obj
);
10632 return Py_BuildValue((char *)"");
10634 static PyObject
*_wrap_new_PyRectangleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
;
10636 double arg1
= (double) 0.0 ;
10637 double arg2
= (double) 0.0 ;
10638 wxPyRectangleShape
*result
;
10639 PyObject
* obj0
= 0 ;
10640 PyObject
* obj1
= 0 ;
10641 char *kwnames
[] = {
10642 (char *) "width",(char *) "height", NULL
10645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyRectangleShape",kwnames
,&obj0
,&obj1
)) goto fail
;
10647 arg1
= (double) SWIG_AsDouble(obj0
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10651 arg2
= (double) SWIG_AsDouble(obj1
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 result
= (wxPyRectangleShape
*)new wxPyRectangleShape(arg1
,arg2
);
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyRectangleShape
, 1);
10668 static PyObject
*_wrap_PyRectangleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10669 PyObject
*resultobj
;
10670 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10671 PyObject
*arg2
= (PyObject
*) 0 ;
10672 PyObject
*arg3
= (PyObject
*) 0 ;
10673 PyObject
* obj0
= 0 ;
10674 PyObject
* obj1
= 0 ;
10675 PyObject
* obj2
= 0 ;
10676 char *kwnames
[] = {
10677 (char *) "self",(char *) "self",(char *) "_class", NULL
10680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10692 Py_INCREF(Py_None
); resultobj
= Py_None
;
10699 static PyObject
*_wrap_PyRectangleShape_SetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
;
10701 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10703 PyObject
* obj0
= 0 ;
10704 PyObject
* obj1
= 0 ;
10705 char *kwnames
[] = {
10706 (char *) "self",(char *) "radius", NULL
10709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_SetCornerRadius",kwnames
,&obj0
,&obj1
)) goto fail
;
10710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10712 arg2
= (double) SWIG_AsDouble(obj1
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10716 (arg1
)->SetCornerRadius(arg2
);
10718 wxPyEndAllowThreads(__tstate
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10721 Py_INCREF(Py_None
); resultobj
= Py_None
;
10728 static PyObject
*_wrap_PyRectangleShape_GetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10729 PyObject
*resultobj
;
10730 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10732 PyObject
* obj0
= 0 ;
10733 char *kwnames
[] = {
10734 (char *) "self", NULL
10737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames
,&obj0
)) goto fail
;
10738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 result
= (double)(arg1
)->GetCornerRadius();
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10747 resultobj
= SWIG_FromDouble((double)result
);
10754 static PyObject
*_wrap_PyRectangleShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
*resultobj
;
10756 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10757 PyObject
* obj0
= 0 ;
10758 char *kwnames
[] = {
10759 (char *) "self", NULL
10762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
10763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10767 (arg1
)->base_OnDelete();
10769 wxPyEndAllowThreads(__tstate
);
10770 if (PyErr_Occurred()) SWIG_fail
;
10772 Py_INCREF(Py_None
); resultobj
= Py_None
;
10779 static PyObject
*_wrap_PyRectangleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
;
10781 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10783 PyObject
* obj0
= 0 ;
10784 PyObject
* obj1
= 0 ;
10785 char *kwnames
[] = {
10786 (char *) "self",(char *) "dc", NULL
10789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
10790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10793 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10795 if (arg2
== NULL
) {
10796 PyErr_SetString(PyExc_TypeError
,"null reference");
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 (arg1
)->base_OnDraw(*arg2
);
10803 wxPyEndAllowThreads(__tstate
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10806 Py_INCREF(Py_None
); resultobj
= Py_None
;
10813 static PyObject
*_wrap_PyRectangleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10814 PyObject
*resultobj
;
10815 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10817 PyObject
* obj0
= 0 ;
10818 PyObject
* obj1
= 0 ;
10819 char *kwnames
[] = {
10820 (char *) "self",(char *) "dc", NULL
10823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10827 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10829 if (arg2
== NULL
) {
10830 PyErr_SetString(PyExc_TypeError
,"null reference");
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 (arg1
)->base_OnDrawContents(*arg2
);
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10840 Py_INCREF(Py_None
); resultobj
= Py_None
;
10847 static PyObject
*_wrap_PyRectangleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
;
10849 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10851 bool arg3
= (bool) FALSE
;
10852 PyObject
* obj0
= 0 ;
10853 PyObject
* obj1
= 0 ;
10854 PyObject
* obj2
= 0 ;
10855 char *kwnames
[] = {
10856 (char *) "self",(char *) "dc",(char *) "erase", NULL
10859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10863 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10865 if (arg2
== NULL
) {
10866 PyErr_SetString(PyExc_TypeError
,"null reference");
10870 arg3
= (bool) SWIG_AsBool(obj2
);
10871 if (PyErr_Occurred()) SWIG_fail
;
10874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10875 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10880 Py_INCREF(Py_None
); resultobj
= Py_None
;
10887 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
;
10889 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10891 PyObject
* obj0
= 0 ;
10892 PyObject
* obj1
= 0 ;
10893 char *kwnames
[] = {
10894 (char *) "self",(char *) "dc", NULL
10897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
10898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10901 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10903 if (arg2
== NULL
) {
10904 PyErr_SetString(PyExc_TypeError
,"null reference");
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 (arg1
)->base_OnMoveLinks(*arg2
);
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10914 Py_INCREF(Py_None
); resultobj
= Py_None
;
10921 static PyObject
*_wrap_PyRectangleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10922 PyObject
*resultobj
;
10923 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10925 PyObject
* obj0
= 0 ;
10926 PyObject
* obj1
= 0 ;
10927 char *kwnames
[] = {
10928 (char *) "self",(char *) "dc", NULL
10931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
10932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10935 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10937 if (arg2
== NULL
) {
10938 PyErr_SetString(PyExc_TypeError
,"null reference");
10942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10943 (arg1
)->base_OnErase(*arg2
);
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10948 Py_INCREF(Py_None
); resultobj
= Py_None
;
10955 static PyObject
*_wrap_PyRectangleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
*resultobj
;
10957 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10959 PyObject
* obj0
= 0 ;
10960 PyObject
* obj1
= 0 ;
10961 char *kwnames
[] = {
10962 (char *) "self",(char *) "dc", NULL
10965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10968 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10969 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10971 if (arg2
== NULL
) {
10972 PyErr_SetString(PyExc_TypeError
,"null reference");
10976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10977 (arg1
)->base_OnEraseContents(*arg2
);
10979 wxPyEndAllowThreads(__tstate
);
10980 if (PyErr_Occurred()) SWIG_fail
;
10982 Py_INCREF(Py_None
); resultobj
= Py_None
;
10989 static PyObject
*_wrap_PyRectangleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10990 PyObject
*resultobj
;
10991 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10993 PyObject
* obj0
= 0 ;
10994 PyObject
* obj1
= 0 ;
10995 char *kwnames
[] = {
10996 (char *) "self",(char *) "dc", NULL
10999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
11000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11002 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11003 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11005 if (arg2
== NULL
) {
11006 PyErr_SetString(PyExc_TypeError
,"null reference");
11010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11011 (arg1
)->base_OnHighlight(*arg2
);
11013 wxPyEndAllowThreads(__tstate
);
11014 if (PyErr_Occurred()) SWIG_fail
;
11016 Py_INCREF(Py_None
); resultobj
= Py_None
;
11023 static PyObject
*_wrap_PyRectangleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
*resultobj
;
11025 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11028 int arg4
= (int) 0 ;
11029 int arg5
= (int) 0 ;
11030 PyObject
* obj0
= 0 ;
11031 PyObject
* obj1
= 0 ;
11032 PyObject
* obj2
= 0 ;
11033 PyObject
* obj3
= 0 ;
11034 PyObject
* obj4
= 0 ;
11035 char *kwnames
[] = {
11036 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11042 arg2
= (double) SWIG_AsDouble(obj1
);
11043 if (PyErr_Occurred()) SWIG_fail
;
11044 arg3
= (double) SWIG_AsDouble(obj2
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11047 arg4
= (int) SWIG_AsInt(obj3
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11051 arg5
= (int) SWIG_AsInt(obj4
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11056 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11061 Py_INCREF(Py_None
); resultobj
= Py_None
;
11068 static PyObject
*_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
;
11070 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11073 int arg4
= (int) 0 ;
11074 int arg5
= (int) 0 ;
11075 PyObject
* obj0
= 0 ;
11076 PyObject
* obj1
= 0 ;
11077 PyObject
* obj2
= 0 ;
11078 PyObject
* obj3
= 0 ;
11079 PyObject
* obj4
= 0 ;
11080 char *kwnames
[] = {
11081 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11087 arg2
= (double) SWIG_AsDouble(obj1
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11089 arg3
= (double) SWIG_AsDouble(obj2
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11092 arg4
= (int) SWIG_AsInt(obj3
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11096 arg5
= (int) SWIG_AsInt(obj4
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11101 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11106 Py_INCREF(Py_None
); resultobj
= Py_None
;
11113 static PyObject
*_wrap_PyRectangleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11114 PyObject
*resultobj
;
11115 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11118 int arg4
= (int) 0 ;
11119 int arg5
= (int) 0 ;
11120 PyObject
* obj0
= 0 ;
11121 PyObject
* obj1
= 0 ;
11122 PyObject
* obj2
= 0 ;
11123 PyObject
* obj3
= 0 ;
11124 PyObject
* obj4
= 0 ;
11125 char *kwnames
[] = {
11126 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11132 arg2
= (double) SWIG_AsDouble(obj1
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11134 arg3
= (double) SWIG_AsDouble(obj2
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11137 arg4
= (int) SWIG_AsInt(obj3
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11141 arg5
= (int) SWIG_AsInt(obj4
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
11148 wxPyEndAllowThreads(__tstate
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11151 Py_INCREF(Py_None
); resultobj
= Py_None
;
11158 static PyObject
*_wrap_PyRectangleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11159 PyObject
*resultobj
;
11160 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11163 PyObject
* obj0
= 0 ;
11164 PyObject
* obj1
= 0 ;
11165 PyObject
* obj2
= 0 ;
11166 char *kwnames
[] = {
11167 (char *) "self",(char *) "x",(char *) "y", NULL
11170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11173 arg2
= (double) SWIG_AsDouble(obj1
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11175 arg3
= (double) SWIG_AsDouble(obj2
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11179 (arg1
)->base_OnSize(arg2
,arg3
);
11181 wxPyEndAllowThreads(__tstate
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11184 Py_INCREF(Py_None
); resultobj
= Py_None
;
11191 static PyObject
*_wrap_PyRectangleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11192 PyObject
*resultobj
;
11193 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11199 bool arg7
= (bool) True
;
11201 PyObject
* obj0
= 0 ;
11202 PyObject
* obj1
= 0 ;
11203 PyObject
* obj2
= 0 ;
11204 PyObject
* obj3
= 0 ;
11205 PyObject
* obj4
= 0 ;
11206 PyObject
* obj5
= 0 ;
11207 PyObject
* obj6
= 0 ;
11208 char *kwnames
[] = {
11209 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11216 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11218 if (arg2
== NULL
) {
11219 PyErr_SetString(PyExc_TypeError
,"null reference");
11222 arg3
= (double) SWIG_AsDouble(obj2
);
11223 if (PyErr_Occurred()) SWIG_fail
;
11224 arg4
= (double) SWIG_AsDouble(obj3
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11226 arg5
= (double) SWIG_AsDouble(obj4
);
11227 if (PyErr_Occurred()) SWIG_fail
;
11228 arg6
= (double) SWIG_AsDouble(obj5
);
11229 if (PyErr_Occurred()) SWIG_fail
;
11231 arg7
= (bool) SWIG_AsBool(obj6
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11250 static PyObject
*_wrap_PyRectangleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11251 PyObject
*resultobj
;
11252 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11258 bool arg7
= (bool) True
;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 PyObject
* obj2
= 0 ;
11262 PyObject
* obj3
= 0 ;
11263 PyObject
* obj4
= 0 ;
11264 PyObject
* obj5
= 0 ;
11265 PyObject
* obj6
= 0 ;
11266 char *kwnames
[] = {
11267 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11274 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11276 if (arg2
== NULL
) {
11277 PyErr_SetString(PyExc_TypeError
,"null reference");
11280 arg3
= (double) SWIG_AsDouble(obj2
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11282 arg4
= (double) SWIG_AsDouble(obj3
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11284 arg5
= (double) SWIG_AsDouble(obj4
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11286 arg6
= (double) SWIG_AsDouble(obj5
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11289 arg7
= (bool) SWIG_AsBool(obj6
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11294 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11296 wxPyEndAllowThreads(__tstate
);
11297 if (PyErr_Occurred()) SWIG_fail
;
11299 Py_INCREF(Py_None
); resultobj
= Py_None
;
11306 static PyObject
*_wrap_PyRectangleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11307 PyObject
*resultobj
;
11308 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11312 int arg5
= (int) 0 ;
11313 int arg6
= (int) 0 ;
11314 PyObject
* obj0
= 0 ;
11315 PyObject
* obj1
= 0 ;
11316 PyObject
* obj2
= 0 ;
11317 PyObject
* obj3
= 0 ;
11318 PyObject
* obj4
= 0 ;
11319 PyObject
* obj5
= 0 ;
11320 char *kwnames
[] = {
11321 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11327 arg2
= (bool) SWIG_AsBool(obj1
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11329 arg3
= (double) SWIG_AsDouble(obj2
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11331 arg4
= (double) SWIG_AsDouble(obj3
);
11332 if (PyErr_Occurred()) SWIG_fail
;
11334 arg5
= (int) SWIG_AsInt(obj4
);
11335 if (PyErr_Occurred()) SWIG_fail
;
11338 arg6
= (int) SWIG_AsInt(obj5
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11348 Py_INCREF(Py_None
); resultobj
= Py_None
;
11355 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11356 PyObject
*resultobj
;
11357 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11360 int arg4
= (int) 0 ;
11361 int arg5
= (int) 0 ;
11362 PyObject
* obj0
= 0 ;
11363 PyObject
* obj1
= 0 ;
11364 PyObject
* obj2
= 0 ;
11365 PyObject
* obj3
= 0 ;
11366 PyObject
* obj4
= 0 ;
11367 char *kwnames
[] = {
11368 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11374 arg2
= (double) SWIG_AsDouble(obj1
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11376 arg3
= (double) SWIG_AsDouble(obj2
);
11377 if (PyErr_Occurred()) SWIG_fail
;
11379 arg4
= (int) SWIG_AsInt(obj3
);
11380 if (PyErr_Occurred()) SWIG_fail
;
11383 arg5
= (int) SWIG_AsInt(obj4
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11388 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11393 Py_INCREF(Py_None
); resultobj
= Py_None
;
11400 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11401 PyObject
*resultobj
;
11402 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11405 int arg4
= (int) 0 ;
11406 int arg5
= (int) 0 ;
11407 PyObject
* obj0
= 0 ;
11408 PyObject
* obj1
= 0 ;
11409 PyObject
* obj2
= 0 ;
11410 PyObject
* obj3
= 0 ;
11411 PyObject
* obj4
= 0 ;
11412 char *kwnames
[] = {
11413 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11419 arg2
= (double) SWIG_AsDouble(obj1
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11421 arg3
= (double) SWIG_AsDouble(obj2
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11424 arg4
= (int) SWIG_AsInt(obj3
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11428 arg5
= (int) SWIG_AsInt(obj4
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11433 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
11435 wxPyEndAllowThreads(__tstate
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11438 Py_INCREF(Py_None
); resultobj
= Py_None
;
11445 static PyObject
*_wrap_PyRectangleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11446 PyObject
*resultobj
;
11447 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11451 int arg5
= (int) 0 ;
11452 int arg6
= (int) 0 ;
11453 PyObject
* obj0
= 0 ;
11454 PyObject
* obj1
= 0 ;
11455 PyObject
* obj2
= 0 ;
11456 PyObject
* obj3
= 0 ;
11457 PyObject
* obj4
= 0 ;
11458 PyObject
* obj5
= 0 ;
11459 char *kwnames
[] = {
11460 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11466 arg2
= (bool) SWIG_AsBool(obj1
);
11467 if (PyErr_Occurred()) SWIG_fail
;
11468 arg3
= (double) SWIG_AsDouble(obj2
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11470 arg4
= (double) SWIG_AsDouble(obj3
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11473 arg5
= (int) SWIG_AsInt(obj4
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11477 arg6
= (int) SWIG_AsInt(obj5
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
11484 wxPyEndAllowThreads(__tstate
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11487 Py_INCREF(Py_None
); resultobj
= Py_None
;
11494 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11495 PyObject
*resultobj
;
11496 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11499 int arg4
= (int) 0 ;
11500 int arg5
= (int) 0 ;
11501 PyObject
* obj0
= 0 ;
11502 PyObject
* obj1
= 0 ;
11503 PyObject
* obj2
= 0 ;
11504 PyObject
* obj3
= 0 ;
11505 PyObject
* obj4
= 0 ;
11506 char *kwnames
[] = {
11507 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11513 arg2
= (double) SWIG_AsDouble(obj1
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11515 arg3
= (double) SWIG_AsDouble(obj2
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11518 arg4
= (int) SWIG_AsInt(obj3
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11522 arg5
= (int) SWIG_AsInt(obj4
);
11523 if (PyErr_Occurred()) SWIG_fail
;
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11532 Py_INCREF(Py_None
); resultobj
= Py_None
;
11539 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11540 PyObject
*resultobj
;
11541 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11544 int arg4
= (int) 0 ;
11545 int arg5
= (int) 0 ;
11546 PyObject
* obj0
= 0 ;
11547 PyObject
* obj1
= 0 ;
11548 PyObject
* obj2
= 0 ;
11549 PyObject
* obj3
= 0 ;
11550 PyObject
* obj4
= 0 ;
11551 char *kwnames
[] = {
11552 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11558 arg2
= (double) SWIG_AsDouble(obj1
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11560 arg3
= (double) SWIG_AsDouble(obj2
);
11561 if (PyErr_Occurred()) SWIG_fail
;
11563 arg4
= (int) SWIG_AsInt(obj3
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11567 arg5
= (int) SWIG_AsInt(obj4
);
11568 if (PyErr_Occurred()) SWIG_fail
;
11571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11572 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
11574 wxPyEndAllowThreads(__tstate
);
11575 if (PyErr_Occurred()) SWIG_fail
;
11577 Py_INCREF(Py_None
); resultobj
= Py_None
;
11584 static PyObject
*_wrap_PyRectangleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11585 PyObject
*resultobj
;
11586 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11592 PyObject
* obj0
= 0 ;
11593 PyObject
* obj1
= 0 ;
11594 PyObject
* obj2
= 0 ;
11595 PyObject
* obj3
= 0 ;
11596 PyObject
* obj4
= 0 ;
11597 PyObject
* obj5
= 0 ;
11598 char *kwnames
[] = {
11599 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyRectangleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11608 if (arg2
== NULL
) {
11609 PyErr_SetString(PyExc_TypeError
,"null reference");
11612 arg3
= (double) SWIG_AsDouble(obj2
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11614 arg4
= (double) SWIG_AsDouble(obj3
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11616 arg5
= (double) SWIG_AsDouble(obj4
);
11617 if (PyErr_Occurred()) SWIG_fail
;
11618 arg6
= (double) SWIG_AsDouble(obj5
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11622 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
11624 wxPyEndAllowThreads(__tstate
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11627 Py_INCREF(Py_None
); resultobj
= Py_None
;
11634 static PyObject
*_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11635 PyObject
*resultobj
;
11636 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11638 PyObject
* obj0
= 0 ;
11639 PyObject
* obj1
= 0 ;
11640 char *kwnames
[] = {
11641 (char *) "self",(char *) "dc", NULL
11644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11648 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11650 if (arg2
== NULL
) {
11651 PyErr_SetString(PyExc_TypeError
,"null reference");
11655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11656 (arg1
)->base_OnDrawControlPoints(*arg2
);
11658 wxPyEndAllowThreads(__tstate
);
11659 if (PyErr_Occurred()) SWIG_fail
;
11661 Py_INCREF(Py_None
); resultobj
= Py_None
;
11668 static PyObject
*_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11669 PyObject
*resultobj
;
11670 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11672 PyObject
* obj0
= 0 ;
11673 PyObject
* obj1
= 0 ;
11674 char *kwnames
[] = {
11675 (char *) "self",(char *) "dc", NULL
11678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11682 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11684 if (arg2
== NULL
) {
11685 PyErr_SetString(PyExc_TypeError
,"null reference");
11689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11690 (arg1
)->base_OnEraseControlPoints(*arg2
);
11692 wxPyEndAllowThreads(__tstate
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11695 Py_INCREF(Py_None
); resultobj
= Py_None
;
11702 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11703 PyObject
*resultobj
;
11704 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11706 bool arg3
= (bool) True
;
11707 PyObject
* obj0
= 0 ;
11708 PyObject
* obj1
= 0 ;
11709 PyObject
* obj2
= 0 ;
11710 char *kwnames
[] = {
11711 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11720 if (arg2
== NULL
) {
11721 PyErr_SetString(PyExc_TypeError
,"null reference");
11725 arg3
= (bool) SWIG_AsBool(obj2
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11730 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
11732 wxPyEndAllowThreads(__tstate
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11735 Py_INCREF(Py_None
); resultobj
= Py_None
;
11742 static PyObject
*_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11743 PyObject
*resultobj
;
11744 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11745 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11749 int arg6
= (int) 0 ;
11750 int arg7
= (int) 0 ;
11751 PyObject
* obj0
= 0 ;
11752 PyObject
* obj1
= 0 ;
11753 PyObject
* obj2
= 0 ;
11754 PyObject
* obj3
= 0 ;
11755 PyObject
* obj4
= 0 ;
11756 PyObject
* obj5
= 0 ;
11757 PyObject
* obj6
= 0 ;
11758 char *kwnames
[] = {
11759 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyRectangleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11767 arg3
= (bool) SWIG_AsBool(obj2
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11769 arg4
= (double) SWIG_AsDouble(obj3
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11771 arg5
= (double) SWIG_AsDouble(obj4
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11774 arg6
= (int) SWIG_AsInt(obj5
);
11775 if (PyErr_Occurred()) SWIG_fail
;
11778 arg7
= (int) SWIG_AsInt(obj6
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 Py_INCREF(Py_None
); resultobj
= Py_None
;
11795 static PyObject
*_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11796 PyObject
*resultobj
;
11797 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11798 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11801 int arg5
= (int) 0 ;
11802 int arg6
= (int) 0 ;
11803 PyObject
* obj0
= 0 ;
11804 PyObject
* obj1
= 0 ;
11805 PyObject
* obj2
= 0 ;
11806 PyObject
* obj3
= 0 ;
11807 PyObject
* obj4
= 0 ;
11808 PyObject
* obj5
= 0 ;
11809 char *kwnames
[] = {
11810 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11818 arg3
= (double) SWIG_AsDouble(obj2
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11820 arg4
= (double) SWIG_AsDouble(obj3
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11823 arg5
= (int) SWIG_AsInt(obj4
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11827 arg6
= (int) SWIG_AsInt(obj5
);
11828 if (PyErr_Occurred()) SWIG_fail
;
11831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11832 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11834 wxPyEndAllowThreads(__tstate
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11837 Py_INCREF(Py_None
); resultobj
= Py_None
;
11844 static PyObject
*_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11845 PyObject
*resultobj
;
11846 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11847 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11850 int arg5
= (int) 0 ;
11851 int arg6
= (int) 0 ;
11852 PyObject
* obj0
= 0 ;
11853 PyObject
* obj1
= 0 ;
11854 PyObject
* obj2
= 0 ;
11855 PyObject
* obj3
= 0 ;
11856 PyObject
* obj4
= 0 ;
11857 PyObject
* obj5
= 0 ;
11858 char *kwnames
[] = {
11859 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11867 arg3
= (double) SWIG_AsDouble(obj2
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11869 arg4
= (double) SWIG_AsDouble(obj3
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 arg5
= (int) SWIG_AsInt(obj4
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11876 arg6
= (int) SWIG_AsInt(obj5
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11881 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11883 wxPyEndAllowThreads(__tstate
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11886 Py_INCREF(Py_None
); resultobj
= Py_None
;
11893 static PyObject
*_wrap_PyRectangleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11894 PyObject
*resultobj
;
11895 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11898 PyObject
* obj0
= 0 ;
11899 PyObject
* obj1
= 0 ;
11900 PyObject
* obj2
= 0 ;
11901 char *kwnames
[] = {
11902 (char *) "self",(char *) "w",(char *) "h", NULL
11905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11908 arg2
= (double) SWIG_AsDouble(obj1
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11910 arg3
= (double) SWIG_AsDouble(obj2
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11914 (arg1
)->base_OnBeginSize(arg2
,arg3
);
11916 wxPyEndAllowThreads(__tstate
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11919 Py_INCREF(Py_None
); resultobj
= Py_None
;
11926 static PyObject
*_wrap_PyRectangleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11927 PyObject
*resultobj
;
11928 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11931 PyObject
* obj0
= 0 ;
11932 PyObject
* obj1
= 0 ;
11933 PyObject
* obj2
= 0 ;
11934 char *kwnames
[] = {
11935 (char *) "self",(char *) "w",(char *) "h", NULL
11938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11941 arg2
= (double) SWIG_AsDouble(obj1
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11943 arg3
= (double) SWIG_AsDouble(obj2
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 (arg1
)->base_OnEndSize(arg2
,arg3
);
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 Py_INCREF(Py_None
); resultobj
= Py_None
;
11959 static PyObject
* PyRectangleShape_swigregister(PyObject
*self
, PyObject
*args
) {
11961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11962 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape
, obj
);
11964 return Py_BuildValue((char *)"");
11966 static PyObject
*_wrap_new_PyControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11967 PyObject
*resultobj
;
11968 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
11969 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
11970 double arg3
= (double) 0.0 ;
11971 double arg4
= (double) 0.0 ;
11972 double arg5
= (double) 0.0 ;
11973 int arg6
= (int) 0 ;
11974 wxPyControlPoint
*result
;
11975 PyObject
* obj0
= 0 ;
11976 PyObject
* obj1
= 0 ;
11977 PyObject
* obj2
= 0 ;
11978 PyObject
* obj3
= 0 ;
11979 PyObject
* obj4
= 0 ;
11980 PyObject
* obj5
= 0 ;
11981 char *kwnames
[] = {
11982 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
11985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_PyControlPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
11988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
11992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11995 arg3
= (double) SWIG_AsDouble(obj2
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11999 arg4
= (double) SWIG_AsDouble(obj3
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12003 arg5
= (double) SWIG_AsDouble(obj4
);
12004 if (PyErr_Occurred()) SWIG_fail
;
12007 arg6
= (int) SWIG_AsInt(obj5
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12012 result
= (wxPyControlPoint
*)new wxPyControlPoint(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
12014 wxPyEndAllowThreads(__tstate
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControlPoint
, 1);
12024 static PyObject
*_wrap_PyControlPoint__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12025 PyObject
*resultobj
;
12026 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12027 PyObject
*arg2
= (PyObject
*) 0 ;
12028 PyObject
*arg3
= (PyObject
*) 0 ;
12029 PyObject
* obj0
= 0 ;
12030 PyObject
* obj1
= 0 ;
12031 PyObject
* obj2
= 0 ;
12032 char *kwnames
[] = {
12033 (char *) "self",(char *) "self",(char *) "_class", NULL
12036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12043 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12045 wxPyEndAllowThreads(__tstate
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12048 Py_INCREF(Py_None
); resultobj
= Py_None
;
12055 static PyObject
*_wrap_PyControlPoint_SetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12056 PyObject
*resultobj
;
12057 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12059 PyObject
* obj0
= 0 ;
12060 PyObject
* obj1
= 0 ;
12061 char *kwnames
[] = {
12062 (char *) "self",(char *) "radius", NULL
12065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_SetCornerRadius",kwnames
,&obj0
,&obj1
)) goto fail
;
12066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12068 arg2
= (double) SWIG_AsDouble(obj1
);
12069 if (PyErr_Occurred()) SWIG_fail
;
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 (arg1
)->SetCornerRadius(arg2
);
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12077 Py_INCREF(Py_None
); resultobj
= Py_None
;
12084 static PyObject
*_wrap_PyControlPoint_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12085 PyObject
*resultobj
;
12086 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12087 PyObject
* obj0
= 0 ;
12088 char *kwnames
[] = {
12089 (char *) "self", NULL
12092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControlPoint_base_OnDelete",kwnames
,&obj0
)) goto fail
;
12093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12097 (arg1
)->base_OnDelete();
12099 wxPyEndAllowThreads(__tstate
);
12100 if (PyErr_Occurred()) SWIG_fail
;
12102 Py_INCREF(Py_None
); resultobj
= Py_None
;
12109 static PyObject
*_wrap_PyControlPoint_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12110 PyObject
*resultobj
;
12111 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12113 PyObject
* obj0
= 0 ;
12114 PyObject
* obj1
= 0 ;
12115 char *kwnames
[] = {
12116 (char *) "self",(char *) "dc", NULL
12119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
12120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12122 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12123 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12125 if (arg2
== NULL
) {
12126 PyErr_SetString(PyExc_TypeError
,"null reference");
12130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12131 (arg1
)->base_OnDraw(*arg2
);
12133 wxPyEndAllowThreads(__tstate
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12136 Py_INCREF(Py_None
); resultobj
= Py_None
;
12143 static PyObject
*_wrap_PyControlPoint_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12144 PyObject
*resultobj
;
12145 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12147 PyObject
* obj0
= 0 ;
12148 PyObject
* obj1
= 0 ;
12149 char *kwnames
[] = {
12150 (char *) "self",(char *) "dc", NULL
12153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12157 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12159 if (arg2
== NULL
) {
12160 PyErr_SetString(PyExc_TypeError
,"null reference");
12164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12165 (arg1
)->base_OnDrawContents(*arg2
);
12167 wxPyEndAllowThreads(__tstate
);
12168 if (PyErr_Occurred()) SWIG_fail
;
12170 Py_INCREF(Py_None
); resultobj
= Py_None
;
12177 static PyObject
*_wrap_PyControlPoint_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12178 PyObject
*resultobj
;
12179 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12181 bool arg3
= (bool) FALSE
;
12182 PyObject
* obj0
= 0 ;
12183 PyObject
* obj1
= 0 ;
12184 PyObject
* obj2
= 0 ;
12185 char *kwnames
[] = {
12186 (char *) "self",(char *) "dc",(char *) "erase", NULL
12189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12193 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12195 if (arg2
== NULL
) {
12196 PyErr_SetString(PyExc_TypeError
,"null reference");
12200 arg3
= (bool) SWIG_AsBool(obj2
);
12201 if (PyErr_Occurred()) SWIG_fail
;
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12205 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12210 Py_INCREF(Py_None
); resultobj
= Py_None
;
12217 static PyObject
*_wrap_PyControlPoint_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12218 PyObject
*resultobj
;
12219 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12221 PyObject
* obj0
= 0 ;
12222 PyObject
* obj1
= 0 ;
12223 char *kwnames
[] = {
12224 (char *) "self",(char *) "dc", NULL
12227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
12228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12231 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12233 if (arg2
== NULL
) {
12234 PyErr_SetString(PyExc_TypeError
,"null reference");
12238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12239 (arg1
)->base_OnMoveLinks(*arg2
);
12241 wxPyEndAllowThreads(__tstate
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12244 Py_INCREF(Py_None
); resultobj
= Py_None
;
12251 static PyObject
*_wrap_PyControlPoint_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
;
12253 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12255 PyObject
* obj0
= 0 ;
12256 PyObject
* obj1
= 0 ;
12257 char *kwnames
[] = {
12258 (char *) "self",(char *) "dc", NULL
12261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
12262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12265 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12267 if (arg2
== NULL
) {
12268 PyErr_SetString(PyExc_TypeError
,"null reference");
12272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12273 (arg1
)->base_OnErase(*arg2
);
12275 wxPyEndAllowThreads(__tstate
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12278 Py_INCREF(Py_None
); resultobj
= Py_None
;
12285 static PyObject
*_wrap_PyControlPoint_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12286 PyObject
*resultobj
;
12287 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12289 PyObject
* obj0
= 0 ;
12290 PyObject
* obj1
= 0 ;
12291 char *kwnames
[] = {
12292 (char *) "self",(char *) "dc", NULL
12295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12299 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12301 if (arg2
== NULL
) {
12302 PyErr_SetString(PyExc_TypeError
,"null reference");
12306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12307 (arg1
)->base_OnEraseContents(*arg2
);
12309 wxPyEndAllowThreads(__tstate
);
12310 if (PyErr_Occurred()) SWIG_fail
;
12312 Py_INCREF(Py_None
); resultobj
= Py_None
;
12319 static PyObject
*_wrap_PyControlPoint_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12320 PyObject
*resultobj
;
12321 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12323 PyObject
* obj0
= 0 ;
12324 PyObject
* obj1
= 0 ;
12325 char *kwnames
[] = {
12326 (char *) "self",(char *) "dc", NULL
12329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
12330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12332 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12333 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12335 if (arg2
== NULL
) {
12336 PyErr_SetString(PyExc_TypeError
,"null reference");
12340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12341 (arg1
)->base_OnHighlight(*arg2
);
12343 wxPyEndAllowThreads(__tstate
);
12344 if (PyErr_Occurred()) SWIG_fail
;
12346 Py_INCREF(Py_None
); resultobj
= Py_None
;
12353 static PyObject
*_wrap_PyControlPoint_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12354 PyObject
*resultobj
;
12355 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12358 int arg4
= (int) 0 ;
12359 int arg5
= (int) 0 ;
12360 PyObject
* obj0
= 0 ;
12361 PyObject
* obj1
= 0 ;
12362 PyObject
* obj2
= 0 ;
12363 PyObject
* obj3
= 0 ;
12364 PyObject
* obj4
= 0 ;
12365 char *kwnames
[] = {
12366 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12372 arg2
= (double) SWIG_AsDouble(obj1
);
12373 if (PyErr_Occurred()) SWIG_fail
;
12374 arg3
= (double) SWIG_AsDouble(obj2
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12377 arg4
= (int) SWIG_AsInt(obj3
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12381 arg5
= (int) SWIG_AsInt(obj4
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12391 Py_INCREF(Py_None
); resultobj
= Py_None
;
12398 static PyObject
*_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12399 PyObject
*resultobj
;
12400 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12403 int arg4
= (int) 0 ;
12404 int arg5
= (int) 0 ;
12405 PyObject
* obj0
= 0 ;
12406 PyObject
* obj1
= 0 ;
12407 PyObject
* obj2
= 0 ;
12408 PyObject
* obj3
= 0 ;
12409 PyObject
* obj4
= 0 ;
12410 char *kwnames
[] = {
12411 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12417 arg2
= (double) SWIG_AsDouble(obj1
);
12418 if (PyErr_Occurred()) SWIG_fail
;
12419 arg3
= (double) SWIG_AsDouble(obj2
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12422 arg4
= (int) SWIG_AsInt(obj3
);
12423 if (PyErr_Occurred()) SWIG_fail
;
12426 arg5
= (int) SWIG_AsInt(obj4
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12431 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
12433 wxPyEndAllowThreads(__tstate
);
12434 if (PyErr_Occurred()) SWIG_fail
;
12436 Py_INCREF(Py_None
); resultobj
= Py_None
;
12443 static PyObject
*_wrap_PyControlPoint_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12444 PyObject
*resultobj
;
12445 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12448 int arg4
= (int) 0 ;
12449 int arg5
= (int) 0 ;
12450 PyObject
* obj0
= 0 ;
12451 PyObject
* obj1
= 0 ;
12452 PyObject
* obj2
= 0 ;
12453 PyObject
* obj3
= 0 ;
12454 PyObject
* obj4
= 0 ;
12455 char *kwnames
[] = {
12456 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12462 arg2
= (double) SWIG_AsDouble(obj1
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12464 arg3
= (double) SWIG_AsDouble(obj2
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 arg4
= (int) SWIG_AsInt(obj3
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12471 arg5
= (int) SWIG_AsInt(obj4
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12476 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
12478 wxPyEndAllowThreads(__tstate
);
12479 if (PyErr_Occurred()) SWIG_fail
;
12481 Py_INCREF(Py_None
); resultobj
= Py_None
;
12488 static PyObject
*_wrap_PyControlPoint_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12489 PyObject
*resultobj
;
12490 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12493 PyObject
* obj0
= 0 ;
12494 PyObject
* obj1
= 0 ;
12495 PyObject
* obj2
= 0 ;
12496 char *kwnames
[] = {
12497 (char *) "self",(char *) "x",(char *) "y", NULL
12500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12503 arg2
= (double) SWIG_AsDouble(obj1
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12505 arg3
= (double) SWIG_AsDouble(obj2
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12509 (arg1
)->base_OnSize(arg2
,arg3
);
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12514 Py_INCREF(Py_None
); resultobj
= Py_None
;
12521 static PyObject
*_wrap_PyControlPoint_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12522 PyObject
*resultobj
;
12523 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12529 bool arg7
= (bool) True
;
12531 PyObject
* obj0
= 0 ;
12532 PyObject
* obj1
= 0 ;
12533 PyObject
* obj2
= 0 ;
12534 PyObject
* obj3
= 0 ;
12535 PyObject
* obj4
= 0 ;
12536 PyObject
* obj5
= 0 ;
12537 PyObject
* obj6
= 0 ;
12538 char *kwnames
[] = {
12539 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12545 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12546 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12548 if (arg2
== NULL
) {
12549 PyErr_SetString(PyExc_TypeError
,"null reference");
12552 arg3
= (double) SWIG_AsDouble(obj2
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12554 arg4
= (double) SWIG_AsDouble(obj3
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12556 arg5
= (double) SWIG_AsDouble(obj4
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12558 arg6
= (double) SWIG_AsDouble(obj5
);
12559 if (PyErr_Occurred()) SWIG_fail
;
12561 arg7
= (bool) SWIG_AsBool(obj6
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12566 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12568 wxPyEndAllowThreads(__tstate
);
12569 if (PyErr_Occurred()) SWIG_fail
;
12572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12580 static PyObject
*_wrap_PyControlPoint_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12581 PyObject
*resultobj
;
12582 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12588 bool arg7
= (bool) True
;
12589 PyObject
* obj0
= 0 ;
12590 PyObject
* obj1
= 0 ;
12591 PyObject
* obj2
= 0 ;
12592 PyObject
* obj3
= 0 ;
12593 PyObject
* obj4
= 0 ;
12594 PyObject
* obj5
= 0 ;
12595 PyObject
* obj6
= 0 ;
12596 char *kwnames
[] = {
12597 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12604 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12606 if (arg2
== NULL
) {
12607 PyErr_SetString(PyExc_TypeError
,"null reference");
12610 arg3
= (double) SWIG_AsDouble(obj2
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12612 arg4
= (double) SWIG_AsDouble(obj3
);
12613 if (PyErr_Occurred()) SWIG_fail
;
12614 arg5
= (double) SWIG_AsDouble(obj4
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12616 arg6
= (double) SWIG_AsDouble(obj5
);
12617 if (PyErr_Occurred()) SWIG_fail
;
12619 arg7
= (bool) SWIG_AsBool(obj6
);
12620 if (PyErr_Occurred()) SWIG_fail
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12629 Py_INCREF(Py_None
); resultobj
= Py_None
;
12636 static PyObject
*_wrap_PyControlPoint_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
;
12638 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12642 int arg5
= (int) 0 ;
12643 int arg6
= (int) 0 ;
12644 PyObject
* obj0
= 0 ;
12645 PyObject
* obj1
= 0 ;
12646 PyObject
* obj2
= 0 ;
12647 PyObject
* obj3
= 0 ;
12648 PyObject
* obj4
= 0 ;
12649 PyObject
* obj5
= 0 ;
12650 char *kwnames
[] = {
12651 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12657 arg2
= (bool) SWIG_AsBool(obj1
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12659 arg3
= (double) SWIG_AsDouble(obj2
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12661 arg4
= (double) SWIG_AsDouble(obj3
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12664 arg5
= (int) SWIG_AsInt(obj4
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12668 arg6
= (int) SWIG_AsInt(obj5
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12678 Py_INCREF(Py_None
); resultobj
= Py_None
;
12685 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12686 PyObject
*resultobj
;
12687 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12690 int arg4
= (int) 0 ;
12691 int arg5
= (int) 0 ;
12692 PyObject
* obj0
= 0 ;
12693 PyObject
* obj1
= 0 ;
12694 PyObject
* obj2
= 0 ;
12695 PyObject
* obj3
= 0 ;
12696 PyObject
* obj4
= 0 ;
12697 char *kwnames
[] = {
12698 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12704 arg2
= (double) SWIG_AsDouble(obj1
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12706 arg3
= (double) SWIG_AsDouble(obj2
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12709 arg4
= (int) SWIG_AsInt(obj3
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12713 arg5
= (int) SWIG_AsInt(obj4
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
12720 wxPyEndAllowThreads(__tstate
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12723 Py_INCREF(Py_None
); resultobj
= Py_None
;
12730 static PyObject
*_wrap_PyControlPoint_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12731 PyObject
*resultobj
;
12732 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12735 int arg4
= (int) 0 ;
12736 int arg5
= (int) 0 ;
12737 PyObject
* obj0
= 0 ;
12738 PyObject
* obj1
= 0 ;
12739 PyObject
* obj2
= 0 ;
12740 PyObject
* obj3
= 0 ;
12741 PyObject
* obj4
= 0 ;
12742 char *kwnames
[] = {
12743 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12749 arg2
= (double) SWIG_AsDouble(obj1
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12751 arg3
= (double) SWIG_AsDouble(obj2
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12754 arg4
= (int) SWIG_AsInt(obj3
);
12755 if (PyErr_Occurred()) SWIG_fail
;
12758 arg5
= (int) SWIG_AsInt(obj4
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12763 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
12765 wxPyEndAllowThreads(__tstate
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12768 Py_INCREF(Py_None
); resultobj
= Py_None
;
12775 static PyObject
*_wrap_PyControlPoint_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12776 PyObject
*resultobj
;
12777 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12781 int arg5
= (int) 0 ;
12782 int arg6
= (int) 0 ;
12783 PyObject
* obj0
= 0 ;
12784 PyObject
* obj1
= 0 ;
12785 PyObject
* obj2
= 0 ;
12786 PyObject
* obj3
= 0 ;
12787 PyObject
* obj4
= 0 ;
12788 PyObject
* obj5
= 0 ;
12789 char *kwnames
[] = {
12790 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12796 arg2
= (bool) SWIG_AsBool(obj1
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12798 arg3
= (double) SWIG_AsDouble(obj2
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12800 arg4
= (double) SWIG_AsDouble(obj3
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12803 arg5
= (int) SWIG_AsInt(obj4
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12807 arg6
= (int) SWIG_AsInt(obj5
);
12808 if (PyErr_Occurred()) SWIG_fail
;
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12817 Py_INCREF(Py_None
); resultobj
= Py_None
;
12824 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12825 PyObject
*resultobj
;
12826 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12829 int arg4
= (int) 0 ;
12830 int arg5
= (int) 0 ;
12831 PyObject
* obj0
= 0 ;
12832 PyObject
* obj1
= 0 ;
12833 PyObject
* obj2
= 0 ;
12834 PyObject
* obj3
= 0 ;
12835 PyObject
* obj4
= 0 ;
12836 char *kwnames
[] = {
12837 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12843 arg2
= (double) SWIG_AsDouble(obj1
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12845 arg3
= (double) SWIG_AsDouble(obj2
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12848 arg4
= (int) SWIG_AsInt(obj3
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12852 arg5
= (int) SWIG_AsInt(obj4
);
12853 if (PyErr_Occurred()) SWIG_fail
;
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
12859 wxPyEndAllowThreads(__tstate
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12862 Py_INCREF(Py_None
); resultobj
= Py_None
;
12869 static PyObject
*_wrap_PyControlPoint_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12870 PyObject
*resultobj
;
12871 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12874 int arg4
= (int) 0 ;
12875 int arg5
= (int) 0 ;
12876 PyObject
* obj0
= 0 ;
12877 PyObject
* obj1
= 0 ;
12878 PyObject
* obj2
= 0 ;
12879 PyObject
* obj3
= 0 ;
12880 PyObject
* obj4
= 0 ;
12881 char *kwnames
[] = {
12882 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12888 arg2
= (double) SWIG_AsDouble(obj1
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12890 arg3
= (double) SWIG_AsDouble(obj2
);
12891 if (PyErr_Occurred()) SWIG_fail
;
12893 arg4
= (int) SWIG_AsInt(obj3
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12897 arg5
= (int) SWIG_AsInt(obj4
);
12898 if (PyErr_Occurred()) SWIG_fail
;
12901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12902 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12907 Py_INCREF(Py_None
); resultobj
= Py_None
;
12914 static PyObject
*_wrap_PyControlPoint_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12915 PyObject
*resultobj
;
12916 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12922 PyObject
* obj0
= 0 ;
12923 PyObject
* obj1
= 0 ;
12924 PyObject
* obj2
= 0 ;
12925 PyObject
* obj3
= 0 ;
12926 PyObject
* obj4
= 0 ;
12927 PyObject
* obj5
= 0 ;
12928 char *kwnames
[] = {
12929 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
12932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyControlPoint_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12938 if (arg2
== NULL
) {
12939 PyErr_SetString(PyExc_TypeError
,"null reference");
12942 arg3
= (double) SWIG_AsDouble(obj2
);
12943 if (PyErr_Occurred()) SWIG_fail
;
12944 arg4
= (double) SWIG_AsDouble(obj3
);
12945 if (PyErr_Occurred()) SWIG_fail
;
12946 arg5
= (double) SWIG_AsDouble(obj4
);
12947 if (PyErr_Occurred()) SWIG_fail
;
12948 arg6
= (double) SWIG_AsDouble(obj5
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12952 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
12954 wxPyEndAllowThreads(__tstate
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12957 Py_INCREF(Py_None
); resultobj
= Py_None
;
12964 static PyObject
*_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12965 PyObject
*resultobj
;
12966 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12968 PyObject
* obj0
= 0 ;
12969 PyObject
* obj1
= 0 ;
12970 char *kwnames
[] = {
12971 (char *) "self",(char *) "dc", NULL
12974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
12975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12978 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12980 if (arg2
== NULL
) {
12981 PyErr_SetString(PyExc_TypeError
,"null reference");
12985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12986 (arg1
)->base_OnDrawControlPoints(*arg2
);
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12991 Py_INCREF(Py_None
); resultobj
= Py_None
;
12998 static PyObject
*_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
;
13000 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13002 PyObject
* obj0
= 0 ;
13003 PyObject
* obj1
= 0 ;
13004 char *kwnames
[] = {
13005 (char *) "self",(char *) "dc", NULL
13008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13014 if (arg2
== NULL
) {
13015 PyErr_SetString(PyExc_TypeError
,"null reference");
13019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13020 (arg1
)->base_OnEraseControlPoints(*arg2
);
13022 wxPyEndAllowThreads(__tstate
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13025 Py_INCREF(Py_None
); resultobj
= Py_None
;
13032 static PyObject
*_wrap_PyControlPoint_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13033 PyObject
*resultobj
;
13034 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13036 bool arg3
= (bool) True
;
13037 PyObject
* obj0
= 0 ;
13038 PyObject
* obj1
= 0 ;
13039 PyObject
* obj2
= 0 ;
13040 char *kwnames
[] = {
13041 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13048 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13050 if (arg2
== NULL
) {
13051 PyErr_SetString(PyExc_TypeError
,"null reference");
13055 arg3
= (bool) SWIG_AsBool(obj2
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13060 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
13062 wxPyEndAllowThreads(__tstate
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13065 Py_INCREF(Py_None
); resultobj
= Py_None
;
13072 static PyObject
*_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
;
13074 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13075 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13079 int arg6
= (int) 0 ;
13080 int arg7
= (int) 0 ;
13081 PyObject
* obj0
= 0 ;
13082 PyObject
* obj1
= 0 ;
13083 PyObject
* obj2
= 0 ;
13084 PyObject
* obj3
= 0 ;
13085 PyObject
* obj4
= 0 ;
13086 PyObject
* obj5
= 0 ;
13087 PyObject
* obj6
= 0 ;
13088 char *kwnames
[] = {
13089 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyControlPoint_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13097 arg3
= (bool) SWIG_AsBool(obj2
);
13098 if (PyErr_Occurred()) SWIG_fail
;
13099 arg4
= (double) SWIG_AsDouble(obj3
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13101 arg5
= (double) SWIG_AsDouble(obj4
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 arg6
= (int) SWIG_AsInt(obj5
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13108 arg7
= (int) SWIG_AsInt(obj6
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13113 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13118 Py_INCREF(Py_None
); resultobj
= Py_None
;
13125 static PyObject
*_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13126 PyObject
*resultobj
;
13127 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13128 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13131 int arg5
= (int) 0 ;
13132 int arg6
= (int) 0 ;
13133 PyObject
* obj0
= 0 ;
13134 PyObject
* obj1
= 0 ;
13135 PyObject
* obj2
= 0 ;
13136 PyObject
* obj3
= 0 ;
13137 PyObject
* obj4
= 0 ;
13138 PyObject
* obj5
= 0 ;
13139 char *kwnames
[] = {
13140 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13148 arg3
= (double) SWIG_AsDouble(obj2
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13150 arg4
= (double) SWIG_AsDouble(obj3
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13153 arg5
= (int) SWIG_AsInt(obj4
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13157 arg6
= (int) SWIG_AsInt(obj5
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13162 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13164 wxPyEndAllowThreads(__tstate
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13167 Py_INCREF(Py_None
); resultobj
= Py_None
;
13174 static PyObject
*_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13175 PyObject
*resultobj
;
13176 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13177 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13180 int arg5
= (int) 0 ;
13181 int arg6
= (int) 0 ;
13182 PyObject
* obj0
= 0 ;
13183 PyObject
* obj1
= 0 ;
13184 PyObject
* obj2
= 0 ;
13185 PyObject
* obj3
= 0 ;
13186 PyObject
* obj4
= 0 ;
13187 PyObject
* obj5
= 0 ;
13188 char *kwnames
[] = {
13189 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13197 arg3
= (double) SWIG_AsDouble(obj2
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13199 arg4
= (double) SWIG_AsDouble(obj3
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13202 arg5
= (int) SWIG_AsInt(obj4
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13206 arg6
= (int) SWIG_AsInt(obj5
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13211 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13213 wxPyEndAllowThreads(__tstate
);
13214 if (PyErr_Occurred()) SWIG_fail
;
13216 Py_INCREF(Py_None
); resultobj
= Py_None
;
13223 static PyObject
*_wrap_PyControlPoint_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13224 PyObject
*resultobj
;
13225 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13228 PyObject
* obj0
= 0 ;
13229 PyObject
* obj1
= 0 ;
13230 PyObject
* obj2
= 0 ;
13231 char *kwnames
[] = {
13232 (char *) "self",(char *) "w",(char *) "h", NULL
13235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13238 arg2
= (double) SWIG_AsDouble(obj1
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13240 arg3
= (double) SWIG_AsDouble(obj2
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 (arg1
)->base_OnBeginSize(arg2
,arg3
);
13246 wxPyEndAllowThreads(__tstate
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13249 Py_INCREF(Py_None
); resultobj
= Py_None
;
13256 static PyObject
*_wrap_PyControlPoint_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13257 PyObject
*resultobj
;
13258 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13261 PyObject
* obj0
= 0 ;
13262 PyObject
* obj1
= 0 ;
13263 PyObject
* obj2
= 0 ;
13264 char *kwnames
[] = {
13265 (char *) "self",(char *) "w",(char *) "h", NULL
13268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13271 arg2
= (double) SWIG_AsDouble(obj1
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13273 arg3
= (double) SWIG_AsDouble(obj2
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13277 (arg1
)->base_OnEndSize(arg2
,arg3
);
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13282 Py_INCREF(Py_None
); resultobj
= Py_None
;
13289 static PyObject
* PyControlPoint_swigregister(PyObject
*self
, PyObject
*args
) {
13291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13292 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint
, obj
);
13294 return Py_BuildValue((char *)"");
13296 static PyObject
*_wrap_new_PyBitmapShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13297 PyObject
*resultobj
;
13298 wxPyBitmapShape
*result
;
13299 char *kwnames
[] = {
13303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyBitmapShape",kwnames
)) goto fail
;
13305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13306 result
= (wxPyBitmapShape
*)new wxPyBitmapShape();
13308 wxPyEndAllowThreads(__tstate
);
13309 if (PyErr_Occurred()) SWIG_fail
;
13311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapShape
, 1);
13318 static PyObject
*_wrap_PyBitmapShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13319 PyObject
*resultobj
;
13320 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13321 PyObject
*arg2
= (PyObject
*) 0 ;
13322 PyObject
*arg3
= (PyObject
*) 0 ;
13323 PyObject
* obj0
= 0 ;
13324 PyObject
* obj1
= 0 ;
13325 PyObject
* obj2
= 0 ;
13326 char *kwnames
[] = {
13327 (char *) "self",(char *) "self",(char *) "_class", NULL
13330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 Py_INCREF(Py_None
); resultobj
= Py_None
;
13349 static PyObject
*_wrap_PyBitmapShape_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13350 PyObject
*resultobj
;
13351 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13353 PyObject
* obj0
= 0 ;
13354 char *kwnames
[] = {
13355 (char *) "self", NULL
13358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetBitmap",kwnames
,&obj0
)) goto fail
;
13359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
13365 result
= (wxBitmap
*) &_result_ref
;
13368 wxPyEndAllowThreads(__tstate
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13372 wxBitmap
* resultptr
= new wxBitmap(*result
);
13373 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13381 static PyObject
*_wrap_PyBitmapShape_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
;
13383 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13385 PyObject
* obj0
= 0 ;
13386 char *kwnames
[] = {
13387 (char *) "self", NULL
13390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetFilename",kwnames
,&obj0
)) goto fail
;
13391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 result
= (arg1
)->GetFilename();
13397 wxPyEndAllowThreads(__tstate
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13413 static PyObject
*_wrap_PyBitmapShape_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13414 PyObject
*resultobj
;
13415 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13416 wxBitmap
*arg2
= 0 ;
13417 PyObject
* obj0
= 0 ;
13418 PyObject
* obj1
= 0 ;
13419 char *kwnames
[] = {
13420 (char *) "self",(char *) "bitmap", NULL
13423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
13427 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13429 if (arg2
== NULL
) {
13430 PyErr_SetString(PyExc_TypeError
,"null reference");
13434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13435 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
13437 wxPyEndAllowThreads(__tstate
);
13438 if (PyErr_Occurred()) SWIG_fail
;
13440 Py_INCREF(Py_None
); resultobj
= Py_None
;
13447 static PyObject
*_wrap_PyBitmapShape_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13448 PyObject
*resultobj
;
13449 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13450 wxString
*arg2
= 0 ;
13451 bool temp2
= False
;
13452 PyObject
* obj0
= 0 ;
13453 PyObject
* obj1
= 0 ;
13454 char *kwnames
[] = {
13455 (char *) "self",(char *) "filename", NULL
13458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
13459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13462 arg2
= wxString_in_helper(obj1
);
13463 if (arg2
== NULL
) SWIG_fail
;
13467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 (arg1
)->SetFilename((wxString
const &)*arg2
);
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13473 Py_INCREF(Py_None
); resultobj
= Py_None
;
13488 static PyObject
*_wrap_PyBitmapShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13489 PyObject
*resultobj
;
13490 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13491 PyObject
* obj0
= 0 ;
13492 char *kwnames
[] = {
13493 (char *) "self", NULL
13496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
13497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 (arg1
)->base_OnDelete();
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 Py_INCREF(Py_None
); resultobj
= Py_None
;
13513 static PyObject
*_wrap_PyBitmapShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
;
13515 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13517 PyObject
* obj0
= 0 ;
13518 PyObject
* obj1
= 0 ;
13519 char *kwnames
[] = {
13520 (char *) "self",(char *) "dc", NULL
13523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
13524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13526 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13527 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13529 if (arg2
== NULL
) {
13530 PyErr_SetString(PyExc_TypeError
,"null reference");
13534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13535 (arg1
)->base_OnDraw(*arg2
);
13537 wxPyEndAllowThreads(__tstate
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13540 Py_INCREF(Py_None
); resultobj
= Py_None
;
13547 static PyObject
*_wrap_PyBitmapShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13548 PyObject
*resultobj
;
13549 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13551 PyObject
* obj0
= 0 ;
13552 PyObject
* obj1
= 0 ;
13553 char *kwnames
[] = {
13554 (char *) "self",(char *) "dc", NULL
13557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13561 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13563 if (arg2
== NULL
) {
13564 PyErr_SetString(PyExc_TypeError
,"null reference");
13568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13569 (arg1
)->base_OnDrawContents(*arg2
);
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13574 Py_INCREF(Py_None
); resultobj
= Py_None
;
13581 static PyObject
*_wrap_PyBitmapShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13582 PyObject
*resultobj
;
13583 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13585 bool arg3
= (bool) FALSE
;
13586 PyObject
* obj0
= 0 ;
13587 PyObject
* obj1
= 0 ;
13588 PyObject
* obj2
= 0 ;
13589 char *kwnames
[] = {
13590 (char *) "self",(char *) "dc",(char *) "erase", NULL
13593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13599 if (arg2
== NULL
) {
13600 PyErr_SetString(PyExc_TypeError
,"null reference");
13604 arg3
= (bool) SWIG_AsBool(obj2
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
13611 wxPyEndAllowThreads(__tstate
);
13612 if (PyErr_Occurred()) SWIG_fail
;
13614 Py_INCREF(Py_None
); resultobj
= Py_None
;
13621 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13622 PyObject
*resultobj
;
13623 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13625 PyObject
* obj0
= 0 ;
13626 PyObject
* obj1
= 0 ;
13627 char *kwnames
[] = {
13628 (char *) "self",(char *) "dc", NULL
13631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
13632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13635 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13637 if (arg2
== NULL
) {
13638 PyErr_SetString(PyExc_TypeError
,"null reference");
13642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13643 (arg1
)->base_OnMoveLinks(*arg2
);
13645 wxPyEndAllowThreads(__tstate
);
13646 if (PyErr_Occurred()) SWIG_fail
;
13648 Py_INCREF(Py_None
); resultobj
= Py_None
;
13655 static PyObject
*_wrap_PyBitmapShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13656 PyObject
*resultobj
;
13657 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13659 PyObject
* obj0
= 0 ;
13660 PyObject
* obj1
= 0 ;
13661 char *kwnames
[] = {
13662 (char *) "self",(char *) "dc", NULL
13665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
13666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13671 if (arg2
== NULL
) {
13672 PyErr_SetString(PyExc_TypeError
,"null reference");
13676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13677 (arg1
)->base_OnErase(*arg2
);
13679 wxPyEndAllowThreads(__tstate
);
13680 if (PyErr_Occurred()) SWIG_fail
;
13682 Py_INCREF(Py_None
); resultobj
= Py_None
;
13689 static PyObject
*_wrap_PyBitmapShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13690 PyObject
*resultobj
;
13691 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13693 PyObject
* obj0
= 0 ;
13694 PyObject
* obj1
= 0 ;
13695 char *kwnames
[] = {
13696 (char *) "self",(char *) "dc", NULL
13699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13705 if (arg2
== NULL
) {
13706 PyErr_SetString(PyExc_TypeError
,"null reference");
13710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13711 (arg1
)->base_OnEraseContents(*arg2
);
13713 wxPyEndAllowThreads(__tstate
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13716 Py_INCREF(Py_None
); resultobj
= Py_None
;
13723 static PyObject
*_wrap_PyBitmapShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13724 PyObject
*resultobj
;
13725 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13727 PyObject
* obj0
= 0 ;
13728 PyObject
* obj1
= 0 ;
13729 char *kwnames
[] = {
13730 (char *) "self",(char *) "dc", NULL
13733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
13734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13737 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13739 if (arg2
== NULL
) {
13740 PyErr_SetString(PyExc_TypeError
,"null reference");
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 (arg1
)->base_OnHighlight(*arg2
);
13747 wxPyEndAllowThreads(__tstate
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13750 Py_INCREF(Py_None
); resultobj
= Py_None
;
13757 static PyObject
*_wrap_PyBitmapShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13758 PyObject
*resultobj
;
13759 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13762 int arg4
= (int) 0 ;
13763 int arg5
= (int) 0 ;
13764 PyObject
* obj0
= 0 ;
13765 PyObject
* obj1
= 0 ;
13766 PyObject
* obj2
= 0 ;
13767 PyObject
* obj3
= 0 ;
13768 PyObject
* obj4
= 0 ;
13769 char *kwnames
[] = {
13770 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13776 arg2
= (double) SWIG_AsDouble(obj1
);
13777 if (PyErr_Occurred()) SWIG_fail
;
13778 arg3
= (double) SWIG_AsDouble(obj2
);
13779 if (PyErr_Occurred()) SWIG_fail
;
13781 arg4
= (int) SWIG_AsInt(obj3
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13785 arg5
= (int) SWIG_AsInt(obj4
);
13786 if (PyErr_Occurred()) SWIG_fail
;
13789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13790 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
13792 wxPyEndAllowThreads(__tstate
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13795 Py_INCREF(Py_None
); resultobj
= Py_None
;
13802 static PyObject
*_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13803 PyObject
*resultobj
;
13804 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13807 int arg4
= (int) 0 ;
13808 int arg5
= (int) 0 ;
13809 PyObject
* obj0
= 0 ;
13810 PyObject
* obj1
= 0 ;
13811 PyObject
* obj2
= 0 ;
13812 PyObject
* obj3
= 0 ;
13813 PyObject
* obj4
= 0 ;
13814 char *kwnames
[] = {
13815 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13821 arg2
= (double) SWIG_AsDouble(obj1
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13823 arg3
= (double) SWIG_AsDouble(obj2
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13826 arg4
= (int) SWIG_AsInt(obj3
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13830 arg5
= (int) SWIG_AsInt(obj4
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13840 Py_INCREF(Py_None
); resultobj
= Py_None
;
13847 static PyObject
*_wrap_PyBitmapShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13848 PyObject
*resultobj
;
13849 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13852 int arg4
= (int) 0 ;
13853 int arg5
= (int) 0 ;
13854 PyObject
* obj0
= 0 ;
13855 PyObject
* obj1
= 0 ;
13856 PyObject
* obj2
= 0 ;
13857 PyObject
* obj3
= 0 ;
13858 PyObject
* obj4
= 0 ;
13859 char *kwnames
[] = {
13860 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13866 arg2
= (double) SWIG_AsDouble(obj1
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13868 arg3
= (double) SWIG_AsDouble(obj2
);
13869 if (PyErr_Occurred()) SWIG_fail
;
13871 arg4
= (int) SWIG_AsInt(obj3
);
13872 if (PyErr_Occurred()) SWIG_fail
;
13875 arg5
= (int) SWIG_AsInt(obj4
);
13876 if (PyErr_Occurred()) SWIG_fail
;
13879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13880 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
13882 wxPyEndAllowThreads(__tstate
);
13883 if (PyErr_Occurred()) SWIG_fail
;
13885 Py_INCREF(Py_None
); resultobj
= Py_None
;
13892 static PyObject
*_wrap_PyBitmapShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13893 PyObject
*resultobj
;
13894 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13897 PyObject
* obj0
= 0 ;
13898 PyObject
* obj1
= 0 ;
13899 PyObject
* obj2
= 0 ;
13900 char *kwnames
[] = {
13901 (char *) "self",(char *) "x",(char *) "y", NULL
13904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13907 arg2
= (double) SWIG_AsDouble(obj1
);
13908 if (PyErr_Occurred()) SWIG_fail
;
13909 arg3
= (double) SWIG_AsDouble(obj2
);
13910 if (PyErr_Occurred()) SWIG_fail
;
13912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 (arg1
)->base_OnSize(arg2
,arg3
);
13915 wxPyEndAllowThreads(__tstate
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13918 Py_INCREF(Py_None
); resultobj
= Py_None
;
13925 static PyObject
*_wrap_PyBitmapShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13926 PyObject
*resultobj
;
13927 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13933 bool arg7
= (bool) True
;
13935 PyObject
* obj0
= 0 ;
13936 PyObject
* obj1
= 0 ;
13937 PyObject
* obj2
= 0 ;
13938 PyObject
* obj3
= 0 ;
13939 PyObject
* obj4
= 0 ;
13940 PyObject
* obj5
= 0 ;
13941 PyObject
* obj6
= 0 ;
13942 char *kwnames
[] = {
13943 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13950 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13952 if (arg2
== NULL
) {
13953 PyErr_SetString(PyExc_TypeError
,"null reference");
13956 arg3
= (double) SWIG_AsDouble(obj2
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13958 arg4
= (double) SWIG_AsDouble(obj3
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13960 arg5
= (double) SWIG_AsDouble(obj4
);
13961 if (PyErr_Occurred()) SWIG_fail
;
13962 arg6
= (double) SWIG_AsDouble(obj5
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13965 arg7
= (bool) SWIG_AsBool(obj6
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13970 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13972 wxPyEndAllowThreads(__tstate
);
13973 if (PyErr_Occurred()) SWIG_fail
;
13976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13984 static PyObject
*_wrap_PyBitmapShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13985 PyObject
*resultobj
;
13986 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13992 bool arg7
= (bool) True
;
13993 PyObject
* obj0
= 0 ;
13994 PyObject
* obj1
= 0 ;
13995 PyObject
* obj2
= 0 ;
13996 PyObject
* obj3
= 0 ;
13997 PyObject
* obj4
= 0 ;
13998 PyObject
* obj5
= 0 ;
13999 PyObject
* obj6
= 0 ;
14000 char *kwnames
[] = {
14001 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14008 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14010 if (arg2
== NULL
) {
14011 PyErr_SetString(PyExc_TypeError
,"null reference");
14014 arg3
= (double) SWIG_AsDouble(obj2
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14016 arg4
= (double) SWIG_AsDouble(obj3
);
14017 if (PyErr_Occurred()) SWIG_fail
;
14018 arg5
= (double) SWIG_AsDouble(obj4
);
14019 if (PyErr_Occurred()) SWIG_fail
;
14020 arg6
= (double) SWIG_AsDouble(obj5
);
14021 if (PyErr_Occurred()) SWIG_fail
;
14023 arg7
= (bool) SWIG_AsBool(obj6
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14028 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14030 wxPyEndAllowThreads(__tstate
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14033 Py_INCREF(Py_None
); resultobj
= Py_None
;
14040 static PyObject
*_wrap_PyBitmapShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14041 PyObject
*resultobj
;
14042 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14046 int arg5
= (int) 0 ;
14047 int arg6
= (int) 0 ;
14048 PyObject
* obj0
= 0 ;
14049 PyObject
* obj1
= 0 ;
14050 PyObject
* obj2
= 0 ;
14051 PyObject
* obj3
= 0 ;
14052 PyObject
* obj4
= 0 ;
14053 PyObject
* obj5
= 0 ;
14054 char *kwnames
[] = {
14055 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14061 arg2
= (bool) SWIG_AsBool(obj1
);
14062 if (PyErr_Occurred()) SWIG_fail
;
14063 arg3
= (double) SWIG_AsDouble(obj2
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14065 arg4
= (double) SWIG_AsDouble(obj3
);
14066 if (PyErr_Occurred()) SWIG_fail
;
14068 arg5
= (int) SWIG_AsInt(obj4
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14072 arg6
= (int) SWIG_AsInt(obj5
);
14073 if (PyErr_Occurred()) SWIG_fail
;
14076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14077 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14079 wxPyEndAllowThreads(__tstate
);
14080 if (PyErr_Occurred()) SWIG_fail
;
14082 Py_INCREF(Py_None
); resultobj
= Py_None
;
14089 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14090 PyObject
*resultobj
;
14091 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14094 int arg4
= (int) 0 ;
14095 int arg5
= (int) 0 ;
14096 PyObject
* obj0
= 0 ;
14097 PyObject
* obj1
= 0 ;
14098 PyObject
* obj2
= 0 ;
14099 PyObject
* obj3
= 0 ;
14100 PyObject
* obj4
= 0 ;
14101 char *kwnames
[] = {
14102 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14108 arg2
= (double) SWIG_AsDouble(obj1
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14110 arg3
= (double) SWIG_AsDouble(obj2
);
14111 if (PyErr_Occurred()) SWIG_fail
;
14113 arg4
= (int) SWIG_AsInt(obj3
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14117 arg5
= (int) SWIG_AsInt(obj4
);
14118 if (PyErr_Occurred()) SWIG_fail
;
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14127 Py_INCREF(Py_None
); resultobj
= Py_None
;
14134 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14135 PyObject
*resultobj
;
14136 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14139 int arg4
= (int) 0 ;
14140 int arg5
= (int) 0 ;
14141 PyObject
* obj0
= 0 ;
14142 PyObject
* obj1
= 0 ;
14143 PyObject
* obj2
= 0 ;
14144 PyObject
* obj3
= 0 ;
14145 PyObject
* obj4
= 0 ;
14146 char *kwnames
[] = {
14147 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14153 arg2
= (double) SWIG_AsDouble(obj1
);
14154 if (PyErr_Occurred()) SWIG_fail
;
14155 arg3
= (double) SWIG_AsDouble(obj2
);
14156 if (PyErr_Occurred()) SWIG_fail
;
14158 arg4
= (int) SWIG_AsInt(obj3
);
14159 if (PyErr_Occurred()) SWIG_fail
;
14162 arg5
= (int) SWIG_AsInt(obj4
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14167 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14172 Py_INCREF(Py_None
); resultobj
= Py_None
;
14179 static PyObject
*_wrap_PyBitmapShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14180 PyObject
*resultobj
;
14181 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14185 int arg5
= (int) 0 ;
14186 int arg6
= (int) 0 ;
14187 PyObject
* obj0
= 0 ;
14188 PyObject
* obj1
= 0 ;
14189 PyObject
* obj2
= 0 ;
14190 PyObject
* obj3
= 0 ;
14191 PyObject
* obj4
= 0 ;
14192 PyObject
* obj5
= 0 ;
14193 char *kwnames
[] = {
14194 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14200 arg2
= (bool) SWIG_AsBool(obj1
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14202 arg3
= (double) SWIG_AsDouble(obj2
);
14203 if (PyErr_Occurred()) SWIG_fail
;
14204 arg4
= (double) SWIG_AsDouble(obj3
);
14205 if (PyErr_Occurred()) SWIG_fail
;
14207 arg5
= (int) SWIG_AsInt(obj4
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14211 arg6
= (int) SWIG_AsInt(obj5
);
14212 if (PyErr_Occurred()) SWIG_fail
;
14215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14216 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
14218 wxPyEndAllowThreads(__tstate
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14221 Py_INCREF(Py_None
); resultobj
= Py_None
;
14228 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14229 PyObject
*resultobj
;
14230 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14233 int arg4
= (int) 0 ;
14234 int arg5
= (int) 0 ;
14235 PyObject
* obj0
= 0 ;
14236 PyObject
* obj1
= 0 ;
14237 PyObject
* obj2
= 0 ;
14238 PyObject
* obj3
= 0 ;
14239 PyObject
* obj4
= 0 ;
14240 char *kwnames
[] = {
14241 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14247 arg2
= (double) SWIG_AsDouble(obj1
);
14248 if (PyErr_Occurred()) SWIG_fail
;
14249 arg3
= (double) SWIG_AsDouble(obj2
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14252 arg4
= (int) SWIG_AsInt(obj3
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14256 arg5
= (int) SWIG_AsInt(obj4
);
14257 if (PyErr_Occurred()) SWIG_fail
;
14260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14261 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14266 Py_INCREF(Py_None
); resultobj
= Py_None
;
14273 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14274 PyObject
*resultobj
;
14275 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14278 int arg4
= (int) 0 ;
14279 int arg5
= (int) 0 ;
14280 PyObject
* obj0
= 0 ;
14281 PyObject
* obj1
= 0 ;
14282 PyObject
* obj2
= 0 ;
14283 PyObject
* obj3
= 0 ;
14284 PyObject
* obj4
= 0 ;
14285 char *kwnames
[] = {
14286 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14292 arg2
= (double) SWIG_AsDouble(obj1
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14294 arg3
= (double) SWIG_AsDouble(obj2
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14297 arg4
= (int) SWIG_AsInt(obj3
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14301 arg5
= (int) SWIG_AsInt(obj4
);
14302 if (PyErr_Occurred()) SWIG_fail
;
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14306 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14311 Py_INCREF(Py_None
); resultobj
= Py_None
;
14318 static PyObject
*_wrap_PyBitmapShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14319 PyObject
*resultobj
;
14320 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14326 PyObject
* obj0
= 0 ;
14327 PyObject
* obj1
= 0 ;
14328 PyObject
* obj2
= 0 ;
14329 PyObject
* obj3
= 0 ;
14330 PyObject
* obj4
= 0 ;
14331 PyObject
* obj5
= 0 ;
14332 char *kwnames
[] = {
14333 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyBitmapShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14340 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14342 if (arg2
== NULL
) {
14343 PyErr_SetString(PyExc_TypeError
,"null reference");
14346 arg3
= (double) SWIG_AsDouble(obj2
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14348 arg4
= (double) SWIG_AsDouble(obj3
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14350 arg5
= (double) SWIG_AsDouble(obj4
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14352 arg6
= (double) SWIG_AsDouble(obj5
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14356 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
14358 wxPyEndAllowThreads(__tstate
);
14359 if (PyErr_Occurred()) SWIG_fail
;
14361 Py_INCREF(Py_None
); resultobj
= Py_None
;
14368 static PyObject
*_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14369 PyObject
*resultobj
;
14370 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14372 PyObject
* obj0
= 0 ;
14373 PyObject
* obj1
= 0 ;
14374 char *kwnames
[] = {
14375 (char *) "self",(char *) "dc", NULL
14378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14381 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14382 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14384 if (arg2
== NULL
) {
14385 PyErr_SetString(PyExc_TypeError
,"null reference");
14389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14390 (arg1
)->base_OnDrawControlPoints(*arg2
);
14392 wxPyEndAllowThreads(__tstate
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14395 Py_INCREF(Py_None
); resultobj
= Py_None
;
14402 static PyObject
*_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14403 PyObject
*resultobj
;
14404 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14406 PyObject
* obj0
= 0 ;
14407 PyObject
* obj1
= 0 ;
14408 char *kwnames
[] = {
14409 (char *) "self",(char *) "dc", NULL
14412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14416 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14418 if (arg2
== NULL
) {
14419 PyErr_SetString(PyExc_TypeError
,"null reference");
14423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 (arg1
)->base_OnEraseControlPoints(*arg2
);
14426 wxPyEndAllowThreads(__tstate
);
14427 if (PyErr_Occurred()) SWIG_fail
;
14429 Py_INCREF(Py_None
); resultobj
= Py_None
;
14436 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14437 PyObject
*resultobj
;
14438 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14440 bool arg3
= (bool) True
;
14441 PyObject
* obj0
= 0 ;
14442 PyObject
* obj1
= 0 ;
14443 PyObject
* obj2
= 0 ;
14444 char *kwnames
[] = {
14445 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
14448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14452 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14454 if (arg2
== NULL
) {
14455 PyErr_SetString(PyExc_TypeError
,"null reference");
14459 arg3
= (bool) SWIG_AsBool(obj2
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14464 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
14466 wxPyEndAllowThreads(__tstate
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14469 Py_INCREF(Py_None
); resultobj
= Py_None
;
14476 static PyObject
*_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14477 PyObject
*resultobj
;
14478 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14479 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14483 int arg6
= (int) 0 ;
14484 int arg7
= (int) 0 ;
14485 PyObject
* obj0
= 0 ;
14486 PyObject
* obj1
= 0 ;
14487 PyObject
* obj2
= 0 ;
14488 PyObject
* obj3
= 0 ;
14489 PyObject
* obj4
= 0 ;
14490 PyObject
* obj5
= 0 ;
14491 PyObject
* obj6
= 0 ;
14492 char *kwnames
[] = {
14493 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyBitmapShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14501 arg3
= (bool) SWIG_AsBool(obj2
);
14502 if (PyErr_Occurred()) SWIG_fail
;
14503 arg4
= (double) SWIG_AsDouble(obj3
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14505 arg5
= (double) SWIG_AsDouble(obj4
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14508 arg6
= (int) SWIG_AsInt(obj5
);
14509 if (PyErr_Occurred()) SWIG_fail
;
14512 arg7
= (int) SWIG_AsInt(obj6
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14519 wxPyEndAllowThreads(__tstate
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14522 Py_INCREF(Py_None
); resultobj
= Py_None
;
14529 static PyObject
*_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14530 PyObject
*resultobj
;
14531 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14532 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14535 int arg5
= (int) 0 ;
14536 int arg6
= (int) 0 ;
14537 PyObject
* obj0
= 0 ;
14538 PyObject
* obj1
= 0 ;
14539 PyObject
* obj2
= 0 ;
14540 PyObject
* obj3
= 0 ;
14541 PyObject
* obj4
= 0 ;
14542 PyObject
* obj5
= 0 ;
14543 char *kwnames
[] = {
14544 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14552 arg3
= (double) SWIG_AsDouble(obj2
);
14553 if (PyErr_Occurred()) SWIG_fail
;
14554 arg4
= (double) SWIG_AsDouble(obj3
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 arg5
= (int) SWIG_AsInt(obj4
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14561 arg6
= (int) SWIG_AsInt(obj5
);
14562 if (PyErr_Occurred()) SWIG_fail
;
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14568 wxPyEndAllowThreads(__tstate
);
14569 if (PyErr_Occurred()) SWIG_fail
;
14571 Py_INCREF(Py_None
); resultobj
= Py_None
;
14578 static PyObject
*_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14579 PyObject
*resultobj
;
14580 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14581 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14584 int arg5
= (int) 0 ;
14585 int arg6
= (int) 0 ;
14586 PyObject
* obj0
= 0 ;
14587 PyObject
* obj1
= 0 ;
14588 PyObject
* obj2
= 0 ;
14589 PyObject
* obj3
= 0 ;
14590 PyObject
* obj4
= 0 ;
14591 PyObject
* obj5
= 0 ;
14592 char *kwnames
[] = {
14593 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14601 arg3
= (double) SWIG_AsDouble(obj2
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14603 arg4
= (double) SWIG_AsDouble(obj3
);
14604 if (PyErr_Occurred()) SWIG_fail
;
14606 arg5
= (int) SWIG_AsInt(obj4
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14610 arg6
= (int) SWIG_AsInt(obj5
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14615 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14617 wxPyEndAllowThreads(__tstate
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14620 Py_INCREF(Py_None
); resultobj
= Py_None
;
14627 static PyObject
*_wrap_PyBitmapShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14628 PyObject
*resultobj
;
14629 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14632 PyObject
* obj0
= 0 ;
14633 PyObject
* obj1
= 0 ;
14634 PyObject
* obj2
= 0 ;
14635 char *kwnames
[] = {
14636 (char *) "self",(char *) "w",(char *) "h", NULL
14639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14642 arg2
= (double) SWIG_AsDouble(obj1
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14644 arg3
= (double) SWIG_AsDouble(obj2
);
14645 if (PyErr_Occurred()) SWIG_fail
;
14647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14648 (arg1
)->base_OnBeginSize(arg2
,arg3
);
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14653 Py_INCREF(Py_None
); resultobj
= Py_None
;
14660 static PyObject
*_wrap_PyBitmapShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
;
14662 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14665 PyObject
* obj0
= 0 ;
14666 PyObject
* obj1
= 0 ;
14667 PyObject
* obj2
= 0 ;
14668 char *kwnames
[] = {
14669 (char *) "self",(char *) "w",(char *) "h", NULL
14672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14675 arg2
= (double) SWIG_AsDouble(obj1
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14677 arg3
= (double) SWIG_AsDouble(obj2
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14681 (arg1
)->base_OnEndSize(arg2
,arg3
);
14683 wxPyEndAllowThreads(__tstate
);
14684 if (PyErr_Occurred()) SWIG_fail
;
14686 Py_INCREF(Py_None
); resultobj
= Py_None
;
14693 static PyObject
* PyBitmapShape_swigregister(PyObject
*self
, PyObject
*args
) {
14695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14696 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape
, obj
);
14698 return Py_BuildValue((char *)"");
14700 static PyObject
*_wrap_new_PyDrawnShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14701 PyObject
*resultobj
;
14702 wxPyDrawnShape
*result
;
14703 char *kwnames
[] = {
14707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDrawnShape",kwnames
)) goto fail
;
14709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14710 result
= (wxPyDrawnShape
*)new wxPyDrawnShape();
14712 wxPyEndAllowThreads(__tstate
);
14713 if (PyErr_Occurred()) SWIG_fail
;
14715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDrawnShape
, 1);
14722 static PyObject
*_wrap_PyDrawnShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14723 PyObject
*resultobj
;
14724 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14725 PyObject
*arg2
= (PyObject
*) 0 ;
14726 PyObject
*arg3
= (PyObject
*) 0 ;
14727 PyObject
* obj0
= 0 ;
14728 PyObject
* obj1
= 0 ;
14729 PyObject
* obj2
= 0 ;
14730 char *kwnames
[] = {
14731 (char *) "self",(char *) "self",(char *) "_class", NULL
14734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14741 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14743 wxPyEndAllowThreads(__tstate
);
14744 if (PyErr_Occurred()) SWIG_fail
;
14746 Py_INCREF(Py_None
); resultobj
= Py_None
;
14753 static PyObject
*_wrap_PyDrawnShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14754 PyObject
*resultobj
;
14755 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14756 PyObject
* obj0
= 0 ;
14757 char *kwnames
[] = {
14758 (char *) "self", NULL
14761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
14762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14766 (arg1
)->CalculateSize();
14768 wxPyEndAllowThreads(__tstate
);
14769 if (PyErr_Occurred()) SWIG_fail
;
14771 Py_INCREF(Py_None
); resultobj
= Py_None
;
14778 static PyObject
*_wrap_PyDrawnShape_DestroyClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14779 PyObject
*resultobj
;
14780 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14781 PyObject
* obj0
= 0 ;
14782 char *kwnames
[] = {
14783 (char *) "self", NULL
14786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
14787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14791 (arg1
)->DestroyClippingRect();
14793 wxPyEndAllowThreads(__tstate
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14796 Py_INCREF(Py_None
); resultobj
= Py_None
;
14803 static PyObject
*_wrap_PyDrawnShape_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14804 PyObject
*resultobj
;
14805 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14806 wxPoint
*arg2
= 0 ;
14807 wxPoint
*arg3
= 0 ;
14808 wxPoint
*arg4
= 0 ;
14812 PyObject
* obj0
= 0 ;
14813 PyObject
* obj1
= 0 ;
14814 PyObject
* obj2
= 0 ;
14815 PyObject
* obj3
= 0 ;
14816 char *kwnames
[] = {
14817 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
14820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14825 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14829 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14833 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14837 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
14839 wxPyEndAllowThreads(__tstate
);
14840 if (PyErr_Occurred()) SWIG_fail
;
14842 Py_INCREF(Py_None
); resultobj
= Py_None
;
14849 static PyObject
*_wrap_PyDrawnShape_DrawAtAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14850 PyObject
*resultobj
;
14851 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14853 PyObject
* obj0
= 0 ;
14854 PyObject
* obj1
= 0 ;
14855 char *kwnames
[] = {
14856 (char *) "self",(char *) "angle", NULL
14859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawAtAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
14860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14862 arg2
= (int) SWIG_AsInt(obj1
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14866 (arg1
)->DrawAtAngle(arg2
);
14868 wxPyEndAllowThreads(__tstate
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14871 Py_INCREF(Py_None
); resultobj
= Py_None
;
14878 static PyObject
*_wrap_PyDrawnShape_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
;
14880 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14885 PyObject
* obj0
= 0 ;
14886 PyObject
* obj1
= 0 ;
14887 PyObject
* obj2
= 0 ;
14888 PyObject
* obj3
= 0 ;
14889 char *kwnames
[] = {
14890 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
14893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14898 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14900 arg3
= (double) SWIG_AsDouble(obj2
);
14901 if (PyErr_Occurred()) SWIG_fail
;
14902 arg4
= (double) SWIG_AsDouble(obj3
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14906 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
14908 wxPyEndAllowThreads(__tstate
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14911 Py_INCREF(Py_None
); resultobj
= Py_None
;
14918 static PyObject
*_wrap_PyDrawnShape_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14919 PyObject
*resultobj
;
14920 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14921 wxPoint
*arg2
= 0 ;
14922 wxPoint
*arg3
= 0 ;
14925 PyObject
* obj0
= 0 ;
14926 PyObject
* obj1
= 0 ;
14927 PyObject
* obj2
= 0 ;
14928 char *kwnames
[] = {
14929 (char *) "self",(char *) "point1",(char *) "point2", NULL
14932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14937 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14941 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14945 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14950 Py_INCREF(Py_None
); resultobj
= Py_None
;
14957 static PyObject
*_wrap_PyDrawnShape_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14958 PyObject
*resultobj
;
14959 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14961 wxPoint
*arg3
= (wxPoint
*) 0 ;
14962 PyObject
* obj0
= 0 ;
14963 PyObject
* obj1
= 0 ;
14964 PyObject
* obj2
= 0 ;
14965 char *kwnames
[] = {
14966 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
14969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14972 arg2
= (int) SWIG_AsInt(obj1
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14974 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
14975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14978 (arg1
)->DrawLines(arg2
,arg3
);
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14983 Py_INCREF(Py_None
); resultobj
= Py_None
;
14990 static PyObject
*_wrap_PyDrawnShape_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14991 PyObject
*resultobj
;
14992 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14993 wxPoint
*arg2
= 0 ;
14995 PyObject
* obj0
= 0 ;
14996 PyObject
* obj1
= 0 ;
14997 char *kwnames
[] = {
14998 (char *) "self",(char *) "point", NULL
15001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
15002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15006 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15010 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
15012 wxPyEndAllowThreads(__tstate
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15015 Py_INCREF(Py_None
); resultobj
= Py_None
;
15022 static PyObject
*_wrap_PyDrawnShape_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
;
15024 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15026 wxPoint
*arg3
= (wxPoint
*) 0 ;
15027 int arg4
= (int) 0 ;
15028 PyObject
* obj0
= 0 ;
15029 PyObject
* obj1
= 0 ;
15030 PyObject
* obj2
= 0 ;
15031 PyObject
* obj3
= 0 ;
15032 char *kwnames
[] = {
15033 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
15036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyDrawnShape_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15039 arg2
= (int) SWIG_AsInt(obj1
);
15040 if (PyErr_Occurred()) SWIG_fail
;
15041 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
15042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15044 arg4
= (int) SWIG_AsInt(obj3
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15049 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
15051 wxPyEndAllowThreads(__tstate
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15054 Py_INCREF(Py_None
); resultobj
= Py_None
;
15061 static PyObject
*_wrap_PyDrawnShape_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15062 PyObject
*resultobj
;
15063 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15066 PyObject
* obj0
= 0 ;
15067 PyObject
* obj1
= 0 ;
15068 char *kwnames
[] = {
15069 (char *) "self",(char *) "rect", NULL
15072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
15073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15077 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15081 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
15083 wxPyEndAllowThreads(__tstate
);
15084 if (PyErr_Occurred()) SWIG_fail
;
15086 Py_INCREF(Py_None
); resultobj
= Py_None
;
15093 static PyObject
*_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15094 PyObject
*resultobj
;
15095 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15099 PyObject
* obj0
= 0 ;
15100 PyObject
* obj1
= 0 ;
15101 PyObject
* obj2
= 0 ;
15102 char *kwnames
[] = {
15103 (char *) "self",(char *) "rect",(char *) "radius", NULL
15106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15111 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15113 arg3
= (double) SWIG_AsDouble(obj2
);
15114 if (PyErr_Occurred()) SWIG_fail
;
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
15119 wxPyEndAllowThreads(__tstate
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15122 Py_INCREF(Py_None
); resultobj
= Py_None
;
15129 static PyObject
*_wrap_PyDrawnShape_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15130 PyObject
*resultobj
;
15131 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15133 wxPoint
*arg3
= (wxPoint
*) 0 ;
15134 PyObject
* obj0
= 0 ;
15135 PyObject
* obj1
= 0 ;
15136 PyObject
* obj2
= 0 ;
15137 char *kwnames
[] = {
15138 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
15141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawSpline",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15144 arg2
= (int) SWIG_AsInt(obj1
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15146 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
15147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15150 (arg1
)->DrawSpline(arg2
,arg3
);
15152 wxPyEndAllowThreads(__tstate
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15155 Py_INCREF(Py_None
); resultobj
= Py_None
;
15162 static PyObject
*_wrap_PyDrawnShape_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15163 PyObject
*resultobj
;
15164 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15165 wxString
*arg2
= 0 ;
15166 wxPoint
*arg3
= 0 ;
15167 bool temp2
= False
;
15169 PyObject
* obj0
= 0 ;
15170 PyObject
* obj1
= 0 ;
15171 PyObject
* obj2
= 0 ;
15172 char *kwnames
[] = {
15173 (char *) "self",(char *) "text",(char *) "point", NULL
15176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15180 arg2
= wxString_in_helper(obj1
);
15181 if (arg2
== NULL
) SWIG_fail
;
15186 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15190 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
15192 wxPyEndAllowThreads(__tstate
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15195 Py_INCREF(Py_None
); resultobj
= Py_None
;
15210 static PyObject
*_wrap_PyDrawnShape_GetAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
;
15212 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15214 PyObject
* obj0
= 0 ;
15215 char *kwnames
[] = {
15216 (char *) "self", NULL
15219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetAngle",kwnames
,&obj0
)) goto fail
;
15220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15224 result
= (int)(arg1
)->GetAngle();
15226 wxPyEndAllowThreads(__tstate
);
15227 if (PyErr_Occurred()) SWIG_fail
;
15229 resultobj
= SWIG_FromInt((int)result
);
15236 static PyObject
*_wrap_PyDrawnShape_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
;
15238 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15239 wxPseudoMetaFile
*result
;
15240 PyObject
* obj0
= 0 ;
15241 char *kwnames
[] = {
15242 (char *) "self", NULL
15245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetMetaFile",kwnames
,&obj0
)) goto fail
;
15246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15251 wxPseudoMetaFile
&_result_ref
= (arg1
)->GetMetaFile();
15252 result
= (wxPseudoMetaFile
*) &_result_ref
;
15255 wxPyEndAllowThreads(__tstate
);
15256 if (PyErr_Occurred()) SWIG_fail
;
15258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPseudoMetaFile
, 0);
15265 static PyObject
*_wrap_PyDrawnShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15266 PyObject
*resultobj
;
15267 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15269 PyObject
* obj0
= 0 ;
15270 char *kwnames
[] = {
15271 (char *) "self", NULL
15274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetRotation",kwnames
,&obj0
)) goto fail
;
15275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15279 result
= (double)(arg1
)->GetRotation();
15281 wxPyEndAllowThreads(__tstate
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15284 resultobj
= SWIG_FromDouble((double)result
);
15291 static PyObject
*_wrap_PyDrawnShape_LoadFromMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15292 PyObject
*resultobj
;
15293 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15294 wxString
*arg2
= 0 ;
15296 bool temp2
= False
;
15297 PyObject
* obj0
= 0 ;
15298 PyObject
* obj1
= 0 ;
15299 char *kwnames
[] = {
15300 (char *) "self",(char *) "filename", NULL
15303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames
,&obj0
,&obj1
)) goto fail
;
15304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15307 arg2
= wxString_in_helper(obj1
);
15308 if (arg2
== NULL
) SWIG_fail
;
15312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15313 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
);
15315 wxPyEndAllowThreads(__tstate
);
15316 if (PyErr_Occurred()) SWIG_fail
;
15319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15335 static PyObject
*_wrap_PyDrawnShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15336 PyObject
*resultobj
;
15337 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15341 PyObject
* obj0
= 0 ;
15342 PyObject
* obj1
= 0 ;
15343 PyObject
* obj2
= 0 ;
15344 PyObject
* obj3
= 0 ;
15345 char *kwnames
[] = {
15346 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
15349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15352 arg2
= (double) SWIG_AsDouble(obj1
);
15353 if (PyErr_Occurred()) SWIG_fail
;
15354 arg3
= (double) SWIG_AsDouble(obj2
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15356 arg4
= (double) SWIG_AsDouble(obj3
);
15357 if (PyErr_Occurred()) SWIG_fail
;
15359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15360 (arg1
)->Rotate(arg2
,arg3
,arg4
);
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15365 Py_INCREF(Py_None
); resultobj
= Py_None
;
15372 static PyObject
*_wrap_PyDrawnShape_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15373 PyObject
*resultobj
;
15374 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15377 PyObject
* obj0
= 0 ;
15378 PyObject
* obj1
= 0 ;
15379 char *kwnames
[] = {
15380 (char *) "self",(char *) "rect", NULL
15383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15388 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15392 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
15394 wxPyEndAllowThreads(__tstate
);
15395 if (PyErr_Occurred()) SWIG_fail
;
15397 Py_INCREF(Py_None
); resultobj
= Py_None
;
15404 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15405 PyObject
*resultobj
;
15406 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15407 wxColour
*arg2
= 0 ;
15409 PyObject
* obj0
= 0 ;
15410 PyObject
* obj1
= 0 ;
15411 char *kwnames
[] = {
15412 (char *) "self",(char *) "colour", NULL
15415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15420 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 (arg1
)->SetDrawnBackgroundColour((wxColour
const &)*arg2
);
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15429 Py_INCREF(Py_None
); resultobj
= Py_None
;
15436 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15437 PyObject
*resultobj
;
15438 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15440 PyObject
* obj0
= 0 ;
15441 PyObject
* obj1
= 0 ;
15442 char *kwnames
[] = {
15443 (char *) "self",(char *) "mode", NULL
15446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
15447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15449 arg2
= (int) SWIG_AsInt(obj1
);
15450 if (PyErr_Occurred()) SWIG_fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 (arg1
)->SetDrawnBackgroundMode(arg2
);
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 Py_INCREF(Py_None
); resultobj
= Py_None
;
15465 static PyObject
*_wrap_PyDrawnShape_SetDrawnBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
;
15467 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15468 wxBrush
*arg2
= (wxBrush
*) 0 ;
15469 bool arg3
= (bool) FALSE
;
15470 PyObject
* obj0
= 0 ;
15471 PyObject
* obj1
= 0 ;
15472 PyObject
* obj2
= 0 ;
15473 char *kwnames
[] = {
15474 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15483 if (obj1
== Py_None
) {
15486 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
15487 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
15492 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
15497 arg3
= (bool) SWIG_AsBool(obj2
);
15498 if (PyErr_Occurred()) SWIG_fail
;
15501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15502 (arg1
)->SetDrawnBrush(arg2
,arg3
);
15504 wxPyEndAllowThreads(__tstate
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15507 Py_INCREF(Py_None
); resultobj
= Py_None
;
15514 static PyObject
*_wrap_PyDrawnShape_SetDrawnFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
;
15516 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15517 wxFont
*arg2
= (wxFont
*) 0 ;
15518 PyObject
* obj0
= 0 ;
15519 PyObject
* obj1
= 0 ;
15520 char *kwnames
[] = {
15521 (char *) "self",(char *) "font", NULL
15524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15530 if (obj1
== Py_None
) {
15533 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
15534 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
15539 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
15543 temp
->GetUnderlined(),
15544 temp
->GetFaceName(),
15545 temp
->GetEncoding());
15550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15551 (arg1
)->SetDrawnFont(arg2
);
15553 wxPyEndAllowThreads(__tstate
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15556 Py_INCREF(Py_None
); resultobj
= Py_None
;
15563 static PyObject
*_wrap_PyDrawnShape_SetDrawnPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15564 PyObject
*resultobj
;
15565 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15566 wxPen
*arg2
= (wxPen
*) 0 ;
15567 bool arg3
= (bool) FALSE
;
15568 PyObject
* obj0
= 0 ;
15569 PyObject
* obj1
= 0 ;
15570 PyObject
* obj2
= 0 ;
15571 char *kwnames
[] = {
15572 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15581 if (obj1
== Py_None
) {
15584 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
15585 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
15590 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
15597 arg3
= (bool) SWIG_AsBool(obj2
);
15598 if (PyErr_Occurred()) SWIG_fail
;
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 (arg1
)->SetDrawnPen(arg2
,arg3
);
15604 wxPyEndAllowThreads(__tstate
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15607 Py_INCREF(Py_None
); resultobj
= Py_None
;
15614 static PyObject
*_wrap_PyDrawnShape_SetDrawnTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15615 PyObject
*resultobj
;
15616 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15617 wxColour
*arg2
= 0 ;
15619 PyObject
* obj0
= 0 ;
15620 PyObject
* obj1
= 0 ;
15621 char *kwnames
[] = {
15622 (char *) "self",(char *) "colour", NULL
15625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15630 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15634 (arg1
)->SetDrawnTextColour((wxColour
const &)*arg2
);
15636 wxPyEndAllowThreads(__tstate
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15639 Py_INCREF(Py_None
); resultobj
= Py_None
;
15646 static PyObject
*_wrap_PyDrawnShape_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15647 PyObject
*resultobj
;
15648 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15651 PyObject
* obj0
= 0 ;
15652 PyObject
* obj1
= 0 ;
15653 PyObject
* obj2
= 0 ;
15654 char *kwnames
[] = {
15655 (char *) "self",(char *) "sx",(char *) "sy", NULL
15658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15661 arg2
= (double) SWIG_AsDouble(obj1
);
15662 if (PyErr_Occurred()) SWIG_fail
;
15663 arg3
= (double) SWIG_AsDouble(obj2
);
15664 if (PyErr_Occurred()) SWIG_fail
;
15666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15667 (arg1
)->Scale(arg2
,arg3
);
15669 wxPyEndAllowThreads(__tstate
);
15670 if (PyErr_Occurred()) SWIG_fail
;
15672 Py_INCREF(Py_None
); resultobj
= Py_None
;
15679 static PyObject
*_wrap_PyDrawnShape_SetSaveToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15680 PyObject
*resultobj
;
15681 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15683 PyObject
* obj0
= 0 ;
15684 PyObject
* obj1
= 0 ;
15685 char *kwnames
[] = {
15686 (char *) "self",(char *) "save", NULL
15689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
15690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15692 arg2
= (bool) SWIG_AsBool(obj1
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15696 (arg1
)->SetSaveToFile(arg2
);
15698 wxPyEndAllowThreads(__tstate
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15701 Py_INCREF(Py_None
); resultobj
= Py_None
;
15708 static PyObject
*_wrap_PyDrawnShape_Translate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15709 PyObject
*resultobj
;
15710 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15713 PyObject
* obj0
= 0 ;
15714 PyObject
* obj1
= 0 ;
15715 PyObject
* obj2
= 0 ;
15716 char *kwnames
[] = {
15717 (char *) "self",(char *) "x",(char *) "y", NULL
15720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15723 arg2
= (double) SWIG_AsDouble(obj1
);
15724 if (PyErr_Occurred()) SWIG_fail
;
15725 arg3
= (double) SWIG_AsDouble(obj2
);
15726 if (PyErr_Occurred()) SWIG_fail
;
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 (arg1
)->Translate(arg2
,arg3
);
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15734 Py_INCREF(Py_None
); resultobj
= Py_None
;
15741 static PyObject
*_wrap_PyDrawnShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15742 PyObject
*resultobj
;
15743 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15744 PyObject
* obj0
= 0 ;
15745 char *kwnames
[] = {
15746 (char *) "self", NULL
15749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
15750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15754 (arg1
)->base_OnDelete();
15756 wxPyEndAllowThreads(__tstate
);
15757 if (PyErr_Occurred()) SWIG_fail
;
15759 Py_INCREF(Py_None
); resultobj
= Py_None
;
15766 static PyObject
*_wrap_PyDrawnShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15767 PyObject
*resultobj
;
15768 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15770 PyObject
* obj0
= 0 ;
15771 PyObject
* obj1
= 0 ;
15772 char *kwnames
[] = {
15773 (char *) "self",(char *) "dc", NULL
15776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
15777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15780 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15782 if (arg2
== NULL
) {
15783 PyErr_SetString(PyExc_TypeError
,"null reference");
15787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15788 (arg1
)->base_OnDraw(*arg2
);
15790 wxPyEndAllowThreads(__tstate
);
15791 if (PyErr_Occurred()) SWIG_fail
;
15793 Py_INCREF(Py_None
); resultobj
= Py_None
;
15800 static PyObject
*_wrap_PyDrawnShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15801 PyObject
*resultobj
;
15802 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15804 PyObject
* obj0
= 0 ;
15805 PyObject
* obj1
= 0 ;
15806 char *kwnames
[] = {
15807 (char *) "self",(char *) "dc", NULL
15810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15814 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15816 if (arg2
== NULL
) {
15817 PyErr_SetString(PyExc_TypeError
,"null reference");
15821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15822 (arg1
)->base_OnDrawContents(*arg2
);
15824 wxPyEndAllowThreads(__tstate
);
15825 if (PyErr_Occurred()) SWIG_fail
;
15827 Py_INCREF(Py_None
); resultobj
= Py_None
;
15834 static PyObject
*_wrap_PyDrawnShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15835 PyObject
*resultobj
;
15836 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15838 bool arg3
= (bool) FALSE
;
15839 PyObject
* obj0
= 0 ;
15840 PyObject
* obj1
= 0 ;
15841 PyObject
* obj2
= 0 ;
15842 char *kwnames
[] = {
15843 (char *) "self",(char *) "dc",(char *) "erase", NULL
15846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15852 if (arg2
== NULL
) {
15853 PyErr_SetString(PyExc_TypeError
,"null reference");
15857 arg3
= (bool) SWIG_AsBool(obj2
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15862 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
15864 wxPyEndAllowThreads(__tstate
);
15865 if (PyErr_Occurred()) SWIG_fail
;
15867 Py_INCREF(Py_None
); resultobj
= Py_None
;
15874 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
;
15876 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15878 PyObject
* obj0
= 0 ;
15879 PyObject
* obj1
= 0 ;
15880 char *kwnames
[] = {
15881 (char *) "self",(char *) "dc", NULL
15884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
15885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15887 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15888 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15890 if (arg2
== NULL
) {
15891 PyErr_SetString(PyExc_TypeError
,"null reference");
15895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15896 (arg1
)->base_OnMoveLinks(*arg2
);
15898 wxPyEndAllowThreads(__tstate
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15901 Py_INCREF(Py_None
); resultobj
= Py_None
;
15908 static PyObject
*_wrap_PyDrawnShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15909 PyObject
*resultobj
;
15910 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15912 PyObject
* obj0
= 0 ;
15913 PyObject
* obj1
= 0 ;
15914 char *kwnames
[] = {
15915 (char *) "self",(char *) "dc", NULL
15918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
15919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15922 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15924 if (arg2
== NULL
) {
15925 PyErr_SetString(PyExc_TypeError
,"null reference");
15929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15930 (arg1
)->base_OnErase(*arg2
);
15932 wxPyEndAllowThreads(__tstate
);
15933 if (PyErr_Occurred()) SWIG_fail
;
15935 Py_INCREF(Py_None
); resultobj
= Py_None
;
15942 static PyObject
*_wrap_PyDrawnShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15943 PyObject
*resultobj
;
15944 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15946 PyObject
* obj0
= 0 ;
15947 PyObject
* obj1
= 0 ;
15948 char *kwnames
[] = {
15949 (char *) "self",(char *) "dc", NULL
15952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15955 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15956 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15958 if (arg2
== NULL
) {
15959 PyErr_SetString(PyExc_TypeError
,"null reference");
15963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15964 (arg1
)->base_OnEraseContents(*arg2
);
15966 wxPyEndAllowThreads(__tstate
);
15967 if (PyErr_Occurred()) SWIG_fail
;
15969 Py_INCREF(Py_None
); resultobj
= Py_None
;
15976 static PyObject
*_wrap_PyDrawnShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15977 PyObject
*resultobj
;
15978 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15980 PyObject
* obj0
= 0 ;
15981 PyObject
* obj1
= 0 ;
15982 char *kwnames
[] = {
15983 (char *) "self",(char *) "dc", NULL
15986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
15987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15990 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15992 if (arg2
== NULL
) {
15993 PyErr_SetString(PyExc_TypeError
,"null reference");
15997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15998 (arg1
)->base_OnHighlight(*arg2
);
16000 wxPyEndAllowThreads(__tstate
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16003 Py_INCREF(Py_None
); resultobj
= Py_None
;
16010 static PyObject
*_wrap_PyDrawnShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16011 PyObject
*resultobj
;
16012 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16015 int arg4
= (int) 0 ;
16016 int arg5
= (int) 0 ;
16017 PyObject
* obj0
= 0 ;
16018 PyObject
* obj1
= 0 ;
16019 PyObject
* obj2
= 0 ;
16020 PyObject
* obj3
= 0 ;
16021 PyObject
* obj4
= 0 ;
16022 char *kwnames
[] = {
16023 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16029 arg2
= (double) SWIG_AsDouble(obj1
);
16030 if (PyErr_Occurred()) SWIG_fail
;
16031 arg3
= (double) SWIG_AsDouble(obj2
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16034 arg4
= (int) SWIG_AsInt(obj3
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16038 arg5
= (int) SWIG_AsInt(obj4
);
16039 if (PyErr_Occurred()) SWIG_fail
;
16042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16043 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
16045 wxPyEndAllowThreads(__tstate
);
16046 if (PyErr_Occurred()) SWIG_fail
;
16048 Py_INCREF(Py_None
); resultobj
= Py_None
;
16055 static PyObject
*_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16056 PyObject
*resultobj
;
16057 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16060 int arg4
= (int) 0 ;
16061 int arg5
= (int) 0 ;
16062 PyObject
* obj0
= 0 ;
16063 PyObject
* obj1
= 0 ;
16064 PyObject
* obj2
= 0 ;
16065 PyObject
* obj3
= 0 ;
16066 PyObject
* obj4
= 0 ;
16067 char *kwnames
[] = {
16068 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16074 arg2
= (double) SWIG_AsDouble(obj1
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16076 arg3
= (double) SWIG_AsDouble(obj2
);
16077 if (PyErr_Occurred()) SWIG_fail
;
16079 arg4
= (int) SWIG_AsInt(obj3
);
16080 if (PyErr_Occurred()) SWIG_fail
;
16083 arg5
= (int) SWIG_AsInt(obj4
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16088 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
16090 wxPyEndAllowThreads(__tstate
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16093 Py_INCREF(Py_None
); resultobj
= Py_None
;
16100 static PyObject
*_wrap_PyDrawnShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
;
16102 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16105 int arg4
= (int) 0 ;
16106 int arg5
= (int) 0 ;
16107 PyObject
* obj0
= 0 ;
16108 PyObject
* obj1
= 0 ;
16109 PyObject
* obj2
= 0 ;
16110 PyObject
* obj3
= 0 ;
16111 PyObject
* obj4
= 0 ;
16112 char *kwnames
[] = {
16113 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16119 arg2
= (double) SWIG_AsDouble(obj1
);
16120 if (PyErr_Occurred()) SWIG_fail
;
16121 arg3
= (double) SWIG_AsDouble(obj2
);
16122 if (PyErr_Occurred()) SWIG_fail
;
16124 arg4
= (int) SWIG_AsInt(obj3
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16128 arg5
= (int) SWIG_AsInt(obj4
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
16135 wxPyEndAllowThreads(__tstate
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16138 Py_INCREF(Py_None
); resultobj
= Py_None
;
16145 static PyObject
*_wrap_PyDrawnShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
;
16147 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16150 PyObject
* obj0
= 0 ;
16151 PyObject
* obj1
= 0 ;
16152 PyObject
* obj2
= 0 ;
16153 char *kwnames
[] = {
16154 (char *) "self",(char *) "x",(char *) "y", NULL
16157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16160 arg2
= (double) SWIG_AsDouble(obj1
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16162 arg3
= (double) SWIG_AsDouble(obj2
);
16163 if (PyErr_Occurred()) SWIG_fail
;
16165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16166 (arg1
)->base_OnSize(arg2
,arg3
);
16168 wxPyEndAllowThreads(__tstate
);
16169 if (PyErr_Occurred()) SWIG_fail
;
16171 Py_INCREF(Py_None
); resultobj
= Py_None
;
16178 static PyObject
*_wrap_PyDrawnShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16179 PyObject
*resultobj
;
16180 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16186 bool arg7
= (bool) True
;
16188 PyObject
* obj0
= 0 ;
16189 PyObject
* obj1
= 0 ;
16190 PyObject
* obj2
= 0 ;
16191 PyObject
* obj3
= 0 ;
16192 PyObject
* obj4
= 0 ;
16193 PyObject
* obj5
= 0 ;
16194 PyObject
* obj6
= 0 ;
16195 char *kwnames
[] = {
16196 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16203 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16205 if (arg2
== NULL
) {
16206 PyErr_SetString(PyExc_TypeError
,"null reference");
16209 arg3
= (double) SWIG_AsDouble(obj2
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16211 arg4
= (double) SWIG_AsDouble(obj3
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16213 arg5
= (double) SWIG_AsDouble(obj4
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16215 arg6
= (double) SWIG_AsDouble(obj5
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16218 arg7
= (bool) SWIG_AsBool(obj6
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16223 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16225 wxPyEndAllowThreads(__tstate
);
16226 if (PyErr_Occurred()) SWIG_fail
;
16229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16237 static PyObject
*_wrap_PyDrawnShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16238 PyObject
*resultobj
;
16239 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16245 bool arg7
= (bool) True
;
16246 PyObject
* obj0
= 0 ;
16247 PyObject
* obj1
= 0 ;
16248 PyObject
* obj2
= 0 ;
16249 PyObject
* obj3
= 0 ;
16250 PyObject
* obj4
= 0 ;
16251 PyObject
* obj5
= 0 ;
16252 PyObject
* obj6
= 0 ;
16253 char *kwnames
[] = {
16254 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16260 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16261 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16263 if (arg2
== NULL
) {
16264 PyErr_SetString(PyExc_TypeError
,"null reference");
16267 arg3
= (double) SWIG_AsDouble(obj2
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16269 arg4
= (double) SWIG_AsDouble(obj3
);
16270 if (PyErr_Occurred()) SWIG_fail
;
16271 arg5
= (double) SWIG_AsDouble(obj4
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16273 arg6
= (double) SWIG_AsDouble(obj5
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16276 arg7
= (bool) SWIG_AsBool(obj6
);
16277 if (PyErr_Occurred()) SWIG_fail
;
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16286 Py_INCREF(Py_None
); resultobj
= Py_None
;
16293 static PyObject
*_wrap_PyDrawnShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16294 PyObject
*resultobj
;
16295 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16299 int arg5
= (int) 0 ;
16300 int arg6
= (int) 0 ;
16301 PyObject
* obj0
= 0 ;
16302 PyObject
* obj1
= 0 ;
16303 PyObject
* obj2
= 0 ;
16304 PyObject
* obj3
= 0 ;
16305 PyObject
* obj4
= 0 ;
16306 PyObject
* obj5
= 0 ;
16307 char *kwnames
[] = {
16308 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16314 arg2
= (bool) SWIG_AsBool(obj1
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16316 arg3
= (double) SWIG_AsDouble(obj2
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16318 arg4
= (double) SWIG_AsDouble(obj3
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16321 arg5
= (int) SWIG_AsInt(obj4
);
16322 if (PyErr_Occurred()) SWIG_fail
;
16325 arg6
= (int) SWIG_AsInt(obj5
);
16326 if (PyErr_Occurred()) SWIG_fail
;
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16335 Py_INCREF(Py_None
); resultobj
= Py_None
;
16342 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16343 PyObject
*resultobj
;
16344 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16347 int arg4
= (int) 0 ;
16348 int arg5
= (int) 0 ;
16349 PyObject
* obj0
= 0 ;
16350 PyObject
* obj1
= 0 ;
16351 PyObject
* obj2
= 0 ;
16352 PyObject
* obj3
= 0 ;
16353 PyObject
* obj4
= 0 ;
16354 char *kwnames
[] = {
16355 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16361 arg2
= (double) SWIG_AsDouble(obj1
);
16362 if (PyErr_Occurred()) SWIG_fail
;
16363 arg3
= (double) SWIG_AsDouble(obj2
);
16364 if (PyErr_Occurred()) SWIG_fail
;
16366 arg4
= (int) SWIG_AsInt(obj3
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16370 arg5
= (int) SWIG_AsInt(obj4
);
16371 if (PyErr_Occurred()) SWIG_fail
;
16374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16375 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
16377 wxPyEndAllowThreads(__tstate
);
16378 if (PyErr_Occurred()) SWIG_fail
;
16380 Py_INCREF(Py_None
); resultobj
= Py_None
;
16387 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
;
16389 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16392 int arg4
= (int) 0 ;
16393 int arg5
= (int) 0 ;
16394 PyObject
* obj0
= 0 ;
16395 PyObject
* obj1
= 0 ;
16396 PyObject
* obj2
= 0 ;
16397 PyObject
* obj3
= 0 ;
16398 PyObject
* obj4
= 0 ;
16399 char *kwnames
[] = {
16400 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16406 arg2
= (double) SWIG_AsDouble(obj1
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16408 arg3
= (double) SWIG_AsDouble(obj2
);
16409 if (PyErr_Occurred()) SWIG_fail
;
16411 arg4
= (int) SWIG_AsInt(obj3
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16415 arg5
= (int) SWIG_AsInt(obj4
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16420 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
16422 wxPyEndAllowThreads(__tstate
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16425 Py_INCREF(Py_None
); resultobj
= Py_None
;
16432 static PyObject
*_wrap_PyDrawnShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16433 PyObject
*resultobj
;
16434 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16438 int arg5
= (int) 0 ;
16439 int arg6
= (int) 0 ;
16440 PyObject
* obj0
= 0 ;
16441 PyObject
* obj1
= 0 ;
16442 PyObject
* obj2
= 0 ;
16443 PyObject
* obj3
= 0 ;
16444 PyObject
* obj4
= 0 ;
16445 PyObject
* obj5
= 0 ;
16446 char *kwnames
[] = {
16447 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16453 arg2
= (bool) SWIG_AsBool(obj1
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16455 arg3
= (double) SWIG_AsDouble(obj2
);
16456 if (PyErr_Occurred()) SWIG_fail
;
16457 arg4
= (double) SWIG_AsDouble(obj3
);
16458 if (PyErr_Occurred()) SWIG_fail
;
16460 arg5
= (int) SWIG_AsInt(obj4
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16464 arg6
= (int) SWIG_AsInt(obj5
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
16471 wxPyEndAllowThreads(__tstate
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16474 Py_INCREF(Py_None
); resultobj
= Py_None
;
16481 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16482 PyObject
*resultobj
;
16483 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16486 int arg4
= (int) 0 ;
16487 int arg5
= (int) 0 ;
16488 PyObject
* obj0
= 0 ;
16489 PyObject
* obj1
= 0 ;
16490 PyObject
* obj2
= 0 ;
16491 PyObject
* obj3
= 0 ;
16492 PyObject
* obj4
= 0 ;
16493 char *kwnames
[] = {
16494 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16500 arg2
= (double) SWIG_AsDouble(obj1
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16502 arg3
= (double) SWIG_AsDouble(obj2
);
16503 if (PyErr_Occurred()) SWIG_fail
;
16505 arg4
= (int) SWIG_AsInt(obj3
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16509 arg5
= (int) SWIG_AsInt(obj4
);
16510 if (PyErr_Occurred()) SWIG_fail
;
16513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16514 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
16516 wxPyEndAllowThreads(__tstate
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16519 Py_INCREF(Py_None
); resultobj
= Py_None
;
16526 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16527 PyObject
*resultobj
;
16528 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16531 int arg4
= (int) 0 ;
16532 int arg5
= (int) 0 ;
16533 PyObject
* obj0
= 0 ;
16534 PyObject
* obj1
= 0 ;
16535 PyObject
* obj2
= 0 ;
16536 PyObject
* obj3
= 0 ;
16537 PyObject
* obj4
= 0 ;
16538 char *kwnames
[] = {
16539 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16545 arg2
= (double) SWIG_AsDouble(obj1
);
16546 if (PyErr_Occurred()) SWIG_fail
;
16547 arg3
= (double) SWIG_AsDouble(obj2
);
16548 if (PyErr_Occurred()) SWIG_fail
;
16550 arg4
= (int) SWIG_AsInt(obj3
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16554 arg5
= (int) SWIG_AsInt(obj4
);
16555 if (PyErr_Occurred()) SWIG_fail
;
16558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16559 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
16561 wxPyEndAllowThreads(__tstate
);
16562 if (PyErr_Occurred()) SWIG_fail
;
16564 Py_INCREF(Py_None
); resultobj
= Py_None
;
16571 static PyObject
*_wrap_PyDrawnShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
;
16573 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16579 PyObject
* obj0
= 0 ;
16580 PyObject
* obj1
= 0 ;
16581 PyObject
* obj2
= 0 ;
16582 PyObject
* obj3
= 0 ;
16583 PyObject
* obj4
= 0 ;
16584 PyObject
* obj5
= 0 ;
16585 char *kwnames
[] = {
16586 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDrawnShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16593 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16595 if (arg2
== NULL
) {
16596 PyErr_SetString(PyExc_TypeError
,"null reference");
16599 arg3
= (double) SWIG_AsDouble(obj2
);
16600 if (PyErr_Occurred()) SWIG_fail
;
16601 arg4
= (double) SWIG_AsDouble(obj3
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16603 arg5
= (double) SWIG_AsDouble(obj4
);
16604 if (PyErr_Occurred()) SWIG_fail
;
16605 arg6
= (double) SWIG_AsDouble(obj5
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16609 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
16611 wxPyEndAllowThreads(__tstate
);
16612 if (PyErr_Occurred()) SWIG_fail
;
16614 Py_INCREF(Py_None
); resultobj
= Py_None
;
16621 static PyObject
*_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16622 PyObject
*resultobj
;
16623 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16625 PyObject
* obj0
= 0 ;
16626 PyObject
* obj1
= 0 ;
16627 char *kwnames
[] = {
16628 (char *) "self",(char *) "dc", NULL
16631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16635 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16637 if (arg2
== NULL
) {
16638 PyErr_SetString(PyExc_TypeError
,"null reference");
16642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16643 (arg1
)->base_OnDrawControlPoints(*arg2
);
16645 wxPyEndAllowThreads(__tstate
);
16646 if (PyErr_Occurred()) SWIG_fail
;
16648 Py_INCREF(Py_None
); resultobj
= Py_None
;
16655 static PyObject
*_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16656 PyObject
*resultobj
;
16657 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16659 PyObject
* obj0
= 0 ;
16660 PyObject
* obj1
= 0 ;
16661 char *kwnames
[] = {
16662 (char *) "self",(char *) "dc", NULL
16665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16671 if (arg2
== NULL
) {
16672 PyErr_SetString(PyExc_TypeError
,"null reference");
16676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16677 (arg1
)->base_OnEraseControlPoints(*arg2
);
16679 wxPyEndAllowThreads(__tstate
);
16680 if (PyErr_Occurred()) SWIG_fail
;
16682 Py_INCREF(Py_None
); resultobj
= Py_None
;
16689 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16690 PyObject
*resultobj
;
16691 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16693 bool arg3
= (bool) True
;
16694 PyObject
* obj0
= 0 ;
16695 PyObject
* obj1
= 0 ;
16696 PyObject
* obj2
= 0 ;
16697 char *kwnames
[] = {
16698 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16705 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16707 if (arg2
== NULL
) {
16708 PyErr_SetString(PyExc_TypeError
,"null reference");
16712 arg3
= (bool) SWIG_AsBool(obj2
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16717 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
16719 wxPyEndAllowThreads(__tstate
);
16720 if (PyErr_Occurred()) SWIG_fail
;
16722 Py_INCREF(Py_None
); resultobj
= Py_None
;
16729 static PyObject
*_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16730 PyObject
*resultobj
;
16731 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16732 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16736 int arg6
= (int) 0 ;
16737 int arg7
= (int) 0 ;
16738 PyObject
* obj0
= 0 ;
16739 PyObject
* obj1
= 0 ;
16740 PyObject
* obj2
= 0 ;
16741 PyObject
* obj3
= 0 ;
16742 PyObject
* obj4
= 0 ;
16743 PyObject
* obj5
= 0 ;
16744 PyObject
* obj6
= 0 ;
16745 char *kwnames
[] = {
16746 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDrawnShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16754 arg3
= (bool) SWIG_AsBool(obj2
);
16755 if (PyErr_Occurred()) SWIG_fail
;
16756 arg4
= (double) SWIG_AsDouble(obj3
);
16757 if (PyErr_Occurred()) SWIG_fail
;
16758 arg5
= (double) SWIG_AsDouble(obj4
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16761 arg6
= (int) SWIG_AsInt(obj5
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16765 arg7
= (int) SWIG_AsInt(obj6
);
16766 if (PyErr_Occurred()) SWIG_fail
;
16769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16770 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16772 wxPyEndAllowThreads(__tstate
);
16773 if (PyErr_Occurred()) SWIG_fail
;
16775 Py_INCREF(Py_None
); resultobj
= Py_None
;
16782 static PyObject
*_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16783 PyObject
*resultobj
;
16784 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16785 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16788 int arg5
= (int) 0 ;
16789 int arg6
= (int) 0 ;
16790 PyObject
* obj0
= 0 ;
16791 PyObject
* obj1
= 0 ;
16792 PyObject
* obj2
= 0 ;
16793 PyObject
* obj3
= 0 ;
16794 PyObject
* obj4
= 0 ;
16795 PyObject
* obj5
= 0 ;
16796 char *kwnames
[] = {
16797 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16805 arg3
= (double) SWIG_AsDouble(obj2
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16807 arg4
= (double) SWIG_AsDouble(obj3
);
16808 if (PyErr_Occurred()) SWIG_fail
;
16810 arg5
= (int) SWIG_AsInt(obj4
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16814 arg6
= (int) SWIG_AsInt(obj5
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16819 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16821 wxPyEndAllowThreads(__tstate
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16824 Py_INCREF(Py_None
); resultobj
= Py_None
;
16831 static PyObject
*_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16832 PyObject
*resultobj
;
16833 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16834 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16837 int arg5
= (int) 0 ;
16838 int arg6
= (int) 0 ;
16839 PyObject
* obj0
= 0 ;
16840 PyObject
* obj1
= 0 ;
16841 PyObject
* obj2
= 0 ;
16842 PyObject
* obj3
= 0 ;
16843 PyObject
* obj4
= 0 ;
16844 PyObject
* obj5
= 0 ;
16845 char *kwnames
[] = {
16846 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16854 arg3
= (double) SWIG_AsDouble(obj2
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16856 arg4
= (double) SWIG_AsDouble(obj3
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16859 arg5
= (int) SWIG_AsInt(obj4
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16863 arg6
= (int) SWIG_AsInt(obj5
);
16864 if (PyErr_Occurred()) SWIG_fail
;
16867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16868 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16870 wxPyEndAllowThreads(__tstate
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16873 Py_INCREF(Py_None
); resultobj
= Py_None
;
16880 static PyObject
*_wrap_PyDrawnShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16881 PyObject
*resultobj
;
16882 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16885 PyObject
* obj0
= 0 ;
16886 PyObject
* obj1
= 0 ;
16887 PyObject
* obj2
= 0 ;
16888 char *kwnames
[] = {
16889 (char *) "self",(char *) "w",(char *) "h", NULL
16892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16895 arg2
= (double) SWIG_AsDouble(obj1
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16897 arg3
= (double) SWIG_AsDouble(obj2
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 (arg1
)->base_OnBeginSize(arg2
,arg3
);
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16906 Py_INCREF(Py_None
); resultobj
= Py_None
;
16913 static PyObject
*_wrap_PyDrawnShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16914 PyObject
*resultobj
;
16915 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16918 PyObject
* obj0
= 0 ;
16919 PyObject
* obj1
= 0 ;
16920 PyObject
* obj2
= 0 ;
16921 char *kwnames
[] = {
16922 (char *) "self",(char *) "w",(char *) "h", NULL
16925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16928 arg2
= (double) SWIG_AsDouble(obj1
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16930 arg3
= (double) SWIG_AsDouble(obj2
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16934 (arg1
)->base_OnEndSize(arg2
,arg3
);
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16939 Py_INCREF(Py_None
); resultobj
= Py_None
;
16946 static PyObject
* PyDrawnShape_swigregister(PyObject
*self
, PyObject
*args
) {
16948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16949 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape
, obj
);
16951 return Py_BuildValue((char *)"");
16953 static PyObject
*_wrap_new_OGLConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
;
16956 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
16957 PyObject
*arg3
= (PyObject
*) 0 ;
16958 wxOGLConstraint
*result
;
16959 PyObject
* obj0
= 0 ;
16960 PyObject
* obj1
= 0 ;
16961 PyObject
* obj2
= 0 ;
16962 char *kwnames
[] = {
16963 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
16966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_OGLConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16967 arg1
= (int) SWIG_AsInt(obj0
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
16970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16974 result
= (wxOGLConstraint
*)new_wxOGLConstraint(arg1
,arg2
,arg3
);
16976 wxPyEndAllowThreads(__tstate
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16980 resultobj
= wxPyMake_wxObject(result
);
16988 static PyObject
*_wrap_OGLConstraint_Evaluate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16989 PyObject
*resultobj
;
16990 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
16992 PyObject
* obj0
= 0 ;
16993 char *kwnames
[] = {
16994 (char *) "self", NULL
16997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:OGLConstraint_Evaluate",kwnames
,&obj0
)) goto fail
;
16998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
16999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17002 result
= (bool)(arg1
)->Evaluate();
17004 wxPyEndAllowThreads(__tstate
);
17005 if (PyErr_Occurred()) SWIG_fail
;
17008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17016 static PyObject
*_wrap_OGLConstraint_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17017 PyObject
*resultobj
;
17018 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17021 PyObject
* obj0
= 0 ;
17022 PyObject
* obj1
= 0 ;
17023 PyObject
* obj2
= 0 ;
17024 char *kwnames
[] = {
17025 (char *) "self",(char *) "x",(char *) "y", NULL
17028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:OGLConstraint_SetSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
17030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17031 arg2
= (double) SWIG_AsDouble(obj1
);
17032 if (PyErr_Occurred()) SWIG_fail
;
17033 arg3
= (double) SWIG_AsDouble(obj2
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 (arg1
)->SetSpacing(arg2
,arg3
);
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17042 Py_INCREF(Py_None
); resultobj
= Py_None
;
17049 static PyObject
*_wrap_OGLConstraint_Equals(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17050 PyObject
*resultobj
;
17051 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17055 PyObject
* obj0
= 0 ;
17056 PyObject
* obj1
= 0 ;
17057 PyObject
* obj2
= 0 ;
17058 char *kwnames
[] = {
17059 (char *) "self",(char *) "a",(char *) "b", NULL
17062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:OGLConstraint_Equals",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
17064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17065 arg2
= (double) SWIG_AsDouble(obj1
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17067 arg3
= (double) SWIG_AsDouble(obj2
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17071 result
= (bool)(arg1
)->Equals(arg2
,arg3
);
17073 wxPyEndAllowThreads(__tstate
);
17074 if (PyErr_Occurred()) SWIG_fail
;
17077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17085 static PyObject
* OGLConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
17087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17088 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint
, obj
);
17090 return Py_BuildValue((char *)"");
17092 static PyObject
*_wrap_new_PyCompositeShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17093 PyObject
*resultobj
;
17094 wxPyCompositeShape
*result
;
17095 char *kwnames
[] = {
17099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyCompositeShape",kwnames
)) goto fail
;
17101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17102 result
= (wxPyCompositeShape
*)new wxPyCompositeShape();
17104 wxPyEndAllowThreads(__tstate
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCompositeShape
, 1);
17114 static PyObject
*_wrap_PyCompositeShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
;
17116 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17117 PyObject
*arg2
= (PyObject
*) 0 ;
17118 PyObject
*arg3
= (PyObject
*) 0 ;
17119 PyObject
* obj0
= 0 ;
17120 PyObject
* obj1
= 0 ;
17121 PyObject
* obj2
= 0 ;
17122 char *kwnames
[] = {
17123 (char *) "self",(char *) "self",(char *) "_class", NULL
17126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17133 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17135 wxPyEndAllowThreads(__tstate
);
17136 if (PyErr_Occurred()) SWIG_fail
;
17138 Py_INCREF(Py_None
); resultobj
= Py_None
;
17145 static PyObject
*_wrap_PyCompositeShape_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17146 PyObject
*resultobj
;
17147 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17148 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17149 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
17150 PyObject
* obj0
= 0 ;
17151 PyObject
* obj1
= 0 ;
17152 PyObject
* obj2
= 0 ;
17153 char *kwnames
[] = {
17154 (char *) "self",(char *) "child",(char *) "addAfter", NULL
17157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_AddChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17160 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17163 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17168 (arg1
)->AddChild(arg2
,arg3
);
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17173 Py_INCREF(Py_None
); resultobj
= Py_None
;
17180 static PyObject
*_wrap_PyCompositeShape_AddConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17181 PyObject
*resultobj
;
17182 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17183 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
17184 wxOGLConstraint
*result
;
17185 PyObject
* obj0
= 0 ;
17186 PyObject
* obj1
= 0 ;
17187 char *kwnames
[] = {
17188 (char *) "self",(char *) "constraint", NULL
17191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_AddConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
17192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOGLConstraint
,
17195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17198 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
);
17200 wxPyEndAllowThreads(__tstate
);
17201 if (PyErr_Occurred()) SWIG_fail
;
17204 resultobj
= wxPyMake_wxObject(result
);
17212 static PyObject
*_wrap_PyCompositeShape_AddConstrainedShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17213 PyObject
*resultobj
;
17214 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17216 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
17217 PyObject
*arg4
= (PyObject
*) 0 ;
17218 wxOGLConstraint
*result
;
17219 PyObject
* obj0
= 0 ;
17220 PyObject
* obj1
= 0 ;
17221 PyObject
* obj2
= 0 ;
17222 PyObject
* obj3
= 0 ;
17223 char *kwnames
[] = {
17224 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyCompositeShape_AddConstrainedShapes",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17230 arg2
= (int) SWIG_AsInt(obj1
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17232 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17237 result
= (wxOGLConstraint
*)wxPyCompositeShape_AddConstrainedShapes(arg1
,arg2
,arg3
,arg4
);
17239 wxPyEndAllowThreads(__tstate
);
17240 if (PyErr_Occurred()) SWIG_fail
;
17243 resultobj
= wxPyMake_wxObject(result
);
17251 static PyObject
*_wrap_PyCompositeShape_AddSimpleConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
;
17253 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17255 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
17256 wxPyShape
*arg4
= (wxPyShape
*) 0 ;
17257 wxOGLConstraint
*result
;
17258 PyObject
* obj0
= 0 ;
17259 PyObject
* obj1
= 0 ;
17260 PyObject
* obj2
= 0 ;
17261 PyObject
* obj3
= 0 ;
17262 char *kwnames
[] = {
17263 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyCompositeShape_AddSimpleConstraint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17269 arg2
= (int) SWIG_AsInt(obj1
);
17270 if (PyErr_Occurred()) SWIG_fail
;
17271 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17273 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPyShape
,
17274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17277 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
,arg3
,arg4
);
17279 wxPyEndAllowThreads(__tstate
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17283 resultobj
= wxPyMake_wxObject(result
);
17291 static PyObject
*_wrap_PyCompositeShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17292 PyObject
*resultobj
;
17293 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17294 PyObject
* obj0
= 0 ;
17295 char *kwnames
[] = {
17296 (char *) "self", NULL
17299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
17300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17304 (arg1
)->CalculateSize();
17306 wxPyEndAllowThreads(__tstate
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17309 Py_INCREF(Py_None
); resultobj
= Py_None
;
17316 static PyObject
*_wrap_PyCompositeShape_ContainsDivision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17317 PyObject
*resultobj
;
17318 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17319 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
17321 PyObject
* obj0
= 0 ;
17322 PyObject
* obj1
= 0 ;
17323 char *kwnames
[] = {
17324 (char *) "self",(char *) "division", NULL
17327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames
,&obj0
,&obj1
)) goto fail
;
17328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17330 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
17331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17334 result
= (bool)(arg1
)->ContainsDivision(arg2
);
17336 wxPyEndAllowThreads(__tstate
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17348 static PyObject
*_wrap_PyCompositeShape_DeleteConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17349 PyObject
*resultobj
;
17350 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17351 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
17352 PyObject
* obj0
= 0 ;
17353 PyObject
* obj1
= 0 ;
17354 char *kwnames
[] = {
17355 (char *) "self",(char *) "constraint", NULL
17358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
17359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOGLConstraint
,
17362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 (arg1
)->DeleteConstraint(arg2
);
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17370 Py_INCREF(Py_None
); resultobj
= Py_None
;
17377 static PyObject
*_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17378 PyObject
*resultobj
;
17379 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17380 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17381 PyObject
* obj0
= 0 ;
17382 PyObject
* obj1
= 0 ;
17383 char *kwnames
[] = {
17384 (char *) "self",(char *) "child", NULL
17387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17394 (arg1
)->DeleteConstraintsInvolvingChild(arg2
);
17396 wxPyEndAllowThreads(__tstate
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17399 Py_INCREF(Py_None
); resultobj
= Py_None
;
17406 static PyObject
*_wrap_PyCompositeShape_FindContainerImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17407 PyObject
*resultobj
;
17408 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17410 PyObject
* obj0
= 0 ;
17411 char *kwnames
[] = {
17412 (char *) "self", NULL
17415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_FindContainerImage",kwnames
,&obj0
)) goto fail
;
17416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17420 result
= (wxPyShape
*)(arg1
)->FindContainerImage();
17422 wxPyEndAllowThreads(__tstate
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17426 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
17434 static PyObject
*_wrap_PyCompositeShape_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17435 PyObject
*resultobj
;
17436 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17438 PyObject
* obj0
= 0 ;
17439 char *kwnames
[] = {
17440 (char *) "self", NULL
17443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetConstraints",kwnames
,&obj0
)) goto fail
;
17444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17448 result
= (PyObject
*)wxPyCompositeShape_GetConstraints(arg1
);
17450 wxPyEndAllowThreads(__tstate
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17453 resultobj
= result
;
17460 static PyObject
*_wrap_PyCompositeShape_GetDivisions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17461 PyObject
*resultobj
;
17462 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17464 PyObject
* obj0
= 0 ;
17465 char *kwnames
[] = {
17466 (char *) "self", NULL
17469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetDivisions",kwnames
,&obj0
)) goto fail
;
17470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17474 result
= (PyObject
*)wxPyCompositeShape_GetDivisions(arg1
);
17476 wxPyEndAllowThreads(__tstate
);
17477 if (PyErr_Occurred()) SWIG_fail
;
17479 resultobj
= result
;
17486 static PyObject
*_wrap_PyCompositeShape_MakeContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17487 PyObject
*resultobj
;
17488 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17489 PyObject
* obj0
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "self", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_MakeContainer",kwnames
,&obj0
)) goto fail
;
17495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17499 (arg1
)->MakeContainer();
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17504 Py_INCREF(Py_None
); resultobj
= Py_None
;
17511 static PyObject
*_wrap_PyCompositeShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17512 PyObject
*resultobj
;
17513 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17515 PyObject
* obj0
= 0 ;
17516 char *kwnames
[] = {
17517 (char *) "self", NULL
17520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_Recompute",kwnames
,&obj0
)) goto fail
;
17521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 result
= (bool)(arg1
)->Recompute();
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17539 static PyObject
*_wrap_PyCompositeShape_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17540 PyObject
*resultobj
;
17541 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17542 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17543 PyObject
* obj0
= 0 ;
17544 PyObject
* obj1
= 0 ;
17545 char *kwnames
[] = {
17546 (char *) "self",(char *) "child", NULL
17549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 (arg1
)->RemoveChild(arg2
);
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17561 Py_INCREF(Py_None
); resultobj
= Py_None
;
17568 static PyObject
*_wrap_PyCompositeShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17569 PyObject
*resultobj
;
17570 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17571 PyObject
* obj0
= 0 ;
17572 char *kwnames
[] = {
17573 (char *) "self", NULL
17576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
17577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17581 (arg1
)->base_OnDelete();
17583 wxPyEndAllowThreads(__tstate
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17586 Py_INCREF(Py_None
); resultobj
= Py_None
;
17593 static PyObject
*_wrap_PyCompositeShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17594 PyObject
*resultobj
;
17595 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17597 PyObject
* obj0
= 0 ;
17598 PyObject
* obj1
= 0 ;
17599 char *kwnames
[] = {
17600 (char *) "self",(char *) "dc", NULL
17603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
17604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17607 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17609 if (arg2
== NULL
) {
17610 PyErr_SetString(PyExc_TypeError
,"null reference");
17614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17615 (arg1
)->base_OnDraw(*arg2
);
17617 wxPyEndAllowThreads(__tstate
);
17618 if (PyErr_Occurred()) SWIG_fail
;
17620 Py_INCREF(Py_None
); resultobj
= Py_None
;
17627 static PyObject
*_wrap_PyCompositeShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17628 PyObject
*resultobj
;
17629 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17631 PyObject
* obj0
= 0 ;
17632 PyObject
* obj1
= 0 ;
17633 char *kwnames
[] = {
17634 (char *) "self",(char *) "dc", NULL
17637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17641 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17643 if (arg2
== NULL
) {
17644 PyErr_SetString(PyExc_TypeError
,"null reference");
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 (arg1
)->base_OnDrawContents(*arg2
);
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17654 Py_INCREF(Py_None
); resultobj
= Py_None
;
17661 static PyObject
*_wrap_PyCompositeShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17662 PyObject
*resultobj
;
17663 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17665 bool arg3
= (bool) FALSE
;
17666 PyObject
* obj0
= 0 ;
17667 PyObject
* obj1
= 0 ;
17668 PyObject
* obj2
= 0 ;
17669 char *kwnames
[] = {
17670 (char *) "self",(char *) "dc",(char *) "erase", NULL
17673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17677 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17679 if (arg2
== NULL
) {
17680 PyErr_SetString(PyExc_TypeError
,"null reference");
17684 arg3
= (bool) SWIG_AsBool(obj2
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17694 Py_INCREF(Py_None
); resultobj
= Py_None
;
17701 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17702 PyObject
*resultobj
;
17703 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17705 PyObject
* obj0
= 0 ;
17706 PyObject
* obj1
= 0 ;
17707 char *kwnames
[] = {
17708 (char *) "self",(char *) "dc", NULL
17711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
17712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17714 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17715 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17717 if (arg2
== NULL
) {
17718 PyErr_SetString(PyExc_TypeError
,"null reference");
17722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17723 (arg1
)->base_OnMoveLinks(*arg2
);
17725 wxPyEndAllowThreads(__tstate
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17728 Py_INCREF(Py_None
); resultobj
= Py_None
;
17735 static PyObject
*_wrap_PyCompositeShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17736 PyObject
*resultobj
;
17737 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17739 PyObject
* obj0
= 0 ;
17740 PyObject
* obj1
= 0 ;
17741 char *kwnames
[] = {
17742 (char *) "self",(char *) "dc", NULL
17745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
17746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17749 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17751 if (arg2
== NULL
) {
17752 PyErr_SetString(PyExc_TypeError
,"null reference");
17756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17757 (arg1
)->base_OnErase(*arg2
);
17759 wxPyEndAllowThreads(__tstate
);
17760 if (PyErr_Occurred()) SWIG_fail
;
17762 Py_INCREF(Py_None
); resultobj
= Py_None
;
17769 static PyObject
*_wrap_PyCompositeShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17770 PyObject
*resultobj
;
17771 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17773 PyObject
* obj0
= 0 ;
17774 PyObject
* obj1
= 0 ;
17775 char *kwnames
[] = {
17776 (char *) "self",(char *) "dc", NULL
17779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17783 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17785 if (arg2
== NULL
) {
17786 PyErr_SetString(PyExc_TypeError
,"null reference");
17790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17791 (arg1
)->base_OnEraseContents(*arg2
);
17793 wxPyEndAllowThreads(__tstate
);
17794 if (PyErr_Occurred()) SWIG_fail
;
17796 Py_INCREF(Py_None
); resultobj
= Py_None
;
17803 static PyObject
*_wrap_PyCompositeShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17804 PyObject
*resultobj
;
17805 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17807 PyObject
* obj0
= 0 ;
17808 PyObject
* obj1
= 0 ;
17809 char *kwnames
[] = {
17810 (char *) "self",(char *) "dc", NULL
17813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
17814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17817 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17819 if (arg2
== NULL
) {
17820 PyErr_SetString(PyExc_TypeError
,"null reference");
17824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17825 (arg1
)->base_OnHighlight(*arg2
);
17827 wxPyEndAllowThreads(__tstate
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17830 Py_INCREF(Py_None
); resultobj
= Py_None
;
17837 static PyObject
*_wrap_PyCompositeShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17838 PyObject
*resultobj
;
17839 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17842 int arg4
= (int) 0 ;
17843 int arg5
= (int) 0 ;
17844 PyObject
* obj0
= 0 ;
17845 PyObject
* obj1
= 0 ;
17846 PyObject
* obj2
= 0 ;
17847 PyObject
* obj3
= 0 ;
17848 PyObject
* obj4
= 0 ;
17849 char *kwnames
[] = {
17850 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17856 arg2
= (double) SWIG_AsDouble(obj1
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17858 arg3
= (double) SWIG_AsDouble(obj2
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17861 arg4
= (int) SWIG_AsInt(obj3
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17865 arg5
= (int) SWIG_AsInt(obj4
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17870 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
17872 wxPyEndAllowThreads(__tstate
);
17873 if (PyErr_Occurred()) SWIG_fail
;
17875 Py_INCREF(Py_None
); resultobj
= Py_None
;
17882 static PyObject
*_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17883 PyObject
*resultobj
;
17884 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17887 int arg4
= (int) 0 ;
17888 int arg5
= (int) 0 ;
17889 PyObject
* obj0
= 0 ;
17890 PyObject
* obj1
= 0 ;
17891 PyObject
* obj2
= 0 ;
17892 PyObject
* obj3
= 0 ;
17893 PyObject
* obj4
= 0 ;
17894 char *kwnames
[] = {
17895 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17901 arg2
= (double) SWIG_AsDouble(obj1
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17903 arg3
= (double) SWIG_AsDouble(obj2
);
17904 if (PyErr_Occurred()) SWIG_fail
;
17906 arg4
= (int) SWIG_AsInt(obj3
);
17907 if (PyErr_Occurred()) SWIG_fail
;
17910 arg5
= (int) SWIG_AsInt(obj4
);
17911 if (PyErr_Occurred()) SWIG_fail
;
17914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17915 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17920 Py_INCREF(Py_None
); resultobj
= Py_None
;
17927 static PyObject
*_wrap_PyCompositeShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17928 PyObject
*resultobj
;
17929 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17932 int arg4
= (int) 0 ;
17933 int arg5
= (int) 0 ;
17934 PyObject
* obj0
= 0 ;
17935 PyObject
* obj1
= 0 ;
17936 PyObject
* obj2
= 0 ;
17937 PyObject
* obj3
= 0 ;
17938 PyObject
* obj4
= 0 ;
17939 char *kwnames
[] = {
17940 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17946 arg2
= (double) SWIG_AsDouble(obj1
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17948 arg3
= (double) SWIG_AsDouble(obj2
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17951 arg4
= (int) SWIG_AsInt(obj3
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17955 arg5
= (int) SWIG_AsInt(obj4
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
17962 wxPyEndAllowThreads(__tstate
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17965 Py_INCREF(Py_None
); resultobj
= Py_None
;
17972 static PyObject
*_wrap_PyCompositeShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
;
17974 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17977 PyObject
* obj0
= 0 ;
17978 PyObject
* obj1
= 0 ;
17979 PyObject
* obj2
= 0 ;
17980 char *kwnames
[] = {
17981 (char *) "self",(char *) "x",(char *) "y", NULL
17984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17987 arg2
= (double) SWIG_AsDouble(obj1
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17989 arg3
= (double) SWIG_AsDouble(obj2
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17993 (arg1
)->base_OnSize(arg2
,arg3
);
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 Py_INCREF(Py_None
); resultobj
= Py_None
;
18005 static PyObject
*_wrap_PyCompositeShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
;
18007 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18013 bool arg7
= (bool) True
;
18015 PyObject
* obj0
= 0 ;
18016 PyObject
* obj1
= 0 ;
18017 PyObject
* obj2
= 0 ;
18018 PyObject
* obj3
= 0 ;
18019 PyObject
* obj4
= 0 ;
18020 PyObject
* obj5
= 0 ;
18021 PyObject
* obj6
= 0 ;
18022 char *kwnames
[] = {
18023 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18032 if (arg2
== NULL
) {
18033 PyErr_SetString(PyExc_TypeError
,"null reference");
18036 arg3
= (double) SWIG_AsDouble(obj2
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18038 arg4
= (double) SWIG_AsDouble(obj3
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18040 arg5
= (double) SWIG_AsDouble(obj4
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18042 arg6
= (double) SWIG_AsDouble(obj5
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 arg7
= (bool) SWIG_AsBool(obj6
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18050 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18052 wxPyEndAllowThreads(__tstate
);
18053 if (PyErr_Occurred()) SWIG_fail
;
18056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18064 static PyObject
*_wrap_PyCompositeShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18065 PyObject
*resultobj
;
18066 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18072 bool arg7
= (bool) True
;
18073 PyObject
* obj0
= 0 ;
18074 PyObject
* obj1
= 0 ;
18075 PyObject
* obj2
= 0 ;
18076 PyObject
* obj3
= 0 ;
18077 PyObject
* obj4
= 0 ;
18078 PyObject
* obj5
= 0 ;
18079 PyObject
* obj6
= 0 ;
18080 char *kwnames
[] = {
18081 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18088 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18090 if (arg2
== NULL
) {
18091 PyErr_SetString(PyExc_TypeError
,"null reference");
18094 arg3
= (double) SWIG_AsDouble(obj2
);
18095 if (PyErr_Occurred()) SWIG_fail
;
18096 arg4
= (double) SWIG_AsDouble(obj3
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18098 arg5
= (double) SWIG_AsDouble(obj4
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18100 arg6
= (double) SWIG_AsDouble(obj5
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 arg7
= (bool) SWIG_AsBool(obj6
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18108 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18110 wxPyEndAllowThreads(__tstate
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18113 Py_INCREF(Py_None
); resultobj
= Py_None
;
18120 static PyObject
*_wrap_PyCompositeShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18121 PyObject
*resultobj
;
18122 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18126 int arg5
= (int) 0 ;
18127 int arg6
= (int) 0 ;
18128 PyObject
* obj0
= 0 ;
18129 PyObject
* obj1
= 0 ;
18130 PyObject
* obj2
= 0 ;
18131 PyObject
* obj3
= 0 ;
18132 PyObject
* obj4
= 0 ;
18133 PyObject
* obj5
= 0 ;
18134 char *kwnames
[] = {
18135 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18141 arg2
= (bool) SWIG_AsBool(obj1
);
18142 if (PyErr_Occurred()) SWIG_fail
;
18143 arg3
= (double) SWIG_AsDouble(obj2
);
18144 if (PyErr_Occurred()) SWIG_fail
;
18145 arg4
= (double) SWIG_AsDouble(obj3
);
18146 if (PyErr_Occurred()) SWIG_fail
;
18148 arg5
= (int) SWIG_AsInt(obj4
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18152 arg6
= (int) SWIG_AsInt(obj5
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18157 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18159 wxPyEndAllowThreads(__tstate
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18162 Py_INCREF(Py_None
); resultobj
= Py_None
;
18169 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18170 PyObject
*resultobj
;
18171 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18174 int arg4
= (int) 0 ;
18175 int arg5
= (int) 0 ;
18176 PyObject
* obj0
= 0 ;
18177 PyObject
* obj1
= 0 ;
18178 PyObject
* obj2
= 0 ;
18179 PyObject
* obj3
= 0 ;
18180 PyObject
* obj4
= 0 ;
18181 char *kwnames
[] = {
18182 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18188 arg2
= (double) SWIG_AsDouble(obj1
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18190 arg3
= (double) SWIG_AsDouble(obj2
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 arg4
= (int) SWIG_AsInt(obj3
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18197 arg5
= (int) SWIG_AsInt(obj4
);
18198 if (PyErr_Occurred()) SWIG_fail
;
18201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18202 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
18204 wxPyEndAllowThreads(__tstate
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18207 Py_INCREF(Py_None
); resultobj
= Py_None
;
18214 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18215 PyObject
*resultobj
;
18216 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18219 int arg4
= (int) 0 ;
18220 int arg5
= (int) 0 ;
18221 PyObject
* obj0
= 0 ;
18222 PyObject
* obj1
= 0 ;
18223 PyObject
* obj2
= 0 ;
18224 PyObject
* obj3
= 0 ;
18225 PyObject
* obj4
= 0 ;
18226 char *kwnames
[] = {
18227 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18233 arg2
= (double) SWIG_AsDouble(obj1
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18235 arg3
= (double) SWIG_AsDouble(obj2
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18238 arg4
= (int) SWIG_AsInt(obj3
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18242 arg5
= (int) SWIG_AsInt(obj4
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18247 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
18249 wxPyEndAllowThreads(__tstate
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18252 Py_INCREF(Py_None
); resultobj
= Py_None
;
18259 static PyObject
*_wrap_PyCompositeShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18260 PyObject
*resultobj
;
18261 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18265 int arg5
= (int) 0 ;
18266 int arg6
= (int) 0 ;
18267 PyObject
* obj0
= 0 ;
18268 PyObject
* obj1
= 0 ;
18269 PyObject
* obj2
= 0 ;
18270 PyObject
* obj3
= 0 ;
18271 PyObject
* obj4
= 0 ;
18272 PyObject
* obj5
= 0 ;
18273 char *kwnames
[] = {
18274 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18280 arg2
= (bool) SWIG_AsBool(obj1
);
18281 if (PyErr_Occurred()) SWIG_fail
;
18282 arg3
= (double) SWIG_AsDouble(obj2
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18284 arg4
= (double) SWIG_AsDouble(obj3
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18287 arg5
= (int) SWIG_AsInt(obj4
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18291 arg6
= (int) SWIG_AsInt(obj5
);
18292 if (PyErr_Occurred()) SWIG_fail
;
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18301 Py_INCREF(Py_None
); resultobj
= Py_None
;
18308 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18309 PyObject
*resultobj
;
18310 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18313 int arg4
= (int) 0 ;
18314 int arg5
= (int) 0 ;
18315 PyObject
* obj0
= 0 ;
18316 PyObject
* obj1
= 0 ;
18317 PyObject
* obj2
= 0 ;
18318 PyObject
* obj3
= 0 ;
18319 PyObject
* obj4
= 0 ;
18320 char *kwnames
[] = {
18321 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18327 arg2
= (double) SWIG_AsDouble(obj1
);
18328 if (PyErr_Occurred()) SWIG_fail
;
18329 arg3
= (double) SWIG_AsDouble(obj2
);
18330 if (PyErr_Occurred()) SWIG_fail
;
18332 arg4
= (int) SWIG_AsInt(obj3
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18336 arg5
= (int) SWIG_AsInt(obj4
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 Py_INCREF(Py_None
); resultobj
= Py_None
;
18353 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18354 PyObject
*resultobj
;
18355 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18358 int arg4
= (int) 0 ;
18359 int arg5
= (int) 0 ;
18360 PyObject
* obj0
= 0 ;
18361 PyObject
* obj1
= 0 ;
18362 PyObject
* obj2
= 0 ;
18363 PyObject
* obj3
= 0 ;
18364 PyObject
* obj4
= 0 ;
18365 char *kwnames
[] = {
18366 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18372 arg2
= (double) SWIG_AsDouble(obj1
);
18373 if (PyErr_Occurred()) SWIG_fail
;
18374 arg3
= (double) SWIG_AsDouble(obj2
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18377 arg4
= (int) SWIG_AsInt(obj3
);
18378 if (PyErr_Occurred()) SWIG_fail
;
18381 arg5
= (int) SWIG_AsInt(obj4
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18386 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
18388 wxPyEndAllowThreads(__tstate
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18391 Py_INCREF(Py_None
); resultobj
= Py_None
;
18398 static PyObject
*_wrap_PyCompositeShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18399 PyObject
*resultobj
;
18400 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18406 PyObject
* obj0
= 0 ;
18407 PyObject
* obj1
= 0 ;
18408 PyObject
* obj2
= 0 ;
18409 PyObject
* obj3
= 0 ;
18410 PyObject
* obj4
= 0 ;
18411 PyObject
* obj5
= 0 ;
18412 char *kwnames
[] = {
18413 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyCompositeShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18419 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18420 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18422 if (arg2
== NULL
) {
18423 PyErr_SetString(PyExc_TypeError
,"null reference");
18426 arg3
= (double) SWIG_AsDouble(obj2
);
18427 if (PyErr_Occurred()) SWIG_fail
;
18428 arg4
= (double) SWIG_AsDouble(obj3
);
18429 if (PyErr_Occurred()) SWIG_fail
;
18430 arg5
= (double) SWIG_AsDouble(obj4
);
18431 if (PyErr_Occurred()) SWIG_fail
;
18432 arg6
= (double) SWIG_AsDouble(obj5
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18436 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
18438 wxPyEndAllowThreads(__tstate
);
18439 if (PyErr_Occurred()) SWIG_fail
;
18441 Py_INCREF(Py_None
); resultobj
= Py_None
;
18448 static PyObject
*_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18449 PyObject
*resultobj
;
18450 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18452 PyObject
* obj0
= 0 ;
18453 PyObject
* obj1
= 0 ;
18454 char *kwnames
[] = {
18455 (char *) "self",(char *) "dc", NULL
18458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18462 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18464 if (arg2
== NULL
) {
18465 PyErr_SetString(PyExc_TypeError
,"null reference");
18469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18470 (arg1
)->base_OnDrawControlPoints(*arg2
);
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18475 Py_INCREF(Py_None
); resultobj
= Py_None
;
18482 static PyObject
*_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18486 PyObject
* obj0
= 0 ;
18487 PyObject
* obj1
= 0 ;
18488 char *kwnames
[] = {
18489 (char *) "self",(char *) "dc", NULL
18492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18496 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18498 if (arg2
== NULL
) {
18499 PyErr_SetString(PyExc_TypeError
,"null reference");
18503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18504 (arg1
)->base_OnEraseControlPoints(*arg2
);
18506 wxPyEndAllowThreads(__tstate
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18509 Py_INCREF(Py_None
); resultobj
= Py_None
;
18516 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18517 PyObject
*resultobj
;
18518 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18520 bool arg3
= (bool) True
;
18521 PyObject
* obj0
= 0 ;
18522 PyObject
* obj1
= 0 ;
18523 PyObject
* obj2
= 0 ;
18524 char *kwnames
[] = {
18525 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18534 if (arg2
== NULL
) {
18535 PyErr_SetString(PyExc_TypeError
,"null reference");
18539 arg3
= (bool) SWIG_AsBool(obj2
);
18540 if (PyErr_Occurred()) SWIG_fail
;
18543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
18546 wxPyEndAllowThreads(__tstate
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18549 Py_INCREF(Py_None
); resultobj
= Py_None
;
18556 static PyObject
*_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18557 PyObject
*resultobj
;
18558 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18559 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18563 int arg6
= (int) 0 ;
18564 int arg7
= (int) 0 ;
18565 PyObject
* obj0
= 0 ;
18566 PyObject
* obj1
= 0 ;
18567 PyObject
* obj2
= 0 ;
18568 PyObject
* obj3
= 0 ;
18569 PyObject
* obj4
= 0 ;
18570 PyObject
* obj5
= 0 ;
18571 PyObject
* obj6
= 0 ;
18572 char *kwnames
[] = {
18573 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyCompositeShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18581 arg3
= (bool) SWIG_AsBool(obj2
);
18582 if (PyErr_Occurred()) SWIG_fail
;
18583 arg4
= (double) SWIG_AsDouble(obj3
);
18584 if (PyErr_Occurred()) SWIG_fail
;
18585 arg5
= (double) SWIG_AsDouble(obj4
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18588 arg6
= (int) SWIG_AsInt(obj5
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18592 arg7
= (int) SWIG_AsInt(obj6
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18597 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18599 wxPyEndAllowThreads(__tstate
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18602 Py_INCREF(Py_None
); resultobj
= Py_None
;
18609 static PyObject
*_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
;
18611 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18612 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18615 int arg5
= (int) 0 ;
18616 int arg6
= (int) 0 ;
18617 PyObject
* obj0
= 0 ;
18618 PyObject
* obj1
= 0 ;
18619 PyObject
* obj2
= 0 ;
18620 PyObject
* obj3
= 0 ;
18621 PyObject
* obj4
= 0 ;
18622 PyObject
* obj5
= 0 ;
18623 char *kwnames
[] = {
18624 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18632 arg3
= (double) SWIG_AsDouble(obj2
);
18633 if (PyErr_Occurred()) SWIG_fail
;
18634 arg4
= (double) SWIG_AsDouble(obj3
);
18635 if (PyErr_Occurred()) SWIG_fail
;
18637 arg5
= (int) SWIG_AsInt(obj4
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18641 arg6
= (int) SWIG_AsInt(obj5
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18646 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18651 Py_INCREF(Py_None
); resultobj
= Py_None
;
18658 static PyObject
*_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18659 PyObject
*resultobj
;
18660 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18661 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18664 int arg5
= (int) 0 ;
18665 int arg6
= (int) 0 ;
18666 PyObject
* obj0
= 0 ;
18667 PyObject
* obj1
= 0 ;
18668 PyObject
* obj2
= 0 ;
18669 PyObject
* obj3
= 0 ;
18670 PyObject
* obj4
= 0 ;
18671 PyObject
* obj5
= 0 ;
18672 char *kwnames
[] = {
18673 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18681 arg3
= (double) SWIG_AsDouble(obj2
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18683 arg4
= (double) SWIG_AsDouble(obj3
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18686 arg5
= (int) SWIG_AsInt(obj4
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18690 arg6
= (int) SWIG_AsInt(obj5
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18695 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18697 wxPyEndAllowThreads(__tstate
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18700 Py_INCREF(Py_None
); resultobj
= Py_None
;
18707 static PyObject
*_wrap_PyCompositeShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18708 PyObject
*resultobj
;
18709 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18712 PyObject
* obj0
= 0 ;
18713 PyObject
* obj1
= 0 ;
18714 PyObject
* obj2
= 0 ;
18715 char *kwnames
[] = {
18716 (char *) "self",(char *) "w",(char *) "h", NULL
18719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18722 arg2
= (double) SWIG_AsDouble(obj1
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18724 arg3
= (double) SWIG_AsDouble(obj2
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18728 (arg1
)->base_OnBeginSize(arg2
,arg3
);
18730 wxPyEndAllowThreads(__tstate
);
18731 if (PyErr_Occurred()) SWIG_fail
;
18733 Py_INCREF(Py_None
); resultobj
= Py_None
;
18740 static PyObject
*_wrap_PyCompositeShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18741 PyObject
*resultobj
;
18742 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18745 PyObject
* obj0
= 0 ;
18746 PyObject
* obj1
= 0 ;
18747 PyObject
* obj2
= 0 ;
18748 char *kwnames
[] = {
18749 (char *) "self",(char *) "w",(char *) "h", NULL
18752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18755 arg2
= (double) SWIG_AsDouble(obj1
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18757 arg3
= (double) SWIG_AsDouble(obj2
);
18758 if (PyErr_Occurred()) SWIG_fail
;
18760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18761 (arg1
)->base_OnEndSize(arg2
,arg3
);
18763 wxPyEndAllowThreads(__tstate
);
18764 if (PyErr_Occurred()) SWIG_fail
;
18766 Py_INCREF(Py_None
); resultobj
= Py_None
;
18773 static PyObject
* PyCompositeShape_swigregister(PyObject
*self
, PyObject
*args
) {
18775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18776 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape
, obj
);
18778 return Py_BuildValue((char *)"");
18780 static PyObject
*_wrap_new_PyDividedShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18781 PyObject
*resultobj
;
18782 double arg1
= (double) 0.0 ;
18783 double arg2
= (double) 0.0 ;
18784 wxPyDividedShape
*result
;
18785 PyObject
* obj0
= 0 ;
18786 PyObject
* obj1
= 0 ;
18787 char *kwnames
[] = {
18788 (char *) "width",(char *) "height", NULL
18791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyDividedShape",kwnames
,&obj0
,&obj1
)) goto fail
;
18793 arg1
= (double) SWIG_AsDouble(obj0
);
18794 if (PyErr_Occurred()) SWIG_fail
;
18797 arg2
= (double) SWIG_AsDouble(obj1
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18802 result
= (wxPyDividedShape
*)new wxPyDividedShape(arg1
,arg2
);
18804 wxPyEndAllowThreads(__tstate
);
18805 if (PyErr_Occurred()) SWIG_fail
;
18807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDividedShape
, 1);
18814 static PyObject
*_wrap_PyDividedShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18815 PyObject
*resultobj
;
18816 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18817 PyObject
*arg2
= (PyObject
*) 0 ;
18818 PyObject
*arg3
= (PyObject
*) 0 ;
18819 PyObject
* obj0
= 0 ;
18820 PyObject
* obj1
= 0 ;
18821 PyObject
* obj2
= 0 ;
18822 char *kwnames
[] = {
18823 (char *) "self",(char *) "self",(char *) "_class", NULL
18826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18833 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18835 wxPyEndAllowThreads(__tstate
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18838 Py_INCREF(Py_None
); resultobj
= Py_None
;
18845 static PyObject
*_wrap_PyDividedShape_EditRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18846 PyObject
*resultobj
;
18847 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18848 PyObject
* obj0
= 0 ;
18849 char *kwnames
[] = {
18850 (char *) "self", NULL
18853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_EditRegions",kwnames
,&obj0
)) goto fail
;
18854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18858 (arg1
)->EditRegions();
18860 wxPyEndAllowThreads(__tstate
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18863 Py_INCREF(Py_None
); resultobj
= Py_None
;
18870 static PyObject
*_wrap_PyDividedShape_SetRegionSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18871 PyObject
*resultobj
;
18872 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18873 PyObject
* obj0
= 0 ;
18874 char *kwnames
[] = {
18875 (char *) "self", NULL
18878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_SetRegionSizes",kwnames
,&obj0
)) goto fail
;
18879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18883 (arg1
)->SetRegionSizes();
18885 wxPyEndAllowThreads(__tstate
);
18886 if (PyErr_Occurred()) SWIG_fail
;
18888 Py_INCREF(Py_None
); resultobj
= Py_None
;
18895 static PyObject
*_wrap_PyDividedShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18896 PyObject
*resultobj
;
18897 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18898 PyObject
* obj0
= 0 ;
18899 char *kwnames
[] = {
18900 (char *) "self", NULL
18903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
18904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18908 (arg1
)->base_OnDelete();
18910 wxPyEndAllowThreads(__tstate
);
18911 if (PyErr_Occurred()) SWIG_fail
;
18913 Py_INCREF(Py_None
); resultobj
= Py_None
;
18920 static PyObject
*_wrap_PyDividedShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18921 PyObject
*resultobj
;
18922 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18924 PyObject
* obj0
= 0 ;
18925 PyObject
* obj1
= 0 ;
18926 char *kwnames
[] = {
18927 (char *) "self",(char *) "dc", NULL
18930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
18931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18933 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18934 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18936 if (arg2
== NULL
) {
18937 PyErr_SetString(PyExc_TypeError
,"null reference");
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 (arg1
)->base_OnDraw(*arg2
);
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18947 Py_INCREF(Py_None
); resultobj
= Py_None
;
18954 static PyObject
*_wrap_PyDividedShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
;
18956 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18958 PyObject
* obj0
= 0 ;
18959 PyObject
* obj1
= 0 ;
18960 char *kwnames
[] = {
18961 (char *) "self",(char *) "dc", NULL
18964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
18965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18967 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18968 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18970 if (arg2
== NULL
) {
18971 PyErr_SetString(PyExc_TypeError
,"null reference");
18975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18976 (arg1
)->base_OnDrawContents(*arg2
);
18978 wxPyEndAllowThreads(__tstate
);
18979 if (PyErr_Occurred()) SWIG_fail
;
18981 Py_INCREF(Py_None
); resultobj
= Py_None
;
18988 static PyObject
*_wrap_PyDividedShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18989 PyObject
*resultobj
;
18990 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18992 bool arg3
= (bool) FALSE
;
18993 PyObject
* obj0
= 0 ;
18994 PyObject
* obj1
= 0 ;
18995 PyObject
* obj2
= 0 ;
18996 char *kwnames
[] = {
18997 (char *) "self",(char *) "dc",(char *) "erase", NULL
19000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19006 if (arg2
== NULL
) {
19007 PyErr_SetString(PyExc_TypeError
,"null reference");
19011 arg3
= (bool) SWIG_AsBool(obj2
);
19012 if (PyErr_Occurred()) SWIG_fail
;
19015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19016 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
19018 wxPyEndAllowThreads(__tstate
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19021 Py_INCREF(Py_None
); resultobj
= Py_None
;
19028 static PyObject
*_wrap_PyDividedShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
;
19030 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19032 PyObject
* obj0
= 0 ;
19033 PyObject
* obj1
= 0 ;
19034 char *kwnames
[] = {
19035 (char *) "self",(char *) "dc", NULL
19038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
19039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19042 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19044 if (arg2
== NULL
) {
19045 PyErr_SetString(PyExc_TypeError
,"null reference");
19049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19050 (arg1
)->base_OnMoveLinks(*arg2
);
19052 wxPyEndAllowThreads(__tstate
);
19053 if (PyErr_Occurred()) SWIG_fail
;
19055 Py_INCREF(Py_None
); resultobj
= Py_None
;
19062 static PyObject
*_wrap_PyDividedShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19063 PyObject
*resultobj
;
19064 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19066 PyObject
* obj0
= 0 ;
19067 PyObject
* obj1
= 0 ;
19068 char *kwnames
[] = {
19069 (char *) "self",(char *) "dc", NULL
19072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
19073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19076 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19078 if (arg2
== NULL
) {
19079 PyErr_SetString(PyExc_TypeError
,"null reference");
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 (arg1
)->base_OnErase(*arg2
);
19086 wxPyEndAllowThreads(__tstate
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19089 Py_INCREF(Py_None
); resultobj
= Py_None
;
19096 static PyObject
*_wrap_PyDividedShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
;
19098 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19100 PyObject
* obj0
= 0 ;
19101 PyObject
* obj1
= 0 ;
19102 char *kwnames
[] = {
19103 (char *) "self",(char *) "dc", NULL
19106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
19107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19110 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19112 if (arg2
== NULL
) {
19113 PyErr_SetString(PyExc_TypeError
,"null reference");
19117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19118 (arg1
)->base_OnEraseContents(*arg2
);
19120 wxPyEndAllowThreads(__tstate
);
19121 if (PyErr_Occurred()) SWIG_fail
;
19123 Py_INCREF(Py_None
); resultobj
= Py_None
;
19130 static PyObject
*_wrap_PyDividedShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
;
19132 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19134 PyObject
* obj0
= 0 ;
19135 PyObject
* obj1
= 0 ;
19136 char *kwnames
[] = {
19137 (char *) "self",(char *) "dc", NULL
19140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
19141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19144 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19146 if (arg2
== NULL
) {
19147 PyErr_SetString(PyExc_TypeError
,"null reference");
19151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19152 (arg1
)->base_OnHighlight(*arg2
);
19154 wxPyEndAllowThreads(__tstate
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19157 Py_INCREF(Py_None
); resultobj
= Py_None
;
19164 static PyObject
*_wrap_PyDividedShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19165 PyObject
*resultobj
;
19166 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19169 int arg4
= (int) 0 ;
19170 int arg5
= (int) 0 ;
19171 PyObject
* obj0
= 0 ;
19172 PyObject
* obj1
= 0 ;
19173 PyObject
* obj2
= 0 ;
19174 PyObject
* obj3
= 0 ;
19175 PyObject
* obj4
= 0 ;
19176 char *kwnames
[] = {
19177 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19183 arg2
= (double) SWIG_AsDouble(obj1
);
19184 if (PyErr_Occurred()) SWIG_fail
;
19185 arg3
= (double) SWIG_AsDouble(obj2
);
19186 if (PyErr_Occurred()) SWIG_fail
;
19188 arg4
= (int) SWIG_AsInt(obj3
);
19189 if (PyErr_Occurred()) SWIG_fail
;
19192 arg5
= (int) SWIG_AsInt(obj4
);
19193 if (PyErr_Occurred()) SWIG_fail
;
19196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19197 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
19199 wxPyEndAllowThreads(__tstate
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19202 Py_INCREF(Py_None
); resultobj
= Py_None
;
19209 static PyObject
*_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19210 PyObject
*resultobj
;
19211 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19214 int arg4
= (int) 0 ;
19215 int arg5
= (int) 0 ;
19216 PyObject
* obj0
= 0 ;
19217 PyObject
* obj1
= 0 ;
19218 PyObject
* obj2
= 0 ;
19219 PyObject
* obj3
= 0 ;
19220 PyObject
* obj4
= 0 ;
19221 char *kwnames
[] = {
19222 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19228 arg2
= (double) SWIG_AsDouble(obj1
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19230 arg3
= (double) SWIG_AsDouble(obj2
);
19231 if (PyErr_Occurred()) SWIG_fail
;
19233 arg4
= (int) SWIG_AsInt(obj3
);
19234 if (PyErr_Occurred()) SWIG_fail
;
19237 arg5
= (int) SWIG_AsInt(obj4
);
19238 if (PyErr_Occurred()) SWIG_fail
;
19241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19242 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
19244 wxPyEndAllowThreads(__tstate
);
19245 if (PyErr_Occurred()) SWIG_fail
;
19247 Py_INCREF(Py_None
); resultobj
= Py_None
;
19254 static PyObject
*_wrap_PyDividedShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
;
19256 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19259 int arg4
= (int) 0 ;
19260 int arg5
= (int) 0 ;
19261 PyObject
* obj0
= 0 ;
19262 PyObject
* obj1
= 0 ;
19263 PyObject
* obj2
= 0 ;
19264 PyObject
* obj3
= 0 ;
19265 PyObject
* obj4
= 0 ;
19266 char *kwnames
[] = {
19267 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19273 arg2
= (double) SWIG_AsDouble(obj1
);
19274 if (PyErr_Occurred()) SWIG_fail
;
19275 arg3
= (double) SWIG_AsDouble(obj2
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19278 arg4
= (int) SWIG_AsInt(obj3
);
19279 if (PyErr_Occurred()) SWIG_fail
;
19282 arg5
= (int) SWIG_AsInt(obj4
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19287 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
19289 wxPyEndAllowThreads(__tstate
);
19290 if (PyErr_Occurred()) SWIG_fail
;
19292 Py_INCREF(Py_None
); resultobj
= Py_None
;
19299 static PyObject
*_wrap_PyDividedShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19300 PyObject
*resultobj
;
19301 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19304 PyObject
* obj0
= 0 ;
19305 PyObject
* obj1
= 0 ;
19306 PyObject
* obj2
= 0 ;
19307 char *kwnames
[] = {
19308 (char *) "self",(char *) "x",(char *) "y", NULL
19311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19314 arg2
= (double) SWIG_AsDouble(obj1
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19316 arg3
= (double) SWIG_AsDouble(obj2
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19320 (arg1
)->base_OnSize(arg2
,arg3
);
19322 wxPyEndAllowThreads(__tstate
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19325 Py_INCREF(Py_None
); resultobj
= Py_None
;
19332 static PyObject
*_wrap_PyDividedShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19333 PyObject
*resultobj
;
19334 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19340 bool arg7
= (bool) True
;
19342 PyObject
* obj0
= 0 ;
19343 PyObject
* obj1
= 0 ;
19344 PyObject
* obj2
= 0 ;
19345 PyObject
* obj3
= 0 ;
19346 PyObject
* obj4
= 0 ;
19347 PyObject
* obj5
= 0 ;
19348 PyObject
* obj6
= 0 ;
19349 char *kwnames
[] = {
19350 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19357 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19359 if (arg2
== NULL
) {
19360 PyErr_SetString(PyExc_TypeError
,"null reference");
19363 arg3
= (double) SWIG_AsDouble(obj2
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19365 arg4
= (double) SWIG_AsDouble(obj3
);
19366 if (PyErr_Occurred()) SWIG_fail
;
19367 arg5
= (double) SWIG_AsDouble(obj4
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19369 arg6
= (double) SWIG_AsDouble(obj5
);
19370 if (PyErr_Occurred()) SWIG_fail
;
19372 arg7
= (bool) SWIG_AsBool(obj6
);
19373 if (PyErr_Occurred()) SWIG_fail
;
19376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19377 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19379 wxPyEndAllowThreads(__tstate
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19391 static PyObject
*_wrap_PyDividedShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19392 PyObject
*resultobj
;
19393 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19399 bool arg7
= (bool) True
;
19400 PyObject
* obj0
= 0 ;
19401 PyObject
* obj1
= 0 ;
19402 PyObject
* obj2
= 0 ;
19403 PyObject
* obj3
= 0 ;
19404 PyObject
* obj4
= 0 ;
19405 PyObject
* obj5
= 0 ;
19406 PyObject
* obj6
= 0 ;
19407 char *kwnames
[] = {
19408 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19415 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19417 if (arg2
== NULL
) {
19418 PyErr_SetString(PyExc_TypeError
,"null reference");
19421 arg3
= (double) SWIG_AsDouble(obj2
);
19422 if (PyErr_Occurred()) SWIG_fail
;
19423 arg4
= (double) SWIG_AsDouble(obj3
);
19424 if (PyErr_Occurred()) SWIG_fail
;
19425 arg5
= (double) SWIG_AsDouble(obj4
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19427 arg6
= (double) SWIG_AsDouble(obj5
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19430 arg7
= (bool) SWIG_AsBool(obj6
);
19431 if (PyErr_Occurred()) SWIG_fail
;
19434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19435 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19437 wxPyEndAllowThreads(__tstate
);
19438 if (PyErr_Occurred()) SWIG_fail
;
19440 Py_INCREF(Py_None
); resultobj
= Py_None
;
19447 static PyObject
*_wrap_PyDividedShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
;
19449 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19453 int arg5
= (int) 0 ;
19454 int arg6
= (int) 0 ;
19455 PyObject
* obj0
= 0 ;
19456 PyObject
* obj1
= 0 ;
19457 PyObject
* obj2
= 0 ;
19458 PyObject
* obj3
= 0 ;
19459 PyObject
* obj4
= 0 ;
19460 PyObject
* obj5
= 0 ;
19461 char *kwnames
[] = {
19462 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19468 arg2
= (bool) SWIG_AsBool(obj1
);
19469 if (PyErr_Occurred()) SWIG_fail
;
19470 arg3
= (double) SWIG_AsDouble(obj2
);
19471 if (PyErr_Occurred()) SWIG_fail
;
19472 arg4
= (double) SWIG_AsDouble(obj3
);
19473 if (PyErr_Occurred()) SWIG_fail
;
19475 arg5
= (int) SWIG_AsInt(obj4
);
19476 if (PyErr_Occurred()) SWIG_fail
;
19479 arg6
= (int) SWIG_AsInt(obj5
);
19480 if (PyErr_Occurred()) SWIG_fail
;
19483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19484 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19486 wxPyEndAllowThreads(__tstate
);
19487 if (PyErr_Occurred()) SWIG_fail
;
19489 Py_INCREF(Py_None
); resultobj
= Py_None
;
19496 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19497 PyObject
*resultobj
;
19498 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19501 int arg4
= (int) 0 ;
19502 int arg5
= (int) 0 ;
19503 PyObject
* obj0
= 0 ;
19504 PyObject
* obj1
= 0 ;
19505 PyObject
* obj2
= 0 ;
19506 PyObject
* obj3
= 0 ;
19507 PyObject
* obj4
= 0 ;
19508 char *kwnames
[] = {
19509 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19515 arg2
= (double) SWIG_AsDouble(obj1
);
19516 if (PyErr_Occurred()) SWIG_fail
;
19517 arg3
= (double) SWIG_AsDouble(obj2
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19520 arg4
= (int) SWIG_AsInt(obj3
);
19521 if (PyErr_Occurred()) SWIG_fail
;
19524 arg5
= (int) SWIG_AsInt(obj4
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19529 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
19531 wxPyEndAllowThreads(__tstate
);
19532 if (PyErr_Occurred()) SWIG_fail
;
19534 Py_INCREF(Py_None
); resultobj
= Py_None
;
19541 static PyObject
*_wrap_PyDividedShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19542 PyObject
*resultobj
;
19543 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19546 int arg4
= (int) 0 ;
19547 int arg5
= (int) 0 ;
19548 PyObject
* obj0
= 0 ;
19549 PyObject
* obj1
= 0 ;
19550 PyObject
* obj2
= 0 ;
19551 PyObject
* obj3
= 0 ;
19552 PyObject
* obj4
= 0 ;
19553 char *kwnames
[] = {
19554 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19560 arg2
= (double) SWIG_AsDouble(obj1
);
19561 if (PyErr_Occurred()) SWIG_fail
;
19562 arg3
= (double) SWIG_AsDouble(obj2
);
19563 if (PyErr_Occurred()) SWIG_fail
;
19565 arg4
= (int) SWIG_AsInt(obj3
);
19566 if (PyErr_Occurred()) SWIG_fail
;
19569 arg5
= (int) SWIG_AsInt(obj4
);
19570 if (PyErr_Occurred()) SWIG_fail
;
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
19576 wxPyEndAllowThreads(__tstate
);
19577 if (PyErr_Occurred()) SWIG_fail
;
19579 Py_INCREF(Py_None
); resultobj
= Py_None
;
19586 static PyObject
*_wrap_PyDividedShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19587 PyObject
*resultobj
;
19588 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19592 int arg5
= (int) 0 ;
19593 int arg6
= (int) 0 ;
19594 PyObject
* obj0
= 0 ;
19595 PyObject
* obj1
= 0 ;
19596 PyObject
* obj2
= 0 ;
19597 PyObject
* obj3
= 0 ;
19598 PyObject
* obj4
= 0 ;
19599 PyObject
* obj5
= 0 ;
19600 char *kwnames
[] = {
19601 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19607 arg2
= (bool) SWIG_AsBool(obj1
);
19608 if (PyErr_Occurred()) SWIG_fail
;
19609 arg3
= (double) SWIG_AsDouble(obj2
);
19610 if (PyErr_Occurred()) SWIG_fail
;
19611 arg4
= (double) SWIG_AsDouble(obj3
);
19612 if (PyErr_Occurred()) SWIG_fail
;
19614 arg5
= (int) SWIG_AsInt(obj4
);
19615 if (PyErr_Occurred()) SWIG_fail
;
19618 arg6
= (int) SWIG_AsInt(obj5
);
19619 if (PyErr_Occurred()) SWIG_fail
;
19622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19623 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19628 Py_INCREF(Py_None
); resultobj
= Py_None
;
19635 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19636 PyObject
*resultobj
;
19637 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19640 int arg4
= (int) 0 ;
19641 int arg5
= (int) 0 ;
19642 PyObject
* obj0
= 0 ;
19643 PyObject
* obj1
= 0 ;
19644 PyObject
* obj2
= 0 ;
19645 PyObject
* obj3
= 0 ;
19646 PyObject
* obj4
= 0 ;
19647 char *kwnames
[] = {
19648 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19654 arg2
= (double) SWIG_AsDouble(obj1
);
19655 if (PyErr_Occurred()) SWIG_fail
;
19656 arg3
= (double) SWIG_AsDouble(obj2
);
19657 if (PyErr_Occurred()) SWIG_fail
;
19659 arg4
= (int) SWIG_AsInt(obj3
);
19660 if (PyErr_Occurred()) SWIG_fail
;
19663 arg5
= (int) SWIG_AsInt(obj4
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19668 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
19670 wxPyEndAllowThreads(__tstate
);
19671 if (PyErr_Occurred()) SWIG_fail
;
19673 Py_INCREF(Py_None
); resultobj
= Py_None
;
19680 static PyObject
*_wrap_PyDividedShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19681 PyObject
*resultobj
;
19682 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19685 int arg4
= (int) 0 ;
19686 int arg5
= (int) 0 ;
19687 PyObject
* obj0
= 0 ;
19688 PyObject
* obj1
= 0 ;
19689 PyObject
* obj2
= 0 ;
19690 PyObject
* obj3
= 0 ;
19691 PyObject
* obj4
= 0 ;
19692 char *kwnames
[] = {
19693 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19699 arg2
= (double) SWIG_AsDouble(obj1
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19701 arg3
= (double) SWIG_AsDouble(obj2
);
19702 if (PyErr_Occurred()) SWIG_fail
;
19704 arg4
= (int) SWIG_AsInt(obj3
);
19705 if (PyErr_Occurred()) SWIG_fail
;
19708 arg5
= (int) SWIG_AsInt(obj4
);
19709 if (PyErr_Occurred()) SWIG_fail
;
19712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19713 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
19715 wxPyEndAllowThreads(__tstate
);
19716 if (PyErr_Occurred()) SWIG_fail
;
19718 Py_INCREF(Py_None
); resultobj
= Py_None
;
19725 static PyObject
*_wrap_PyDividedShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19726 PyObject
*resultobj
;
19727 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19733 PyObject
* obj0
= 0 ;
19734 PyObject
* obj1
= 0 ;
19735 PyObject
* obj2
= 0 ;
19736 PyObject
* obj3
= 0 ;
19737 PyObject
* obj4
= 0 ;
19738 PyObject
* obj5
= 0 ;
19739 char *kwnames
[] = {
19740 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDividedShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19747 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19749 if (arg2
== NULL
) {
19750 PyErr_SetString(PyExc_TypeError
,"null reference");
19753 arg3
= (double) SWIG_AsDouble(obj2
);
19754 if (PyErr_Occurred()) SWIG_fail
;
19755 arg4
= (double) SWIG_AsDouble(obj3
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19757 arg5
= (double) SWIG_AsDouble(obj4
);
19758 if (PyErr_Occurred()) SWIG_fail
;
19759 arg6
= (double) SWIG_AsDouble(obj5
);
19760 if (PyErr_Occurred()) SWIG_fail
;
19762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
19765 wxPyEndAllowThreads(__tstate
);
19766 if (PyErr_Occurred()) SWIG_fail
;
19768 Py_INCREF(Py_None
); resultobj
= Py_None
;
19775 static PyObject
*_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19776 PyObject
*resultobj
;
19777 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19779 PyObject
* obj0
= 0 ;
19780 PyObject
* obj1
= 0 ;
19781 char *kwnames
[] = {
19782 (char *) "self",(char *) "dc", NULL
19785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19789 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19791 if (arg2
== NULL
) {
19792 PyErr_SetString(PyExc_TypeError
,"null reference");
19796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19797 (arg1
)->base_OnDrawControlPoints(*arg2
);
19799 wxPyEndAllowThreads(__tstate
);
19800 if (PyErr_Occurred()) SWIG_fail
;
19802 Py_INCREF(Py_None
); resultobj
= Py_None
;
19809 static PyObject
*_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19810 PyObject
*resultobj
;
19811 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19813 PyObject
* obj0
= 0 ;
19814 PyObject
* obj1
= 0 ;
19815 char *kwnames
[] = {
19816 (char *) "self",(char *) "dc", NULL
19819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19822 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19823 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19825 if (arg2
== NULL
) {
19826 PyErr_SetString(PyExc_TypeError
,"null reference");
19830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19831 (arg1
)->base_OnEraseControlPoints(*arg2
);
19833 wxPyEndAllowThreads(__tstate
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19836 Py_INCREF(Py_None
); resultobj
= Py_None
;
19843 static PyObject
*_wrap_PyDividedShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19844 PyObject
*resultobj
;
19845 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19847 bool arg3
= (bool) True
;
19848 PyObject
* obj0
= 0 ;
19849 PyObject
* obj1
= 0 ;
19850 PyObject
* obj2
= 0 ;
19851 char *kwnames
[] = {
19852 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19859 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19861 if (arg2
== NULL
) {
19862 PyErr_SetString(PyExc_TypeError
,"null reference");
19866 arg3
= (bool) SWIG_AsBool(obj2
);
19867 if (PyErr_Occurred()) SWIG_fail
;
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19871 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19876 Py_INCREF(Py_None
); resultobj
= Py_None
;
19883 static PyObject
*_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19886 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19890 int arg6
= (int) 0 ;
19891 int arg7
= (int) 0 ;
19892 PyObject
* obj0
= 0 ;
19893 PyObject
* obj1
= 0 ;
19894 PyObject
* obj2
= 0 ;
19895 PyObject
* obj3
= 0 ;
19896 PyObject
* obj4
= 0 ;
19897 PyObject
* obj5
= 0 ;
19898 PyObject
* obj6
= 0 ;
19899 char *kwnames
[] = {
19900 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDividedShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19906 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
19907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19908 arg3
= (bool) SWIG_AsBool(obj2
);
19909 if (PyErr_Occurred()) SWIG_fail
;
19910 arg4
= (double) SWIG_AsDouble(obj3
);
19911 if (PyErr_Occurred()) SWIG_fail
;
19912 arg5
= (double) SWIG_AsDouble(obj4
);
19913 if (PyErr_Occurred()) SWIG_fail
;
19915 arg6
= (int) SWIG_AsInt(obj5
);
19916 if (PyErr_Occurred()) SWIG_fail
;
19919 arg7
= (int) SWIG_AsInt(obj6
);
19920 if (PyErr_Occurred()) SWIG_fail
;
19923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19924 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19926 wxPyEndAllowThreads(__tstate
);
19927 if (PyErr_Occurred()) SWIG_fail
;
19929 Py_INCREF(Py_None
); resultobj
= Py_None
;
19936 static PyObject
*_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19937 PyObject
*resultobj
;
19938 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19939 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19942 int arg5
= (int) 0 ;
19943 int arg6
= (int) 0 ;
19944 PyObject
* obj0
= 0 ;
19945 PyObject
* obj1
= 0 ;
19946 PyObject
* obj2
= 0 ;
19947 PyObject
* obj3
= 0 ;
19948 PyObject
* obj4
= 0 ;
19949 PyObject
* obj5
= 0 ;
19950 char *kwnames
[] = {
19951 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19957 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
19958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19959 arg3
= (double) SWIG_AsDouble(obj2
);
19960 if (PyErr_Occurred()) SWIG_fail
;
19961 arg4
= (double) SWIG_AsDouble(obj3
);
19962 if (PyErr_Occurred()) SWIG_fail
;
19964 arg5
= (int) SWIG_AsInt(obj4
);
19965 if (PyErr_Occurred()) SWIG_fail
;
19968 arg6
= (int) SWIG_AsInt(obj5
);
19969 if (PyErr_Occurred()) SWIG_fail
;
19972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19973 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19975 wxPyEndAllowThreads(__tstate
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19978 Py_INCREF(Py_None
); resultobj
= Py_None
;
19985 static PyObject
*_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19986 PyObject
*resultobj
;
19987 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19988 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19991 int arg5
= (int) 0 ;
19992 int arg6
= (int) 0 ;
19993 PyObject
* obj0
= 0 ;
19994 PyObject
* obj1
= 0 ;
19995 PyObject
* obj2
= 0 ;
19996 PyObject
* obj3
= 0 ;
19997 PyObject
* obj4
= 0 ;
19998 PyObject
* obj5
= 0 ;
19999 char *kwnames
[] = {
20000 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
20007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20008 arg3
= (double) SWIG_AsDouble(obj2
);
20009 if (PyErr_Occurred()) SWIG_fail
;
20010 arg4
= (double) SWIG_AsDouble(obj3
);
20011 if (PyErr_Occurred()) SWIG_fail
;
20013 arg5
= (int) SWIG_AsInt(obj4
);
20014 if (PyErr_Occurred()) SWIG_fail
;
20017 arg6
= (int) SWIG_AsInt(obj5
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20022 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
20024 wxPyEndAllowThreads(__tstate
);
20025 if (PyErr_Occurred()) SWIG_fail
;
20027 Py_INCREF(Py_None
); resultobj
= Py_None
;
20034 static PyObject
*_wrap_PyDividedShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20035 PyObject
*resultobj
;
20036 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20039 PyObject
* obj0
= 0 ;
20040 PyObject
* obj1
= 0 ;
20041 PyObject
* obj2
= 0 ;
20042 char *kwnames
[] = {
20043 (char *) "self",(char *) "w",(char *) "h", NULL
20046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20049 arg2
= (double) SWIG_AsDouble(obj1
);
20050 if (PyErr_Occurred()) SWIG_fail
;
20051 arg3
= (double) SWIG_AsDouble(obj2
);
20052 if (PyErr_Occurred()) SWIG_fail
;
20054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20055 (arg1
)->base_OnBeginSize(arg2
,arg3
);
20057 wxPyEndAllowThreads(__tstate
);
20058 if (PyErr_Occurred()) SWIG_fail
;
20060 Py_INCREF(Py_None
); resultobj
= Py_None
;
20067 static PyObject
*_wrap_PyDividedShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20068 PyObject
*resultobj
;
20069 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20072 PyObject
* obj0
= 0 ;
20073 PyObject
* obj1
= 0 ;
20074 PyObject
* obj2
= 0 ;
20075 char *kwnames
[] = {
20076 (char *) "self",(char *) "w",(char *) "h", NULL
20079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20082 arg2
= (double) SWIG_AsDouble(obj1
);
20083 if (PyErr_Occurred()) SWIG_fail
;
20084 arg3
= (double) SWIG_AsDouble(obj2
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20088 (arg1
)->base_OnEndSize(arg2
,arg3
);
20090 wxPyEndAllowThreads(__tstate
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20093 Py_INCREF(Py_None
); resultobj
= Py_None
;
20100 static PyObject
* PyDividedShape_swigregister(PyObject
*self
, PyObject
*args
) {
20102 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20103 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape
, obj
);
20105 return Py_BuildValue((char *)"");
20107 static PyObject
*_wrap_new_PyDivisionShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20108 PyObject
*resultobj
;
20109 wxPyDivisionShape
*result
;
20110 char *kwnames
[] = {
20114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDivisionShape",kwnames
)) goto fail
;
20116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20117 result
= (wxPyDivisionShape
*)new wxPyDivisionShape();
20119 wxPyEndAllowThreads(__tstate
);
20120 if (PyErr_Occurred()) SWIG_fail
;
20123 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20131 static PyObject
*_wrap_PyDivisionShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20132 PyObject
*resultobj
;
20133 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20134 PyObject
*arg2
= (PyObject
*) 0 ;
20135 PyObject
*arg3
= (PyObject
*) 0 ;
20136 PyObject
* obj0
= 0 ;
20137 PyObject
* obj1
= 0 ;
20138 PyObject
* obj2
= 0 ;
20139 char *kwnames
[] = {
20140 (char *) "self",(char *) "self",(char *) "_class", NULL
20143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20150 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20152 wxPyEndAllowThreads(__tstate
);
20153 if (PyErr_Occurred()) SWIG_fail
;
20155 Py_INCREF(Py_None
); resultobj
= Py_None
;
20162 static PyObject
*_wrap_PyDivisionShape_AdjustBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20163 PyObject
*resultobj
;
20164 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20167 PyObject
* obj0
= 0 ;
20168 PyObject
* obj1
= 0 ;
20169 PyObject
* obj2
= 0 ;
20170 char *kwnames
[] = {
20171 (char *) "self",(char *) "bottom",(char *) "test", NULL
20174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustBottom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20177 arg2
= (double) SWIG_AsDouble(obj1
);
20178 if (PyErr_Occurred()) SWIG_fail
;
20179 arg3
= (bool) SWIG_AsBool(obj2
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20183 (arg1
)->AdjustBottom(arg2
,arg3
);
20185 wxPyEndAllowThreads(__tstate
);
20186 if (PyErr_Occurred()) SWIG_fail
;
20188 Py_INCREF(Py_None
); resultobj
= Py_None
;
20195 static PyObject
*_wrap_PyDivisionShape_AdjustLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20196 PyObject
*resultobj
;
20197 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20200 PyObject
* obj0
= 0 ;
20201 PyObject
* obj1
= 0 ;
20202 PyObject
* obj2
= 0 ;
20203 char *kwnames
[] = {
20204 (char *) "self",(char *) "left",(char *) "test", NULL
20207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustLeft",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20210 arg2
= (double) SWIG_AsDouble(obj1
);
20211 if (PyErr_Occurred()) SWIG_fail
;
20212 arg3
= (bool) SWIG_AsBool(obj2
);
20213 if (PyErr_Occurred()) SWIG_fail
;
20215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20216 (arg1
)->AdjustLeft(arg2
,arg3
);
20218 wxPyEndAllowThreads(__tstate
);
20219 if (PyErr_Occurred()) SWIG_fail
;
20221 Py_INCREF(Py_None
); resultobj
= Py_None
;
20228 static PyObject
*_wrap_PyDivisionShape_AdjustRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20229 PyObject
*resultobj
;
20230 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20233 PyObject
* obj0
= 0 ;
20234 PyObject
* obj1
= 0 ;
20235 PyObject
* obj2
= 0 ;
20236 char *kwnames
[] = {
20237 (char *) "self",(char *) "right",(char *) "test", NULL
20240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustRight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20243 arg2
= (double) SWIG_AsDouble(obj1
);
20244 if (PyErr_Occurred()) SWIG_fail
;
20245 arg3
= (bool) SWIG_AsBool(obj2
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20249 (arg1
)->AdjustRight(arg2
,arg3
);
20251 wxPyEndAllowThreads(__tstate
);
20252 if (PyErr_Occurred()) SWIG_fail
;
20254 Py_INCREF(Py_None
); resultobj
= Py_None
;
20261 static PyObject
*_wrap_PyDivisionShape_AdjustTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20262 PyObject
*resultobj
;
20263 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20266 PyObject
* obj0
= 0 ;
20267 PyObject
* obj1
= 0 ;
20268 PyObject
* obj2
= 0 ;
20269 char *kwnames
[] = {
20270 (char *) "self",(char *) "top",(char *) "test", NULL
20273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20276 arg2
= (double) SWIG_AsDouble(obj1
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20278 arg3
= (bool) SWIG_AsBool(obj2
);
20279 if (PyErr_Occurred()) SWIG_fail
;
20281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20282 (arg1
)->AdjustTop(arg2
,arg3
);
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20287 Py_INCREF(Py_None
); resultobj
= Py_None
;
20294 static PyObject
*_wrap_PyDivisionShape_Divide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20295 PyObject
*resultobj
;
20296 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20298 PyObject
* obj0
= 0 ;
20299 PyObject
* obj1
= 0 ;
20300 char *kwnames
[] = {
20301 (char *) "self",(char *) "direction", NULL
20304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_Divide",kwnames
,&obj0
,&obj1
)) goto fail
;
20305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20307 arg2
= (int) SWIG_AsInt(obj1
);
20308 if (PyErr_Occurred()) SWIG_fail
;
20310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20311 (arg1
)->Divide(arg2
);
20313 wxPyEndAllowThreads(__tstate
);
20314 if (PyErr_Occurred()) SWIG_fail
;
20316 Py_INCREF(Py_None
); resultobj
= Py_None
;
20323 static PyObject
*_wrap_PyDivisionShape_EditEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20324 PyObject
*resultobj
;
20325 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20327 PyObject
* obj0
= 0 ;
20328 PyObject
* obj1
= 0 ;
20329 char *kwnames
[] = {
20330 (char *) "self",(char *) "side", NULL
20333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_EditEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
20334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20336 arg2
= (int) SWIG_AsInt(obj1
);
20337 if (PyErr_Occurred()) SWIG_fail
;
20339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20340 (arg1
)->EditEdge(arg2
);
20342 wxPyEndAllowThreads(__tstate
);
20343 if (PyErr_Occurred()) SWIG_fail
;
20345 Py_INCREF(Py_None
); resultobj
= Py_None
;
20352 static PyObject
*_wrap_PyDivisionShape_GetBottomSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20353 PyObject
*resultobj
;
20354 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20355 wxPyDivisionShape
*result
;
20356 PyObject
* obj0
= 0 ;
20357 char *kwnames
[] = {
20358 (char *) "self", NULL
20361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetBottomSide",kwnames
,&obj0
)) goto fail
;
20362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20366 result
= (wxPyDivisionShape
*)(arg1
)->GetBottomSide();
20368 wxPyEndAllowThreads(__tstate
);
20369 if (PyErr_Occurred()) SWIG_fail
;
20372 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20380 static PyObject
*_wrap_PyDivisionShape_GetHandleSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20381 PyObject
*resultobj
;
20382 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20384 PyObject
* obj0
= 0 ;
20385 char *kwnames
[] = {
20386 (char *) "self", NULL
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetHandleSide",kwnames
,&obj0
)) goto fail
;
20390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20394 result
= (int)(arg1
)->GetHandleSide();
20396 wxPyEndAllowThreads(__tstate
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20399 resultobj
= SWIG_FromInt((int)result
);
20406 static PyObject
*_wrap_PyDivisionShape_GetLeftSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20407 PyObject
*resultobj
;
20408 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20409 wxPyDivisionShape
*result
;
20410 PyObject
* obj0
= 0 ;
20411 char *kwnames
[] = {
20412 (char *) "self", NULL
20415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSide",kwnames
,&obj0
)) goto fail
;
20416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20420 result
= (wxPyDivisionShape
*)(arg1
)->GetLeftSide();
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20426 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20434 static PyObject
*_wrap_PyDivisionShape_GetLeftSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20435 PyObject
*resultobj
;
20436 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20438 PyObject
* obj0
= 0 ;
20439 char *kwnames
[] = {
20440 (char *) "self", NULL
20443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames
,&obj0
)) goto fail
;
20444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20448 result
= (arg1
)->GetLeftSideColour();
20450 wxPyEndAllowThreads(__tstate
);
20451 if (PyErr_Occurred()) SWIG_fail
;
20455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20466 static PyObject
*_wrap_PyDivisionShape_GetLeftSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20467 PyObject
*resultobj
;
20468 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20470 PyObject
* obj0
= 0 ;
20471 char *kwnames
[] = {
20472 (char *) "self", NULL
20475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames
,&obj0
)) goto fail
;
20476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 result
= (wxPen
*)(arg1
)->GetLeftSidePen();
20482 wxPyEndAllowThreads(__tstate
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
20492 static PyObject
*_wrap_PyDivisionShape_GetRightSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20493 PyObject
*resultobj
;
20494 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20495 wxPyDivisionShape
*result
;
20496 PyObject
* obj0
= 0 ;
20497 char *kwnames
[] = {
20498 (char *) "self", NULL
20501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetRightSide",kwnames
,&obj0
)) goto fail
;
20502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20506 result
= (wxPyDivisionShape
*)(arg1
)->GetRightSide();
20508 wxPyEndAllowThreads(__tstate
);
20509 if (PyErr_Occurred()) SWIG_fail
;
20512 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20520 static PyObject
*_wrap_PyDivisionShape_GetTopSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20521 PyObject
*resultobj
;
20522 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20523 wxPyDivisionShape
*result
;
20524 PyObject
* obj0
= 0 ;
20525 char *kwnames
[] = {
20526 (char *) "self", NULL
20529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSide",kwnames
,&obj0
)) goto fail
;
20530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20534 result
= (wxPyDivisionShape
*)(arg1
)->GetTopSide();
20536 wxPyEndAllowThreads(__tstate
);
20537 if (PyErr_Occurred()) SWIG_fail
;
20540 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20548 static PyObject
*_wrap_PyDivisionShape_GetTopSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20549 PyObject
*resultobj
;
20550 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20552 PyObject
* obj0
= 0 ;
20553 char *kwnames
[] = {
20554 (char *) "self", NULL
20557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames
,&obj0
)) goto fail
;
20558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20562 result
= (wxPen
*)(arg1
)->GetTopSidePen();
20564 wxPyEndAllowThreads(__tstate
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
20574 static PyObject
*_wrap_PyDivisionShape_ResizeAdjoining(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20575 PyObject
*resultobj
;
20576 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20580 PyObject
* obj0
= 0 ;
20581 PyObject
* obj1
= 0 ;
20582 PyObject
* obj2
= 0 ;
20583 PyObject
* obj3
= 0 ;
20584 char *kwnames
[] = {
20585 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
20588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDivisionShape_ResizeAdjoining",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20591 arg2
= (int) SWIG_AsInt(obj1
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20593 arg3
= (double) SWIG_AsDouble(obj2
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20595 arg4
= (bool) SWIG_AsBool(obj3
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20599 (arg1
)->ResizeAdjoining(arg2
,arg3
,arg4
);
20601 wxPyEndAllowThreads(__tstate
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20604 Py_INCREF(Py_None
); resultobj
= Py_None
;
20611 static PyObject
*_wrap_PyDivisionShape_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20612 PyObject
*resultobj
;
20613 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20616 PyObject
* obj0
= 0 ;
20617 PyObject
* obj1
= 0 ;
20618 PyObject
* obj2
= 0 ;
20619 char *kwnames
[] = {
20620 (char *) "self",(char *) "x",(char *) "y", NULL
20623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20626 arg2
= (double) SWIG_AsDouble(obj1
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20628 arg3
= (double) SWIG_AsDouble(obj2
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20632 (arg1
)->PopupMenu(arg2
,arg3
);
20634 wxPyEndAllowThreads(__tstate
);
20635 if (PyErr_Occurred()) SWIG_fail
;
20637 Py_INCREF(Py_None
); resultobj
= Py_None
;
20644 static PyObject
*_wrap_PyDivisionShape_SetBottomSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20645 PyObject
*resultobj
;
20646 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20647 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20648 PyObject
* obj0
= 0 ;
20649 PyObject
* obj1
= 0 ;
20650 char *kwnames
[] = {
20651 (char *) "self",(char *) "shape", NULL
20654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20661 (arg1
)->SetBottomSide(arg2
);
20663 wxPyEndAllowThreads(__tstate
);
20664 if (PyErr_Occurred()) SWIG_fail
;
20666 Py_INCREF(Py_None
); resultobj
= Py_None
;
20673 static PyObject
*_wrap_PyDivisionShape_SetHandleSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20674 PyObject
*resultobj
;
20675 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20677 PyObject
* obj0
= 0 ;
20678 PyObject
* obj1
= 0 ;
20679 char *kwnames
[] = {
20680 (char *) "self",(char *) "side", NULL
20683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetHandleSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20686 arg2
= (int) SWIG_AsInt(obj1
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20690 (arg1
)->SetHandleSide(arg2
);
20692 wxPyEndAllowThreads(__tstate
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20695 Py_INCREF(Py_None
); resultobj
= Py_None
;
20702 static PyObject
*_wrap_PyDivisionShape_SetLeftSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20703 PyObject
*resultobj
;
20704 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20705 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20706 PyObject
* obj0
= 0 ;
20707 PyObject
* obj1
= 0 ;
20708 char *kwnames
[] = {
20709 (char *) "self",(char *) "shape", NULL
20712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20719 (arg1
)->SetLeftSide(arg2
);
20721 wxPyEndAllowThreads(__tstate
);
20722 if (PyErr_Occurred()) SWIG_fail
;
20724 Py_INCREF(Py_None
); resultobj
= Py_None
;
20731 static PyObject
*_wrap_PyDivisionShape_SetLeftSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20732 PyObject
*resultobj
;
20733 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20734 wxString
*arg2
= 0 ;
20735 bool temp2
= False
;
20736 PyObject
* obj0
= 0 ;
20737 PyObject
* obj1
= 0 ;
20738 char *kwnames
[] = {
20739 (char *) "self",(char *) "colour", NULL
20742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20746 arg2
= wxString_in_helper(obj1
);
20747 if (arg2
== NULL
) SWIG_fail
;
20751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20752 (arg1
)->SetLeftSideColour((wxString
const &)*arg2
);
20754 wxPyEndAllowThreads(__tstate
);
20755 if (PyErr_Occurred()) SWIG_fail
;
20757 Py_INCREF(Py_None
); resultobj
= Py_None
;
20772 static PyObject
*_wrap_PyDivisionShape_SetLeftSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20773 PyObject
*resultobj
;
20774 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20775 wxPen
*arg2
= (wxPen
*) 0 ;
20776 PyObject
* obj0
= 0 ;
20777 PyObject
* obj1
= 0 ;
20778 char *kwnames
[] = {
20779 (char *) "self",(char *) "pen", NULL
20782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
20783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20788 if (obj1
== Py_None
) {
20791 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
20792 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
20797 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
20804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20805 (arg1
)->SetLeftSidePen(arg2
);
20807 wxPyEndAllowThreads(__tstate
);
20808 if (PyErr_Occurred()) SWIG_fail
;
20810 Py_INCREF(Py_None
); resultobj
= Py_None
;
20817 static PyObject
*_wrap_PyDivisionShape_SetRightSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20818 PyObject
*resultobj
;
20819 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20820 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20821 PyObject
* obj0
= 0 ;
20822 PyObject
* obj1
= 0 ;
20823 char *kwnames
[] = {
20824 (char *) "self",(char *) "shape", NULL
20827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetRightSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20834 (arg1
)->SetRightSide(arg2
);
20836 wxPyEndAllowThreads(__tstate
);
20837 if (PyErr_Occurred()) SWIG_fail
;
20839 Py_INCREF(Py_None
); resultobj
= Py_None
;
20846 static PyObject
*_wrap_PyDivisionShape_SetTopSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20847 PyObject
*resultobj
;
20848 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20849 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20850 PyObject
* obj0
= 0 ;
20851 PyObject
* obj1
= 0 ;
20852 char *kwnames
[] = {
20853 (char *) "self",(char *) "shape", NULL
20856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20863 (arg1
)->SetTopSide(arg2
);
20865 wxPyEndAllowThreads(__tstate
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20868 Py_INCREF(Py_None
); resultobj
= Py_None
;
20875 static PyObject
*_wrap_PyDivisionShape_SetTopSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20876 PyObject
*resultobj
;
20877 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20878 wxString
*arg2
= 0 ;
20879 bool temp2
= False
;
20880 PyObject
* obj0
= 0 ;
20881 PyObject
* obj1
= 0 ;
20882 char *kwnames
[] = {
20883 (char *) "self",(char *) "colour", NULL
20886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20890 arg2
= wxString_in_helper(obj1
);
20891 if (arg2
== NULL
) SWIG_fail
;
20895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20896 (arg1
)->SetTopSideColour((wxString
const &)*arg2
);
20898 wxPyEndAllowThreads(__tstate
);
20899 if (PyErr_Occurred()) SWIG_fail
;
20901 Py_INCREF(Py_None
); resultobj
= Py_None
;
20916 static PyObject
*_wrap_PyDivisionShape_SetTopSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20917 PyObject
*resultobj
;
20918 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20919 wxPen
*arg2
= (wxPen
*) 0 ;
20920 PyObject
* obj0
= 0 ;
20921 PyObject
* obj1
= 0 ;
20922 char *kwnames
[] = {
20923 (char *) "self",(char *) "pen", NULL
20926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
20927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20932 if (obj1
== Py_None
) {
20935 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
20936 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
20941 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
20948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20949 (arg1
)->SetTopSidePen(arg2
);
20951 wxPyEndAllowThreads(__tstate
);
20952 if (PyErr_Occurred()) SWIG_fail
;
20954 Py_INCREF(Py_None
); resultobj
= Py_None
;
20961 static PyObject
*_wrap_PyDivisionShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20962 PyObject
*resultobj
;
20963 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20964 PyObject
* obj0
= 0 ;
20965 char *kwnames
[] = {
20966 (char *) "self", NULL
20969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
20970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 (arg1
)->base_OnDelete();
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 Py_INCREF(Py_None
); resultobj
= Py_None
;
20986 static PyObject
*_wrap_PyDivisionShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20987 PyObject
*resultobj
;
20988 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20990 PyObject
* obj0
= 0 ;
20991 PyObject
* obj1
= 0 ;
20992 char *kwnames
[] = {
20993 (char *) "self",(char *) "dc", NULL
20996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
20997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21000 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21002 if (arg2
== NULL
) {
21003 PyErr_SetString(PyExc_TypeError
,"null reference");
21007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21008 (arg1
)->base_OnDraw(*arg2
);
21010 wxPyEndAllowThreads(__tstate
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21013 Py_INCREF(Py_None
); resultobj
= Py_None
;
21020 static PyObject
*_wrap_PyDivisionShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21021 PyObject
*resultobj
;
21022 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21024 PyObject
* obj0
= 0 ;
21025 PyObject
* obj1
= 0 ;
21026 char *kwnames
[] = {
21027 (char *) "self",(char *) "dc", NULL
21030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21033 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21034 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21036 if (arg2
== NULL
) {
21037 PyErr_SetString(PyExc_TypeError
,"null reference");
21041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21042 (arg1
)->base_OnDrawContents(*arg2
);
21044 wxPyEndAllowThreads(__tstate
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21047 Py_INCREF(Py_None
); resultobj
= Py_None
;
21054 static PyObject
*_wrap_PyDivisionShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21055 PyObject
*resultobj
;
21056 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21058 bool arg3
= (bool) FALSE
;
21059 PyObject
* obj0
= 0 ;
21060 PyObject
* obj1
= 0 ;
21061 PyObject
* obj2
= 0 ;
21062 char *kwnames
[] = {
21063 (char *) "self",(char *) "dc",(char *) "erase", NULL
21066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21069 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21070 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21072 if (arg2
== NULL
) {
21073 PyErr_SetString(PyExc_TypeError
,"null reference");
21077 arg3
= (bool) SWIG_AsBool(obj2
);
21078 if (PyErr_Occurred()) SWIG_fail
;
21081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21082 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
21084 wxPyEndAllowThreads(__tstate
);
21085 if (PyErr_Occurred()) SWIG_fail
;
21087 Py_INCREF(Py_None
); resultobj
= Py_None
;
21094 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21095 PyObject
*resultobj
;
21096 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21098 PyObject
* obj0
= 0 ;
21099 PyObject
* obj1
= 0 ;
21100 char *kwnames
[] = {
21101 (char *) "self",(char *) "dc", NULL
21104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
21105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21108 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21110 if (arg2
== NULL
) {
21111 PyErr_SetString(PyExc_TypeError
,"null reference");
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 (arg1
)->base_OnMoveLinks(*arg2
);
21118 wxPyEndAllowThreads(__tstate
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21121 Py_INCREF(Py_None
); resultobj
= Py_None
;
21128 static PyObject
*_wrap_PyDivisionShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21129 PyObject
*resultobj
;
21130 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21132 PyObject
* obj0
= 0 ;
21133 PyObject
* obj1
= 0 ;
21134 char *kwnames
[] = {
21135 (char *) "self",(char *) "dc", NULL
21138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
21139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21141 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21142 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21144 if (arg2
== NULL
) {
21145 PyErr_SetString(PyExc_TypeError
,"null reference");
21149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21150 (arg1
)->base_OnErase(*arg2
);
21152 wxPyEndAllowThreads(__tstate
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21155 Py_INCREF(Py_None
); resultobj
= Py_None
;
21162 static PyObject
*_wrap_PyDivisionShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21163 PyObject
*resultobj
;
21164 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21166 PyObject
* obj0
= 0 ;
21167 PyObject
* obj1
= 0 ;
21168 char *kwnames
[] = {
21169 (char *) "self",(char *) "dc", NULL
21172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21175 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21176 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21178 if (arg2
== NULL
) {
21179 PyErr_SetString(PyExc_TypeError
,"null reference");
21183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21184 (arg1
)->base_OnEraseContents(*arg2
);
21186 wxPyEndAllowThreads(__tstate
);
21187 if (PyErr_Occurred()) SWIG_fail
;
21189 Py_INCREF(Py_None
); resultobj
= Py_None
;
21196 static PyObject
*_wrap_PyDivisionShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21197 PyObject
*resultobj
;
21198 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21200 PyObject
* obj0
= 0 ;
21201 PyObject
* obj1
= 0 ;
21202 char *kwnames
[] = {
21203 (char *) "self",(char *) "dc", NULL
21206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
21207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21210 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21212 if (arg2
== NULL
) {
21213 PyErr_SetString(PyExc_TypeError
,"null reference");
21217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21218 (arg1
)->base_OnHighlight(*arg2
);
21220 wxPyEndAllowThreads(__tstate
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21223 Py_INCREF(Py_None
); resultobj
= Py_None
;
21230 static PyObject
*_wrap_PyDivisionShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21231 PyObject
*resultobj
;
21232 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21235 int arg4
= (int) 0 ;
21236 int arg5
= (int) 0 ;
21237 PyObject
* obj0
= 0 ;
21238 PyObject
* obj1
= 0 ;
21239 PyObject
* obj2
= 0 ;
21240 PyObject
* obj3
= 0 ;
21241 PyObject
* obj4
= 0 ;
21242 char *kwnames
[] = {
21243 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21249 arg2
= (double) SWIG_AsDouble(obj1
);
21250 if (PyErr_Occurred()) SWIG_fail
;
21251 arg3
= (double) SWIG_AsDouble(obj2
);
21252 if (PyErr_Occurred()) SWIG_fail
;
21254 arg4
= (int) SWIG_AsInt(obj3
);
21255 if (PyErr_Occurred()) SWIG_fail
;
21258 arg5
= (int) SWIG_AsInt(obj4
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21263 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
21265 wxPyEndAllowThreads(__tstate
);
21266 if (PyErr_Occurred()) SWIG_fail
;
21268 Py_INCREF(Py_None
); resultobj
= Py_None
;
21275 static PyObject
*_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21276 PyObject
*resultobj
;
21277 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21280 int arg4
= (int) 0 ;
21281 int arg5
= (int) 0 ;
21282 PyObject
* obj0
= 0 ;
21283 PyObject
* obj1
= 0 ;
21284 PyObject
* obj2
= 0 ;
21285 PyObject
* obj3
= 0 ;
21286 PyObject
* obj4
= 0 ;
21287 char *kwnames
[] = {
21288 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21294 arg2
= (double) SWIG_AsDouble(obj1
);
21295 if (PyErr_Occurred()) SWIG_fail
;
21296 arg3
= (double) SWIG_AsDouble(obj2
);
21297 if (PyErr_Occurred()) SWIG_fail
;
21299 arg4
= (int) SWIG_AsInt(obj3
);
21300 if (PyErr_Occurred()) SWIG_fail
;
21303 arg5
= (int) SWIG_AsInt(obj4
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21308 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
21310 wxPyEndAllowThreads(__tstate
);
21311 if (PyErr_Occurred()) SWIG_fail
;
21313 Py_INCREF(Py_None
); resultobj
= Py_None
;
21320 static PyObject
*_wrap_PyDivisionShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21321 PyObject
*resultobj
;
21322 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21325 int arg4
= (int) 0 ;
21326 int arg5
= (int) 0 ;
21327 PyObject
* obj0
= 0 ;
21328 PyObject
* obj1
= 0 ;
21329 PyObject
* obj2
= 0 ;
21330 PyObject
* obj3
= 0 ;
21331 PyObject
* obj4
= 0 ;
21332 char *kwnames
[] = {
21333 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21339 arg2
= (double) SWIG_AsDouble(obj1
);
21340 if (PyErr_Occurred()) SWIG_fail
;
21341 arg3
= (double) SWIG_AsDouble(obj2
);
21342 if (PyErr_Occurred()) SWIG_fail
;
21344 arg4
= (int) SWIG_AsInt(obj3
);
21345 if (PyErr_Occurred()) SWIG_fail
;
21348 arg5
= (int) SWIG_AsInt(obj4
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21353 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
21355 wxPyEndAllowThreads(__tstate
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21358 Py_INCREF(Py_None
); resultobj
= Py_None
;
21365 static PyObject
*_wrap_PyDivisionShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21366 PyObject
*resultobj
;
21367 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21370 PyObject
* obj0
= 0 ;
21371 PyObject
* obj1
= 0 ;
21372 PyObject
* obj2
= 0 ;
21373 char *kwnames
[] = {
21374 (char *) "self",(char *) "x",(char *) "y", NULL
21377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21380 arg2
= (double) SWIG_AsDouble(obj1
);
21381 if (PyErr_Occurred()) SWIG_fail
;
21382 arg3
= (double) SWIG_AsDouble(obj2
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21386 (arg1
)->base_OnSize(arg2
,arg3
);
21388 wxPyEndAllowThreads(__tstate
);
21389 if (PyErr_Occurred()) SWIG_fail
;
21391 Py_INCREF(Py_None
); resultobj
= Py_None
;
21398 static PyObject
*_wrap_PyDivisionShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21399 PyObject
*resultobj
;
21400 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21406 bool arg7
= (bool) True
;
21408 PyObject
* obj0
= 0 ;
21409 PyObject
* obj1
= 0 ;
21410 PyObject
* obj2
= 0 ;
21411 PyObject
* obj3
= 0 ;
21412 PyObject
* obj4
= 0 ;
21413 PyObject
* obj5
= 0 ;
21414 PyObject
* obj6
= 0 ;
21415 char *kwnames
[] = {
21416 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21423 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21425 if (arg2
== NULL
) {
21426 PyErr_SetString(PyExc_TypeError
,"null reference");
21429 arg3
= (double) SWIG_AsDouble(obj2
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21431 arg4
= (double) SWIG_AsDouble(obj3
);
21432 if (PyErr_Occurred()) SWIG_fail
;
21433 arg5
= (double) SWIG_AsDouble(obj4
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21435 arg6
= (double) SWIG_AsDouble(obj5
);
21436 if (PyErr_Occurred()) SWIG_fail
;
21438 arg7
= (bool) SWIG_AsBool(obj6
);
21439 if (PyErr_Occurred()) SWIG_fail
;
21442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21443 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21445 wxPyEndAllowThreads(__tstate
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21457 static PyObject
*_wrap_PyDivisionShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21458 PyObject
*resultobj
;
21459 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21465 bool arg7
= (bool) True
;
21466 PyObject
* obj0
= 0 ;
21467 PyObject
* obj1
= 0 ;
21468 PyObject
* obj2
= 0 ;
21469 PyObject
* obj3
= 0 ;
21470 PyObject
* obj4
= 0 ;
21471 PyObject
* obj5
= 0 ;
21472 PyObject
* obj6
= 0 ;
21473 char *kwnames
[] = {
21474 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21481 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21483 if (arg2
== NULL
) {
21484 PyErr_SetString(PyExc_TypeError
,"null reference");
21487 arg3
= (double) SWIG_AsDouble(obj2
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21489 arg4
= (double) SWIG_AsDouble(obj3
);
21490 if (PyErr_Occurred()) SWIG_fail
;
21491 arg5
= (double) SWIG_AsDouble(obj4
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21493 arg6
= (double) SWIG_AsDouble(obj5
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21496 arg7
= (bool) SWIG_AsBool(obj6
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21501 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21503 wxPyEndAllowThreads(__tstate
);
21504 if (PyErr_Occurred()) SWIG_fail
;
21506 Py_INCREF(Py_None
); resultobj
= Py_None
;
21513 static PyObject
*_wrap_PyDivisionShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21514 PyObject
*resultobj
;
21515 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21519 int arg5
= (int) 0 ;
21520 int arg6
= (int) 0 ;
21521 PyObject
* obj0
= 0 ;
21522 PyObject
* obj1
= 0 ;
21523 PyObject
* obj2
= 0 ;
21524 PyObject
* obj3
= 0 ;
21525 PyObject
* obj4
= 0 ;
21526 PyObject
* obj5
= 0 ;
21527 char *kwnames
[] = {
21528 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21534 arg2
= (bool) SWIG_AsBool(obj1
);
21535 if (PyErr_Occurred()) SWIG_fail
;
21536 arg3
= (double) SWIG_AsDouble(obj2
);
21537 if (PyErr_Occurred()) SWIG_fail
;
21538 arg4
= (double) SWIG_AsDouble(obj3
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21541 arg5
= (int) SWIG_AsInt(obj4
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21545 arg6
= (int) SWIG_AsInt(obj5
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21550 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
21552 wxPyEndAllowThreads(__tstate
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21555 Py_INCREF(Py_None
); resultobj
= Py_None
;
21562 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21563 PyObject
*resultobj
;
21564 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21567 int arg4
= (int) 0 ;
21568 int arg5
= (int) 0 ;
21569 PyObject
* obj0
= 0 ;
21570 PyObject
* obj1
= 0 ;
21571 PyObject
* obj2
= 0 ;
21572 PyObject
* obj3
= 0 ;
21573 PyObject
* obj4
= 0 ;
21574 char *kwnames
[] = {
21575 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21581 arg2
= (double) SWIG_AsDouble(obj1
);
21582 if (PyErr_Occurred()) SWIG_fail
;
21583 arg3
= (double) SWIG_AsDouble(obj2
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21586 arg4
= (int) SWIG_AsInt(obj3
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21590 arg5
= (int) SWIG_AsInt(obj4
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21595 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
21597 wxPyEndAllowThreads(__tstate
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21600 Py_INCREF(Py_None
); resultobj
= Py_None
;
21607 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21608 PyObject
*resultobj
;
21609 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21612 int arg4
= (int) 0 ;
21613 int arg5
= (int) 0 ;
21614 PyObject
* obj0
= 0 ;
21615 PyObject
* obj1
= 0 ;
21616 PyObject
* obj2
= 0 ;
21617 PyObject
* obj3
= 0 ;
21618 PyObject
* obj4
= 0 ;
21619 char *kwnames
[] = {
21620 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21626 arg2
= (double) SWIG_AsDouble(obj1
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21628 arg3
= (double) SWIG_AsDouble(obj2
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21631 arg4
= (int) SWIG_AsInt(obj3
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21635 arg5
= (int) SWIG_AsInt(obj4
);
21636 if (PyErr_Occurred()) SWIG_fail
;
21639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21640 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
21642 wxPyEndAllowThreads(__tstate
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21645 Py_INCREF(Py_None
); resultobj
= Py_None
;
21652 static PyObject
*_wrap_PyDivisionShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21653 PyObject
*resultobj
;
21654 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21658 int arg5
= (int) 0 ;
21659 int arg6
= (int) 0 ;
21660 PyObject
* obj0
= 0 ;
21661 PyObject
* obj1
= 0 ;
21662 PyObject
* obj2
= 0 ;
21663 PyObject
* obj3
= 0 ;
21664 PyObject
* obj4
= 0 ;
21665 PyObject
* obj5
= 0 ;
21666 char *kwnames
[] = {
21667 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21673 arg2
= (bool) SWIG_AsBool(obj1
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21675 arg3
= (double) SWIG_AsDouble(obj2
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21677 arg4
= (double) SWIG_AsDouble(obj3
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21680 arg5
= (int) SWIG_AsInt(obj4
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21684 arg6
= (int) SWIG_AsInt(obj5
);
21685 if (PyErr_Occurred()) SWIG_fail
;
21688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21689 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
21691 wxPyEndAllowThreads(__tstate
);
21692 if (PyErr_Occurred()) SWIG_fail
;
21694 Py_INCREF(Py_None
); resultobj
= Py_None
;
21701 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21702 PyObject
*resultobj
;
21703 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21706 int arg4
= (int) 0 ;
21707 int arg5
= (int) 0 ;
21708 PyObject
* obj0
= 0 ;
21709 PyObject
* obj1
= 0 ;
21710 PyObject
* obj2
= 0 ;
21711 PyObject
* obj3
= 0 ;
21712 PyObject
* obj4
= 0 ;
21713 char *kwnames
[] = {
21714 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21720 arg2
= (double) SWIG_AsDouble(obj1
);
21721 if (PyErr_Occurred()) SWIG_fail
;
21722 arg3
= (double) SWIG_AsDouble(obj2
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21725 arg4
= (int) SWIG_AsInt(obj3
);
21726 if (PyErr_Occurred()) SWIG_fail
;
21729 arg5
= (int) SWIG_AsInt(obj4
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
21736 wxPyEndAllowThreads(__tstate
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21739 Py_INCREF(Py_None
); resultobj
= Py_None
;
21746 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21747 PyObject
*resultobj
;
21748 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21751 int arg4
= (int) 0 ;
21752 int arg5
= (int) 0 ;
21753 PyObject
* obj0
= 0 ;
21754 PyObject
* obj1
= 0 ;
21755 PyObject
* obj2
= 0 ;
21756 PyObject
* obj3
= 0 ;
21757 PyObject
* obj4
= 0 ;
21758 char *kwnames
[] = {
21759 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21765 arg2
= (double) SWIG_AsDouble(obj1
);
21766 if (PyErr_Occurred()) SWIG_fail
;
21767 arg3
= (double) SWIG_AsDouble(obj2
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21770 arg4
= (int) SWIG_AsInt(obj3
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21774 arg5
= (int) SWIG_AsInt(obj4
);
21775 if (PyErr_Occurred()) SWIG_fail
;
21778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21779 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
21781 wxPyEndAllowThreads(__tstate
);
21782 if (PyErr_Occurred()) SWIG_fail
;
21784 Py_INCREF(Py_None
); resultobj
= Py_None
;
21791 static PyObject
*_wrap_PyDivisionShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21792 PyObject
*resultobj
;
21793 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21799 PyObject
* obj0
= 0 ;
21800 PyObject
* obj1
= 0 ;
21801 PyObject
* obj2
= 0 ;
21802 PyObject
* obj3
= 0 ;
21803 PyObject
* obj4
= 0 ;
21804 PyObject
* obj5
= 0 ;
21805 char *kwnames
[] = {
21806 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
21809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDivisionShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21813 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21815 if (arg2
== NULL
) {
21816 PyErr_SetString(PyExc_TypeError
,"null reference");
21819 arg3
= (double) SWIG_AsDouble(obj2
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21821 arg4
= (double) SWIG_AsDouble(obj3
);
21822 if (PyErr_Occurred()) SWIG_fail
;
21823 arg5
= (double) SWIG_AsDouble(obj4
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21825 arg6
= (double) SWIG_AsDouble(obj5
);
21826 if (PyErr_Occurred()) SWIG_fail
;
21828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21829 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
21831 wxPyEndAllowThreads(__tstate
);
21832 if (PyErr_Occurred()) SWIG_fail
;
21834 Py_INCREF(Py_None
); resultobj
= Py_None
;
21841 static PyObject
*_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21842 PyObject
*resultobj
;
21843 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21845 PyObject
* obj0
= 0 ;
21846 PyObject
* obj1
= 0 ;
21847 char *kwnames
[] = {
21848 (char *) "self",(char *) "dc", NULL
21851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
21852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21857 if (arg2
== NULL
) {
21858 PyErr_SetString(PyExc_TypeError
,"null reference");
21862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21863 (arg1
)->base_OnDrawControlPoints(*arg2
);
21865 wxPyEndAllowThreads(__tstate
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21868 Py_INCREF(Py_None
); resultobj
= Py_None
;
21875 static PyObject
*_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21876 PyObject
*resultobj
;
21877 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21879 PyObject
* obj0
= 0 ;
21880 PyObject
* obj1
= 0 ;
21881 char *kwnames
[] = {
21882 (char *) "self",(char *) "dc", NULL
21885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
21886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21889 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21891 if (arg2
== NULL
) {
21892 PyErr_SetString(PyExc_TypeError
,"null reference");
21896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21897 (arg1
)->base_OnEraseControlPoints(*arg2
);
21899 wxPyEndAllowThreads(__tstate
);
21900 if (PyErr_Occurred()) SWIG_fail
;
21902 Py_INCREF(Py_None
); resultobj
= Py_None
;
21909 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21910 PyObject
*resultobj
;
21911 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21913 bool arg3
= (bool) True
;
21914 PyObject
* obj0
= 0 ;
21915 PyObject
* obj1
= 0 ;
21916 PyObject
* obj2
= 0 ;
21917 char *kwnames
[] = {
21918 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
21921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21925 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21927 if (arg2
== NULL
) {
21928 PyErr_SetString(PyExc_TypeError
,"null reference");
21932 arg3
= (bool) SWIG_AsBool(obj2
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21937 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
21939 wxPyEndAllowThreads(__tstate
);
21940 if (PyErr_Occurred()) SWIG_fail
;
21942 Py_INCREF(Py_None
); resultobj
= Py_None
;
21949 static PyObject
*_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21950 PyObject
*resultobj
;
21951 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21952 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
21956 int arg6
= (int) 0 ;
21957 int arg7
= (int) 0 ;
21958 PyObject
* obj0
= 0 ;
21959 PyObject
* obj1
= 0 ;
21960 PyObject
* obj2
= 0 ;
21961 PyObject
* obj3
= 0 ;
21962 PyObject
* obj4
= 0 ;
21963 PyObject
* obj5
= 0 ;
21964 PyObject
* obj6
= 0 ;
21965 char *kwnames
[] = {
21966 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDivisionShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21972 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
21973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21974 arg3
= (bool) SWIG_AsBool(obj2
);
21975 if (PyErr_Occurred()) SWIG_fail
;
21976 arg4
= (double) SWIG_AsDouble(obj3
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21978 arg5
= (double) SWIG_AsDouble(obj4
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21981 arg6
= (int) SWIG_AsInt(obj5
);
21982 if (PyErr_Occurred()) SWIG_fail
;
21985 arg7
= (int) SWIG_AsInt(obj6
);
21986 if (PyErr_Occurred()) SWIG_fail
;
21989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21990 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21992 wxPyEndAllowThreads(__tstate
);
21993 if (PyErr_Occurred()) SWIG_fail
;
21995 Py_INCREF(Py_None
); resultobj
= Py_None
;
22002 static PyObject
*_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22003 PyObject
*resultobj
;
22004 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22005 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22008 int arg5
= (int) 0 ;
22009 int arg6
= (int) 0 ;
22010 PyObject
* obj0
= 0 ;
22011 PyObject
* obj1
= 0 ;
22012 PyObject
* obj2
= 0 ;
22013 PyObject
* obj3
= 0 ;
22014 PyObject
* obj4
= 0 ;
22015 PyObject
* obj5
= 0 ;
22016 char *kwnames
[] = {
22017 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
22024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22025 arg3
= (double) SWIG_AsDouble(obj2
);
22026 if (PyErr_Occurred()) SWIG_fail
;
22027 arg4
= (double) SWIG_AsDouble(obj3
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22030 arg5
= (int) SWIG_AsInt(obj4
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22034 arg6
= (int) SWIG_AsInt(obj5
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22039 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22044 Py_INCREF(Py_None
); resultobj
= Py_None
;
22051 static PyObject
*_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22052 PyObject
*resultobj
;
22053 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22054 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22057 int arg5
= (int) 0 ;
22058 int arg6
= (int) 0 ;
22059 PyObject
* obj0
= 0 ;
22060 PyObject
* obj1
= 0 ;
22061 PyObject
* obj2
= 0 ;
22062 PyObject
* obj3
= 0 ;
22063 PyObject
* obj4
= 0 ;
22064 PyObject
* obj5
= 0 ;
22065 char *kwnames
[] = {
22066 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22072 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
22073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22074 arg3
= (double) SWIG_AsDouble(obj2
);
22075 if (PyErr_Occurred()) SWIG_fail
;
22076 arg4
= (double) SWIG_AsDouble(obj3
);
22077 if (PyErr_Occurred()) SWIG_fail
;
22079 arg5
= (int) SWIG_AsInt(obj4
);
22080 if (PyErr_Occurred()) SWIG_fail
;
22083 arg6
= (int) SWIG_AsInt(obj5
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22088 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22090 wxPyEndAllowThreads(__tstate
);
22091 if (PyErr_Occurred()) SWIG_fail
;
22093 Py_INCREF(Py_None
); resultobj
= Py_None
;
22100 static PyObject
*_wrap_PyDivisionShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22101 PyObject
*resultobj
;
22102 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22105 PyObject
* obj0
= 0 ;
22106 PyObject
* obj1
= 0 ;
22107 PyObject
* obj2
= 0 ;
22108 char *kwnames
[] = {
22109 (char *) "self",(char *) "w",(char *) "h", NULL
22112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22115 arg2
= (double) SWIG_AsDouble(obj1
);
22116 if (PyErr_Occurred()) SWIG_fail
;
22117 arg3
= (double) SWIG_AsDouble(obj2
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22121 (arg1
)->base_OnBeginSize(arg2
,arg3
);
22123 wxPyEndAllowThreads(__tstate
);
22124 if (PyErr_Occurred()) SWIG_fail
;
22126 Py_INCREF(Py_None
); resultobj
= Py_None
;
22133 static PyObject
*_wrap_PyDivisionShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22134 PyObject
*resultobj
;
22135 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22138 PyObject
* obj0
= 0 ;
22139 PyObject
* obj1
= 0 ;
22140 PyObject
* obj2
= 0 ;
22141 char *kwnames
[] = {
22142 (char *) "self",(char *) "w",(char *) "h", NULL
22145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22148 arg2
= (double) SWIG_AsDouble(obj1
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22150 arg3
= (double) SWIG_AsDouble(obj2
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22154 (arg1
)->base_OnEndSize(arg2
,arg3
);
22156 wxPyEndAllowThreads(__tstate
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22159 Py_INCREF(Py_None
); resultobj
= Py_None
;
22166 static PyObject
* PyDivisionShape_swigregister(PyObject
*self
, PyObject
*args
) {
22168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22169 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape
, obj
);
22171 return Py_BuildValue((char *)"");
22173 static PyObject
*_wrap_new_PyEllipseShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22174 PyObject
*resultobj
;
22175 double arg1
= (double) 0.0 ;
22176 double arg2
= (double) 0.0 ;
22177 wxPyEllipseShape
*result
;
22178 PyObject
* obj0
= 0 ;
22179 PyObject
* obj1
= 0 ;
22180 char *kwnames
[] = {
22181 (char *) "width",(char *) "height", NULL
22184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEllipseShape",kwnames
,&obj0
,&obj1
)) goto fail
;
22186 arg1
= (double) SWIG_AsDouble(obj0
);
22187 if (PyErr_Occurred()) SWIG_fail
;
22190 arg2
= (double) SWIG_AsDouble(obj1
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22195 result
= (wxPyEllipseShape
*)new wxPyEllipseShape(arg1
,arg2
);
22197 wxPyEndAllowThreads(__tstate
);
22198 if (PyErr_Occurred()) SWIG_fail
;
22200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEllipseShape
, 1);
22207 static PyObject
*_wrap_PyEllipseShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22208 PyObject
*resultobj
;
22209 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22210 PyObject
*arg2
= (PyObject
*) 0 ;
22211 PyObject
*arg3
= (PyObject
*) 0 ;
22212 PyObject
* obj0
= 0 ;
22213 PyObject
* obj1
= 0 ;
22214 PyObject
* obj2
= 0 ;
22215 char *kwnames
[] = {
22216 (char *) "self",(char *) "self",(char *) "_class", NULL
22219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22226 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22228 wxPyEndAllowThreads(__tstate
);
22229 if (PyErr_Occurred()) SWIG_fail
;
22231 Py_INCREF(Py_None
); resultobj
= Py_None
;
22238 static PyObject
*_wrap_PyEllipseShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22239 PyObject
*resultobj
;
22240 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22242 PyObject
* obj0
= 0 ;
22243 PyObject
* obj1
= 0 ;
22244 char *kwnames
[] = {
22245 (char *) "self",(char *) "dc", NULL
22248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
22249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22251 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22252 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22254 if (arg2
== NULL
) {
22255 PyErr_SetString(PyExc_TypeError
,"null reference");
22259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22260 (arg1
)->base_OnDraw(*arg2
);
22262 wxPyEndAllowThreads(__tstate
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22265 Py_INCREF(Py_None
); resultobj
= Py_None
;
22272 static PyObject
*_wrap_PyEllipseShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22273 PyObject
*resultobj
;
22274 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22276 PyObject
* obj0
= 0 ;
22277 PyObject
* obj1
= 0 ;
22278 char *kwnames
[] = {
22279 (char *) "self",(char *) "dc", NULL
22282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22286 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22288 if (arg2
== NULL
) {
22289 PyErr_SetString(PyExc_TypeError
,"null reference");
22293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22294 (arg1
)->base_OnDrawContents(*arg2
);
22296 wxPyEndAllowThreads(__tstate
);
22297 if (PyErr_Occurred()) SWIG_fail
;
22299 Py_INCREF(Py_None
); resultobj
= Py_None
;
22306 static PyObject
*_wrap_PyEllipseShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22307 PyObject
*resultobj
;
22308 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22310 bool arg3
= (bool) FALSE
;
22311 PyObject
* obj0
= 0 ;
22312 PyObject
* obj1
= 0 ;
22313 PyObject
* obj2
= 0 ;
22314 char *kwnames
[] = {
22315 (char *) "self",(char *) "dc",(char *) "erase", NULL
22318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22322 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22324 if (arg2
== NULL
) {
22325 PyErr_SetString(PyExc_TypeError
,"null reference");
22329 arg3
= (bool) SWIG_AsBool(obj2
);
22330 if (PyErr_Occurred()) SWIG_fail
;
22333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22334 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
22336 wxPyEndAllowThreads(__tstate
);
22337 if (PyErr_Occurred()) SWIG_fail
;
22339 Py_INCREF(Py_None
); resultobj
= Py_None
;
22346 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22347 PyObject
*resultobj
;
22348 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22350 PyObject
* obj0
= 0 ;
22351 PyObject
* obj1
= 0 ;
22352 char *kwnames
[] = {
22353 (char *) "self",(char *) "dc", NULL
22356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
22357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22362 if (arg2
== NULL
) {
22363 PyErr_SetString(PyExc_TypeError
,"null reference");
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22368 (arg1
)->base_OnMoveLinks(*arg2
);
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22373 Py_INCREF(Py_None
); resultobj
= Py_None
;
22380 static PyObject
*_wrap_PyEllipseShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22381 PyObject
*resultobj
;
22382 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22384 PyObject
* obj0
= 0 ;
22385 PyObject
* obj1
= 0 ;
22386 char *kwnames
[] = {
22387 (char *) "self",(char *) "dc", NULL
22390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
22391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22393 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22394 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22396 if (arg2
== NULL
) {
22397 PyErr_SetString(PyExc_TypeError
,"null reference");
22401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22402 (arg1
)->base_OnErase(*arg2
);
22404 wxPyEndAllowThreads(__tstate
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22407 Py_INCREF(Py_None
); resultobj
= Py_None
;
22414 static PyObject
*_wrap_PyEllipseShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22415 PyObject
*resultobj
;
22416 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22418 PyObject
* obj0
= 0 ;
22419 PyObject
* obj1
= 0 ;
22420 char *kwnames
[] = {
22421 (char *) "self",(char *) "dc", NULL
22424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22428 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22430 if (arg2
== NULL
) {
22431 PyErr_SetString(PyExc_TypeError
,"null reference");
22435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22436 (arg1
)->base_OnEraseContents(*arg2
);
22438 wxPyEndAllowThreads(__tstate
);
22439 if (PyErr_Occurred()) SWIG_fail
;
22441 Py_INCREF(Py_None
); resultobj
= Py_None
;
22448 static PyObject
*_wrap_PyEllipseShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22449 PyObject
*resultobj
;
22450 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22452 PyObject
* obj0
= 0 ;
22453 PyObject
* obj1
= 0 ;
22454 char *kwnames
[] = {
22455 (char *) "self",(char *) "dc", NULL
22458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
22459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22462 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22464 if (arg2
== NULL
) {
22465 PyErr_SetString(PyExc_TypeError
,"null reference");
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22470 (arg1
)->base_OnHighlight(*arg2
);
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22475 Py_INCREF(Py_None
); resultobj
= Py_None
;
22482 static PyObject
*_wrap_PyEllipseShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22483 PyObject
*resultobj
;
22484 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22487 int arg4
= (int) 0 ;
22488 int arg5
= (int) 0 ;
22489 PyObject
* obj0
= 0 ;
22490 PyObject
* obj1
= 0 ;
22491 PyObject
* obj2
= 0 ;
22492 PyObject
* obj3
= 0 ;
22493 PyObject
* obj4
= 0 ;
22494 char *kwnames
[] = {
22495 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22501 arg2
= (double) SWIG_AsDouble(obj1
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22503 arg3
= (double) SWIG_AsDouble(obj2
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22506 arg4
= (int) SWIG_AsInt(obj3
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22510 arg5
= (int) SWIG_AsInt(obj4
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22515 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
22517 wxPyEndAllowThreads(__tstate
);
22518 if (PyErr_Occurred()) SWIG_fail
;
22520 Py_INCREF(Py_None
); resultobj
= Py_None
;
22527 static PyObject
*_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22528 PyObject
*resultobj
;
22529 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22532 int arg4
= (int) 0 ;
22533 int arg5
= (int) 0 ;
22534 PyObject
* obj0
= 0 ;
22535 PyObject
* obj1
= 0 ;
22536 PyObject
* obj2
= 0 ;
22537 PyObject
* obj3
= 0 ;
22538 PyObject
* obj4
= 0 ;
22539 char *kwnames
[] = {
22540 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22546 arg2
= (double) SWIG_AsDouble(obj1
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22548 arg3
= (double) SWIG_AsDouble(obj2
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22551 arg4
= (int) SWIG_AsInt(obj3
);
22552 if (PyErr_Occurred()) SWIG_fail
;
22555 arg5
= (int) SWIG_AsInt(obj4
);
22556 if (PyErr_Occurred()) SWIG_fail
;
22559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22560 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
22562 wxPyEndAllowThreads(__tstate
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22565 Py_INCREF(Py_None
); resultobj
= Py_None
;
22572 static PyObject
*_wrap_PyEllipseShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22573 PyObject
*resultobj
;
22574 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22577 int arg4
= (int) 0 ;
22578 int arg5
= (int) 0 ;
22579 PyObject
* obj0
= 0 ;
22580 PyObject
* obj1
= 0 ;
22581 PyObject
* obj2
= 0 ;
22582 PyObject
* obj3
= 0 ;
22583 PyObject
* obj4
= 0 ;
22584 char *kwnames
[] = {
22585 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22591 arg2
= (double) SWIG_AsDouble(obj1
);
22592 if (PyErr_Occurred()) SWIG_fail
;
22593 arg3
= (double) SWIG_AsDouble(obj2
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22596 arg4
= (int) SWIG_AsInt(obj3
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22600 arg5
= (int) SWIG_AsInt(obj4
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22605 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
22607 wxPyEndAllowThreads(__tstate
);
22608 if (PyErr_Occurred()) SWIG_fail
;
22610 Py_INCREF(Py_None
); resultobj
= Py_None
;
22617 static PyObject
*_wrap_PyEllipseShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22618 PyObject
*resultobj
;
22619 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22622 PyObject
* obj0
= 0 ;
22623 PyObject
* obj1
= 0 ;
22624 PyObject
* obj2
= 0 ;
22625 char *kwnames
[] = {
22626 (char *) "self",(char *) "x",(char *) "y", NULL
22629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22632 arg2
= (double) SWIG_AsDouble(obj1
);
22633 if (PyErr_Occurred()) SWIG_fail
;
22634 arg3
= (double) SWIG_AsDouble(obj2
);
22635 if (PyErr_Occurred()) SWIG_fail
;
22637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22638 (arg1
)->base_OnSize(arg2
,arg3
);
22640 wxPyEndAllowThreads(__tstate
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22643 Py_INCREF(Py_None
); resultobj
= Py_None
;
22650 static PyObject
*_wrap_PyEllipseShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22651 PyObject
*resultobj
;
22652 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22658 bool arg7
= (bool) True
;
22660 PyObject
* obj0
= 0 ;
22661 PyObject
* obj1
= 0 ;
22662 PyObject
* obj2
= 0 ;
22663 PyObject
* obj3
= 0 ;
22664 PyObject
* obj4
= 0 ;
22665 PyObject
* obj5
= 0 ;
22666 PyObject
* obj6
= 0 ;
22667 char *kwnames
[] = {
22668 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22675 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22677 if (arg2
== NULL
) {
22678 PyErr_SetString(PyExc_TypeError
,"null reference");
22681 arg3
= (double) SWIG_AsDouble(obj2
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22683 arg4
= (double) SWIG_AsDouble(obj3
);
22684 if (PyErr_Occurred()) SWIG_fail
;
22685 arg5
= (double) SWIG_AsDouble(obj4
);
22686 if (PyErr_Occurred()) SWIG_fail
;
22687 arg6
= (double) SWIG_AsDouble(obj5
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22690 arg7
= (bool) SWIG_AsBool(obj6
);
22691 if (PyErr_Occurred()) SWIG_fail
;
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22697 wxPyEndAllowThreads(__tstate
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22709 static PyObject
*_wrap_PyEllipseShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22710 PyObject
*resultobj
;
22711 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22717 bool arg7
= (bool) True
;
22718 PyObject
* obj0
= 0 ;
22719 PyObject
* obj1
= 0 ;
22720 PyObject
* obj2
= 0 ;
22721 PyObject
* obj3
= 0 ;
22722 PyObject
* obj4
= 0 ;
22723 PyObject
* obj5
= 0 ;
22724 PyObject
* obj6
= 0 ;
22725 char *kwnames
[] = {
22726 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22733 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22735 if (arg2
== NULL
) {
22736 PyErr_SetString(PyExc_TypeError
,"null reference");
22739 arg3
= (double) SWIG_AsDouble(obj2
);
22740 if (PyErr_Occurred()) SWIG_fail
;
22741 arg4
= (double) SWIG_AsDouble(obj3
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22743 arg5
= (double) SWIG_AsDouble(obj4
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22745 arg6
= (double) SWIG_AsDouble(obj5
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22748 arg7
= (bool) SWIG_AsBool(obj6
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22753 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22755 wxPyEndAllowThreads(__tstate
);
22756 if (PyErr_Occurred()) SWIG_fail
;
22758 Py_INCREF(Py_None
); resultobj
= Py_None
;
22765 static PyObject
*_wrap_PyEllipseShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22766 PyObject
*resultobj
;
22767 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22771 int arg5
= (int) 0 ;
22772 int arg6
= (int) 0 ;
22773 PyObject
* obj0
= 0 ;
22774 PyObject
* obj1
= 0 ;
22775 PyObject
* obj2
= 0 ;
22776 PyObject
* obj3
= 0 ;
22777 PyObject
* obj4
= 0 ;
22778 PyObject
* obj5
= 0 ;
22779 char *kwnames
[] = {
22780 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22786 arg2
= (bool) SWIG_AsBool(obj1
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22788 arg3
= (double) SWIG_AsDouble(obj2
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22790 arg4
= (double) SWIG_AsDouble(obj3
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22793 arg5
= (int) SWIG_AsInt(obj4
);
22794 if (PyErr_Occurred()) SWIG_fail
;
22797 arg6
= (int) SWIG_AsInt(obj5
);
22798 if (PyErr_Occurred()) SWIG_fail
;
22801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22802 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22804 wxPyEndAllowThreads(__tstate
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22807 Py_INCREF(Py_None
); resultobj
= Py_None
;
22814 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22815 PyObject
*resultobj
;
22816 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22819 int arg4
= (int) 0 ;
22820 int arg5
= (int) 0 ;
22821 PyObject
* obj0
= 0 ;
22822 PyObject
* obj1
= 0 ;
22823 PyObject
* obj2
= 0 ;
22824 PyObject
* obj3
= 0 ;
22825 PyObject
* obj4
= 0 ;
22826 char *kwnames
[] = {
22827 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22833 arg2
= (double) SWIG_AsDouble(obj1
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22835 arg3
= (double) SWIG_AsDouble(obj2
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22838 arg4
= (int) SWIG_AsInt(obj3
);
22839 if (PyErr_Occurred()) SWIG_fail
;
22842 arg5
= (int) SWIG_AsInt(obj4
);
22843 if (PyErr_Occurred()) SWIG_fail
;
22846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22847 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
22849 wxPyEndAllowThreads(__tstate
);
22850 if (PyErr_Occurred()) SWIG_fail
;
22852 Py_INCREF(Py_None
); resultobj
= Py_None
;
22859 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22860 PyObject
*resultobj
;
22861 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22864 int arg4
= (int) 0 ;
22865 int arg5
= (int) 0 ;
22866 PyObject
* obj0
= 0 ;
22867 PyObject
* obj1
= 0 ;
22868 PyObject
* obj2
= 0 ;
22869 PyObject
* obj3
= 0 ;
22870 PyObject
* obj4
= 0 ;
22871 char *kwnames
[] = {
22872 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22878 arg2
= (double) SWIG_AsDouble(obj1
);
22879 if (PyErr_Occurred()) SWIG_fail
;
22880 arg3
= (double) SWIG_AsDouble(obj2
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22883 arg4
= (int) SWIG_AsInt(obj3
);
22884 if (PyErr_Occurred()) SWIG_fail
;
22887 arg5
= (int) SWIG_AsInt(obj4
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22892 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
22894 wxPyEndAllowThreads(__tstate
);
22895 if (PyErr_Occurred()) SWIG_fail
;
22897 Py_INCREF(Py_None
); resultobj
= Py_None
;
22904 static PyObject
*_wrap_PyEllipseShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22905 PyObject
*resultobj
;
22906 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22910 int arg5
= (int) 0 ;
22911 int arg6
= (int) 0 ;
22912 PyObject
* obj0
= 0 ;
22913 PyObject
* obj1
= 0 ;
22914 PyObject
* obj2
= 0 ;
22915 PyObject
* obj3
= 0 ;
22916 PyObject
* obj4
= 0 ;
22917 PyObject
* obj5
= 0 ;
22918 char *kwnames
[] = {
22919 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22925 arg2
= (bool) SWIG_AsBool(obj1
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22927 arg3
= (double) SWIG_AsDouble(obj2
);
22928 if (PyErr_Occurred()) SWIG_fail
;
22929 arg4
= (double) SWIG_AsDouble(obj3
);
22930 if (PyErr_Occurred()) SWIG_fail
;
22932 arg5
= (int) SWIG_AsInt(obj4
);
22933 if (PyErr_Occurred()) SWIG_fail
;
22936 arg6
= (int) SWIG_AsInt(obj5
);
22937 if (PyErr_Occurred()) SWIG_fail
;
22940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22941 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
22943 wxPyEndAllowThreads(__tstate
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22946 Py_INCREF(Py_None
); resultobj
= Py_None
;
22953 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22954 PyObject
*resultobj
;
22955 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22958 int arg4
= (int) 0 ;
22959 int arg5
= (int) 0 ;
22960 PyObject
* obj0
= 0 ;
22961 PyObject
* obj1
= 0 ;
22962 PyObject
* obj2
= 0 ;
22963 PyObject
* obj3
= 0 ;
22964 PyObject
* obj4
= 0 ;
22965 char *kwnames
[] = {
22966 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22972 arg2
= (double) SWIG_AsDouble(obj1
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22974 arg3
= (double) SWIG_AsDouble(obj2
);
22975 if (PyErr_Occurred()) SWIG_fail
;
22977 arg4
= (int) SWIG_AsInt(obj3
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22981 arg5
= (int) SWIG_AsInt(obj4
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22986 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
22988 wxPyEndAllowThreads(__tstate
);
22989 if (PyErr_Occurred()) SWIG_fail
;
22991 Py_INCREF(Py_None
); resultobj
= Py_None
;
22998 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22999 PyObject
*resultobj
;
23000 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23003 int arg4
= (int) 0 ;
23004 int arg5
= (int) 0 ;
23005 PyObject
* obj0
= 0 ;
23006 PyObject
* obj1
= 0 ;
23007 PyObject
* obj2
= 0 ;
23008 PyObject
* obj3
= 0 ;
23009 PyObject
* obj4
= 0 ;
23010 char *kwnames
[] = {
23011 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23017 arg2
= (double) SWIG_AsDouble(obj1
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23019 arg3
= (double) SWIG_AsDouble(obj2
);
23020 if (PyErr_Occurred()) SWIG_fail
;
23022 arg4
= (int) SWIG_AsInt(obj3
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23026 arg5
= (int) SWIG_AsInt(obj4
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23031 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
23033 wxPyEndAllowThreads(__tstate
);
23034 if (PyErr_Occurred()) SWIG_fail
;
23036 Py_INCREF(Py_None
); resultobj
= Py_None
;
23043 static PyObject
*_wrap_PyEllipseShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23044 PyObject
*resultobj
;
23045 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23051 PyObject
* obj0
= 0 ;
23052 PyObject
* obj1
= 0 ;
23053 PyObject
* obj2
= 0 ;
23054 PyObject
* obj3
= 0 ;
23055 PyObject
* obj4
= 0 ;
23056 PyObject
* obj5
= 0 ;
23057 char *kwnames
[] = {
23058 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyEllipseShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23065 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23067 if (arg2
== NULL
) {
23068 PyErr_SetString(PyExc_TypeError
,"null reference");
23071 arg3
= (double) SWIG_AsDouble(obj2
);
23072 if (PyErr_Occurred()) SWIG_fail
;
23073 arg4
= (double) SWIG_AsDouble(obj3
);
23074 if (PyErr_Occurred()) SWIG_fail
;
23075 arg5
= (double) SWIG_AsDouble(obj4
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23077 arg6
= (double) SWIG_AsDouble(obj5
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23081 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
23083 wxPyEndAllowThreads(__tstate
);
23084 if (PyErr_Occurred()) SWIG_fail
;
23086 Py_INCREF(Py_None
); resultobj
= Py_None
;
23093 static PyObject
*_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23094 PyObject
*resultobj
;
23095 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23097 PyObject
* obj0
= 0 ;
23098 PyObject
* obj1
= 0 ;
23099 char *kwnames
[] = {
23100 (char *) "self",(char *) "dc", NULL
23103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23107 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23109 if (arg2
== NULL
) {
23110 PyErr_SetString(PyExc_TypeError
,"null reference");
23114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23115 (arg1
)->base_OnDrawControlPoints(*arg2
);
23117 wxPyEndAllowThreads(__tstate
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23120 Py_INCREF(Py_None
); resultobj
= Py_None
;
23127 static PyObject
*_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23128 PyObject
*resultobj
;
23129 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23131 PyObject
* obj0
= 0 ;
23132 PyObject
* obj1
= 0 ;
23133 char *kwnames
[] = {
23134 (char *) "self",(char *) "dc", NULL
23137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23140 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23141 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23143 if (arg2
== NULL
) {
23144 PyErr_SetString(PyExc_TypeError
,"null reference");
23148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23149 (arg1
)->base_OnEraseControlPoints(*arg2
);
23151 wxPyEndAllowThreads(__tstate
);
23152 if (PyErr_Occurred()) SWIG_fail
;
23154 Py_INCREF(Py_None
); resultobj
= Py_None
;
23161 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23162 PyObject
*resultobj
;
23163 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23165 bool arg3
= (bool) True
;
23166 PyObject
* obj0
= 0 ;
23167 PyObject
* obj1
= 0 ;
23168 PyObject
* obj2
= 0 ;
23169 char *kwnames
[] = {
23170 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23177 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23179 if (arg2
== NULL
) {
23180 PyErr_SetString(PyExc_TypeError
,"null reference");
23184 arg3
= (bool) SWIG_AsBool(obj2
);
23185 if (PyErr_Occurred()) SWIG_fail
;
23188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23189 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
23191 wxPyEndAllowThreads(__tstate
);
23192 if (PyErr_Occurred()) SWIG_fail
;
23194 Py_INCREF(Py_None
); resultobj
= Py_None
;
23201 static PyObject
*_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23202 PyObject
*resultobj
;
23203 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23204 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23208 int arg6
= (int) 0 ;
23209 int arg7
= (int) 0 ;
23210 PyObject
* obj0
= 0 ;
23211 PyObject
* obj1
= 0 ;
23212 PyObject
* obj2
= 0 ;
23213 PyObject
* obj3
= 0 ;
23214 PyObject
* obj4
= 0 ;
23215 PyObject
* obj5
= 0 ;
23216 PyObject
* obj6
= 0 ;
23217 char *kwnames
[] = {
23218 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyEllipseShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23226 arg3
= (bool) SWIG_AsBool(obj2
);
23227 if (PyErr_Occurred()) SWIG_fail
;
23228 arg4
= (double) SWIG_AsDouble(obj3
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23230 arg5
= (double) SWIG_AsDouble(obj4
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23233 arg6
= (int) SWIG_AsInt(obj5
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23237 arg7
= (int) SWIG_AsInt(obj6
);
23238 if (PyErr_Occurred()) SWIG_fail
;
23241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23242 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23244 wxPyEndAllowThreads(__tstate
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23247 Py_INCREF(Py_None
); resultobj
= Py_None
;
23254 static PyObject
*_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23255 PyObject
*resultobj
;
23256 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23257 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23260 int arg5
= (int) 0 ;
23261 int arg6
= (int) 0 ;
23262 PyObject
* obj0
= 0 ;
23263 PyObject
* obj1
= 0 ;
23264 PyObject
* obj2
= 0 ;
23265 PyObject
* obj3
= 0 ;
23266 PyObject
* obj4
= 0 ;
23267 PyObject
* obj5
= 0 ;
23268 char *kwnames
[] = {
23269 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23277 arg3
= (double) SWIG_AsDouble(obj2
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23279 arg4
= (double) SWIG_AsDouble(obj3
);
23280 if (PyErr_Occurred()) SWIG_fail
;
23282 arg5
= (int) SWIG_AsInt(obj4
);
23283 if (PyErr_Occurred()) SWIG_fail
;
23286 arg6
= (int) SWIG_AsInt(obj5
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23291 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23293 wxPyEndAllowThreads(__tstate
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23296 Py_INCREF(Py_None
); resultobj
= Py_None
;
23303 static PyObject
*_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23304 PyObject
*resultobj
;
23305 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23306 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23309 int arg5
= (int) 0 ;
23310 int arg6
= (int) 0 ;
23311 PyObject
* obj0
= 0 ;
23312 PyObject
* obj1
= 0 ;
23313 PyObject
* obj2
= 0 ;
23314 PyObject
* obj3
= 0 ;
23315 PyObject
* obj4
= 0 ;
23316 PyObject
* obj5
= 0 ;
23317 char *kwnames
[] = {
23318 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23326 arg3
= (double) SWIG_AsDouble(obj2
);
23327 if (PyErr_Occurred()) SWIG_fail
;
23328 arg4
= (double) SWIG_AsDouble(obj3
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23331 arg5
= (int) SWIG_AsInt(obj4
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23335 arg6
= (int) SWIG_AsInt(obj5
);
23336 if (PyErr_Occurred()) SWIG_fail
;
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23340 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23342 wxPyEndAllowThreads(__tstate
);
23343 if (PyErr_Occurred()) SWIG_fail
;
23345 Py_INCREF(Py_None
); resultobj
= Py_None
;
23352 static PyObject
*_wrap_PyEllipseShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23353 PyObject
*resultobj
;
23354 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23357 PyObject
* obj0
= 0 ;
23358 PyObject
* obj1
= 0 ;
23359 PyObject
* obj2
= 0 ;
23360 char *kwnames
[] = {
23361 (char *) "self",(char *) "w",(char *) "h", NULL
23364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23367 arg2
= (double) SWIG_AsDouble(obj1
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23369 arg3
= (double) SWIG_AsDouble(obj2
);
23370 if (PyErr_Occurred()) SWIG_fail
;
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 (arg1
)->base_OnBeginSize(arg2
,arg3
);
23375 wxPyEndAllowThreads(__tstate
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23378 Py_INCREF(Py_None
); resultobj
= Py_None
;
23385 static PyObject
*_wrap_PyEllipseShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23386 PyObject
*resultobj
;
23387 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23390 PyObject
* obj0
= 0 ;
23391 PyObject
* obj1
= 0 ;
23392 PyObject
* obj2
= 0 ;
23393 char *kwnames
[] = {
23394 (char *) "self",(char *) "w",(char *) "h", NULL
23397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23400 arg2
= (double) SWIG_AsDouble(obj1
);
23401 if (PyErr_Occurred()) SWIG_fail
;
23402 arg3
= (double) SWIG_AsDouble(obj2
);
23403 if (PyErr_Occurred()) SWIG_fail
;
23405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23406 (arg1
)->base_OnEndSize(arg2
,arg3
);
23408 wxPyEndAllowThreads(__tstate
);
23409 if (PyErr_Occurred()) SWIG_fail
;
23411 Py_INCREF(Py_None
); resultobj
= Py_None
;
23418 static PyObject
* PyEllipseShape_swigregister(PyObject
*self
, PyObject
*args
) {
23420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23421 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape
, obj
);
23423 return Py_BuildValue((char *)"");
23425 static PyObject
*_wrap_new_PyCircleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23426 PyObject
*resultobj
;
23427 double arg1
= (double) 0.0 ;
23428 wxPyCircleShape
*result
;
23429 PyObject
* obj0
= 0 ;
23430 char *kwnames
[] = {
23431 (char *) "width", NULL
23434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyCircleShape",kwnames
,&obj0
)) goto fail
;
23436 arg1
= (double) SWIG_AsDouble(obj0
);
23437 if (PyErr_Occurred()) SWIG_fail
;
23440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23441 result
= (wxPyCircleShape
*)new wxPyCircleShape(arg1
);
23443 wxPyEndAllowThreads(__tstate
);
23444 if (PyErr_Occurred()) SWIG_fail
;
23446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCircleShape
, 1);
23453 static PyObject
*_wrap_PyCircleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23454 PyObject
*resultobj
;
23455 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23456 PyObject
*arg2
= (PyObject
*) 0 ;
23457 PyObject
*arg3
= (PyObject
*) 0 ;
23458 PyObject
* obj0
= 0 ;
23459 PyObject
* obj1
= 0 ;
23460 PyObject
* obj2
= 0 ;
23461 char *kwnames
[] = {
23462 (char *) "self",(char *) "self",(char *) "_class", NULL
23465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23472 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23474 wxPyEndAllowThreads(__tstate
);
23475 if (PyErr_Occurred()) SWIG_fail
;
23477 Py_INCREF(Py_None
); resultobj
= Py_None
;
23484 static PyObject
*_wrap_PyCircleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23485 PyObject
*resultobj
;
23486 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23488 PyObject
* obj0
= 0 ;
23489 PyObject
* obj1
= 0 ;
23490 char *kwnames
[] = {
23491 (char *) "self",(char *) "dc", NULL
23494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
23495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23498 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23500 if (arg2
== NULL
) {
23501 PyErr_SetString(PyExc_TypeError
,"null reference");
23505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23506 (arg1
)->base_OnDraw(*arg2
);
23508 wxPyEndAllowThreads(__tstate
);
23509 if (PyErr_Occurred()) SWIG_fail
;
23511 Py_INCREF(Py_None
); resultobj
= Py_None
;
23518 static PyObject
*_wrap_PyCircleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23519 PyObject
*resultobj
;
23520 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23522 PyObject
* obj0
= 0 ;
23523 PyObject
* obj1
= 0 ;
23524 char *kwnames
[] = {
23525 (char *) "self",(char *) "dc", NULL
23528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23534 if (arg2
== NULL
) {
23535 PyErr_SetString(PyExc_TypeError
,"null reference");
23539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23540 (arg1
)->base_OnDrawContents(*arg2
);
23542 wxPyEndAllowThreads(__tstate
);
23543 if (PyErr_Occurred()) SWIG_fail
;
23545 Py_INCREF(Py_None
); resultobj
= Py_None
;
23552 static PyObject
*_wrap_PyCircleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23553 PyObject
*resultobj
;
23554 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23556 bool arg3
= (bool) FALSE
;
23557 PyObject
* obj0
= 0 ;
23558 PyObject
* obj1
= 0 ;
23559 PyObject
* obj2
= 0 ;
23560 char *kwnames
[] = {
23561 (char *) "self",(char *) "dc",(char *) "erase", NULL
23564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23568 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23570 if (arg2
== NULL
) {
23571 PyErr_SetString(PyExc_TypeError
,"null reference");
23575 arg3
= (bool) SWIG_AsBool(obj2
);
23576 if (PyErr_Occurred()) SWIG_fail
;
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
23582 wxPyEndAllowThreads(__tstate
);
23583 if (PyErr_Occurred()) SWIG_fail
;
23585 Py_INCREF(Py_None
); resultobj
= Py_None
;
23592 static PyObject
*_wrap_PyCircleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23593 PyObject
*resultobj
;
23594 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23596 PyObject
* obj0
= 0 ;
23597 PyObject
* obj1
= 0 ;
23598 char *kwnames
[] = {
23599 (char *) "self",(char *) "dc", NULL
23602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
23603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23608 if (arg2
== NULL
) {
23609 PyErr_SetString(PyExc_TypeError
,"null reference");
23613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23614 (arg1
)->base_OnMoveLinks(*arg2
);
23616 wxPyEndAllowThreads(__tstate
);
23617 if (PyErr_Occurred()) SWIG_fail
;
23619 Py_INCREF(Py_None
); resultobj
= Py_None
;
23626 static PyObject
*_wrap_PyCircleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23627 PyObject
*resultobj
;
23628 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23630 PyObject
* obj0
= 0 ;
23631 PyObject
* obj1
= 0 ;
23632 char *kwnames
[] = {
23633 (char *) "self",(char *) "dc", NULL
23636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
23637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23640 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23642 if (arg2
== NULL
) {
23643 PyErr_SetString(PyExc_TypeError
,"null reference");
23647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23648 (arg1
)->base_OnErase(*arg2
);
23650 wxPyEndAllowThreads(__tstate
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23653 Py_INCREF(Py_None
); resultobj
= Py_None
;
23660 static PyObject
*_wrap_PyCircleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23661 PyObject
*resultobj
;
23662 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23664 PyObject
* obj0
= 0 ;
23665 PyObject
* obj1
= 0 ;
23666 char *kwnames
[] = {
23667 (char *) "self",(char *) "dc", NULL
23670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23674 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23676 if (arg2
== NULL
) {
23677 PyErr_SetString(PyExc_TypeError
,"null reference");
23681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23682 (arg1
)->base_OnEraseContents(*arg2
);
23684 wxPyEndAllowThreads(__tstate
);
23685 if (PyErr_Occurred()) SWIG_fail
;
23687 Py_INCREF(Py_None
); resultobj
= Py_None
;
23694 static PyObject
*_wrap_PyCircleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23695 PyObject
*resultobj
;
23696 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23698 PyObject
* obj0
= 0 ;
23699 PyObject
* obj1
= 0 ;
23700 char *kwnames
[] = {
23701 (char *) "self",(char *) "dc", NULL
23704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
23705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23708 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23710 if (arg2
== NULL
) {
23711 PyErr_SetString(PyExc_TypeError
,"null reference");
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 (arg1
)->base_OnHighlight(*arg2
);
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23721 Py_INCREF(Py_None
); resultobj
= Py_None
;
23728 static PyObject
*_wrap_PyCircleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23729 PyObject
*resultobj
;
23730 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23733 int arg4
= (int) 0 ;
23734 int arg5
= (int) 0 ;
23735 PyObject
* obj0
= 0 ;
23736 PyObject
* obj1
= 0 ;
23737 PyObject
* obj2
= 0 ;
23738 PyObject
* obj3
= 0 ;
23739 PyObject
* obj4
= 0 ;
23740 char *kwnames
[] = {
23741 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23747 arg2
= (double) SWIG_AsDouble(obj1
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23749 arg3
= (double) SWIG_AsDouble(obj2
);
23750 if (PyErr_Occurred()) SWIG_fail
;
23752 arg4
= (int) SWIG_AsInt(obj3
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23756 arg5
= (int) SWIG_AsInt(obj4
);
23757 if (PyErr_Occurred()) SWIG_fail
;
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
23763 wxPyEndAllowThreads(__tstate
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23766 Py_INCREF(Py_None
); resultobj
= Py_None
;
23773 static PyObject
*_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23774 PyObject
*resultobj
;
23775 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23778 int arg4
= (int) 0 ;
23779 int arg5
= (int) 0 ;
23780 PyObject
* obj0
= 0 ;
23781 PyObject
* obj1
= 0 ;
23782 PyObject
* obj2
= 0 ;
23783 PyObject
* obj3
= 0 ;
23784 PyObject
* obj4
= 0 ;
23785 char *kwnames
[] = {
23786 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23792 arg2
= (double) SWIG_AsDouble(obj1
);
23793 if (PyErr_Occurred()) SWIG_fail
;
23794 arg3
= (double) SWIG_AsDouble(obj2
);
23795 if (PyErr_Occurred()) SWIG_fail
;
23797 arg4
= (int) SWIG_AsInt(obj3
);
23798 if (PyErr_Occurred()) SWIG_fail
;
23801 arg5
= (int) SWIG_AsInt(obj4
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
23808 wxPyEndAllowThreads(__tstate
);
23809 if (PyErr_Occurred()) SWIG_fail
;
23811 Py_INCREF(Py_None
); resultobj
= Py_None
;
23818 static PyObject
*_wrap_PyCircleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23819 PyObject
*resultobj
;
23820 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23823 int arg4
= (int) 0 ;
23824 int arg5
= (int) 0 ;
23825 PyObject
* obj0
= 0 ;
23826 PyObject
* obj1
= 0 ;
23827 PyObject
* obj2
= 0 ;
23828 PyObject
* obj3
= 0 ;
23829 PyObject
* obj4
= 0 ;
23830 char *kwnames
[] = {
23831 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23837 arg2
= (double) SWIG_AsDouble(obj1
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23839 arg3
= (double) SWIG_AsDouble(obj2
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23842 arg4
= (int) SWIG_AsInt(obj3
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23846 arg5
= (int) SWIG_AsInt(obj4
);
23847 if (PyErr_Occurred()) SWIG_fail
;
23850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23851 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
23853 wxPyEndAllowThreads(__tstate
);
23854 if (PyErr_Occurred()) SWIG_fail
;
23856 Py_INCREF(Py_None
); resultobj
= Py_None
;
23863 static PyObject
*_wrap_PyCircleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23864 PyObject
*resultobj
;
23865 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23868 PyObject
* obj0
= 0 ;
23869 PyObject
* obj1
= 0 ;
23870 PyObject
* obj2
= 0 ;
23871 char *kwnames
[] = {
23872 (char *) "self",(char *) "x",(char *) "y", NULL
23875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23878 arg2
= (double) SWIG_AsDouble(obj1
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23880 arg3
= (double) SWIG_AsDouble(obj2
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23884 (arg1
)->base_OnSize(arg2
,arg3
);
23886 wxPyEndAllowThreads(__tstate
);
23887 if (PyErr_Occurred()) SWIG_fail
;
23889 Py_INCREF(Py_None
); resultobj
= Py_None
;
23896 static PyObject
*_wrap_PyCircleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23897 PyObject
*resultobj
;
23898 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23904 bool arg7
= (bool) True
;
23906 PyObject
* obj0
= 0 ;
23907 PyObject
* obj1
= 0 ;
23908 PyObject
* obj2
= 0 ;
23909 PyObject
* obj3
= 0 ;
23910 PyObject
* obj4
= 0 ;
23911 PyObject
* obj5
= 0 ;
23912 PyObject
* obj6
= 0 ;
23913 char *kwnames
[] = {
23914 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23920 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23921 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23923 if (arg2
== NULL
) {
23924 PyErr_SetString(PyExc_TypeError
,"null reference");
23927 arg3
= (double) SWIG_AsDouble(obj2
);
23928 if (PyErr_Occurred()) SWIG_fail
;
23929 arg4
= (double) SWIG_AsDouble(obj3
);
23930 if (PyErr_Occurred()) SWIG_fail
;
23931 arg5
= (double) SWIG_AsDouble(obj4
);
23932 if (PyErr_Occurred()) SWIG_fail
;
23933 arg6
= (double) SWIG_AsDouble(obj5
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23936 arg7
= (bool) SWIG_AsBool(obj6
);
23937 if (PyErr_Occurred()) SWIG_fail
;
23940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23941 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23943 wxPyEndAllowThreads(__tstate
);
23944 if (PyErr_Occurred()) SWIG_fail
;
23947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23955 static PyObject
*_wrap_PyCircleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23956 PyObject
*resultobj
;
23957 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23963 bool arg7
= (bool) True
;
23964 PyObject
* obj0
= 0 ;
23965 PyObject
* obj1
= 0 ;
23966 PyObject
* obj2
= 0 ;
23967 PyObject
* obj3
= 0 ;
23968 PyObject
* obj4
= 0 ;
23969 PyObject
* obj5
= 0 ;
23970 PyObject
* obj6
= 0 ;
23971 char *kwnames
[] = {
23972 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23979 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23981 if (arg2
== NULL
) {
23982 PyErr_SetString(PyExc_TypeError
,"null reference");
23985 arg3
= (double) SWIG_AsDouble(obj2
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23987 arg4
= (double) SWIG_AsDouble(obj3
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23989 arg5
= (double) SWIG_AsDouble(obj4
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23991 arg6
= (double) SWIG_AsDouble(obj5
);
23992 if (PyErr_Occurred()) SWIG_fail
;
23994 arg7
= (bool) SWIG_AsBool(obj6
);
23995 if (PyErr_Occurred()) SWIG_fail
;
23998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23999 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24001 wxPyEndAllowThreads(__tstate
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24004 Py_INCREF(Py_None
); resultobj
= Py_None
;
24011 static PyObject
*_wrap_PyCircleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24012 PyObject
*resultobj
;
24013 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24017 int arg5
= (int) 0 ;
24018 int arg6
= (int) 0 ;
24019 PyObject
* obj0
= 0 ;
24020 PyObject
* obj1
= 0 ;
24021 PyObject
* obj2
= 0 ;
24022 PyObject
* obj3
= 0 ;
24023 PyObject
* obj4
= 0 ;
24024 PyObject
* obj5
= 0 ;
24025 char *kwnames
[] = {
24026 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24032 arg2
= (bool) SWIG_AsBool(obj1
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24034 arg3
= (double) SWIG_AsDouble(obj2
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24036 arg4
= (double) SWIG_AsDouble(obj3
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24039 arg5
= (int) SWIG_AsInt(obj4
);
24040 if (PyErr_Occurred()) SWIG_fail
;
24043 arg6
= (int) SWIG_AsInt(obj5
);
24044 if (PyErr_Occurred()) SWIG_fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24053 Py_INCREF(Py_None
); resultobj
= Py_None
;
24060 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24061 PyObject
*resultobj
;
24062 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24065 int arg4
= (int) 0 ;
24066 int arg5
= (int) 0 ;
24067 PyObject
* obj0
= 0 ;
24068 PyObject
* obj1
= 0 ;
24069 PyObject
* obj2
= 0 ;
24070 PyObject
* obj3
= 0 ;
24071 PyObject
* obj4
= 0 ;
24072 char *kwnames
[] = {
24073 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24079 arg2
= (double) SWIG_AsDouble(obj1
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24081 arg3
= (double) SWIG_AsDouble(obj2
);
24082 if (PyErr_Occurred()) SWIG_fail
;
24084 arg4
= (int) SWIG_AsInt(obj3
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24088 arg5
= (int) SWIG_AsInt(obj4
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24093 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
24095 wxPyEndAllowThreads(__tstate
);
24096 if (PyErr_Occurred()) SWIG_fail
;
24098 Py_INCREF(Py_None
); resultobj
= Py_None
;
24105 static PyObject
*_wrap_PyCircleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24106 PyObject
*resultobj
;
24107 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24110 int arg4
= (int) 0 ;
24111 int arg5
= (int) 0 ;
24112 PyObject
* obj0
= 0 ;
24113 PyObject
* obj1
= 0 ;
24114 PyObject
* obj2
= 0 ;
24115 PyObject
* obj3
= 0 ;
24116 PyObject
* obj4
= 0 ;
24117 char *kwnames
[] = {
24118 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24124 arg2
= (double) SWIG_AsDouble(obj1
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24126 arg3
= (double) SWIG_AsDouble(obj2
);
24127 if (PyErr_Occurred()) SWIG_fail
;
24129 arg4
= (int) SWIG_AsInt(obj3
);
24130 if (PyErr_Occurred()) SWIG_fail
;
24133 arg5
= (int) SWIG_AsInt(obj4
);
24134 if (PyErr_Occurred()) SWIG_fail
;
24137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24138 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
24140 wxPyEndAllowThreads(__tstate
);
24141 if (PyErr_Occurred()) SWIG_fail
;
24143 Py_INCREF(Py_None
); resultobj
= Py_None
;
24150 static PyObject
*_wrap_PyCircleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24151 PyObject
*resultobj
;
24152 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24156 int arg5
= (int) 0 ;
24157 int arg6
= (int) 0 ;
24158 PyObject
* obj0
= 0 ;
24159 PyObject
* obj1
= 0 ;
24160 PyObject
* obj2
= 0 ;
24161 PyObject
* obj3
= 0 ;
24162 PyObject
* obj4
= 0 ;
24163 PyObject
* obj5
= 0 ;
24164 char *kwnames
[] = {
24165 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24171 arg2
= (bool) SWIG_AsBool(obj1
);
24172 if (PyErr_Occurred()) SWIG_fail
;
24173 arg3
= (double) SWIG_AsDouble(obj2
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24175 arg4
= (double) SWIG_AsDouble(obj3
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24178 arg5
= (int) SWIG_AsInt(obj4
);
24179 if (PyErr_Occurred()) SWIG_fail
;
24182 arg6
= (int) SWIG_AsInt(obj5
);
24183 if (PyErr_Occurred()) SWIG_fail
;
24186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24187 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
24189 wxPyEndAllowThreads(__tstate
);
24190 if (PyErr_Occurred()) SWIG_fail
;
24192 Py_INCREF(Py_None
); resultobj
= Py_None
;
24199 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24200 PyObject
*resultobj
;
24201 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24204 int arg4
= (int) 0 ;
24205 int arg5
= (int) 0 ;
24206 PyObject
* obj0
= 0 ;
24207 PyObject
* obj1
= 0 ;
24208 PyObject
* obj2
= 0 ;
24209 PyObject
* obj3
= 0 ;
24210 PyObject
* obj4
= 0 ;
24211 char *kwnames
[] = {
24212 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24218 arg2
= (double) SWIG_AsDouble(obj1
);
24219 if (PyErr_Occurred()) SWIG_fail
;
24220 arg3
= (double) SWIG_AsDouble(obj2
);
24221 if (PyErr_Occurred()) SWIG_fail
;
24223 arg4
= (int) SWIG_AsInt(obj3
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24227 arg5
= (int) SWIG_AsInt(obj4
);
24228 if (PyErr_Occurred()) SWIG_fail
;
24231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24232 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
24234 wxPyEndAllowThreads(__tstate
);
24235 if (PyErr_Occurred()) SWIG_fail
;
24237 Py_INCREF(Py_None
); resultobj
= Py_None
;
24244 static PyObject
*_wrap_PyCircleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24245 PyObject
*resultobj
;
24246 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24249 int arg4
= (int) 0 ;
24250 int arg5
= (int) 0 ;
24251 PyObject
* obj0
= 0 ;
24252 PyObject
* obj1
= 0 ;
24253 PyObject
* obj2
= 0 ;
24254 PyObject
* obj3
= 0 ;
24255 PyObject
* obj4
= 0 ;
24256 char *kwnames
[] = {
24257 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24263 arg2
= (double) SWIG_AsDouble(obj1
);
24264 if (PyErr_Occurred()) SWIG_fail
;
24265 arg3
= (double) SWIG_AsDouble(obj2
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24268 arg4
= (int) SWIG_AsInt(obj3
);
24269 if (PyErr_Occurred()) SWIG_fail
;
24272 arg5
= (int) SWIG_AsInt(obj4
);
24273 if (PyErr_Occurred()) SWIG_fail
;
24276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24277 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
24279 wxPyEndAllowThreads(__tstate
);
24280 if (PyErr_Occurred()) SWIG_fail
;
24282 Py_INCREF(Py_None
); resultobj
= Py_None
;
24289 static PyObject
*_wrap_PyCircleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24290 PyObject
*resultobj
;
24291 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24297 PyObject
* obj0
= 0 ;
24298 PyObject
* obj1
= 0 ;
24299 PyObject
* obj2
= 0 ;
24300 PyObject
* obj3
= 0 ;
24301 PyObject
* obj4
= 0 ;
24302 PyObject
* obj5
= 0 ;
24303 char *kwnames
[] = {
24304 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyCircleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24311 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24313 if (arg2
== NULL
) {
24314 PyErr_SetString(PyExc_TypeError
,"null reference");
24317 arg3
= (double) SWIG_AsDouble(obj2
);
24318 if (PyErr_Occurred()) SWIG_fail
;
24319 arg4
= (double) SWIG_AsDouble(obj3
);
24320 if (PyErr_Occurred()) SWIG_fail
;
24321 arg5
= (double) SWIG_AsDouble(obj4
);
24322 if (PyErr_Occurred()) SWIG_fail
;
24323 arg6
= (double) SWIG_AsDouble(obj5
);
24324 if (PyErr_Occurred()) SWIG_fail
;
24326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24327 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
24329 wxPyEndAllowThreads(__tstate
);
24330 if (PyErr_Occurred()) SWIG_fail
;
24332 Py_INCREF(Py_None
); resultobj
= Py_None
;
24339 static PyObject
*_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24340 PyObject
*resultobj
;
24341 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24343 PyObject
* obj0
= 0 ;
24344 PyObject
* obj1
= 0 ;
24345 char *kwnames
[] = {
24346 (char *) "self",(char *) "dc", NULL
24349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24353 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24355 if (arg2
== NULL
) {
24356 PyErr_SetString(PyExc_TypeError
,"null reference");
24360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24361 (arg1
)->base_OnDrawControlPoints(*arg2
);
24363 wxPyEndAllowThreads(__tstate
);
24364 if (PyErr_Occurred()) SWIG_fail
;
24366 Py_INCREF(Py_None
); resultobj
= Py_None
;
24373 static PyObject
*_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24374 PyObject
*resultobj
;
24375 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24377 PyObject
* obj0
= 0 ;
24378 PyObject
* obj1
= 0 ;
24379 char *kwnames
[] = {
24380 (char *) "self",(char *) "dc", NULL
24383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24387 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24389 if (arg2
== NULL
) {
24390 PyErr_SetString(PyExc_TypeError
,"null reference");
24394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24395 (arg1
)->base_OnEraseControlPoints(*arg2
);
24397 wxPyEndAllowThreads(__tstate
);
24398 if (PyErr_Occurred()) SWIG_fail
;
24400 Py_INCREF(Py_None
); resultobj
= Py_None
;
24407 static PyObject
*_wrap_PyCircleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24408 PyObject
*resultobj
;
24409 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24411 bool arg3
= (bool) True
;
24412 PyObject
* obj0
= 0 ;
24413 PyObject
* obj1
= 0 ;
24414 PyObject
* obj2
= 0 ;
24415 char *kwnames
[] = {
24416 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24423 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24425 if (arg2
== NULL
) {
24426 PyErr_SetString(PyExc_TypeError
,"null reference");
24430 arg3
= (bool) SWIG_AsBool(obj2
);
24431 if (PyErr_Occurred()) SWIG_fail
;
24434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24435 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
24437 wxPyEndAllowThreads(__tstate
);
24438 if (PyErr_Occurred()) SWIG_fail
;
24440 Py_INCREF(Py_None
); resultobj
= Py_None
;
24447 static PyObject
*_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24448 PyObject
*resultobj
;
24449 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24450 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24454 int arg6
= (int) 0 ;
24455 int arg7
= (int) 0 ;
24456 PyObject
* obj0
= 0 ;
24457 PyObject
* obj1
= 0 ;
24458 PyObject
* obj2
= 0 ;
24459 PyObject
* obj3
= 0 ;
24460 PyObject
* obj4
= 0 ;
24461 PyObject
* obj5
= 0 ;
24462 PyObject
* obj6
= 0 ;
24463 char *kwnames
[] = {
24464 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyCircleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24472 arg3
= (bool) SWIG_AsBool(obj2
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24474 arg4
= (double) SWIG_AsDouble(obj3
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24476 arg5
= (double) SWIG_AsDouble(obj4
);
24477 if (PyErr_Occurred()) SWIG_fail
;
24479 arg6
= (int) SWIG_AsInt(obj5
);
24480 if (PyErr_Occurred()) SWIG_fail
;
24483 arg7
= (int) SWIG_AsInt(obj6
);
24484 if (PyErr_Occurred()) SWIG_fail
;
24487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24488 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24490 wxPyEndAllowThreads(__tstate
);
24491 if (PyErr_Occurred()) SWIG_fail
;
24493 Py_INCREF(Py_None
); resultobj
= Py_None
;
24500 static PyObject
*_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24501 PyObject
*resultobj
;
24502 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24503 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24506 int arg5
= (int) 0 ;
24507 int arg6
= (int) 0 ;
24508 PyObject
* obj0
= 0 ;
24509 PyObject
* obj1
= 0 ;
24510 PyObject
* obj2
= 0 ;
24511 PyObject
* obj3
= 0 ;
24512 PyObject
* obj4
= 0 ;
24513 PyObject
* obj5
= 0 ;
24514 char *kwnames
[] = {
24515 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24521 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24523 arg3
= (double) SWIG_AsDouble(obj2
);
24524 if (PyErr_Occurred()) SWIG_fail
;
24525 arg4
= (double) SWIG_AsDouble(obj3
);
24526 if (PyErr_Occurred()) SWIG_fail
;
24528 arg5
= (int) SWIG_AsInt(obj4
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24532 arg6
= (int) SWIG_AsInt(obj5
);
24533 if (PyErr_Occurred()) SWIG_fail
;
24536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24537 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24539 wxPyEndAllowThreads(__tstate
);
24540 if (PyErr_Occurred()) SWIG_fail
;
24542 Py_INCREF(Py_None
); resultobj
= Py_None
;
24549 static PyObject
*_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24550 PyObject
*resultobj
;
24551 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24552 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24555 int arg5
= (int) 0 ;
24556 int arg6
= (int) 0 ;
24557 PyObject
* obj0
= 0 ;
24558 PyObject
* obj1
= 0 ;
24559 PyObject
* obj2
= 0 ;
24560 PyObject
* obj3
= 0 ;
24561 PyObject
* obj4
= 0 ;
24562 PyObject
* obj5
= 0 ;
24563 char *kwnames
[] = {
24564 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24572 arg3
= (double) SWIG_AsDouble(obj2
);
24573 if (PyErr_Occurred()) SWIG_fail
;
24574 arg4
= (double) SWIG_AsDouble(obj3
);
24575 if (PyErr_Occurred()) SWIG_fail
;
24577 arg5
= (int) SWIG_AsInt(obj4
);
24578 if (PyErr_Occurred()) SWIG_fail
;
24581 arg6
= (int) SWIG_AsInt(obj5
);
24582 if (PyErr_Occurred()) SWIG_fail
;
24585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24586 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24588 wxPyEndAllowThreads(__tstate
);
24589 if (PyErr_Occurred()) SWIG_fail
;
24591 Py_INCREF(Py_None
); resultobj
= Py_None
;
24598 static PyObject
*_wrap_PyCircleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24599 PyObject
*resultobj
;
24600 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24603 PyObject
* obj0
= 0 ;
24604 PyObject
* obj1
= 0 ;
24605 PyObject
* obj2
= 0 ;
24606 char *kwnames
[] = {
24607 (char *) "self",(char *) "w",(char *) "h", NULL
24610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24613 arg2
= (double) SWIG_AsDouble(obj1
);
24614 if (PyErr_Occurred()) SWIG_fail
;
24615 arg3
= (double) SWIG_AsDouble(obj2
);
24616 if (PyErr_Occurred()) SWIG_fail
;
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24619 (arg1
)->base_OnBeginSize(arg2
,arg3
);
24621 wxPyEndAllowThreads(__tstate
);
24622 if (PyErr_Occurred()) SWIG_fail
;
24624 Py_INCREF(Py_None
); resultobj
= Py_None
;
24631 static PyObject
*_wrap_PyCircleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24632 PyObject
*resultobj
;
24633 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24636 PyObject
* obj0
= 0 ;
24637 PyObject
* obj1
= 0 ;
24638 PyObject
* obj2
= 0 ;
24639 char *kwnames
[] = {
24640 (char *) "self",(char *) "w",(char *) "h", NULL
24643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24646 arg2
= (double) SWIG_AsDouble(obj1
);
24647 if (PyErr_Occurred()) SWIG_fail
;
24648 arg3
= (double) SWIG_AsDouble(obj2
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24652 (arg1
)->base_OnEndSize(arg2
,arg3
);
24654 wxPyEndAllowThreads(__tstate
);
24655 if (PyErr_Occurred()) SWIG_fail
;
24657 Py_INCREF(Py_None
); resultobj
= Py_None
;
24664 static PyObject
* PyCircleShape_swigregister(PyObject
*self
, PyObject
*args
) {
24666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24667 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape
, obj
);
24669 return Py_BuildValue((char *)"");
24671 static PyObject
*_wrap_new_ArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24672 PyObject
*resultobj
;
24673 int arg1
= (int) 0 ;
24674 int arg2
= (int) 0 ;
24675 double arg3
= (double) 0.0 ;
24676 double arg4
= (double) 0.0 ;
24677 wxString
const &arg5_defvalue
= wxPyEmptyString
;
24678 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
24679 wxPseudoMetaFile
*arg6
= (wxPseudoMetaFile
*) NULL
;
24680 long arg7
= (long) -1 ;
24681 wxArrowHead
*result
;
24682 bool temp5
= False
;
24683 PyObject
* obj0
= 0 ;
24684 PyObject
* obj1
= 0 ;
24685 PyObject
* obj2
= 0 ;
24686 PyObject
* obj3
= 0 ;
24687 PyObject
* obj4
= 0 ;
24688 PyObject
* obj5
= 0 ;
24689 PyObject
* obj6
= 0 ;
24690 char *kwnames
[] = {
24691 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
24694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOO:new_ArrowHead",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24696 arg1
= (int) SWIG_AsInt(obj0
);
24697 if (PyErr_Occurred()) SWIG_fail
;
24700 arg2
= (int) SWIG_AsInt(obj1
);
24701 if (PyErr_Occurred()) SWIG_fail
;
24704 arg3
= (double) SWIG_AsDouble(obj2
);
24705 if (PyErr_Occurred()) SWIG_fail
;
24708 arg4
= (double) SWIG_AsDouble(obj3
);
24709 if (PyErr_Occurred()) SWIG_fail
;
24713 arg5
= wxString_in_helper(obj4
);
24714 if (arg5
== NULL
) SWIG_fail
;
24719 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPseudoMetaFile
,
24720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24723 arg7
= (long) SWIG_AsLong(obj6
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24728 result
= (wxArrowHead
*)new wxArrowHead(arg1
,arg2
,arg3
,arg4
,(wxString
const &)*arg5
,arg6
,arg7
);
24730 wxPyEndAllowThreads(__tstate
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24734 resultobj
= wxPyMake_wxObject(result
);
24750 static PyObject
*_wrap_delete_ArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24751 PyObject
*resultobj
;
24752 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24753 PyObject
* obj0
= 0 ;
24754 char *kwnames
[] = {
24755 (char *) "self", NULL
24758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArrowHead",kwnames
,&obj0
)) goto fail
;
24759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24765 wxPyEndAllowThreads(__tstate
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24768 Py_INCREF(Py_None
); resultobj
= Py_None
;
24775 static PyObject
*_wrap_ArrowHead__GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
;
24777 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24779 PyObject
* obj0
= 0 ;
24780 char *kwnames
[] = {
24781 (char *) "self", NULL
24784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead__GetType",kwnames
,&obj0
)) goto fail
;
24785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 result
= (int)(arg1
)->_GetType();
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24794 resultobj
= SWIG_FromInt((int)result
);
24801 static PyObject
*_wrap_ArrowHead_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24802 PyObject
*resultobj
;
24803 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24805 PyObject
* obj0
= 0 ;
24806 char *kwnames
[] = {
24807 (char *) "self", NULL
24810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetPosition",kwnames
,&obj0
)) goto fail
;
24811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24815 result
= (int)(arg1
)->GetPosition();
24817 wxPyEndAllowThreads(__tstate
);
24818 if (PyErr_Occurred()) SWIG_fail
;
24820 resultobj
= SWIG_FromInt((int)result
);
24827 static PyObject
*_wrap_ArrowHead_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24828 PyObject
*resultobj
;
24829 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24831 PyObject
* obj0
= 0 ;
24832 PyObject
* obj1
= 0 ;
24833 char *kwnames
[] = {
24834 (char *) "self",(char *) "pos", NULL
24837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24840 arg2
= (int) SWIG_AsInt(obj1
);
24841 if (PyErr_Occurred()) SWIG_fail
;
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 (arg1
)->SetPosition(arg2
);
24846 wxPyEndAllowThreads(__tstate
);
24847 if (PyErr_Occurred()) SWIG_fail
;
24849 Py_INCREF(Py_None
); resultobj
= Py_None
;
24856 static PyObject
*_wrap_ArrowHead_GetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24857 PyObject
*resultobj
;
24858 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24860 PyObject
* obj0
= 0 ;
24861 char *kwnames
[] = {
24862 (char *) "self", NULL
24865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetXOffset",kwnames
,&obj0
)) goto fail
;
24866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24870 result
= (double)(arg1
)->GetXOffset();
24872 wxPyEndAllowThreads(__tstate
);
24873 if (PyErr_Occurred()) SWIG_fail
;
24875 resultobj
= SWIG_FromDouble((double)result
);
24882 static PyObject
*_wrap_ArrowHead_GetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24883 PyObject
*resultobj
;
24884 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24886 PyObject
* obj0
= 0 ;
24887 char *kwnames
[] = {
24888 (char *) "self", NULL
24891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetYOffset",kwnames
,&obj0
)) goto fail
;
24892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24896 result
= (double)(arg1
)->GetYOffset();
24898 wxPyEndAllowThreads(__tstate
);
24899 if (PyErr_Occurred()) SWIG_fail
;
24901 resultobj
= SWIG_FromDouble((double)result
);
24908 static PyObject
*_wrap_ArrowHead_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24909 PyObject
*resultobj
;
24910 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24912 PyObject
* obj0
= 0 ;
24913 char *kwnames
[] = {
24914 (char *) "self", NULL
24917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSpacing",kwnames
,&obj0
)) goto fail
;
24918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24922 result
= (double)(arg1
)->GetSpacing();
24924 wxPyEndAllowThreads(__tstate
);
24925 if (PyErr_Occurred()) SWIG_fail
;
24927 resultobj
= SWIG_FromDouble((double)result
);
24934 static PyObject
*_wrap_ArrowHead_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24935 PyObject
*resultobj
;
24936 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24938 PyObject
* obj0
= 0 ;
24939 char *kwnames
[] = {
24940 (char *) "self", NULL
24943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSize",kwnames
,&obj0
)) goto fail
;
24944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24948 result
= (double)(arg1
)->GetSize();
24950 wxPyEndAllowThreads(__tstate
);
24951 if (PyErr_Occurred()) SWIG_fail
;
24953 resultobj
= SWIG_FromDouble((double)result
);
24960 static PyObject
*_wrap_ArrowHead_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24961 PyObject
*resultobj
;
24962 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24964 PyObject
* obj0
= 0 ;
24965 char *kwnames
[] = {
24966 (char *) "self", NULL
24969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetName",kwnames
,&obj0
)) goto fail
;
24970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24974 result
= (arg1
)->GetName();
24976 wxPyEndAllowThreads(__tstate
);
24977 if (PyErr_Occurred()) SWIG_fail
;
24981 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24983 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24992 static PyObject
*_wrap_ArrowHead_SetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24993 PyObject
*resultobj
;
24994 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24996 PyObject
* obj0
= 0 ;
24997 PyObject
* obj1
= 0 ;
24998 char *kwnames
[] = {
24999 (char *) "self",(char *) "x", NULL
25002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetXOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
25003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25005 arg2
= (double) SWIG_AsDouble(obj1
);
25006 if (PyErr_Occurred()) SWIG_fail
;
25008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25009 (arg1
)->SetXOffset(arg2
);
25011 wxPyEndAllowThreads(__tstate
);
25012 if (PyErr_Occurred()) SWIG_fail
;
25014 Py_INCREF(Py_None
); resultobj
= Py_None
;
25021 static PyObject
*_wrap_ArrowHead_SetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25022 PyObject
*resultobj
;
25023 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25025 PyObject
* obj0
= 0 ;
25026 PyObject
* obj1
= 0 ;
25027 char *kwnames
[] = {
25028 (char *) "self",(char *) "y", NULL
25031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetYOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
25032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25034 arg2
= (double) SWIG_AsDouble(obj1
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25038 (arg1
)->SetYOffset(arg2
);
25040 wxPyEndAllowThreads(__tstate
);
25041 if (PyErr_Occurred()) SWIG_fail
;
25043 Py_INCREF(Py_None
); resultobj
= Py_None
;
25050 static PyObject
*_wrap_ArrowHead_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25051 PyObject
*resultobj
;
25052 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25053 wxPseudoMetaFile
*result
;
25054 PyObject
* obj0
= 0 ;
25055 char *kwnames
[] = {
25056 (char *) "self", NULL
25059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetMetaFile",kwnames
,&obj0
)) goto fail
;
25060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25064 result
= (wxPseudoMetaFile
*)(arg1
)->GetMetaFile();
25066 wxPyEndAllowThreads(__tstate
);
25067 if (PyErr_Occurred()) SWIG_fail
;
25070 resultobj
= wxPyMake_wxObject(result
);
25078 static PyObject
*_wrap_ArrowHead_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25079 PyObject
*resultobj
;
25080 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25082 PyObject
* obj0
= 0 ;
25083 char *kwnames
[] = {
25084 (char *) "self", NULL
25087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetId",kwnames
,&obj0
)) goto fail
;
25088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25092 result
= (long)(arg1
)->GetId();
25094 wxPyEndAllowThreads(__tstate
);
25095 if (PyErr_Occurred()) SWIG_fail
;
25097 resultobj
= SWIG_FromLong((long)result
);
25104 static PyObject
*_wrap_ArrowHead_GetArrowEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25105 PyObject
*resultobj
;
25106 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25108 PyObject
* obj0
= 0 ;
25109 char *kwnames
[] = {
25110 (char *) "self", NULL
25113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowEnd",kwnames
,&obj0
)) goto fail
;
25114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25118 result
= (int)(arg1
)->GetArrowEnd();
25120 wxPyEndAllowThreads(__tstate
);
25121 if (PyErr_Occurred()) SWIG_fail
;
25123 resultobj
= SWIG_FromInt((int)result
);
25130 static PyObject
*_wrap_ArrowHead_GetArrowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25131 PyObject
*resultobj
;
25132 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25134 PyObject
* obj0
= 0 ;
25135 char *kwnames
[] = {
25136 (char *) "self", NULL
25139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowSize",kwnames
,&obj0
)) goto fail
;
25140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25144 result
= (double)(arg1
)->GetArrowSize();
25146 wxPyEndAllowThreads(__tstate
);
25147 if (PyErr_Occurred()) SWIG_fail
;
25149 resultobj
= SWIG_FromDouble((double)result
);
25156 static PyObject
*_wrap_ArrowHead_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25157 PyObject
*resultobj
;
25158 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25160 PyObject
* obj0
= 0 ;
25161 PyObject
* obj1
= 0 ;
25162 char *kwnames
[] = {
25163 (char *) "self",(char *) "size", NULL
25166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25169 arg2
= (double) SWIG_AsDouble(obj1
);
25170 if (PyErr_Occurred()) SWIG_fail
;
25172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25173 (arg1
)->SetSize(arg2
);
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 Py_INCREF(Py_None
); resultobj
= Py_None
;
25185 static PyObject
*_wrap_ArrowHead_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25186 PyObject
*resultobj
;
25187 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25189 PyObject
* obj0
= 0 ;
25190 PyObject
* obj1
= 0 ;
25191 char *kwnames
[] = {
25192 (char *) "self",(char *) "sp", NULL
25195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25198 arg2
= (double) SWIG_AsDouble(obj1
);
25199 if (PyErr_Occurred()) SWIG_fail
;
25201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25202 (arg1
)->SetSpacing(arg2
);
25204 wxPyEndAllowThreads(__tstate
);
25205 if (PyErr_Occurred()) SWIG_fail
;
25207 Py_INCREF(Py_None
); resultobj
= Py_None
;
25214 static PyObject
* ArrowHead_swigregister(PyObject
*self
, PyObject
*args
) {
25216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25217 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead
, obj
);
25219 return Py_BuildValue((char *)"");
25221 static PyObject
*_wrap_new_PyLineShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25222 PyObject
*resultobj
;
25223 wxPyLineShape
*result
;
25224 char *kwnames
[] = {
25228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLineShape",kwnames
)) goto fail
;
25230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25231 result
= (wxPyLineShape
*)new wxPyLineShape();
25233 wxPyEndAllowThreads(__tstate
);
25234 if (PyErr_Occurred()) SWIG_fail
;
25236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLineShape
, 1);
25243 static PyObject
*_wrap_PyLineShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25244 PyObject
*resultobj
;
25245 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25246 PyObject
*arg2
= (PyObject
*) 0 ;
25247 PyObject
*arg3
= (PyObject
*) 0 ;
25248 PyObject
* obj0
= 0 ;
25249 PyObject
* obj1
= 0 ;
25250 PyObject
* obj2
= 0 ;
25251 char *kwnames
[] = {
25252 (char *) "self",(char *) "self",(char *) "_class", NULL
25255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25262 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25264 wxPyEndAllowThreads(__tstate
);
25265 if (PyErr_Occurred()) SWIG_fail
;
25267 Py_INCREF(Py_None
); resultobj
= Py_None
;
25274 static PyObject
*_wrap_PyLineShape_AddArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25275 PyObject
*resultobj
;
25276 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25278 int arg3
= (int) ARROW_POSITION_END
;
25279 double arg4
= (double) 10.0 ;
25280 double arg5
= (double) 0.0 ;
25281 wxString
const &arg6_defvalue
= wxPyEmptyString
;
25282 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25283 wxPseudoMetaFile
*arg7
= (wxPseudoMetaFile
*) NULL
;
25284 long arg8
= (long) -1 ;
25285 bool temp6
= False
;
25286 PyObject
* obj0
= 0 ;
25287 PyObject
* obj1
= 0 ;
25288 PyObject
* obj2
= 0 ;
25289 PyObject
* obj3
= 0 ;
25290 PyObject
* obj4
= 0 ;
25291 PyObject
* obj5
= 0 ;
25292 PyObject
* obj6
= 0 ;
25293 PyObject
* obj7
= 0 ;
25294 char *kwnames
[] = {
25295 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:PyLineShape_AddArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25301 arg2
= (int) SWIG_AsInt(obj1
);
25302 if (PyErr_Occurred()) SWIG_fail
;
25304 arg3
= (int) SWIG_AsInt(obj2
);
25305 if (PyErr_Occurred()) SWIG_fail
;
25308 arg4
= (double) SWIG_AsDouble(obj3
);
25309 if (PyErr_Occurred()) SWIG_fail
;
25312 arg5
= (double) SWIG_AsDouble(obj4
);
25313 if (PyErr_Occurred()) SWIG_fail
;
25317 arg6
= wxString_in_helper(obj5
);
25318 if (arg6
== NULL
) SWIG_fail
;
25323 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPseudoMetaFile
,
25324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25327 arg8
= (long) SWIG_AsLong(obj7
);
25328 if (PyErr_Occurred()) SWIG_fail
;
25331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25332 (arg1
)->AddArrow(arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
,arg8
);
25334 wxPyEndAllowThreads(__tstate
);
25335 if (PyErr_Occurred()) SWIG_fail
;
25337 Py_INCREF(Py_None
); resultobj
= Py_None
;
25352 static PyObject
*_wrap_PyLineShape_AddArrowOrdered(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25353 PyObject
*resultobj
;
25354 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25355 wxArrowHead
*arg2
= (wxArrowHead
*) 0 ;
25356 PyObject
*arg3
= (PyObject
*) 0 ;
25358 PyObject
* obj0
= 0 ;
25359 PyObject
* obj1
= 0 ;
25360 PyObject
* obj2
= 0 ;
25361 PyObject
* obj3
= 0 ;
25362 char *kwnames
[] = {
25363 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
25366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyLineShape_AddArrowOrdered",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxArrowHead
,
25370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25372 arg4
= (int) SWIG_AsInt(obj3
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25376 wxPyLineShape_AddArrowOrdered(arg1
,arg2
,arg3
,arg4
);
25378 wxPyEndAllowThreads(__tstate
);
25379 if (PyErr_Occurred()) SWIG_fail
;
25381 Py_INCREF(Py_None
); resultobj
= Py_None
;
25388 static PyObject
*_wrap_PyLineShape_ClearArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25389 PyObject
*resultobj
;
25390 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25391 wxString
*arg2
= 0 ;
25393 bool temp2
= False
;
25394 PyObject
* obj0
= 0 ;
25395 PyObject
* obj1
= 0 ;
25396 char *kwnames
[] = {
25397 (char *) "self",(char *) "name", NULL
25400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_ClearArrow",kwnames
,&obj0
,&obj1
)) goto fail
;
25401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25404 arg2
= wxString_in_helper(obj1
);
25405 if (arg2
== NULL
) SWIG_fail
;
25409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25410 result
= (bool)(arg1
)->ClearArrow((wxString
const &)*arg2
);
25412 wxPyEndAllowThreads(__tstate
);
25413 if (PyErr_Occurred()) SWIG_fail
;
25416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25432 static PyObject
*_wrap_PyLineShape_ClearArrowsAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25433 PyObject
*resultobj
;
25434 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25435 int arg2
= (int) -1 ;
25436 PyObject
* obj0
= 0 ;
25437 PyObject
* obj1
= 0 ;
25438 char *kwnames
[] = {
25439 (char *) "self",(char *) "position", NULL
25442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_ClearArrowsAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25446 arg2
= (int) SWIG_AsInt(obj1
);
25447 if (PyErr_Occurred()) SWIG_fail
;
25450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25451 (arg1
)->ClearArrowsAtPosition(arg2
);
25453 wxPyEndAllowThreads(__tstate
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25456 Py_INCREF(Py_None
); resultobj
= Py_None
;
25463 static PyObject
*_wrap_PyLineShape_DrawArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25464 PyObject
*resultobj
;
25465 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25467 wxArrowHead
*arg3
= (wxArrowHead
*) 0 ;
25470 PyObject
* obj0
= 0 ;
25471 PyObject
* obj1
= 0 ;
25472 PyObject
* obj2
= 0 ;
25473 PyObject
* obj3
= 0 ;
25474 PyObject
* obj4
= 0 ;
25475 char *kwnames
[] = {
25476 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
25479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_DrawArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25483 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25485 if (arg2
== NULL
) {
25486 PyErr_SetString(PyExc_TypeError
,"null reference");
25489 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxArrowHead
,
25490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25491 arg4
= (double) SWIG_AsDouble(obj3
);
25492 if (PyErr_Occurred()) SWIG_fail
;
25493 arg5
= (bool) SWIG_AsBool(obj4
);
25494 if (PyErr_Occurred()) SWIG_fail
;
25496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25497 (arg1
)->DrawArrow(*arg2
,arg3
,arg4
,arg5
);
25499 wxPyEndAllowThreads(__tstate
);
25500 if (PyErr_Occurred()) SWIG_fail
;
25502 Py_INCREF(Py_None
); resultobj
= Py_None
;
25509 static PyObject
*_wrap_PyLineShape_DeleteArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25510 PyObject
*resultobj
;
25511 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25514 PyObject
* obj0
= 0 ;
25515 PyObject
* obj1
= 0 ;
25516 char *kwnames
[] = {
25517 (char *) "self",(char *) "arrowId", NULL
25520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DeleteArrowHeadId",kwnames
,&obj0
,&obj1
)) goto fail
;
25521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25523 arg2
= (long) SWIG_AsLong(obj1
);
25524 if (PyErr_Occurred()) SWIG_fail
;
25526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25527 result
= (bool)(arg1
)->DeleteArrowHead(arg2
);
25529 wxPyEndAllowThreads(__tstate
);
25530 if (PyErr_Occurred()) SWIG_fail
;
25533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25541 static PyObject
*_wrap_PyLineShape_DeleteArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25542 PyObject
*resultobj
;
25543 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25545 wxString
*arg3
= 0 ;
25547 bool temp3
= False
;
25548 PyObject
* obj0
= 0 ;
25549 PyObject
* obj1
= 0 ;
25550 PyObject
* obj2
= 0 ;
25551 char *kwnames
[] = {
25552 (char *) "self",(char *) "position",(char *) "name", NULL
25555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_DeleteArrowHead",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25558 arg2
= (int) SWIG_AsInt(obj1
);
25559 if (PyErr_Occurred()) SWIG_fail
;
25561 arg3
= wxString_in_helper(obj2
);
25562 if (arg3
== NULL
) SWIG_fail
;
25566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25567 result
= (bool)(arg1
)->DeleteArrowHead(arg2
,(wxString
const &)*arg3
);
25569 wxPyEndAllowThreads(__tstate
);
25570 if (PyErr_Occurred()) SWIG_fail
;
25573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25589 static PyObject
*_wrap_PyLineShape_DeleteLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25590 PyObject
*resultobj
;
25591 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25593 PyObject
* obj0
= 0 ;
25594 char *kwnames
[] = {
25595 (char *) "self", NULL
25598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames
,&obj0
)) goto fail
;
25599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25603 result
= (bool)(arg1
)->DeleteLineControlPoint();
25605 wxPyEndAllowThreads(__tstate
);
25606 if (PyErr_Occurred()) SWIG_fail
;
25609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25617 static PyObject
*_wrap_PyLineShape_DrawArrows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25618 PyObject
*resultobj
;
25619 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25621 PyObject
* obj0
= 0 ;
25622 PyObject
* obj1
= 0 ;
25623 char *kwnames
[] = {
25624 (char *) "self",(char *) "dc", NULL
25627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DrawArrows",kwnames
,&obj0
,&obj1
)) goto fail
;
25628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25633 if (arg2
== NULL
) {
25634 PyErr_SetString(PyExc_TypeError
,"null reference");
25638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25639 (arg1
)->DrawArrows(*arg2
);
25641 wxPyEndAllowThreads(__tstate
);
25642 if (PyErr_Occurred()) SWIG_fail
;
25644 Py_INCREF(Py_None
); resultobj
= Py_None
;
25651 static PyObject
*_wrap_PyLineShape_DrawRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25652 PyObject
*resultobj
;
25653 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25655 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
25658 PyObject
* obj0
= 0 ;
25659 PyObject
* obj1
= 0 ;
25660 PyObject
* obj2
= 0 ;
25661 PyObject
* obj3
= 0 ;
25662 PyObject
* obj4
= 0 ;
25663 char *kwnames
[] = {
25664 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_DrawRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25671 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25673 if (arg2
== NULL
) {
25674 PyErr_SetString(PyExc_TypeError
,"null reference");
25677 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxShapeRegion
,
25678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25679 arg4
= (double) SWIG_AsDouble(obj3
);
25680 if (PyErr_Occurred()) SWIG_fail
;
25681 arg5
= (double) SWIG_AsDouble(obj4
);
25682 if (PyErr_Occurred()) SWIG_fail
;
25684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25685 (arg1
)->DrawRegion(*arg2
,arg3
,arg4
,arg5
);
25687 wxPyEndAllowThreads(__tstate
);
25688 if (PyErr_Occurred()) SWIG_fail
;
25690 Py_INCREF(Py_None
); resultobj
= Py_None
;
25697 static PyObject
*_wrap_PyLineShape_EraseRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25698 PyObject
*resultobj
;
25699 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25701 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
25704 PyObject
* obj0
= 0 ;
25705 PyObject
* obj1
= 0 ;
25706 PyObject
* obj2
= 0 ;
25707 PyObject
* obj3
= 0 ;
25708 PyObject
* obj4
= 0 ;
25709 char *kwnames
[] = {
25710 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_EraseRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25716 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25719 if (arg2
== NULL
) {
25720 PyErr_SetString(PyExc_TypeError
,"null reference");
25723 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxShapeRegion
,
25724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25725 arg4
= (double) SWIG_AsDouble(obj3
);
25726 if (PyErr_Occurred()) SWIG_fail
;
25727 arg5
= (double) SWIG_AsDouble(obj4
);
25728 if (PyErr_Occurred()) SWIG_fail
;
25730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25731 (arg1
)->EraseRegion(*arg2
,arg3
,arg4
,arg5
);
25733 wxPyEndAllowThreads(__tstate
);
25734 if (PyErr_Occurred()) SWIG_fail
;
25736 Py_INCREF(Py_None
); resultobj
= Py_None
;
25743 static PyObject
*_wrap_PyLineShape_FindArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25744 PyObject
*resultobj
;
25745 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25747 wxArrowHead
*result
;
25748 PyObject
* obj0
= 0 ;
25749 PyObject
* obj1
= 0 ;
25750 char *kwnames
[] = {
25751 (char *) "self",(char *) "arrowId", NULL
25754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_FindArrowHeadId",kwnames
,&obj0
,&obj1
)) goto fail
;
25755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25757 arg2
= (long) SWIG_AsLong(obj1
);
25758 if (PyErr_Occurred()) SWIG_fail
;
25760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25761 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
);
25763 wxPyEndAllowThreads(__tstate
);
25764 if (PyErr_Occurred()) SWIG_fail
;
25767 resultobj
= wxPyMake_wxObject(result
);
25775 static PyObject
*_wrap_PyLineShape_FindArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25776 PyObject
*resultobj
;
25777 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25779 wxString
*arg3
= 0 ;
25780 wxArrowHead
*result
;
25781 bool temp3
= False
;
25782 PyObject
* obj0
= 0 ;
25783 PyObject
* obj1
= 0 ;
25784 PyObject
* obj2
= 0 ;
25785 char *kwnames
[] = {
25786 (char *) "self",(char *) "position",(char *) "name", NULL
25789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindArrowHead",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25792 arg2
= (int) SWIG_AsInt(obj1
);
25793 if (PyErr_Occurred()) SWIG_fail
;
25795 arg3
= wxString_in_helper(obj2
);
25796 if (arg3
== NULL
) SWIG_fail
;
25800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25801 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
,(wxString
const &)*arg3
);
25803 wxPyEndAllowThreads(__tstate
);
25804 if (PyErr_Occurred()) SWIG_fail
;
25807 resultobj
= wxPyMake_wxObject(result
);
25823 static PyObject
*_wrap_PyLineShape_FindLineEndPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25824 PyObject
*resultobj
;
25825 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25826 double *arg2
= (double *) 0 ;
25827 double *arg3
= (double *) 0 ;
25828 double *arg4
= (double *) 0 ;
25829 double *arg5
= (double *) 0 ;
25834 PyObject
* obj0
= 0 ;
25835 char *kwnames
[] = {
25836 (char *) "self", NULL
25843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindLineEndPoints",kwnames
,&obj0
)) goto fail
;
25844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25848 (arg1
)->FindLineEndPoints(arg2
,arg3
,arg4
,arg5
);
25850 wxPyEndAllowThreads(__tstate
);
25851 if (PyErr_Occurred()) SWIG_fail
;
25853 Py_INCREF(Py_None
); resultobj
= Py_None
;
25855 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
25856 resultobj
= t_output_helper(resultobj
,o
);
25859 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
25860 resultobj
= t_output_helper(resultobj
,o
);
25863 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
25864 resultobj
= t_output_helper(resultobj
,o
);
25867 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
25868 resultobj
= t_output_helper(resultobj
,o
);
25876 static PyObject
*_wrap_PyLineShape_FindLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25877 PyObject
*resultobj
;
25878 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25882 PyObject
* obj0
= 0 ;
25883 PyObject
* obj1
= 0 ;
25884 PyObject
* obj2
= 0 ;
25885 char *kwnames
[] = {
25886 (char *) "self",(char *) "x",(char *) "y", NULL
25889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindLinePosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25892 arg2
= (double) SWIG_AsDouble(obj1
);
25893 if (PyErr_Occurred()) SWIG_fail
;
25894 arg3
= (double) SWIG_AsDouble(obj2
);
25895 if (PyErr_Occurred()) SWIG_fail
;
25897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25898 result
= (int)(arg1
)->FindLinePosition(arg2
,arg3
);
25900 wxPyEndAllowThreads(__tstate
);
25901 if (PyErr_Occurred()) SWIG_fail
;
25903 resultobj
= SWIG_FromInt((int)result
);
25910 static PyObject
*_wrap_PyLineShape_FindMinimumWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25911 PyObject
*resultobj
;
25912 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25914 PyObject
* obj0
= 0 ;
25915 char *kwnames
[] = {
25916 (char *) "self", NULL
25919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindMinimumWidth",kwnames
,&obj0
)) goto fail
;
25920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25924 result
= (double)(arg1
)->FindMinimumWidth();
25926 wxPyEndAllowThreads(__tstate
);
25927 if (PyErr_Occurred()) SWIG_fail
;
25929 resultobj
= SWIG_FromDouble((double)result
);
25936 static PyObject
*_wrap_PyLineShape_FindNth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25937 PyObject
*resultobj
;
25938 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25939 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
25940 int *arg3
= (int *) 0 ;
25941 int *arg4
= (int *) 0 ;
25945 PyObject
* obj0
= 0 ;
25946 PyObject
* obj1
= 0 ;
25947 PyObject
* obj2
= 0 ;
25948 char *kwnames
[] = {
25949 (char *) "self",(char *) "image",(char *) "incoming", NULL
25954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindNth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25957 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
25958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25959 arg5
= (bool) SWIG_AsBool(obj2
);
25960 if (PyErr_Occurred()) SWIG_fail
;
25962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25963 (arg1
)->FindNth(arg2
,arg3
,arg4
,arg5
);
25965 wxPyEndAllowThreads(__tstate
);
25966 if (PyErr_Occurred()) SWIG_fail
;
25968 Py_INCREF(Py_None
); resultobj
= Py_None
;
25970 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25971 resultobj
= t_output_helper(resultobj
,o
);
25974 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25975 resultobj
= t_output_helper(resultobj
,o
);
25983 static PyObject
*_wrap_PyLineShape_GetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25984 PyObject
*resultobj
;
25985 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25987 PyObject
* obj0
= 0 ;
25988 char *kwnames
[] = {
25989 (char *) "self", NULL
25992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames
,&obj0
)) goto fail
;
25993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25997 result
= (int)(arg1
)->GetAttachmentFrom();
25999 wxPyEndAllowThreads(__tstate
);
26000 if (PyErr_Occurred()) SWIG_fail
;
26002 resultobj
= SWIG_FromInt((int)result
);
26009 static PyObject
*_wrap_PyLineShape_GetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26010 PyObject
*resultobj
;
26011 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26013 PyObject
* obj0
= 0 ;
26014 char *kwnames
[] = {
26015 (char *) "self", NULL
26018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentTo",kwnames
,&obj0
)) goto fail
;
26019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26023 result
= (int)(arg1
)->GetAttachmentTo();
26025 wxPyEndAllowThreads(__tstate
);
26026 if (PyErr_Occurred()) SWIG_fail
;
26028 resultobj
= SWIG_FromInt((int)result
);
26035 static PyObject
*_wrap_PyLineShape_GetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26036 PyObject
*resultobj
;
26037 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26038 double *arg2
= (double *) 0 ;
26039 double *arg3
= (double *) 0 ;
26040 double *arg4
= (double *) 0 ;
26041 double *arg5
= (double *) 0 ;
26046 PyObject
* obj0
= 0 ;
26047 char *kwnames
[] = {
26048 (char *) "self", NULL
26055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetEnds",kwnames
,&obj0
)) goto fail
;
26056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26060 (arg1
)->GetEnds(arg2
,arg3
,arg4
,arg5
);
26062 wxPyEndAllowThreads(__tstate
);
26063 if (PyErr_Occurred()) SWIG_fail
;
26065 Py_INCREF(Py_None
); resultobj
= Py_None
;
26067 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
26068 resultobj
= t_output_helper(resultobj
,o
);
26071 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
26072 resultobj
= t_output_helper(resultobj
,o
);
26075 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
26076 resultobj
= t_output_helper(resultobj
,o
);
26079 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
26080 resultobj
= t_output_helper(resultobj
,o
);
26088 static PyObject
*_wrap_PyLineShape_GetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26089 PyObject
*resultobj
;
26090 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26092 PyObject
* obj0
= 0 ;
26093 char *kwnames
[] = {
26094 (char *) "self", NULL
26097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetFrom",kwnames
,&obj0
)) goto fail
;
26098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26102 result
= (wxPyShape
*)(arg1
)->GetFrom();
26104 wxPyEndAllowThreads(__tstate
);
26105 if (PyErr_Occurred()) SWIG_fail
;
26108 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
26116 static PyObject
*_wrap_PyLineShape_GetLabelPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26117 PyObject
*resultobj
;
26118 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26120 double *arg3
= (double *) 0 ;
26121 double *arg4
= (double *) 0 ;
26124 PyObject
* obj0
= 0 ;
26125 PyObject
* obj1
= 0 ;
26126 char *kwnames
[] = {
26127 (char *) "self",(char *) "position", NULL
26132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetLabelPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
26133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26135 arg2
= (int) SWIG_AsInt(obj1
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26139 (arg1
)->GetLabelPosition(arg2
,arg3
,arg4
);
26141 wxPyEndAllowThreads(__tstate
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26144 Py_INCREF(Py_None
); resultobj
= Py_None
;
26146 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
26147 resultobj
= t_output_helper(resultobj
,o
);
26150 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
26151 resultobj
= t_output_helper(resultobj
,o
);
26159 static PyObject
*_wrap_PyLineShape_GetNextControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26160 PyObject
*resultobj
;
26161 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26162 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26163 wxRealPoint
*result
;
26164 PyObject
* obj0
= 0 ;
26165 PyObject
* obj1
= 0 ;
26166 char *kwnames
[] = {
26167 (char *) "self",(char *) "shape", NULL
26170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26173 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26177 result
= (wxRealPoint
*)(arg1
)->GetNextControlPoint(arg2
);
26179 wxPyEndAllowThreads(__tstate
);
26180 if (PyErr_Occurred()) SWIG_fail
;
26182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 0);
26189 static PyObject
*_wrap_PyLineShape_GetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26190 PyObject
*resultobj
;
26191 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26193 PyObject
* obj0
= 0 ;
26194 char *kwnames
[] = {
26195 (char *) "self", NULL
26198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetTo",kwnames
,&obj0
)) goto fail
;
26199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26203 result
= (wxPyShape
*)(arg1
)->GetTo();
26205 wxPyEndAllowThreads(__tstate
);
26206 if (PyErr_Occurred()) SWIG_fail
;
26209 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
26217 static PyObject
*_wrap_PyLineShape_Initialise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26218 PyObject
*resultobj
;
26219 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26220 PyObject
* obj0
= 0 ;
26221 char *kwnames
[] = {
26222 (char *) "self", NULL
26225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Initialise",kwnames
,&obj0
)) goto fail
;
26226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26230 (arg1
)->Initialise();
26232 wxPyEndAllowThreads(__tstate
);
26233 if (PyErr_Occurred()) SWIG_fail
;
26235 Py_INCREF(Py_None
); resultobj
= Py_None
;
26242 static PyObject
*_wrap_PyLineShape_InsertLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26243 PyObject
*resultobj
;
26244 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26245 wxDC
*arg2
= (wxDC
*) 0 ;
26246 PyObject
* obj0
= 0 ;
26247 PyObject
* obj1
= 0 ;
26248 char *kwnames
[] = {
26249 (char *) "self",(char *) "dc", NULL
26252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26255 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26259 (arg1
)->InsertLineControlPoint(arg2
);
26261 wxPyEndAllowThreads(__tstate
);
26262 if (PyErr_Occurred()) SWIG_fail
;
26264 Py_INCREF(Py_None
); resultobj
= Py_None
;
26271 static PyObject
*_wrap_PyLineShape_IsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26272 PyObject
*resultobj
;
26273 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26274 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26276 PyObject
* obj0
= 0 ;
26277 PyObject
* obj1
= 0 ;
26278 char *kwnames
[] = {
26279 (char *) "self",(char *) "shape", NULL
26282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_IsEnd",kwnames
,&obj0
,&obj1
)) goto fail
;
26283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26289 result
= (bool)(arg1
)->IsEnd(arg2
);
26291 wxPyEndAllowThreads(__tstate
);
26292 if (PyErr_Occurred()) SWIG_fail
;
26295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26303 static PyObject
*_wrap_PyLineShape_IsSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26304 PyObject
*resultobj
;
26305 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26307 PyObject
* obj0
= 0 ;
26308 char *kwnames
[] = {
26309 (char *) "self", NULL
26312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_IsSpline",kwnames
,&obj0
)) goto fail
;
26313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26317 result
= (bool)(arg1
)->IsSpline();
26319 wxPyEndAllowThreads(__tstate
);
26320 if (PyErr_Occurred()) SWIG_fail
;
26323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26331 static PyObject
*_wrap_PyLineShape_MakeLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26332 PyObject
*resultobj
;
26333 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26335 PyObject
* obj0
= 0 ;
26336 PyObject
* obj1
= 0 ;
26337 char *kwnames
[] = {
26338 (char *) "self",(char *) "n", NULL
26341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_MakeLineControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
26342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26344 arg2
= (int) SWIG_AsInt(obj1
);
26345 if (PyErr_Occurred()) SWIG_fail
;
26347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26348 (arg1
)->MakeLineControlPoints(arg2
);
26350 wxPyEndAllowThreads(__tstate
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26353 Py_INCREF(Py_None
); resultobj
= Py_None
;
26360 static PyObject
*_wrap_PyLineShape_GetLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26361 PyObject
*resultobj
;
26362 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26364 PyObject
* obj0
= 0 ;
26365 char *kwnames
[] = {
26366 (char *) "self", NULL
26369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetLineControlPoints",kwnames
,&obj0
)) goto fail
;
26370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26374 result
= (PyObject
*)wxPyLineShape_GetLineControlPoints(arg1
);
26376 wxPyEndAllowThreads(__tstate
);
26377 if (PyErr_Occurred()) SWIG_fail
;
26379 resultobj
= result
;
26386 static PyObject
*_wrap_PyLineShape_SetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26387 PyObject
*resultobj
;
26388 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26390 PyObject
* obj0
= 0 ;
26391 PyObject
* obj1
= 0 ;
26392 char *kwnames
[] = {
26393 (char *) "self",(char *) "fromAttach", NULL
26396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetAttachmentFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
26397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26399 arg2
= (int) SWIG_AsInt(obj1
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26403 (arg1
)->SetAttachmentFrom(arg2
);
26405 wxPyEndAllowThreads(__tstate
);
26406 if (PyErr_Occurred()) SWIG_fail
;
26408 Py_INCREF(Py_None
); resultobj
= Py_None
;
26415 static PyObject
*_wrap_PyLineShape_SetAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26416 PyObject
*resultobj
;
26417 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26420 PyObject
* obj0
= 0 ;
26421 PyObject
* obj1
= 0 ;
26422 PyObject
* obj2
= 0 ;
26423 char *kwnames
[] = {
26424 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
26427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAttachments",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26430 arg2
= (int) SWIG_AsInt(obj1
);
26431 if (PyErr_Occurred()) SWIG_fail
;
26432 arg3
= (int) SWIG_AsInt(obj2
);
26433 if (PyErr_Occurred()) SWIG_fail
;
26435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26436 (arg1
)->SetAttachments(arg2
,arg3
);
26438 wxPyEndAllowThreads(__tstate
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26441 Py_INCREF(Py_None
); resultobj
= Py_None
;
26448 static PyObject
*_wrap_PyLineShape_SetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26449 PyObject
*resultobj
;
26450 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26452 PyObject
* obj0
= 0 ;
26453 PyObject
* obj1
= 0 ;
26454 char *kwnames
[] = {
26455 (char *) "self",(char *) "toAttach", NULL
26458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetAttachmentTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26461 arg2
= (int) SWIG_AsInt(obj1
);
26462 if (PyErr_Occurred()) SWIG_fail
;
26464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26465 (arg1
)->SetAttachmentTo(arg2
);
26467 wxPyEndAllowThreads(__tstate
);
26468 if (PyErr_Occurred()) SWIG_fail
;
26470 Py_INCREF(Py_None
); resultobj
= Py_None
;
26477 static PyObject
*_wrap_PyLineShape_SetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26478 PyObject
*resultobj
;
26479 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26484 PyObject
* obj0
= 0 ;
26485 PyObject
* obj1
= 0 ;
26486 PyObject
* obj2
= 0 ;
26487 PyObject
* obj3
= 0 ;
26488 PyObject
* obj4
= 0 ;
26489 char *kwnames
[] = {
26490 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_SetEnds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26496 arg2
= (double) SWIG_AsDouble(obj1
);
26497 if (PyErr_Occurred()) SWIG_fail
;
26498 arg3
= (double) SWIG_AsDouble(obj2
);
26499 if (PyErr_Occurred()) SWIG_fail
;
26500 arg4
= (double) SWIG_AsDouble(obj3
);
26501 if (PyErr_Occurred()) SWIG_fail
;
26502 arg5
= (double) SWIG_AsDouble(obj4
);
26503 if (PyErr_Occurred()) SWIG_fail
;
26505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26506 (arg1
)->SetEnds(arg2
,arg3
,arg4
,arg5
);
26508 wxPyEndAllowThreads(__tstate
);
26509 if (PyErr_Occurred()) SWIG_fail
;
26511 Py_INCREF(Py_None
); resultobj
= Py_None
;
26518 static PyObject
*_wrap_PyLineShape_SetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26519 PyObject
*resultobj
;
26520 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26521 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26522 PyObject
* obj0
= 0 ;
26523 PyObject
* obj1
= 0 ;
26524 char *kwnames
[] = {
26525 (char *) "self",(char *) "object", NULL
26528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
26529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26535 (arg1
)->SetFrom(arg2
);
26537 wxPyEndAllowThreads(__tstate
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26540 Py_INCREF(Py_None
); resultobj
= Py_None
;
26547 static PyObject
*_wrap_PyLineShape_SetIgnoreOffsets(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26548 PyObject
*resultobj
;
26549 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26551 PyObject
* obj0
= 0 ;
26552 PyObject
* obj1
= 0 ;
26553 char *kwnames
[] = {
26554 (char *) "self",(char *) "ignore", NULL
26557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames
,&obj0
,&obj1
)) goto fail
;
26558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26560 arg2
= (bool) SWIG_AsBool(obj1
);
26561 if (PyErr_Occurred()) SWIG_fail
;
26563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26564 (arg1
)->SetIgnoreOffsets(arg2
);
26566 wxPyEndAllowThreads(__tstate
);
26567 if (PyErr_Occurred()) SWIG_fail
;
26569 Py_INCREF(Py_None
); resultobj
= Py_None
;
26576 static PyObject
*_wrap_PyLineShape_SetSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26577 PyObject
*resultobj
;
26578 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26580 PyObject
* obj0
= 0 ;
26581 PyObject
* obj1
= 0 ;
26582 char *kwnames
[] = {
26583 (char *) "self",(char *) "spline", NULL
26586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
26587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26589 arg2
= (bool) SWIG_AsBool(obj1
);
26590 if (PyErr_Occurred()) SWIG_fail
;
26592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26593 (arg1
)->SetSpline(arg2
);
26595 wxPyEndAllowThreads(__tstate
);
26596 if (PyErr_Occurred()) SWIG_fail
;
26598 Py_INCREF(Py_None
); resultobj
= Py_None
;
26605 static PyObject
*_wrap_PyLineShape_SetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26606 PyObject
*resultobj
;
26607 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26608 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26609 PyObject
* obj0
= 0 ;
26610 PyObject
* obj1
= 0 ;
26611 char *kwnames
[] = {
26612 (char *) "self",(char *) "object", NULL
26615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26622 (arg1
)->SetTo(arg2
);
26624 wxPyEndAllowThreads(__tstate
);
26625 if (PyErr_Occurred()) SWIG_fail
;
26627 Py_INCREF(Py_None
); resultobj
= Py_None
;
26634 static PyObject
*_wrap_PyLineShape_Straighten(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26635 PyObject
*resultobj
;
26636 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26637 wxDC
*arg2
= (wxDC
*) NULL
;
26638 PyObject
* obj0
= 0 ;
26639 PyObject
* obj1
= 0 ;
26640 char *kwnames
[] = {
26641 (char *) "self",(char *) "dc", NULL
26644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_Straighten",kwnames
,&obj0
,&obj1
)) goto fail
;
26645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26653 (arg1
)->Straighten(arg2
);
26655 wxPyEndAllowThreads(__tstate
);
26656 if (PyErr_Occurred()) SWIG_fail
;
26658 Py_INCREF(Py_None
); resultobj
= Py_None
;
26665 static PyObject
*_wrap_PyLineShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26666 PyObject
*resultobj
;
26667 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26668 PyObject
* obj0
= 0 ;
26669 char *kwnames
[] = {
26670 (char *) "self", NULL
26673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Unlink",kwnames
,&obj0
)) goto fail
;
26674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26680 wxPyEndAllowThreads(__tstate
);
26681 if (PyErr_Occurred()) SWIG_fail
;
26683 Py_INCREF(Py_None
); resultobj
= Py_None
;
26690 static PyObject
*_wrap_PyLineShape_SetAlignmentOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26691 PyObject
*resultobj
;
26692 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26695 PyObject
* obj0
= 0 ;
26696 PyObject
* obj1
= 0 ;
26697 PyObject
* obj2
= 0 ;
26698 char *kwnames
[] = {
26699 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
26702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26705 arg2
= (bool) SWIG_AsBool(obj1
);
26706 if (PyErr_Occurred()) SWIG_fail
;
26707 arg3
= (bool) SWIG_AsBool(obj2
);
26708 if (PyErr_Occurred()) SWIG_fail
;
26710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26711 (arg1
)->SetAlignmentOrientation(arg2
,arg3
);
26713 wxPyEndAllowThreads(__tstate
);
26714 if (PyErr_Occurred()) SWIG_fail
;
26716 Py_INCREF(Py_None
); resultobj
= Py_None
;
26723 static PyObject
*_wrap_PyLineShape_SetAlignmentType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26724 PyObject
*resultobj
;
26725 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26728 PyObject
* obj0
= 0 ;
26729 PyObject
* obj1
= 0 ;
26730 PyObject
* obj2
= 0 ;
26731 char *kwnames
[] = {
26732 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
26735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentType",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26738 arg2
= (bool) SWIG_AsBool(obj1
);
26739 if (PyErr_Occurred()) SWIG_fail
;
26740 arg3
= (int) SWIG_AsInt(obj2
);
26741 if (PyErr_Occurred()) SWIG_fail
;
26743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26744 (arg1
)->SetAlignmentType(arg2
,arg3
);
26746 wxPyEndAllowThreads(__tstate
);
26747 if (PyErr_Occurred()) SWIG_fail
;
26749 Py_INCREF(Py_None
); resultobj
= Py_None
;
26756 static PyObject
*_wrap_PyLineShape_GetAlignmentOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26757 PyObject
*resultobj
;
26758 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26761 PyObject
* obj0
= 0 ;
26762 PyObject
* obj1
= 0 ;
26763 char *kwnames
[] = {
26764 (char *) "self",(char *) "isEnd", NULL
26767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
26768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26770 arg2
= (bool) SWIG_AsBool(obj1
);
26771 if (PyErr_Occurred()) SWIG_fail
;
26773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26774 result
= (bool)(arg1
)->GetAlignmentOrientation(arg2
);
26776 wxPyEndAllowThreads(__tstate
);
26777 if (PyErr_Occurred()) SWIG_fail
;
26780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26788 static PyObject
*_wrap_PyLineShape_GetAlignmentType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26789 PyObject
*resultobj
;
26790 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26793 PyObject
* obj0
= 0 ;
26794 PyObject
* obj1
= 0 ;
26795 char *kwnames
[] = {
26796 (char *) "self",(char *) "isEnd", NULL
26799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentType",kwnames
,&obj0
,&obj1
)) goto fail
;
26800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26802 arg2
= (bool) SWIG_AsBool(obj1
);
26803 if (PyErr_Occurred()) SWIG_fail
;
26805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26806 result
= (int)(arg1
)->GetAlignmentType(arg2
);
26808 wxPyEndAllowThreads(__tstate
);
26809 if (PyErr_Occurred()) SWIG_fail
;
26811 resultobj
= SWIG_FromInt((int)result
);
26818 static PyObject
*_wrap_PyLineShape_GetAlignmentStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26819 PyObject
*resultobj
;
26820 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26822 PyObject
* obj0
= 0 ;
26823 char *kwnames
[] = {
26824 (char *) "self", NULL
26827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentStart",kwnames
,&obj0
)) goto fail
;
26828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26832 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentStart();
26834 wxPyEndAllowThreads(__tstate
);
26835 if (PyErr_Occurred()) SWIG_fail
;
26837 resultobj
= SWIG_FromInt((int)result
);
26844 static PyObject
*_wrap_PyLineShape_GetAlignmentEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26845 PyObject
*resultobj
;
26846 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26848 PyObject
* obj0
= 0 ;
26849 char *kwnames
[] = {
26850 (char *) "self", NULL
26853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames
,&obj0
)) goto fail
;
26854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26858 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentEnd();
26860 wxPyEndAllowThreads(__tstate
);
26861 if (PyErr_Occurred()) SWIG_fail
;
26863 resultobj
= SWIG_FromInt((int)result
);
26870 static PyObject
*_wrap_PyLineShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26871 PyObject
*resultobj
;
26872 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26874 PyObject
* obj0
= 0 ;
26875 PyObject
* obj1
= 0 ;
26876 char *kwnames
[] = {
26877 (char *) "self",(char *) "dc", NULL
26880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
26881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26886 if (arg2
== NULL
) {
26887 PyErr_SetString(PyExc_TypeError
,"null reference");
26891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26892 (arg1
)->base_OnDraw(*arg2
);
26894 wxPyEndAllowThreads(__tstate
);
26895 if (PyErr_Occurred()) SWIG_fail
;
26897 Py_INCREF(Py_None
); resultobj
= Py_None
;
26904 static PyObject
*_wrap_PyLineShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26905 PyObject
*resultobj
;
26906 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26908 PyObject
* obj0
= 0 ;
26909 PyObject
* obj1
= 0 ;
26910 char *kwnames
[] = {
26911 (char *) "self",(char *) "dc", NULL
26914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
26915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26918 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26920 if (arg2
== NULL
) {
26921 PyErr_SetString(PyExc_TypeError
,"null reference");
26925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26926 (arg1
)->base_OnDrawContents(*arg2
);
26928 wxPyEndAllowThreads(__tstate
);
26929 if (PyErr_Occurred()) SWIG_fail
;
26931 Py_INCREF(Py_None
); resultobj
= Py_None
;
26938 static PyObject
*_wrap_PyLineShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26939 PyObject
*resultobj
;
26940 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26942 bool arg3
= (bool) FALSE
;
26943 PyObject
* obj0
= 0 ;
26944 PyObject
* obj1
= 0 ;
26945 PyObject
* obj2
= 0 ;
26946 char *kwnames
[] = {
26947 (char *) "self",(char *) "dc",(char *) "erase", NULL
26950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26954 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26956 if (arg2
== NULL
) {
26957 PyErr_SetString(PyExc_TypeError
,"null reference");
26961 arg3
= (bool) SWIG_AsBool(obj2
);
26962 if (PyErr_Occurred()) SWIG_fail
;
26965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26966 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
26968 wxPyEndAllowThreads(__tstate
);
26969 if (PyErr_Occurred()) SWIG_fail
;
26971 Py_INCREF(Py_None
); resultobj
= Py_None
;
26978 static PyObject
*_wrap_PyLineShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26979 PyObject
*resultobj
;
26980 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26982 PyObject
* obj0
= 0 ;
26983 PyObject
* obj1
= 0 ;
26984 char *kwnames
[] = {
26985 (char *) "self",(char *) "dc", NULL
26988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
26989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26992 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26994 if (arg2
== NULL
) {
26995 PyErr_SetString(PyExc_TypeError
,"null reference");
26999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27000 (arg1
)->base_OnMoveLinks(*arg2
);
27002 wxPyEndAllowThreads(__tstate
);
27003 if (PyErr_Occurred()) SWIG_fail
;
27005 Py_INCREF(Py_None
); resultobj
= Py_None
;
27012 static PyObject
*_wrap_PyLineShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27013 PyObject
*resultobj
;
27014 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27016 PyObject
* obj0
= 0 ;
27017 PyObject
* obj1
= 0 ;
27018 char *kwnames
[] = {
27019 (char *) "self",(char *) "dc", NULL
27022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
27023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27026 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27028 if (arg2
== NULL
) {
27029 PyErr_SetString(PyExc_TypeError
,"null reference");
27033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27034 (arg1
)->base_OnErase(*arg2
);
27036 wxPyEndAllowThreads(__tstate
);
27037 if (PyErr_Occurred()) SWIG_fail
;
27039 Py_INCREF(Py_None
); resultobj
= Py_None
;
27046 static PyObject
*_wrap_PyLineShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27047 PyObject
*resultobj
;
27048 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27050 PyObject
* obj0
= 0 ;
27051 PyObject
* obj1
= 0 ;
27052 char *kwnames
[] = {
27053 (char *) "self",(char *) "dc", NULL
27056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
27057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27060 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27062 if (arg2
== NULL
) {
27063 PyErr_SetString(PyExc_TypeError
,"null reference");
27067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27068 (arg1
)->base_OnEraseContents(*arg2
);
27070 wxPyEndAllowThreads(__tstate
);
27071 if (PyErr_Occurred()) SWIG_fail
;
27073 Py_INCREF(Py_None
); resultobj
= Py_None
;
27080 static PyObject
*_wrap_PyLineShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27081 PyObject
*resultobj
;
27082 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27084 PyObject
* obj0
= 0 ;
27085 PyObject
* obj1
= 0 ;
27086 char *kwnames
[] = {
27087 (char *) "self",(char *) "dc", NULL
27090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
27091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27094 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27096 if (arg2
== NULL
) {
27097 PyErr_SetString(PyExc_TypeError
,"null reference");
27101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27102 (arg1
)->base_OnHighlight(*arg2
);
27104 wxPyEndAllowThreads(__tstate
);
27105 if (PyErr_Occurred()) SWIG_fail
;
27107 Py_INCREF(Py_None
); resultobj
= Py_None
;
27114 static PyObject
*_wrap_PyLineShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27115 PyObject
*resultobj
;
27116 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27119 int arg4
= (int) 0 ;
27120 int arg5
= (int) 0 ;
27121 PyObject
* obj0
= 0 ;
27122 PyObject
* obj1
= 0 ;
27123 PyObject
* obj2
= 0 ;
27124 PyObject
* obj3
= 0 ;
27125 PyObject
* obj4
= 0 ;
27126 char *kwnames
[] = {
27127 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27133 arg2
= (double) SWIG_AsDouble(obj1
);
27134 if (PyErr_Occurred()) SWIG_fail
;
27135 arg3
= (double) SWIG_AsDouble(obj2
);
27136 if (PyErr_Occurred()) SWIG_fail
;
27138 arg4
= (int) SWIG_AsInt(obj3
);
27139 if (PyErr_Occurred()) SWIG_fail
;
27142 arg5
= (int) SWIG_AsInt(obj4
);
27143 if (PyErr_Occurred()) SWIG_fail
;
27146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27147 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
27149 wxPyEndAllowThreads(__tstate
);
27150 if (PyErr_Occurred()) SWIG_fail
;
27152 Py_INCREF(Py_None
); resultobj
= Py_None
;
27159 static PyObject
*_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27160 PyObject
*resultobj
;
27161 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27164 int arg4
= (int) 0 ;
27165 int arg5
= (int) 0 ;
27166 PyObject
* obj0
= 0 ;
27167 PyObject
* obj1
= 0 ;
27168 PyObject
* obj2
= 0 ;
27169 PyObject
* obj3
= 0 ;
27170 PyObject
* obj4
= 0 ;
27171 char *kwnames
[] = {
27172 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27178 arg2
= (double) SWIG_AsDouble(obj1
);
27179 if (PyErr_Occurred()) SWIG_fail
;
27180 arg3
= (double) SWIG_AsDouble(obj2
);
27181 if (PyErr_Occurred()) SWIG_fail
;
27183 arg4
= (int) SWIG_AsInt(obj3
);
27184 if (PyErr_Occurred()) SWIG_fail
;
27187 arg5
= (int) SWIG_AsInt(obj4
);
27188 if (PyErr_Occurred()) SWIG_fail
;
27191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27192 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
27194 wxPyEndAllowThreads(__tstate
);
27195 if (PyErr_Occurred()) SWIG_fail
;
27197 Py_INCREF(Py_None
); resultobj
= Py_None
;
27204 static PyObject
*_wrap_PyLineShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27205 PyObject
*resultobj
;
27206 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27209 int arg4
= (int) 0 ;
27210 int arg5
= (int) 0 ;
27211 PyObject
* obj0
= 0 ;
27212 PyObject
* obj1
= 0 ;
27213 PyObject
* obj2
= 0 ;
27214 PyObject
* obj3
= 0 ;
27215 PyObject
* obj4
= 0 ;
27216 char *kwnames
[] = {
27217 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27223 arg2
= (double) SWIG_AsDouble(obj1
);
27224 if (PyErr_Occurred()) SWIG_fail
;
27225 arg3
= (double) SWIG_AsDouble(obj2
);
27226 if (PyErr_Occurred()) SWIG_fail
;
27228 arg4
= (int) SWIG_AsInt(obj3
);
27229 if (PyErr_Occurred()) SWIG_fail
;
27232 arg5
= (int) SWIG_AsInt(obj4
);
27233 if (PyErr_Occurred()) SWIG_fail
;
27236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27237 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
27239 wxPyEndAllowThreads(__tstate
);
27240 if (PyErr_Occurred()) SWIG_fail
;
27242 Py_INCREF(Py_None
); resultobj
= Py_None
;
27249 static PyObject
*_wrap_PyLineShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27250 PyObject
*resultobj
;
27251 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27254 PyObject
* obj0
= 0 ;
27255 PyObject
* obj1
= 0 ;
27256 PyObject
* obj2
= 0 ;
27257 char *kwnames
[] = {
27258 (char *) "self",(char *) "x",(char *) "y", NULL
27261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27264 arg2
= (double) SWIG_AsDouble(obj1
);
27265 if (PyErr_Occurred()) SWIG_fail
;
27266 arg3
= (double) SWIG_AsDouble(obj2
);
27267 if (PyErr_Occurred()) SWIG_fail
;
27269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27270 (arg1
)->base_OnSize(arg2
,arg3
);
27272 wxPyEndAllowThreads(__tstate
);
27273 if (PyErr_Occurred()) SWIG_fail
;
27275 Py_INCREF(Py_None
); resultobj
= Py_None
;
27282 static PyObject
*_wrap_PyLineShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27283 PyObject
*resultobj
;
27284 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27290 bool arg7
= (bool) True
;
27292 PyObject
* obj0
= 0 ;
27293 PyObject
* obj1
= 0 ;
27294 PyObject
* obj2
= 0 ;
27295 PyObject
* obj3
= 0 ;
27296 PyObject
* obj4
= 0 ;
27297 PyObject
* obj5
= 0 ;
27298 PyObject
* obj6
= 0 ;
27299 char *kwnames
[] = {
27300 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyLineShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27307 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27309 if (arg2
== NULL
) {
27310 PyErr_SetString(PyExc_TypeError
,"null reference");
27313 arg3
= (double) SWIG_AsDouble(obj2
);
27314 if (PyErr_Occurred()) SWIG_fail
;
27315 arg4
= (double) SWIG_AsDouble(obj3
);
27316 if (PyErr_Occurred()) SWIG_fail
;
27317 arg5
= (double) SWIG_AsDouble(obj4
);
27318 if (PyErr_Occurred()) SWIG_fail
;
27319 arg6
= (double) SWIG_AsDouble(obj5
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27322 arg7
= (bool) SWIG_AsBool(obj6
);
27323 if (PyErr_Occurred()) SWIG_fail
;
27326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27327 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27329 wxPyEndAllowThreads(__tstate
);
27330 if (PyErr_Occurred()) SWIG_fail
;
27333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27341 static PyObject
*_wrap_PyLineShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27342 PyObject
*resultobj
;
27343 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27349 bool arg7
= (bool) True
;
27350 PyObject
* obj0
= 0 ;
27351 PyObject
* obj1
= 0 ;
27352 PyObject
* obj2
= 0 ;
27353 PyObject
* obj3
= 0 ;
27354 PyObject
* obj4
= 0 ;
27355 PyObject
* obj5
= 0 ;
27356 PyObject
* obj6
= 0 ;
27357 char *kwnames
[] = {
27358 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyLineShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27365 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27367 if (arg2
== NULL
) {
27368 PyErr_SetString(PyExc_TypeError
,"null reference");
27371 arg3
= (double) SWIG_AsDouble(obj2
);
27372 if (PyErr_Occurred()) SWIG_fail
;
27373 arg4
= (double) SWIG_AsDouble(obj3
);
27374 if (PyErr_Occurred()) SWIG_fail
;
27375 arg5
= (double) SWIG_AsDouble(obj4
);
27376 if (PyErr_Occurred()) SWIG_fail
;
27377 arg6
= (double) SWIG_AsDouble(obj5
);
27378 if (PyErr_Occurred()) SWIG_fail
;
27380 arg7
= (bool) SWIG_AsBool(obj6
);
27381 if (PyErr_Occurred()) SWIG_fail
;
27384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27385 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27387 wxPyEndAllowThreads(__tstate
);
27388 if (PyErr_Occurred()) SWIG_fail
;
27390 Py_INCREF(Py_None
); resultobj
= Py_None
;
27397 static PyObject
*_wrap_PyLineShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27398 PyObject
*resultobj
;
27399 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27403 int arg5
= (int) 0 ;
27404 int arg6
= (int) 0 ;
27405 PyObject
* obj0
= 0 ;
27406 PyObject
* obj1
= 0 ;
27407 PyObject
* obj2
= 0 ;
27408 PyObject
* obj3
= 0 ;
27409 PyObject
* obj4
= 0 ;
27410 PyObject
* obj5
= 0 ;
27411 char *kwnames
[] = {
27412 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27418 arg2
= (bool) SWIG_AsBool(obj1
);
27419 if (PyErr_Occurred()) SWIG_fail
;
27420 arg3
= (double) SWIG_AsDouble(obj2
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27422 arg4
= (double) SWIG_AsDouble(obj3
);
27423 if (PyErr_Occurred()) SWIG_fail
;
27425 arg5
= (int) SWIG_AsInt(obj4
);
27426 if (PyErr_Occurred()) SWIG_fail
;
27429 arg6
= (int) SWIG_AsInt(obj5
);
27430 if (PyErr_Occurred()) SWIG_fail
;
27433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27434 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
27436 wxPyEndAllowThreads(__tstate
);
27437 if (PyErr_Occurred()) SWIG_fail
;
27439 Py_INCREF(Py_None
); resultobj
= Py_None
;
27446 static PyObject
*_wrap_PyLineShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27447 PyObject
*resultobj
;
27448 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27451 int arg4
= (int) 0 ;
27452 int arg5
= (int) 0 ;
27453 PyObject
* obj0
= 0 ;
27454 PyObject
* obj1
= 0 ;
27455 PyObject
* obj2
= 0 ;
27456 PyObject
* obj3
= 0 ;
27457 PyObject
* obj4
= 0 ;
27458 char *kwnames
[] = {
27459 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27465 arg2
= (double) SWIG_AsDouble(obj1
);
27466 if (PyErr_Occurred()) SWIG_fail
;
27467 arg3
= (double) SWIG_AsDouble(obj2
);
27468 if (PyErr_Occurred()) SWIG_fail
;
27470 arg4
= (int) SWIG_AsInt(obj3
);
27471 if (PyErr_Occurred()) SWIG_fail
;
27474 arg5
= (int) SWIG_AsInt(obj4
);
27475 if (PyErr_Occurred()) SWIG_fail
;
27478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27479 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
27481 wxPyEndAllowThreads(__tstate
);
27482 if (PyErr_Occurred()) SWIG_fail
;
27484 Py_INCREF(Py_None
); resultobj
= Py_None
;
27491 static PyObject
*_wrap_PyLineShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27492 PyObject
*resultobj
;
27493 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27496 int arg4
= (int) 0 ;
27497 int arg5
= (int) 0 ;
27498 PyObject
* obj0
= 0 ;
27499 PyObject
* obj1
= 0 ;
27500 PyObject
* obj2
= 0 ;
27501 PyObject
* obj3
= 0 ;
27502 PyObject
* obj4
= 0 ;
27503 char *kwnames
[] = {
27504 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27510 arg2
= (double) SWIG_AsDouble(obj1
);
27511 if (PyErr_Occurred()) SWIG_fail
;
27512 arg3
= (double) SWIG_AsDouble(obj2
);
27513 if (PyErr_Occurred()) SWIG_fail
;
27515 arg4
= (int) SWIG_AsInt(obj3
);
27516 if (PyErr_Occurred()) SWIG_fail
;
27519 arg5
= (int) SWIG_AsInt(obj4
);
27520 if (PyErr_Occurred()) SWIG_fail
;
27523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27524 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
27526 wxPyEndAllowThreads(__tstate
);
27527 if (PyErr_Occurred()) SWIG_fail
;
27529 Py_INCREF(Py_None
); resultobj
= Py_None
;
27536 static PyObject
*_wrap_PyLineShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27537 PyObject
*resultobj
;
27538 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27542 int arg5
= (int) 0 ;
27543 int arg6
= (int) 0 ;
27544 PyObject
* obj0
= 0 ;
27545 PyObject
* obj1
= 0 ;
27546 PyObject
* obj2
= 0 ;
27547 PyObject
* obj3
= 0 ;
27548 PyObject
* obj4
= 0 ;
27549 PyObject
* obj5
= 0 ;
27550 char *kwnames
[] = {
27551 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27557 arg2
= (bool) SWIG_AsBool(obj1
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27559 arg3
= (double) SWIG_AsDouble(obj2
);
27560 if (PyErr_Occurred()) SWIG_fail
;
27561 arg4
= (double) SWIG_AsDouble(obj3
);
27562 if (PyErr_Occurred()) SWIG_fail
;
27564 arg5
= (int) SWIG_AsInt(obj4
);
27565 if (PyErr_Occurred()) SWIG_fail
;
27568 arg6
= (int) SWIG_AsInt(obj5
);
27569 if (PyErr_Occurred()) SWIG_fail
;
27572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27573 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
27575 wxPyEndAllowThreads(__tstate
);
27576 if (PyErr_Occurred()) SWIG_fail
;
27578 Py_INCREF(Py_None
); resultobj
= Py_None
;
27585 static PyObject
*_wrap_PyLineShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27586 PyObject
*resultobj
;
27587 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27590 int arg4
= (int) 0 ;
27591 int arg5
= (int) 0 ;
27592 PyObject
* obj0
= 0 ;
27593 PyObject
* obj1
= 0 ;
27594 PyObject
* obj2
= 0 ;
27595 PyObject
* obj3
= 0 ;
27596 PyObject
* obj4
= 0 ;
27597 char *kwnames
[] = {
27598 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27604 arg2
= (double) SWIG_AsDouble(obj1
);
27605 if (PyErr_Occurred()) SWIG_fail
;
27606 arg3
= (double) SWIG_AsDouble(obj2
);
27607 if (PyErr_Occurred()) SWIG_fail
;
27609 arg4
= (int) SWIG_AsInt(obj3
);
27610 if (PyErr_Occurred()) SWIG_fail
;
27613 arg5
= (int) SWIG_AsInt(obj4
);
27614 if (PyErr_Occurred()) SWIG_fail
;
27617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27618 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
27620 wxPyEndAllowThreads(__tstate
);
27621 if (PyErr_Occurred()) SWIG_fail
;
27623 Py_INCREF(Py_None
); resultobj
= Py_None
;
27630 static PyObject
*_wrap_PyLineShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27631 PyObject
*resultobj
;
27632 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27635 int arg4
= (int) 0 ;
27636 int arg5
= (int) 0 ;
27637 PyObject
* obj0
= 0 ;
27638 PyObject
* obj1
= 0 ;
27639 PyObject
* obj2
= 0 ;
27640 PyObject
* obj3
= 0 ;
27641 PyObject
* obj4
= 0 ;
27642 char *kwnames
[] = {
27643 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27649 arg2
= (double) SWIG_AsDouble(obj1
);
27650 if (PyErr_Occurred()) SWIG_fail
;
27651 arg3
= (double) SWIG_AsDouble(obj2
);
27652 if (PyErr_Occurred()) SWIG_fail
;
27654 arg4
= (int) SWIG_AsInt(obj3
);
27655 if (PyErr_Occurred()) SWIG_fail
;
27658 arg5
= (int) SWIG_AsInt(obj4
);
27659 if (PyErr_Occurred()) SWIG_fail
;
27662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27663 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
27665 wxPyEndAllowThreads(__tstate
);
27666 if (PyErr_Occurred()) SWIG_fail
;
27668 Py_INCREF(Py_None
); resultobj
= Py_None
;
27675 static PyObject
*_wrap_PyLineShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27676 PyObject
*resultobj
;
27677 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27683 PyObject
* obj0
= 0 ;
27684 PyObject
* obj1
= 0 ;
27685 PyObject
* obj2
= 0 ;
27686 PyObject
* obj3
= 0 ;
27687 PyObject
* obj4
= 0 ;
27688 PyObject
* obj5
= 0 ;
27689 char *kwnames
[] = {
27690 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyLineShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27697 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27699 if (arg2
== NULL
) {
27700 PyErr_SetString(PyExc_TypeError
,"null reference");
27703 arg3
= (double) SWIG_AsDouble(obj2
);
27704 if (PyErr_Occurred()) SWIG_fail
;
27705 arg4
= (double) SWIG_AsDouble(obj3
);
27706 if (PyErr_Occurred()) SWIG_fail
;
27707 arg5
= (double) SWIG_AsDouble(obj4
);
27708 if (PyErr_Occurred()) SWIG_fail
;
27709 arg6
= (double) SWIG_AsDouble(obj5
);
27710 if (PyErr_Occurred()) SWIG_fail
;
27712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27713 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
27715 wxPyEndAllowThreads(__tstate
);
27716 if (PyErr_Occurred()) SWIG_fail
;
27718 Py_INCREF(Py_None
); resultobj
= Py_None
;
27725 static PyObject
*_wrap_PyLineShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27726 PyObject
*resultobj
;
27727 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27729 PyObject
* obj0
= 0 ;
27730 PyObject
* obj1
= 0 ;
27731 char *kwnames
[] = {
27732 (char *) "self",(char *) "dc", NULL
27735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
27736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27739 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27741 if (arg2
== NULL
) {
27742 PyErr_SetString(PyExc_TypeError
,"null reference");
27746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27747 (arg1
)->base_OnDrawControlPoints(*arg2
);
27749 wxPyEndAllowThreads(__tstate
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27752 Py_INCREF(Py_None
); resultobj
= Py_None
;
27759 static PyObject
*_wrap_PyLineShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27760 PyObject
*resultobj
;
27761 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27763 PyObject
* obj0
= 0 ;
27764 PyObject
* obj1
= 0 ;
27765 char *kwnames
[] = {
27766 (char *) "self",(char *) "dc", NULL
27769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
27770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27775 if (arg2
== NULL
) {
27776 PyErr_SetString(PyExc_TypeError
,"null reference");
27780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27781 (arg1
)->base_OnEraseControlPoints(*arg2
);
27783 wxPyEndAllowThreads(__tstate
);
27784 if (PyErr_Occurred()) SWIG_fail
;
27786 Py_INCREF(Py_None
); resultobj
= Py_None
;
27793 static PyObject
*_wrap_PyLineShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27794 PyObject
*resultobj
;
27795 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27797 bool arg3
= (bool) True
;
27798 PyObject
* obj0
= 0 ;
27799 PyObject
* obj1
= 0 ;
27800 PyObject
* obj2
= 0 ;
27801 char *kwnames
[] = {
27802 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
27805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27809 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27811 if (arg2
== NULL
) {
27812 PyErr_SetString(PyExc_TypeError
,"null reference");
27816 arg3
= (bool) SWIG_AsBool(obj2
);
27817 if (PyErr_Occurred()) SWIG_fail
;
27820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27821 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
27823 wxPyEndAllowThreads(__tstate
);
27824 if (PyErr_Occurred()) SWIG_fail
;
27826 Py_INCREF(Py_None
); resultobj
= Py_None
;
27833 static PyObject
*_wrap_PyLineShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27834 PyObject
*resultobj
;
27835 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27836 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
27840 int arg6
= (int) 0 ;
27841 int arg7
= (int) 0 ;
27842 PyObject
* obj0
= 0 ;
27843 PyObject
* obj1
= 0 ;
27844 PyObject
* obj2
= 0 ;
27845 PyObject
* obj3
= 0 ;
27846 PyObject
* obj4
= 0 ;
27847 PyObject
* obj5
= 0 ;
27848 PyObject
* obj6
= 0 ;
27849 char *kwnames
[] = {
27850 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyLineShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
27857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27858 arg3
= (bool) SWIG_AsBool(obj2
);
27859 if (PyErr_Occurred()) SWIG_fail
;
27860 arg4
= (double) SWIG_AsDouble(obj3
);
27861 if (PyErr_Occurred()) SWIG_fail
;
27862 arg5
= (double) SWIG_AsDouble(obj4
);
27863 if (PyErr_Occurred()) SWIG_fail
;
27865 arg6
= (int) SWIG_AsInt(obj5
);
27866 if (PyErr_Occurred()) SWIG_fail
;
27869 arg7
= (int) SWIG_AsInt(obj6
);
27870 if (PyErr_Occurred()) SWIG_fail
;
27873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27874 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27876 wxPyEndAllowThreads(__tstate
);
27877 if (PyErr_Occurred()) SWIG_fail
;
27879 Py_INCREF(Py_None
); resultobj
= Py_None
;
27886 static PyObject
*_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27887 PyObject
*resultobj
;
27888 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27889 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
27892 int arg5
= (int) 0 ;
27893 int arg6
= (int) 0 ;
27894 PyObject
* obj0
= 0 ;
27895 PyObject
* obj1
= 0 ;
27896 PyObject
* obj2
= 0 ;
27897 PyObject
* obj3
= 0 ;
27898 PyObject
* obj4
= 0 ;
27899 PyObject
* obj5
= 0 ;
27900 char *kwnames
[] = {
27901 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
27908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27909 arg3
= (double) SWIG_AsDouble(obj2
);
27910 if (PyErr_Occurred()) SWIG_fail
;
27911 arg4
= (double) SWIG_AsDouble(obj3
);
27912 if (PyErr_Occurred()) SWIG_fail
;
27914 arg5
= (int) SWIG_AsInt(obj4
);
27915 if (PyErr_Occurred()) SWIG_fail
;
27918 arg6
= (int) SWIG_AsInt(obj5
);
27919 if (PyErr_Occurred()) SWIG_fail
;
27922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27923 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
27925 wxPyEndAllowThreads(__tstate
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27928 Py_INCREF(Py_None
); resultobj
= Py_None
;
27935 static PyObject
*_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27936 PyObject
*resultobj
;
27937 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27938 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
27941 int arg5
= (int) 0 ;
27942 int arg6
= (int) 0 ;
27943 PyObject
* obj0
= 0 ;
27944 PyObject
* obj1
= 0 ;
27945 PyObject
* obj2
= 0 ;
27946 PyObject
* obj3
= 0 ;
27947 PyObject
* obj4
= 0 ;
27948 PyObject
* obj5
= 0 ;
27949 char *kwnames
[] = {
27950 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
27957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27958 arg3
= (double) SWIG_AsDouble(obj2
);
27959 if (PyErr_Occurred()) SWIG_fail
;
27960 arg4
= (double) SWIG_AsDouble(obj3
);
27961 if (PyErr_Occurred()) SWIG_fail
;
27963 arg5
= (int) SWIG_AsInt(obj4
);
27964 if (PyErr_Occurred()) SWIG_fail
;
27967 arg6
= (int) SWIG_AsInt(obj5
);
27968 if (PyErr_Occurred()) SWIG_fail
;
27971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27972 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
27974 wxPyEndAllowThreads(__tstate
);
27975 if (PyErr_Occurred()) SWIG_fail
;
27977 Py_INCREF(Py_None
); resultobj
= Py_None
;
27984 static PyObject
*_wrap_PyLineShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27985 PyObject
*resultobj
;
27986 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27989 PyObject
* obj0
= 0 ;
27990 PyObject
* obj1
= 0 ;
27991 PyObject
* obj2
= 0 ;
27992 char *kwnames
[] = {
27993 (char *) "self",(char *) "w",(char *) "h", NULL
27996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27999 arg2
= (double) SWIG_AsDouble(obj1
);
28000 if (PyErr_Occurred()) SWIG_fail
;
28001 arg3
= (double) SWIG_AsDouble(obj2
);
28002 if (PyErr_Occurred()) SWIG_fail
;
28004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28005 (arg1
)->base_OnBeginSize(arg2
,arg3
);
28007 wxPyEndAllowThreads(__tstate
);
28008 if (PyErr_Occurred()) SWIG_fail
;
28010 Py_INCREF(Py_None
); resultobj
= Py_None
;
28017 static PyObject
*_wrap_PyLineShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28018 PyObject
*resultobj
;
28019 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28022 PyObject
* obj0
= 0 ;
28023 PyObject
* obj1
= 0 ;
28024 PyObject
* obj2
= 0 ;
28025 char *kwnames
[] = {
28026 (char *) "self",(char *) "w",(char *) "h", NULL
28029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
28031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28032 arg2
= (double) SWIG_AsDouble(obj1
);
28033 if (PyErr_Occurred()) SWIG_fail
;
28034 arg3
= (double) SWIG_AsDouble(obj2
);
28035 if (PyErr_Occurred()) SWIG_fail
;
28037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28038 (arg1
)->base_OnEndSize(arg2
,arg3
);
28040 wxPyEndAllowThreads(__tstate
);
28041 if (PyErr_Occurred()) SWIG_fail
;
28043 Py_INCREF(Py_None
); resultobj
= Py_None
;
28050 static PyObject
* PyLineShape_swigregister(PyObject
*self
, PyObject
*args
) {
28052 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28053 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape
, obj
);
28055 return Py_BuildValue((char *)"");
28057 static PyObject
*_wrap_new_PyPolygonShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28058 PyObject
*resultobj
;
28059 wxPyPolygonShape
*result
;
28060 char *kwnames
[] = {
28064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyPolygonShape",kwnames
)) goto fail
;
28066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28067 result
= (wxPyPolygonShape
*)new wxPyPolygonShape();
28069 wxPyEndAllowThreads(__tstate
);
28070 if (PyErr_Occurred()) SWIG_fail
;
28072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPolygonShape
, 1);
28079 static PyObject
*_wrap_PyPolygonShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28080 PyObject
*resultobj
;
28081 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28082 PyObject
*arg2
= (PyObject
*) 0 ;
28083 PyObject
*arg3
= (PyObject
*) 0 ;
28084 PyObject
* obj0
= 0 ;
28085 PyObject
* obj1
= 0 ;
28086 PyObject
* obj2
= 0 ;
28087 char *kwnames
[] = {
28088 (char *) "self",(char *) "self",(char *) "_class", NULL
28091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28098 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28100 wxPyEndAllowThreads(__tstate
);
28101 if (PyErr_Occurred()) SWIG_fail
;
28103 Py_INCREF(Py_None
); resultobj
= Py_None
;
28110 static PyObject
*_wrap_PyPolygonShape_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28111 PyObject
*resultobj
;
28112 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28113 PyObject
*arg2
= (PyObject
*) 0 ;
28115 PyObject
* obj0
= 0 ;
28116 PyObject
* obj1
= 0 ;
28117 char *kwnames
[] = {
28118 (char *) "self",(char *) "points", NULL
28121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
28122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28127 result
= (PyObject
*)wxPyPolygonShape_Create(arg1
,arg2
);
28129 wxPyEndAllowThreads(__tstate
);
28130 if (PyErr_Occurred()) SWIG_fail
;
28132 resultobj
= result
;
28139 static PyObject
*_wrap_PyPolygonShape_AddPolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28140 PyObject
*resultobj
;
28141 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28142 int arg2
= (int) 0 ;
28143 PyObject
* obj0
= 0 ;
28144 PyObject
* obj1
= 0 ;
28145 char *kwnames
[] = {
28146 (char *) "self",(char *) "pos", NULL
28149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyPolygonShape_AddPolygonPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28153 arg2
= (int) SWIG_AsInt(obj1
);
28154 if (PyErr_Occurred()) SWIG_fail
;
28157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28158 (arg1
)->AddPolygonPoint(arg2
);
28160 wxPyEndAllowThreads(__tstate
);
28161 if (PyErr_Occurred()) SWIG_fail
;
28163 Py_INCREF(Py_None
); resultobj
= Py_None
;
28170 static PyObject
*_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28171 PyObject
*resultobj
;
28172 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28173 PyObject
* obj0
= 0 ;
28174 char *kwnames
[] = {
28175 (char *) "self", NULL
28178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames
,&obj0
)) goto fail
;
28179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28183 (arg1
)->CalculatePolygonCentre();
28185 wxPyEndAllowThreads(__tstate
);
28186 if (PyErr_Occurred()) SWIG_fail
;
28188 Py_INCREF(Py_None
); resultobj
= Py_None
;
28195 static PyObject
*_wrap_PyPolygonShape_DeletePolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28196 PyObject
*resultobj
;
28197 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28198 int arg2
= (int) 0 ;
28199 PyObject
* obj0
= 0 ;
28200 PyObject
* obj1
= 0 ;
28201 char *kwnames
[] = {
28202 (char *) "self",(char *) "pos", NULL
28205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyPolygonShape_DeletePolygonPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28209 arg2
= (int) SWIG_AsInt(obj1
);
28210 if (PyErr_Occurred()) SWIG_fail
;
28213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28214 (arg1
)->DeletePolygonPoint(arg2
);
28216 wxPyEndAllowThreads(__tstate
);
28217 if (PyErr_Occurred()) SWIG_fail
;
28219 Py_INCREF(Py_None
); resultobj
= Py_None
;
28226 static PyObject
*_wrap_PyPolygonShape_GetPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28227 PyObject
*resultobj
;
28228 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28230 PyObject
* obj0
= 0 ;
28231 char *kwnames
[] = {
28232 (char *) "self", NULL
28235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetPoints",kwnames
,&obj0
)) goto fail
;
28236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28240 result
= (PyObject
*)wxPyPolygonShape_GetPoints(arg1
);
28242 wxPyEndAllowThreads(__tstate
);
28243 if (PyErr_Occurred()) SWIG_fail
;
28245 resultobj
= result
;
28252 static PyObject
*_wrap_PyPolygonShape_GetOriginalPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28253 PyObject
*resultobj
;
28254 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28256 PyObject
* obj0
= 0 ;
28257 char *kwnames
[] = {
28258 (char *) "self", NULL
28261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames
,&obj0
)) goto fail
;
28262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28266 result
= (PyObject
*)wxPyPolygonShape_GetOriginalPoints(arg1
);
28268 wxPyEndAllowThreads(__tstate
);
28269 if (PyErr_Occurred()) SWIG_fail
;
28271 resultobj
= result
;
28278 static PyObject
*_wrap_PyPolygonShape_GetOriginalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28279 PyObject
*resultobj
;
28280 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28282 PyObject
* obj0
= 0 ;
28283 char *kwnames
[] = {
28284 (char *) "self", NULL
28287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames
,&obj0
)) goto fail
;
28288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28292 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalWidth();
28294 wxPyEndAllowThreads(__tstate
);
28295 if (PyErr_Occurred()) SWIG_fail
;
28297 resultobj
= SWIG_FromDouble((double)result
);
28304 static PyObject
*_wrap_PyPolygonShape_GetOriginalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28305 PyObject
*resultobj
;
28306 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28308 PyObject
* obj0
= 0 ;
28309 char *kwnames
[] = {
28310 (char *) "self", NULL
28313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames
,&obj0
)) goto fail
;
28314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28318 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalHeight();
28320 wxPyEndAllowThreads(__tstate
);
28321 if (PyErr_Occurred()) SWIG_fail
;
28323 resultobj
= SWIG_FromDouble((double)result
);
28330 static PyObject
*_wrap_PyPolygonShape_SetOriginalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28331 PyObject
*resultobj
;
28332 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28334 PyObject
* obj0
= 0 ;
28335 PyObject
* obj1
= 0 ;
28336 char *kwnames
[] = {
28337 (char *) "self",(char *) "w", NULL
28340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_SetOriginalWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
28341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28343 arg2
= (double) SWIG_AsDouble(obj1
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28347 (arg1
)->SetOriginalWidth(arg2
);
28349 wxPyEndAllowThreads(__tstate
);
28350 if (PyErr_Occurred()) SWIG_fail
;
28352 Py_INCREF(Py_None
); resultobj
= Py_None
;
28359 static PyObject
*_wrap_PyPolygonShape_SetOriginalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28360 PyObject
*resultobj
;
28361 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28363 PyObject
* obj0
= 0 ;
28364 PyObject
* obj1
= 0 ;
28365 char *kwnames
[] = {
28366 (char *) "self",(char *) "h", NULL
28369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_SetOriginalHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
28370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28372 arg2
= (double) SWIG_AsDouble(obj1
);
28373 if (PyErr_Occurred()) SWIG_fail
;
28375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28376 (arg1
)->SetOriginalHeight(arg2
);
28378 wxPyEndAllowThreads(__tstate
);
28379 if (PyErr_Occurred()) SWIG_fail
;
28381 Py_INCREF(Py_None
); resultobj
= Py_None
;
28388 static PyObject
*_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28389 PyObject
*resultobj
;
28390 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28391 PyObject
* obj0
= 0 ;
28392 char *kwnames
[] = {
28393 (char *) "self", NULL
28396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames
,&obj0
)) goto fail
;
28397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28401 (arg1
)->UpdateOriginalPoints();
28403 wxPyEndAllowThreads(__tstate
);
28404 if (PyErr_Occurred()) SWIG_fail
;
28406 Py_INCREF(Py_None
); resultobj
= Py_None
;
28413 static PyObject
*_wrap_PyPolygonShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28414 PyObject
*resultobj
;
28415 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28417 PyObject
* obj0
= 0 ;
28418 PyObject
* obj1
= 0 ;
28419 char *kwnames
[] = {
28420 (char *) "self",(char *) "dc", NULL
28423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
28424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28427 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28429 if (arg2
== NULL
) {
28430 PyErr_SetString(PyExc_TypeError
,"null reference");
28434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28435 (arg1
)->base_OnDraw(*arg2
);
28437 wxPyEndAllowThreads(__tstate
);
28438 if (PyErr_Occurred()) SWIG_fail
;
28440 Py_INCREF(Py_None
); resultobj
= Py_None
;
28447 static PyObject
*_wrap_PyPolygonShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28448 PyObject
*resultobj
;
28449 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28451 PyObject
* obj0
= 0 ;
28452 PyObject
* obj1
= 0 ;
28453 char *kwnames
[] = {
28454 (char *) "self",(char *) "dc", NULL
28457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
28458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28461 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28463 if (arg2
== NULL
) {
28464 PyErr_SetString(PyExc_TypeError
,"null reference");
28468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28469 (arg1
)->base_OnDrawContents(*arg2
);
28471 wxPyEndAllowThreads(__tstate
);
28472 if (PyErr_Occurred()) SWIG_fail
;
28474 Py_INCREF(Py_None
); resultobj
= Py_None
;
28481 static PyObject
*_wrap_PyPolygonShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28482 PyObject
*resultobj
;
28483 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28485 bool arg3
= (bool) FALSE
;
28486 PyObject
* obj0
= 0 ;
28487 PyObject
* obj1
= 0 ;
28488 PyObject
* obj2
= 0 ;
28489 char *kwnames
[] = {
28490 (char *) "self",(char *) "dc",(char *) "erase", NULL
28493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28496 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28497 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28499 if (arg2
== NULL
) {
28500 PyErr_SetString(PyExc_TypeError
,"null reference");
28504 arg3
= (bool) SWIG_AsBool(obj2
);
28505 if (PyErr_Occurred()) SWIG_fail
;
28508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28509 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
28511 wxPyEndAllowThreads(__tstate
);
28512 if (PyErr_Occurred()) SWIG_fail
;
28514 Py_INCREF(Py_None
); resultobj
= Py_None
;
28521 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28522 PyObject
*resultobj
;
28523 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28525 PyObject
* obj0
= 0 ;
28526 PyObject
* obj1
= 0 ;
28527 char *kwnames
[] = {
28528 (char *) "self",(char *) "dc", NULL
28531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
28532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28535 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28537 if (arg2
== NULL
) {
28538 PyErr_SetString(PyExc_TypeError
,"null reference");
28542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28543 (arg1
)->base_OnMoveLinks(*arg2
);
28545 wxPyEndAllowThreads(__tstate
);
28546 if (PyErr_Occurred()) SWIG_fail
;
28548 Py_INCREF(Py_None
); resultobj
= Py_None
;
28555 static PyObject
*_wrap_PyPolygonShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28556 PyObject
*resultobj
;
28557 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28559 PyObject
* obj0
= 0 ;
28560 PyObject
* obj1
= 0 ;
28561 char *kwnames
[] = {
28562 (char *) "self",(char *) "dc", NULL
28565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
28566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28569 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28571 if (arg2
== NULL
) {
28572 PyErr_SetString(PyExc_TypeError
,"null reference");
28576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28577 (arg1
)->base_OnErase(*arg2
);
28579 wxPyEndAllowThreads(__tstate
);
28580 if (PyErr_Occurred()) SWIG_fail
;
28582 Py_INCREF(Py_None
); resultobj
= Py_None
;
28589 static PyObject
*_wrap_PyPolygonShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28590 PyObject
*resultobj
;
28591 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28593 PyObject
* obj0
= 0 ;
28594 PyObject
* obj1
= 0 ;
28595 char *kwnames
[] = {
28596 (char *) "self",(char *) "dc", NULL
28599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
28600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28603 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28605 if (arg2
== NULL
) {
28606 PyErr_SetString(PyExc_TypeError
,"null reference");
28610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28611 (arg1
)->base_OnEraseContents(*arg2
);
28613 wxPyEndAllowThreads(__tstate
);
28614 if (PyErr_Occurred()) SWIG_fail
;
28616 Py_INCREF(Py_None
); resultobj
= Py_None
;
28623 static PyObject
*_wrap_PyPolygonShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28624 PyObject
*resultobj
;
28625 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28627 PyObject
* obj0
= 0 ;
28628 PyObject
* obj1
= 0 ;
28629 char *kwnames
[] = {
28630 (char *) "self",(char *) "dc", NULL
28633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
28634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28637 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28639 if (arg2
== NULL
) {
28640 PyErr_SetString(PyExc_TypeError
,"null reference");
28644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28645 (arg1
)->base_OnHighlight(*arg2
);
28647 wxPyEndAllowThreads(__tstate
);
28648 if (PyErr_Occurred()) SWIG_fail
;
28650 Py_INCREF(Py_None
); resultobj
= Py_None
;
28657 static PyObject
*_wrap_PyPolygonShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28658 PyObject
*resultobj
;
28659 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28662 int arg4
= (int) 0 ;
28663 int arg5
= (int) 0 ;
28664 PyObject
* obj0
= 0 ;
28665 PyObject
* obj1
= 0 ;
28666 PyObject
* obj2
= 0 ;
28667 PyObject
* obj3
= 0 ;
28668 PyObject
* obj4
= 0 ;
28669 char *kwnames
[] = {
28670 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28676 arg2
= (double) SWIG_AsDouble(obj1
);
28677 if (PyErr_Occurred()) SWIG_fail
;
28678 arg3
= (double) SWIG_AsDouble(obj2
);
28679 if (PyErr_Occurred()) SWIG_fail
;
28681 arg4
= (int) SWIG_AsInt(obj3
);
28682 if (PyErr_Occurred()) SWIG_fail
;
28685 arg5
= (int) SWIG_AsInt(obj4
);
28686 if (PyErr_Occurred()) SWIG_fail
;
28689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28690 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
28692 wxPyEndAllowThreads(__tstate
);
28693 if (PyErr_Occurred()) SWIG_fail
;
28695 Py_INCREF(Py_None
); resultobj
= Py_None
;
28702 static PyObject
*_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28703 PyObject
*resultobj
;
28704 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28707 int arg4
= (int) 0 ;
28708 int arg5
= (int) 0 ;
28709 PyObject
* obj0
= 0 ;
28710 PyObject
* obj1
= 0 ;
28711 PyObject
* obj2
= 0 ;
28712 PyObject
* obj3
= 0 ;
28713 PyObject
* obj4
= 0 ;
28714 char *kwnames
[] = {
28715 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28721 arg2
= (double) SWIG_AsDouble(obj1
);
28722 if (PyErr_Occurred()) SWIG_fail
;
28723 arg3
= (double) SWIG_AsDouble(obj2
);
28724 if (PyErr_Occurred()) SWIG_fail
;
28726 arg4
= (int) SWIG_AsInt(obj3
);
28727 if (PyErr_Occurred()) SWIG_fail
;
28730 arg5
= (int) SWIG_AsInt(obj4
);
28731 if (PyErr_Occurred()) SWIG_fail
;
28734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28735 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
28737 wxPyEndAllowThreads(__tstate
);
28738 if (PyErr_Occurred()) SWIG_fail
;
28740 Py_INCREF(Py_None
); resultobj
= Py_None
;
28747 static PyObject
*_wrap_PyPolygonShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28748 PyObject
*resultobj
;
28749 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28752 int arg4
= (int) 0 ;
28753 int arg5
= (int) 0 ;
28754 PyObject
* obj0
= 0 ;
28755 PyObject
* obj1
= 0 ;
28756 PyObject
* obj2
= 0 ;
28757 PyObject
* obj3
= 0 ;
28758 PyObject
* obj4
= 0 ;
28759 char *kwnames
[] = {
28760 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28766 arg2
= (double) SWIG_AsDouble(obj1
);
28767 if (PyErr_Occurred()) SWIG_fail
;
28768 arg3
= (double) SWIG_AsDouble(obj2
);
28769 if (PyErr_Occurred()) SWIG_fail
;
28771 arg4
= (int) SWIG_AsInt(obj3
);
28772 if (PyErr_Occurred()) SWIG_fail
;
28775 arg5
= (int) SWIG_AsInt(obj4
);
28776 if (PyErr_Occurred()) SWIG_fail
;
28779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28780 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
28782 wxPyEndAllowThreads(__tstate
);
28783 if (PyErr_Occurred()) SWIG_fail
;
28785 Py_INCREF(Py_None
); resultobj
= Py_None
;
28792 static PyObject
*_wrap_PyPolygonShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28793 PyObject
*resultobj
;
28794 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28797 PyObject
* obj0
= 0 ;
28798 PyObject
* obj1
= 0 ;
28799 PyObject
* obj2
= 0 ;
28800 char *kwnames
[] = {
28801 (char *) "self",(char *) "x",(char *) "y", NULL
28804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28807 arg2
= (double) SWIG_AsDouble(obj1
);
28808 if (PyErr_Occurred()) SWIG_fail
;
28809 arg3
= (double) SWIG_AsDouble(obj2
);
28810 if (PyErr_Occurred()) SWIG_fail
;
28812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28813 (arg1
)->base_OnSize(arg2
,arg3
);
28815 wxPyEndAllowThreads(__tstate
);
28816 if (PyErr_Occurred()) SWIG_fail
;
28818 Py_INCREF(Py_None
); resultobj
= Py_None
;
28825 static PyObject
*_wrap_PyPolygonShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28826 PyObject
*resultobj
;
28827 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28833 bool arg7
= (bool) True
;
28835 PyObject
* obj0
= 0 ;
28836 PyObject
* obj1
= 0 ;
28837 PyObject
* obj2
= 0 ;
28838 PyObject
* obj3
= 0 ;
28839 PyObject
* obj4
= 0 ;
28840 PyObject
* obj5
= 0 ;
28841 PyObject
* obj6
= 0 ;
28842 char *kwnames
[] = {
28843 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28852 if (arg2
== NULL
) {
28853 PyErr_SetString(PyExc_TypeError
,"null reference");
28856 arg3
= (double) SWIG_AsDouble(obj2
);
28857 if (PyErr_Occurred()) SWIG_fail
;
28858 arg4
= (double) SWIG_AsDouble(obj3
);
28859 if (PyErr_Occurred()) SWIG_fail
;
28860 arg5
= (double) SWIG_AsDouble(obj4
);
28861 if (PyErr_Occurred()) SWIG_fail
;
28862 arg6
= (double) SWIG_AsDouble(obj5
);
28863 if (PyErr_Occurred()) SWIG_fail
;
28865 arg7
= (bool) SWIG_AsBool(obj6
);
28866 if (PyErr_Occurred()) SWIG_fail
;
28869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28870 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28872 wxPyEndAllowThreads(__tstate
);
28873 if (PyErr_Occurred()) SWIG_fail
;
28876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28884 static PyObject
*_wrap_PyPolygonShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28885 PyObject
*resultobj
;
28886 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28892 bool arg7
= (bool) True
;
28893 PyObject
* obj0
= 0 ;
28894 PyObject
* obj1
= 0 ;
28895 PyObject
* obj2
= 0 ;
28896 PyObject
* obj3
= 0 ;
28897 PyObject
* obj4
= 0 ;
28898 PyObject
* obj5
= 0 ;
28899 PyObject
* obj6
= 0 ;
28900 char *kwnames
[] = {
28901 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28908 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28910 if (arg2
== NULL
) {
28911 PyErr_SetString(PyExc_TypeError
,"null reference");
28914 arg3
= (double) SWIG_AsDouble(obj2
);
28915 if (PyErr_Occurred()) SWIG_fail
;
28916 arg4
= (double) SWIG_AsDouble(obj3
);
28917 if (PyErr_Occurred()) SWIG_fail
;
28918 arg5
= (double) SWIG_AsDouble(obj4
);
28919 if (PyErr_Occurred()) SWIG_fail
;
28920 arg6
= (double) SWIG_AsDouble(obj5
);
28921 if (PyErr_Occurred()) SWIG_fail
;
28923 arg7
= (bool) SWIG_AsBool(obj6
);
28924 if (PyErr_Occurred()) SWIG_fail
;
28927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28928 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28930 wxPyEndAllowThreads(__tstate
);
28931 if (PyErr_Occurred()) SWIG_fail
;
28933 Py_INCREF(Py_None
); resultobj
= Py_None
;
28940 static PyObject
*_wrap_PyPolygonShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28941 PyObject
*resultobj
;
28942 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28946 int arg5
= (int) 0 ;
28947 int arg6
= (int) 0 ;
28948 PyObject
* obj0
= 0 ;
28949 PyObject
* obj1
= 0 ;
28950 PyObject
* obj2
= 0 ;
28951 PyObject
* obj3
= 0 ;
28952 PyObject
* obj4
= 0 ;
28953 PyObject
* obj5
= 0 ;
28954 char *kwnames
[] = {
28955 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28961 arg2
= (bool) SWIG_AsBool(obj1
);
28962 if (PyErr_Occurred()) SWIG_fail
;
28963 arg3
= (double) SWIG_AsDouble(obj2
);
28964 if (PyErr_Occurred()) SWIG_fail
;
28965 arg4
= (double) SWIG_AsDouble(obj3
);
28966 if (PyErr_Occurred()) SWIG_fail
;
28968 arg5
= (int) SWIG_AsInt(obj4
);
28969 if (PyErr_Occurred()) SWIG_fail
;
28972 arg6
= (int) SWIG_AsInt(obj5
);
28973 if (PyErr_Occurred()) SWIG_fail
;
28976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28977 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
28979 wxPyEndAllowThreads(__tstate
);
28980 if (PyErr_Occurred()) SWIG_fail
;
28982 Py_INCREF(Py_None
); resultobj
= Py_None
;
28989 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28990 PyObject
*resultobj
;
28991 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28994 int arg4
= (int) 0 ;
28995 int arg5
= (int) 0 ;
28996 PyObject
* obj0
= 0 ;
28997 PyObject
* obj1
= 0 ;
28998 PyObject
* obj2
= 0 ;
28999 PyObject
* obj3
= 0 ;
29000 PyObject
* obj4
= 0 ;
29001 char *kwnames
[] = {
29002 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29008 arg2
= (double) SWIG_AsDouble(obj1
);
29009 if (PyErr_Occurred()) SWIG_fail
;
29010 arg3
= (double) SWIG_AsDouble(obj2
);
29011 if (PyErr_Occurred()) SWIG_fail
;
29013 arg4
= (int) SWIG_AsInt(obj3
);
29014 if (PyErr_Occurred()) SWIG_fail
;
29017 arg5
= (int) SWIG_AsInt(obj4
);
29018 if (PyErr_Occurred()) SWIG_fail
;
29021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29022 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
29024 wxPyEndAllowThreads(__tstate
);
29025 if (PyErr_Occurred()) SWIG_fail
;
29027 Py_INCREF(Py_None
); resultobj
= Py_None
;
29034 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29035 PyObject
*resultobj
;
29036 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29039 int arg4
= (int) 0 ;
29040 int arg5
= (int) 0 ;
29041 PyObject
* obj0
= 0 ;
29042 PyObject
* obj1
= 0 ;
29043 PyObject
* obj2
= 0 ;
29044 PyObject
* obj3
= 0 ;
29045 PyObject
* obj4
= 0 ;
29046 char *kwnames
[] = {
29047 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29053 arg2
= (double) SWIG_AsDouble(obj1
);
29054 if (PyErr_Occurred()) SWIG_fail
;
29055 arg3
= (double) SWIG_AsDouble(obj2
);
29056 if (PyErr_Occurred()) SWIG_fail
;
29058 arg4
= (int) SWIG_AsInt(obj3
);
29059 if (PyErr_Occurred()) SWIG_fail
;
29062 arg5
= (int) SWIG_AsInt(obj4
);
29063 if (PyErr_Occurred()) SWIG_fail
;
29066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29067 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
29069 wxPyEndAllowThreads(__tstate
);
29070 if (PyErr_Occurred()) SWIG_fail
;
29072 Py_INCREF(Py_None
); resultobj
= Py_None
;
29079 static PyObject
*_wrap_PyPolygonShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29080 PyObject
*resultobj
;
29081 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29085 int arg5
= (int) 0 ;
29086 int arg6
= (int) 0 ;
29087 PyObject
* obj0
= 0 ;
29088 PyObject
* obj1
= 0 ;
29089 PyObject
* obj2
= 0 ;
29090 PyObject
* obj3
= 0 ;
29091 PyObject
* obj4
= 0 ;
29092 PyObject
* obj5
= 0 ;
29093 char *kwnames
[] = {
29094 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29100 arg2
= (bool) SWIG_AsBool(obj1
);
29101 if (PyErr_Occurred()) SWIG_fail
;
29102 arg3
= (double) SWIG_AsDouble(obj2
);
29103 if (PyErr_Occurred()) SWIG_fail
;
29104 arg4
= (double) SWIG_AsDouble(obj3
);
29105 if (PyErr_Occurred()) SWIG_fail
;
29107 arg5
= (int) SWIG_AsInt(obj4
);
29108 if (PyErr_Occurred()) SWIG_fail
;
29111 arg6
= (int) SWIG_AsInt(obj5
);
29112 if (PyErr_Occurred()) SWIG_fail
;
29115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29116 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
29118 wxPyEndAllowThreads(__tstate
);
29119 if (PyErr_Occurred()) SWIG_fail
;
29121 Py_INCREF(Py_None
); resultobj
= Py_None
;
29128 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29129 PyObject
*resultobj
;
29130 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29133 int arg4
= (int) 0 ;
29134 int arg5
= (int) 0 ;
29135 PyObject
* obj0
= 0 ;
29136 PyObject
* obj1
= 0 ;
29137 PyObject
* obj2
= 0 ;
29138 PyObject
* obj3
= 0 ;
29139 PyObject
* obj4
= 0 ;
29140 char *kwnames
[] = {
29141 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29147 arg2
= (double) SWIG_AsDouble(obj1
);
29148 if (PyErr_Occurred()) SWIG_fail
;
29149 arg3
= (double) SWIG_AsDouble(obj2
);
29150 if (PyErr_Occurred()) SWIG_fail
;
29152 arg4
= (int) SWIG_AsInt(obj3
);
29153 if (PyErr_Occurred()) SWIG_fail
;
29156 arg5
= (int) SWIG_AsInt(obj4
);
29157 if (PyErr_Occurred()) SWIG_fail
;
29160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29161 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
29163 wxPyEndAllowThreads(__tstate
);
29164 if (PyErr_Occurred()) SWIG_fail
;
29166 Py_INCREF(Py_None
); resultobj
= Py_None
;
29173 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29174 PyObject
*resultobj
;
29175 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29178 int arg4
= (int) 0 ;
29179 int arg5
= (int) 0 ;
29180 PyObject
* obj0
= 0 ;
29181 PyObject
* obj1
= 0 ;
29182 PyObject
* obj2
= 0 ;
29183 PyObject
* obj3
= 0 ;
29184 PyObject
* obj4
= 0 ;
29185 char *kwnames
[] = {
29186 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29192 arg2
= (double) SWIG_AsDouble(obj1
);
29193 if (PyErr_Occurred()) SWIG_fail
;
29194 arg3
= (double) SWIG_AsDouble(obj2
);
29195 if (PyErr_Occurred()) SWIG_fail
;
29197 arg4
= (int) SWIG_AsInt(obj3
);
29198 if (PyErr_Occurred()) SWIG_fail
;
29201 arg5
= (int) SWIG_AsInt(obj4
);
29202 if (PyErr_Occurred()) SWIG_fail
;
29205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29206 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
29208 wxPyEndAllowThreads(__tstate
);
29209 if (PyErr_Occurred()) SWIG_fail
;
29211 Py_INCREF(Py_None
); resultobj
= Py_None
;
29218 static PyObject
*_wrap_PyPolygonShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29219 PyObject
*resultobj
;
29220 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29226 PyObject
* obj0
= 0 ;
29227 PyObject
* obj1
= 0 ;
29228 PyObject
* obj2
= 0 ;
29229 PyObject
* obj3
= 0 ;
29230 PyObject
* obj4
= 0 ;
29231 PyObject
* obj5
= 0 ;
29232 char *kwnames
[] = {
29233 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyPolygonShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29240 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29242 if (arg2
== NULL
) {
29243 PyErr_SetString(PyExc_TypeError
,"null reference");
29246 arg3
= (double) SWIG_AsDouble(obj2
);
29247 if (PyErr_Occurred()) SWIG_fail
;
29248 arg4
= (double) SWIG_AsDouble(obj3
);
29249 if (PyErr_Occurred()) SWIG_fail
;
29250 arg5
= (double) SWIG_AsDouble(obj4
);
29251 if (PyErr_Occurred()) SWIG_fail
;
29252 arg6
= (double) SWIG_AsDouble(obj5
);
29253 if (PyErr_Occurred()) SWIG_fail
;
29255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29256 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
29258 wxPyEndAllowThreads(__tstate
);
29259 if (PyErr_Occurred()) SWIG_fail
;
29261 Py_INCREF(Py_None
); resultobj
= Py_None
;
29268 static PyObject
*_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29269 PyObject
*resultobj
;
29270 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29272 PyObject
* obj0
= 0 ;
29273 PyObject
* obj1
= 0 ;
29274 char *kwnames
[] = {
29275 (char *) "self",(char *) "dc", NULL
29278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
29279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29282 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29284 if (arg2
== NULL
) {
29285 PyErr_SetString(PyExc_TypeError
,"null reference");
29289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29290 (arg1
)->base_OnDrawControlPoints(*arg2
);
29292 wxPyEndAllowThreads(__tstate
);
29293 if (PyErr_Occurred()) SWIG_fail
;
29295 Py_INCREF(Py_None
); resultobj
= Py_None
;
29302 static PyObject
*_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29303 PyObject
*resultobj
;
29304 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29306 PyObject
* obj0
= 0 ;
29307 PyObject
* obj1
= 0 ;
29308 char *kwnames
[] = {
29309 (char *) "self",(char *) "dc", NULL
29312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
29313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29318 if (arg2
== NULL
) {
29319 PyErr_SetString(PyExc_TypeError
,"null reference");
29323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29324 (arg1
)->base_OnEraseControlPoints(*arg2
);
29326 wxPyEndAllowThreads(__tstate
);
29327 if (PyErr_Occurred()) SWIG_fail
;
29329 Py_INCREF(Py_None
); resultobj
= Py_None
;
29336 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29337 PyObject
*resultobj
;
29338 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29340 bool arg3
= (bool) True
;
29341 PyObject
* obj0
= 0 ;
29342 PyObject
* obj1
= 0 ;
29343 PyObject
* obj2
= 0 ;
29344 char *kwnames
[] = {
29345 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
29348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29352 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29354 if (arg2
== NULL
) {
29355 PyErr_SetString(PyExc_TypeError
,"null reference");
29359 arg3
= (bool) SWIG_AsBool(obj2
);
29360 if (PyErr_Occurred()) SWIG_fail
;
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29364 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
29366 wxPyEndAllowThreads(__tstate
);
29367 if (PyErr_Occurred()) SWIG_fail
;
29369 Py_INCREF(Py_None
); resultobj
= Py_None
;
29376 static PyObject
*_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29377 PyObject
*resultobj
;
29378 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29379 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29383 int arg6
= (int) 0 ;
29384 int arg7
= (int) 0 ;
29385 PyObject
* obj0
= 0 ;
29386 PyObject
* obj1
= 0 ;
29387 PyObject
* obj2
= 0 ;
29388 PyObject
* obj3
= 0 ;
29389 PyObject
* obj4
= 0 ;
29390 PyObject
* obj5
= 0 ;
29391 PyObject
* obj6
= 0 ;
29392 char *kwnames
[] = {
29393 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyPolygonShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29401 arg3
= (bool) SWIG_AsBool(obj2
);
29402 if (PyErr_Occurred()) SWIG_fail
;
29403 arg4
= (double) SWIG_AsDouble(obj3
);
29404 if (PyErr_Occurred()) SWIG_fail
;
29405 arg5
= (double) SWIG_AsDouble(obj4
);
29406 if (PyErr_Occurred()) SWIG_fail
;
29408 arg6
= (int) SWIG_AsInt(obj5
);
29409 if (PyErr_Occurred()) SWIG_fail
;
29412 arg7
= (int) SWIG_AsInt(obj6
);
29413 if (PyErr_Occurred()) SWIG_fail
;
29416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29417 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29419 wxPyEndAllowThreads(__tstate
);
29420 if (PyErr_Occurred()) SWIG_fail
;
29422 Py_INCREF(Py_None
); resultobj
= Py_None
;
29429 static PyObject
*_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29430 PyObject
*resultobj
;
29431 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29432 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29435 int arg5
= (int) 0 ;
29436 int arg6
= (int) 0 ;
29437 PyObject
* obj0
= 0 ;
29438 PyObject
* obj1
= 0 ;
29439 PyObject
* obj2
= 0 ;
29440 PyObject
* obj3
= 0 ;
29441 PyObject
* obj4
= 0 ;
29442 PyObject
* obj5
= 0 ;
29443 char *kwnames
[] = {
29444 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29450 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29452 arg3
= (double) SWIG_AsDouble(obj2
);
29453 if (PyErr_Occurred()) SWIG_fail
;
29454 arg4
= (double) SWIG_AsDouble(obj3
);
29455 if (PyErr_Occurred()) SWIG_fail
;
29457 arg5
= (int) SWIG_AsInt(obj4
);
29458 if (PyErr_Occurred()) SWIG_fail
;
29461 arg6
= (int) SWIG_AsInt(obj5
);
29462 if (PyErr_Occurred()) SWIG_fail
;
29465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29466 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29468 wxPyEndAllowThreads(__tstate
);
29469 if (PyErr_Occurred()) SWIG_fail
;
29471 Py_INCREF(Py_None
); resultobj
= Py_None
;
29478 static PyObject
*_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29479 PyObject
*resultobj
;
29480 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29481 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29484 int arg5
= (int) 0 ;
29485 int arg6
= (int) 0 ;
29486 PyObject
* obj0
= 0 ;
29487 PyObject
* obj1
= 0 ;
29488 PyObject
* obj2
= 0 ;
29489 PyObject
* obj3
= 0 ;
29490 PyObject
* obj4
= 0 ;
29491 PyObject
* obj5
= 0 ;
29492 char *kwnames
[] = {
29493 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29501 arg3
= (double) SWIG_AsDouble(obj2
);
29502 if (PyErr_Occurred()) SWIG_fail
;
29503 arg4
= (double) SWIG_AsDouble(obj3
);
29504 if (PyErr_Occurred()) SWIG_fail
;
29506 arg5
= (int) SWIG_AsInt(obj4
);
29507 if (PyErr_Occurred()) SWIG_fail
;
29510 arg6
= (int) SWIG_AsInt(obj5
);
29511 if (PyErr_Occurred()) SWIG_fail
;
29514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29515 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29517 wxPyEndAllowThreads(__tstate
);
29518 if (PyErr_Occurred()) SWIG_fail
;
29520 Py_INCREF(Py_None
); resultobj
= Py_None
;
29527 static PyObject
*_wrap_PyPolygonShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29528 PyObject
*resultobj
;
29529 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29532 PyObject
* obj0
= 0 ;
29533 PyObject
* obj1
= 0 ;
29534 PyObject
* obj2
= 0 ;
29535 char *kwnames
[] = {
29536 (char *) "self",(char *) "w",(char *) "h", NULL
29539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29542 arg2
= (double) SWIG_AsDouble(obj1
);
29543 if (PyErr_Occurred()) SWIG_fail
;
29544 arg3
= (double) SWIG_AsDouble(obj2
);
29545 if (PyErr_Occurred()) SWIG_fail
;
29547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29548 (arg1
)->base_OnBeginSize(arg2
,arg3
);
29550 wxPyEndAllowThreads(__tstate
);
29551 if (PyErr_Occurred()) SWIG_fail
;
29553 Py_INCREF(Py_None
); resultobj
= Py_None
;
29560 static PyObject
*_wrap_PyPolygonShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29561 PyObject
*resultobj
;
29562 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29565 PyObject
* obj0
= 0 ;
29566 PyObject
* obj1
= 0 ;
29567 PyObject
* obj2
= 0 ;
29568 char *kwnames
[] = {
29569 (char *) "self",(char *) "w",(char *) "h", NULL
29572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29575 arg2
= (double) SWIG_AsDouble(obj1
);
29576 if (PyErr_Occurred()) SWIG_fail
;
29577 arg3
= (double) SWIG_AsDouble(obj2
);
29578 if (PyErr_Occurred()) SWIG_fail
;
29580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29581 (arg1
)->base_OnEndSize(arg2
,arg3
);
29583 wxPyEndAllowThreads(__tstate
);
29584 if (PyErr_Occurred()) SWIG_fail
;
29586 Py_INCREF(Py_None
); resultobj
= Py_None
;
29593 static PyObject
* PyPolygonShape_swigregister(PyObject
*self
, PyObject
*args
) {
29595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29596 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape
, obj
);
29598 return Py_BuildValue((char *)"");
29600 static PyObject
*_wrap_new_PyTextShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29601 PyObject
*resultobj
;
29602 double arg1
= (double) 0.0 ;
29603 double arg2
= (double) 0.0 ;
29604 wxPyTextShape
*result
;
29605 PyObject
* obj0
= 0 ;
29606 PyObject
* obj1
= 0 ;
29607 char *kwnames
[] = {
29608 (char *) "width",(char *) "height", NULL
29611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyTextShape",kwnames
,&obj0
,&obj1
)) goto fail
;
29613 arg1
= (double) SWIG_AsDouble(obj0
);
29614 if (PyErr_Occurred()) SWIG_fail
;
29617 arg2
= (double) SWIG_AsDouble(obj1
);
29618 if (PyErr_Occurred()) SWIG_fail
;
29621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29622 result
= (wxPyTextShape
*)new wxPyTextShape(arg1
,arg2
);
29624 wxPyEndAllowThreads(__tstate
);
29625 if (PyErr_Occurred()) SWIG_fail
;
29627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextShape
, 1);
29634 static PyObject
*_wrap_PyTextShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29635 PyObject
*resultobj
;
29636 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29637 PyObject
*arg2
= (PyObject
*) 0 ;
29638 PyObject
*arg3
= (PyObject
*) 0 ;
29639 PyObject
* obj0
= 0 ;
29640 PyObject
* obj1
= 0 ;
29641 PyObject
* obj2
= 0 ;
29642 char *kwnames
[] = {
29643 (char *) "self",(char *) "self",(char *) "_class", NULL
29646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29653 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29655 wxPyEndAllowThreads(__tstate
);
29656 if (PyErr_Occurred()) SWIG_fail
;
29658 Py_INCREF(Py_None
); resultobj
= Py_None
;
29665 static PyObject
*_wrap_PyTextShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29666 PyObject
*resultobj
;
29667 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29668 PyObject
* obj0
= 0 ;
29669 char *kwnames
[] = {
29670 (char *) "self", NULL
29673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyTextShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
29674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29678 (arg1
)->base_OnDelete();
29680 wxPyEndAllowThreads(__tstate
);
29681 if (PyErr_Occurred()) SWIG_fail
;
29683 Py_INCREF(Py_None
); resultobj
= Py_None
;
29690 static PyObject
*_wrap_PyTextShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29691 PyObject
*resultobj
;
29692 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29694 PyObject
* obj0
= 0 ;
29695 PyObject
* obj1
= 0 ;
29696 char *kwnames
[] = {
29697 (char *) "self",(char *) "dc", NULL
29700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
29701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29704 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29706 if (arg2
== NULL
) {
29707 PyErr_SetString(PyExc_TypeError
,"null reference");
29711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29712 (arg1
)->base_OnDraw(*arg2
);
29714 wxPyEndAllowThreads(__tstate
);
29715 if (PyErr_Occurred()) SWIG_fail
;
29717 Py_INCREF(Py_None
); resultobj
= Py_None
;
29724 static PyObject
*_wrap_PyTextShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29725 PyObject
*resultobj
;
29726 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29728 PyObject
* obj0
= 0 ;
29729 PyObject
* obj1
= 0 ;
29730 char *kwnames
[] = {
29731 (char *) "self",(char *) "dc", NULL
29734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
29735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29738 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29740 if (arg2
== NULL
) {
29741 PyErr_SetString(PyExc_TypeError
,"null reference");
29745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29746 (arg1
)->base_OnDrawContents(*arg2
);
29748 wxPyEndAllowThreads(__tstate
);
29749 if (PyErr_Occurred()) SWIG_fail
;
29751 Py_INCREF(Py_None
); resultobj
= Py_None
;
29758 static PyObject
*_wrap_PyTextShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29759 PyObject
*resultobj
;
29760 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29762 bool arg3
= (bool) FALSE
;
29763 PyObject
* obj0
= 0 ;
29764 PyObject
* obj1
= 0 ;
29765 PyObject
* obj2
= 0 ;
29766 char *kwnames
[] = {
29767 (char *) "self",(char *) "dc",(char *) "erase", NULL
29770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29774 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29776 if (arg2
== NULL
) {
29777 PyErr_SetString(PyExc_TypeError
,"null reference");
29781 arg3
= (bool) SWIG_AsBool(obj2
);
29782 if (PyErr_Occurred()) SWIG_fail
;
29785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29786 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
29788 wxPyEndAllowThreads(__tstate
);
29789 if (PyErr_Occurred()) SWIG_fail
;
29791 Py_INCREF(Py_None
); resultobj
= Py_None
;
29798 static PyObject
*_wrap_PyTextShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29799 PyObject
*resultobj
;
29800 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29802 PyObject
* obj0
= 0 ;
29803 PyObject
* obj1
= 0 ;
29804 char *kwnames
[] = {
29805 (char *) "self",(char *) "dc", NULL
29808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
29809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29812 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29814 if (arg2
== NULL
) {
29815 PyErr_SetString(PyExc_TypeError
,"null reference");
29819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29820 (arg1
)->base_OnMoveLinks(*arg2
);
29822 wxPyEndAllowThreads(__tstate
);
29823 if (PyErr_Occurred()) SWIG_fail
;
29825 Py_INCREF(Py_None
); resultobj
= Py_None
;
29832 static PyObject
*_wrap_PyTextShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29833 PyObject
*resultobj
;
29834 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29836 PyObject
* obj0
= 0 ;
29837 PyObject
* obj1
= 0 ;
29838 char *kwnames
[] = {
29839 (char *) "self",(char *) "dc", NULL
29842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
29843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29846 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29848 if (arg2
== NULL
) {
29849 PyErr_SetString(PyExc_TypeError
,"null reference");
29853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29854 (arg1
)->base_OnErase(*arg2
);
29856 wxPyEndAllowThreads(__tstate
);
29857 if (PyErr_Occurred()) SWIG_fail
;
29859 Py_INCREF(Py_None
); resultobj
= Py_None
;
29866 static PyObject
*_wrap_PyTextShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29867 PyObject
*resultobj
;
29868 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29870 PyObject
* obj0
= 0 ;
29871 PyObject
* obj1
= 0 ;
29872 char *kwnames
[] = {
29873 (char *) "self",(char *) "dc", NULL
29876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
29877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29880 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29882 if (arg2
== NULL
) {
29883 PyErr_SetString(PyExc_TypeError
,"null reference");
29887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29888 (arg1
)->base_OnEraseContents(*arg2
);
29890 wxPyEndAllowThreads(__tstate
);
29891 if (PyErr_Occurred()) SWIG_fail
;
29893 Py_INCREF(Py_None
); resultobj
= Py_None
;
29900 static PyObject
*_wrap_PyTextShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29901 PyObject
*resultobj
;
29902 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29904 PyObject
* obj0
= 0 ;
29905 PyObject
* obj1
= 0 ;
29906 char *kwnames
[] = {
29907 (char *) "self",(char *) "dc", NULL
29910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
29911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29916 if (arg2
== NULL
) {
29917 PyErr_SetString(PyExc_TypeError
,"null reference");
29921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29922 (arg1
)->base_OnHighlight(*arg2
);
29924 wxPyEndAllowThreads(__tstate
);
29925 if (PyErr_Occurred()) SWIG_fail
;
29927 Py_INCREF(Py_None
); resultobj
= Py_None
;
29934 static PyObject
*_wrap_PyTextShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29935 PyObject
*resultobj
;
29936 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29939 int arg4
= (int) 0 ;
29940 int arg5
= (int) 0 ;
29941 PyObject
* obj0
= 0 ;
29942 PyObject
* obj1
= 0 ;
29943 PyObject
* obj2
= 0 ;
29944 PyObject
* obj3
= 0 ;
29945 PyObject
* obj4
= 0 ;
29946 char *kwnames
[] = {
29947 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29953 arg2
= (double) SWIG_AsDouble(obj1
);
29954 if (PyErr_Occurred()) SWIG_fail
;
29955 arg3
= (double) SWIG_AsDouble(obj2
);
29956 if (PyErr_Occurred()) SWIG_fail
;
29958 arg4
= (int) SWIG_AsInt(obj3
);
29959 if (PyErr_Occurred()) SWIG_fail
;
29962 arg5
= (int) SWIG_AsInt(obj4
);
29963 if (PyErr_Occurred()) SWIG_fail
;
29966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29967 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
29969 wxPyEndAllowThreads(__tstate
);
29970 if (PyErr_Occurred()) SWIG_fail
;
29972 Py_INCREF(Py_None
); resultobj
= Py_None
;
29979 static PyObject
*_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29980 PyObject
*resultobj
;
29981 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29984 int arg4
= (int) 0 ;
29985 int arg5
= (int) 0 ;
29986 PyObject
* obj0
= 0 ;
29987 PyObject
* obj1
= 0 ;
29988 PyObject
* obj2
= 0 ;
29989 PyObject
* obj3
= 0 ;
29990 PyObject
* obj4
= 0 ;
29991 char *kwnames
[] = {
29992 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29998 arg2
= (double) SWIG_AsDouble(obj1
);
29999 if (PyErr_Occurred()) SWIG_fail
;
30000 arg3
= (double) SWIG_AsDouble(obj2
);
30001 if (PyErr_Occurred()) SWIG_fail
;
30003 arg4
= (int) SWIG_AsInt(obj3
);
30004 if (PyErr_Occurred()) SWIG_fail
;
30007 arg5
= (int) SWIG_AsInt(obj4
);
30008 if (PyErr_Occurred()) SWIG_fail
;
30011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30012 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
30014 wxPyEndAllowThreads(__tstate
);
30015 if (PyErr_Occurred()) SWIG_fail
;
30017 Py_INCREF(Py_None
); resultobj
= Py_None
;
30024 static PyObject
*_wrap_PyTextShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30025 PyObject
*resultobj
;
30026 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30029 int arg4
= (int) 0 ;
30030 int arg5
= (int) 0 ;
30031 PyObject
* obj0
= 0 ;
30032 PyObject
* obj1
= 0 ;
30033 PyObject
* obj2
= 0 ;
30034 PyObject
* obj3
= 0 ;
30035 PyObject
* obj4
= 0 ;
30036 char *kwnames
[] = {
30037 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30043 arg2
= (double) SWIG_AsDouble(obj1
);
30044 if (PyErr_Occurred()) SWIG_fail
;
30045 arg3
= (double) SWIG_AsDouble(obj2
);
30046 if (PyErr_Occurred()) SWIG_fail
;
30048 arg4
= (int) SWIG_AsInt(obj3
);
30049 if (PyErr_Occurred()) SWIG_fail
;
30052 arg5
= (int) SWIG_AsInt(obj4
);
30053 if (PyErr_Occurred()) SWIG_fail
;
30056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30057 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
30059 wxPyEndAllowThreads(__tstate
);
30060 if (PyErr_Occurred()) SWIG_fail
;
30062 Py_INCREF(Py_None
); resultobj
= Py_None
;
30069 static PyObject
*_wrap_PyTextShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30070 PyObject
*resultobj
;
30071 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30074 PyObject
* obj0
= 0 ;
30075 PyObject
* obj1
= 0 ;
30076 PyObject
* obj2
= 0 ;
30077 char *kwnames
[] = {
30078 (char *) "self",(char *) "x",(char *) "y", NULL
30081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30084 arg2
= (double) SWIG_AsDouble(obj1
);
30085 if (PyErr_Occurred()) SWIG_fail
;
30086 arg3
= (double) SWIG_AsDouble(obj2
);
30087 if (PyErr_Occurred()) SWIG_fail
;
30089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30090 (arg1
)->base_OnSize(arg2
,arg3
);
30092 wxPyEndAllowThreads(__tstate
);
30093 if (PyErr_Occurred()) SWIG_fail
;
30095 Py_INCREF(Py_None
); resultobj
= Py_None
;
30102 static PyObject
*_wrap_PyTextShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30103 PyObject
*resultobj
;
30104 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30110 bool arg7
= (bool) True
;
30112 PyObject
* obj0
= 0 ;
30113 PyObject
* obj1
= 0 ;
30114 PyObject
* obj2
= 0 ;
30115 PyObject
* obj3
= 0 ;
30116 PyObject
* obj4
= 0 ;
30117 PyObject
* obj5
= 0 ;
30118 PyObject
* obj6
= 0 ;
30119 char *kwnames
[] = {
30120 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyTextShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30129 if (arg2
== NULL
) {
30130 PyErr_SetString(PyExc_TypeError
,"null reference");
30133 arg3
= (double) SWIG_AsDouble(obj2
);
30134 if (PyErr_Occurred()) SWIG_fail
;
30135 arg4
= (double) SWIG_AsDouble(obj3
);
30136 if (PyErr_Occurred()) SWIG_fail
;
30137 arg5
= (double) SWIG_AsDouble(obj4
);
30138 if (PyErr_Occurred()) SWIG_fail
;
30139 arg6
= (double) SWIG_AsDouble(obj5
);
30140 if (PyErr_Occurred()) SWIG_fail
;
30142 arg7
= (bool) SWIG_AsBool(obj6
);
30143 if (PyErr_Occurred()) SWIG_fail
;
30146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30147 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30149 wxPyEndAllowThreads(__tstate
);
30150 if (PyErr_Occurred()) SWIG_fail
;
30153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30161 static PyObject
*_wrap_PyTextShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30162 PyObject
*resultobj
;
30163 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30169 bool arg7
= (bool) True
;
30170 PyObject
* obj0
= 0 ;
30171 PyObject
* obj1
= 0 ;
30172 PyObject
* obj2
= 0 ;
30173 PyObject
* obj3
= 0 ;
30174 PyObject
* obj4
= 0 ;
30175 PyObject
* obj5
= 0 ;
30176 PyObject
* obj6
= 0 ;
30177 char *kwnames
[] = {
30178 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyTextShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30185 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30187 if (arg2
== NULL
) {
30188 PyErr_SetString(PyExc_TypeError
,"null reference");
30191 arg3
= (double) SWIG_AsDouble(obj2
);
30192 if (PyErr_Occurred()) SWIG_fail
;
30193 arg4
= (double) SWIG_AsDouble(obj3
);
30194 if (PyErr_Occurred()) SWIG_fail
;
30195 arg5
= (double) SWIG_AsDouble(obj4
);
30196 if (PyErr_Occurred()) SWIG_fail
;
30197 arg6
= (double) SWIG_AsDouble(obj5
);
30198 if (PyErr_Occurred()) SWIG_fail
;
30200 arg7
= (bool) SWIG_AsBool(obj6
);
30201 if (PyErr_Occurred()) SWIG_fail
;
30204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30205 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30207 wxPyEndAllowThreads(__tstate
);
30208 if (PyErr_Occurred()) SWIG_fail
;
30210 Py_INCREF(Py_None
); resultobj
= Py_None
;
30217 static PyObject
*_wrap_PyTextShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30218 PyObject
*resultobj
;
30219 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30223 int arg5
= (int) 0 ;
30224 int arg6
= (int) 0 ;
30225 PyObject
* obj0
= 0 ;
30226 PyObject
* obj1
= 0 ;
30227 PyObject
* obj2
= 0 ;
30228 PyObject
* obj3
= 0 ;
30229 PyObject
* obj4
= 0 ;
30230 PyObject
* obj5
= 0 ;
30231 char *kwnames
[] = {
30232 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30238 arg2
= (bool) SWIG_AsBool(obj1
);
30239 if (PyErr_Occurred()) SWIG_fail
;
30240 arg3
= (double) SWIG_AsDouble(obj2
);
30241 if (PyErr_Occurred()) SWIG_fail
;
30242 arg4
= (double) SWIG_AsDouble(obj3
);
30243 if (PyErr_Occurred()) SWIG_fail
;
30245 arg5
= (int) SWIG_AsInt(obj4
);
30246 if (PyErr_Occurred()) SWIG_fail
;
30249 arg6
= (int) SWIG_AsInt(obj5
);
30250 if (PyErr_Occurred()) SWIG_fail
;
30253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30254 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30256 wxPyEndAllowThreads(__tstate
);
30257 if (PyErr_Occurred()) SWIG_fail
;
30259 Py_INCREF(Py_None
); resultobj
= Py_None
;
30266 static PyObject
*_wrap_PyTextShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30267 PyObject
*resultobj
;
30268 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30271 int arg4
= (int) 0 ;
30272 int arg5
= (int) 0 ;
30273 PyObject
* obj0
= 0 ;
30274 PyObject
* obj1
= 0 ;
30275 PyObject
* obj2
= 0 ;
30276 PyObject
* obj3
= 0 ;
30277 PyObject
* obj4
= 0 ;
30278 char *kwnames
[] = {
30279 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30285 arg2
= (double) SWIG_AsDouble(obj1
);
30286 if (PyErr_Occurred()) SWIG_fail
;
30287 arg3
= (double) SWIG_AsDouble(obj2
);
30288 if (PyErr_Occurred()) SWIG_fail
;
30290 arg4
= (int) SWIG_AsInt(obj3
);
30291 if (PyErr_Occurred()) SWIG_fail
;
30294 arg5
= (int) SWIG_AsInt(obj4
);
30295 if (PyErr_Occurred()) SWIG_fail
;
30298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30299 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
30301 wxPyEndAllowThreads(__tstate
);
30302 if (PyErr_Occurred()) SWIG_fail
;
30304 Py_INCREF(Py_None
); resultobj
= Py_None
;
30311 static PyObject
*_wrap_PyTextShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30312 PyObject
*resultobj
;
30313 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30316 int arg4
= (int) 0 ;
30317 int arg5
= (int) 0 ;
30318 PyObject
* obj0
= 0 ;
30319 PyObject
* obj1
= 0 ;
30320 PyObject
* obj2
= 0 ;
30321 PyObject
* obj3
= 0 ;
30322 PyObject
* obj4
= 0 ;
30323 char *kwnames
[] = {
30324 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30330 arg2
= (double) SWIG_AsDouble(obj1
);
30331 if (PyErr_Occurred()) SWIG_fail
;
30332 arg3
= (double) SWIG_AsDouble(obj2
);
30333 if (PyErr_Occurred()) SWIG_fail
;
30335 arg4
= (int) SWIG_AsInt(obj3
);
30336 if (PyErr_Occurred()) SWIG_fail
;
30339 arg5
= (int) SWIG_AsInt(obj4
);
30340 if (PyErr_Occurred()) SWIG_fail
;
30343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30344 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
30346 wxPyEndAllowThreads(__tstate
);
30347 if (PyErr_Occurred()) SWIG_fail
;
30349 Py_INCREF(Py_None
); resultobj
= Py_None
;
30356 static PyObject
*_wrap_PyTextShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30357 PyObject
*resultobj
;
30358 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30362 int arg5
= (int) 0 ;
30363 int arg6
= (int) 0 ;
30364 PyObject
* obj0
= 0 ;
30365 PyObject
* obj1
= 0 ;
30366 PyObject
* obj2
= 0 ;
30367 PyObject
* obj3
= 0 ;
30368 PyObject
* obj4
= 0 ;
30369 PyObject
* obj5
= 0 ;
30370 char *kwnames
[] = {
30371 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30377 arg2
= (bool) SWIG_AsBool(obj1
);
30378 if (PyErr_Occurred()) SWIG_fail
;
30379 arg3
= (double) SWIG_AsDouble(obj2
);
30380 if (PyErr_Occurred()) SWIG_fail
;
30381 arg4
= (double) SWIG_AsDouble(obj3
);
30382 if (PyErr_Occurred()) SWIG_fail
;
30384 arg5
= (int) SWIG_AsInt(obj4
);
30385 if (PyErr_Occurred()) SWIG_fail
;
30388 arg6
= (int) SWIG_AsInt(obj5
);
30389 if (PyErr_Occurred()) SWIG_fail
;
30392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30393 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
30395 wxPyEndAllowThreads(__tstate
);
30396 if (PyErr_Occurred()) SWIG_fail
;
30398 Py_INCREF(Py_None
); resultobj
= Py_None
;
30405 static PyObject
*_wrap_PyTextShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30406 PyObject
*resultobj
;
30407 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30410 int arg4
= (int) 0 ;
30411 int arg5
= (int) 0 ;
30412 PyObject
* obj0
= 0 ;
30413 PyObject
* obj1
= 0 ;
30414 PyObject
* obj2
= 0 ;
30415 PyObject
* obj3
= 0 ;
30416 PyObject
* obj4
= 0 ;
30417 char *kwnames
[] = {
30418 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30424 arg2
= (double) SWIG_AsDouble(obj1
);
30425 if (PyErr_Occurred()) SWIG_fail
;
30426 arg3
= (double) SWIG_AsDouble(obj2
);
30427 if (PyErr_Occurred()) SWIG_fail
;
30429 arg4
= (int) SWIG_AsInt(obj3
);
30430 if (PyErr_Occurred()) SWIG_fail
;
30433 arg5
= (int) SWIG_AsInt(obj4
);
30434 if (PyErr_Occurred()) SWIG_fail
;
30437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30438 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
30440 wxPyEndAllowThreads(__tstate
);
30441 if (PyErr_Occurred()) SWIG_fail
;
30443 Py_INCREF(Py_None
); resultobj
= Py_None
;
30450 static PyObject
*_wrap_PyTextShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30451 PyObject
*resultobj
;
30452 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30455 int arg4
= (int) 0 ;
30456 int arg5
= (int) 0 ;
30457 PyObject
* obj0
= 0 ;
30458 PyObject
* obj1
= 0 ;
30459 PyObject
* obj2
= 0 ;
30460 PyObject
* obj3
= 0 ;
30461 PyObject
* obj4
= 0 ;
30462 char *kwnames
[] = {
30463 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30469 arg2
= (double) SWIG_AsDouble(obj1
);
30470 if (PyErr_Occurred()) SWIG_fail
;
30471 arg3
= (double) SWIG_AsDouble(obj2
);
30472 if (PyErr_Occurred()) SWIG_fail
;
30474 arg4
= (int) SWIG_AsInt(obj3
);
30475 if (PyErr_Occurred()) SWIG_fail
;
30478 arg5
= (int) SWIG_AsInt(obj4
);
30479 if (PyErr_Occurred()) SWIG_fail
;
30482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30483 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
30485 wxPyEndAllowThreads(__tstate
);
30486 if (PyErr_Occurred()) SWIG_fail
;
30488 Py_INCREF(Py_None
); resultobj
= Py_None
;
30495 static PyObject
*_wrap_PyTextShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30496 PyObject
*resultobj
;
30497 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30503 PyObject
* obj0
= 0 ;
30504 PyObject
* obj1
= 0 ;
30505 PyObject
* obj2
= 0 ;
30506 PyObject
* obj3
= 0 ;
30507 PyObject
* obj4
= 0 ;
30508 PyObject
* obj5
= 0 ;
30509 char *kwnames
[] = {
30510 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyTextShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30519 if (arg2
== NULL
) {
30520 PyErr_SetString(PyExc_TypeError
,"null reference");
30523 arg3
= (double) SWIG_AsDouble(obj2
);
30524 if (PyErr_Occurred()) SWIG_fail
;
30525 arg4
= (double) SWIG_AsDouble(obj3
);
30526 if (PyErr_Occurred()) SWIG_fail
;
30527 arg5
= (double) SWIG_AsDouble(obj4
);
30528 if (PyErr_Occurred()) SWIG_fail
;
30529 arg6
= (double) SWIG_AsDouble(obj5
);
30530 if (PyErr_Occurred()) SWIG_fail
;
30532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30533 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
30535 wxPyEndAllowThreads(__tstate
);
30536 if (PyErr_Occurred()) SWIG_fail
;
30538 Py_INCREF(Py_None
); resultobj
= Py_None
;
30545 static PyObject
*_wrap_PyTextShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30546 PyObject
*resultobj
;
30547 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30549 PyObject
* obj0
= 0 ;
30550 PyObject
* obj1
= 0 ;
30551 char *kwnames
[] = {
30552 (char *) "self",(char *) "dc", NULL
30555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
30556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30561 if (arg2
== NULL
) {
30562 PyErr_SetString(PyExc_TypeError
,"null reference");
30566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30567 (arg1
)->base_OnDrawControlPoints(*arg2
);
30569 wxPyEndAllowThreads(__tstate
);
30570 if (PyErr_Occurred()) SWIG_fail
;
30572 Py_INCREF(Py_None
); resultobj
= Py_None
;
30579 static PyObject
*_wrap_PyTextShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30580 PyObject
*resultobj
;
30581 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30583 PyObject
* obj0
= 0 ;
30584 PyObject
* obj1
= 0 ;
30585 char *kwnames
[] = {
30586 (char *) "self",(char *) "dc", NULL
30589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
30590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30593 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30595 if (arg2
== NULL
) {
30596 PyErr_SetString(PyExc_TypeError
,"null reference");
30600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30601 (arg1
)->base_OnEraseControlPoints(*arg2
);
30603 wxPyEndAllowThreads(__tstate
);
30604 if (PyErr_Occurred()) SWIG_fail
;
30606 Py_INCREF(Py_None
); resultobj
= Py_None
;
30613 static PyObject
*_wrap_PyTextShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30614 PyObject
*resultobj
;
30615 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30617 bool arg3
= (bool) True
;
30618 PyObject
* obj0
= 0 ;
30619 PyObject
* obj1
= 0 ;
30620 PyObject
* obj2
= 0 ;
30621 char *kwnames
[] = {
30622 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
30625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30631 if (arg2
== NULL
) {
30632 PyErr_SetString(PyExc_TypeError
,"null reference");
30636 arg3
= (bool) SWIG_AsBool(obj2
);
30637 if (PyErr_Occurred()) SWIG_fail
;
30640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30641 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
30643 wxPyEndAllowThreads(__tstate
);
30644 if (PyErr_Occurred()) SWIG_fail
;
30646 Py_INCREF(Py_None
); resultobj
= Py_None
;
30653 static PyObject
*_wrap_PyTextShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30654 PyObject
*resultobj
;
30655 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30656 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30660 int arg6
= (int) 0 ;
30661 int arg7
= (int) 0 ;
30662 PyObject
* obj0
= 0 ;
30663 PyObject
* obj1
= 0 ;
30664 PyObject
* obj2
= 0 ;
30665 PyObject
* obj3
= 0 ;
30666 PyObject
* obj4
= 0 ;
30667 PyObject
* obj5
= 0 ;
30668 PyObject
* obj6
= 0 ;
30669 char *kwnames
[] = {
30670 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyTextShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30678 arg3
= (bool) SWIG_AsBool(obj2
);
30679 if (PyErr_Occurred()) SWIG_fail
;
30680 arg4
= (double) SWIG_AsDouble(obj3
);
30681 if (PyErr_Occurred()) SWIG_fail
;
30682 arg5
= (double) SWIG_AsDouble(obj4
);
30683 if (PyErr_Occurred()) SWIG_fail
;
30685 arg6
= (int) SWIG_AsInt(obj5
);
30686 if (PyErr_Occurred()) SWIG_fail
;
30689 arg7
= (int) SWIG_AsInt(obj6
);
30690 if (PyErr_Occurred()) SWIG_fail
;
30693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30694 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30696 wxPyEndAllowThreads(__tstate
);
30697 if (PyErr_Occurred()) SWIG_fail
;
30699 Py_INCREF(Py_None
); resultobj
= Py_None
;
30706 static PyObject
*_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30707 PyObject
*resultobj
;
30708 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30709 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30712 int arg5
= (int) 0 ;
30713 int arg6
= (int) 0 ;
30714 PyObject
* obj0
= 0 ;
30715 PyObject
* obj1
= 0 ;
30716 PyObject
* obj2
= 0 ;
30717 PyObject
* obj3
= 0 ;
30718 PyObject
* obj4
= 0 ;
30719 PyObject
* obj5
= 0 ;
30720 char *kwnames
[] = {
30721 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30729 arg3
= (double) SWIG_AsDouble(obj2
);
30730 if (PyErr_Occurred()) SWIG_fail
;
30731 arg4
= (double) SWIG_AsDouble(obj3
);
30732 if (PyErr_Occurred()) SWIG_fail
;
30734 arg5
= (int) SWIG_AsInt(obj4
);
30735 if (PyErr_Occurred()) SWIG_fail
;
30738 arg6
= (int) SWIG_AsInt(obj5
);
30739 if (PyErr_Occurred()) SWIG_fail
;
30742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30743 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30745 wxPyEndAllowThreads(__tstate
);
30746 if (PyErr_Occurred()) SWIG_fail
;
30748 Py_INCREF(Py_None
); resultobj
= Py_None
;
30755 static PyObject
*_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30756 PyObject
*resultobj
;
30757 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30758 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30761 int arg5
= (int) 0 ;
30762 int arg6
= (int) 0 ;
30763 PyObject
* obj0
= 0 ;
30764 PyObject
* obj1
= 0 ;
30765 PyObject
* obj2
= 0 ;
30766 PyObject
* obj3
= 0 ;
30767 PyObject
* obj4
= 0 ;
30768 PyObject
* obj5
= 0 ;
30769 char *kwnames
[] = {
30770 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30778 arg3
= (double) SWIG_AsDouble(obj2
);
30779 if (PyErr_Occurred()) SWIG_fail
;
30780 arg4
= (double) SWIG_AsDouble(obj3
);
30781 if (PyErr_Occurred()) SWIG_fail
;
30783 arg5
= (int) SWIG_AsInt(obj4
);
30784 if (PyErr_Occurred()) SWIG_fail
;
30787 arg6
= (int) SWIG_AsInt(obj5
);
30788 if (PyErr_Occurred()) SWIG_fail
;
30791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30792 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30794 wxPyEndAllowThreads(__tstate
);
30795 if (PyErr_Occurred()) SWIG_fail
;
30797 Py_INCREF(Py_None
); resultobj
= Py_None
;
30804 static PyObject
*_wrap_PyTextShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30805 PyObject
*resultobj
;
30806 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30809 PyObject
* obj0
= 0 ;
30810 PyObject
* obj1
= 0 ;
30811 PyObject
* obj2
= 0 ;
30812 char *kwnames
[] = {
30813 (char *) "self",(char *) "w",(char *) "h", NULL
30816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30819 arg2
= (double) SWIG_AsDouble(obj1
);
30820 if (PyErr_Occurred()) SWIG_fail
;
30821 arg3
= (double) SWIG_AsDouble(obj2
);
30822 if (PyErr_Occurred()) SWIG_fail
;
30824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30825 (arg1
)->base_OnBeginSize(arg2
,arg3
);
30827 wxPyEndAllowThreads(__tstate
);
30828 if (PyErr_Occurred()) SWIG_fail
;
30830 Py_INCREF(Py_None
); resultobj
= Py_None
;
30837 static PyObject
*_wrap_PyTextShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30838 PyObject
*resultobj
;
30839 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30842 PyObject
* obj0
= 0 ;
30843 PyObject
* obj1
= 0 ;
30844 PyObject
* obj2
= 0 ;
30845 char *kwnames
[] = {
30846 (char *) "self",(char *) "w",(char *) "h", NULL
30849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30852 arg2
= (double) SWIG_AsDouble(obj1
);
30853 if (PyErr_Occurred()) SWIG_fail
;
30854 arg3
= (double) SWIG_AsDouble(obj2
);
30855 if (PyErr_Occurred()) SWIG_fail
;
30857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30858 (arg1
)->base_OnEndSize(arg2
,arg3
);
30860 wxPyEndAllowThreads(__tstate
);
30861 if (PyErr_Occurred()) SWIG_fail
;
30863 Py_INCREF(Py_None
); resultobj
= Py_None
;
30870 static PyObject
* PyTextShape_swigregister(PyObject
*self
, PyObject
*args
) {
30872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30873 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape
, obj
);
30875 return Py_BuildValue((char *)"");
30877 static PyObject
*_wrap_new_Diagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30878 PyObject
*resultobj
;
30880 char *kwnames
[] = {
30884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Diagram",kwnames
)) goto fail
;
30886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30887 result
= (wxDiagram
*)new wxDiagram();
30889 wxPyEndAllowThreads(__tstate
);
30890 if (PyErr_Occurred()) SWIG_fail
;
30893 resultobj
= wxPyMake_wxObject(result
);
30901 static PyObject
*_wrap_Diagram_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30902 PyObject
*resultobj
;
30903 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30904 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
30905 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
30906 PyObject
* obj0
= 0 ;
30907 PyObject
* obj1
= 0 ;
30908 PyObject
* obj2
= 0 ;
30909 char *kwnames
[] = {
30910 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
30913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Diagram_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
30915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
30917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30919 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
30920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30924 (arg1
)->AddShape(arg2
,arg3
);
30926 wxPyEndAllowThreads(__tstate
);
30927 if (PyErr_Occurred()) SWIG_fail
;
30929 Py_INCREF(Py_None
); resultobj
= Py_None
;
30936 static PyObject
*_wrap_Diagram_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30937 PyObject
*resultobj
;
30938 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30940 PyObject
* obj0
= 0 ;
30941 PyObject
* obj1
= 0 ;
30942 char *kwnames
[] = {
30943 (char *) "self",(char *) "dc", NULL
30946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
30947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
30948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30950 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30952 if (arg2
== NULL
) {
30953 PyErr_SetString(PyExc_TypeError
,"null reference");
30957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30958 (arg1
)->Clear(*arg2
);
30960 wxPyEndAllowThreads(__tstate
);
30961 if (PyErr_Occurred()) SWIG_fail
;
30963 Py_INCREF(Py_None
); resultobj
= Py_None
;
30970 static PyObject
*_wrap_Diagram_DeleteAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30971 PyObject
*resultobj
;
30972 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30973 PyObject
* obj0
= 0 ;
30974 char *kwnames
[] = {
30975 (char *) "self", NULL
30978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_DeleteAllShapes",kwnames
,&obj0
)) goto fail
;
30979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
30980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30983 (arg1
)->DeleteAllShapes();
30985 wxPyEndAllowThreads(__tstate
);
30986 if (PyErr_Occurred()) SWIG_fail
;
30988 Py_INCREF(Py_None
); resultobj
= Py_None
;
30995 static PyObject
*_wrap_Diagram_DrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30996 PyObject
*resultobj
;
30997 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31003 PyObject
* obj0
= 0 ;
31004 PyObject
* obj1
= 0 ;
31005 PyObject
* obj2
= 0 ;
31006 PyObject
* obj3
= 0 ;
31007 PyObject
* obj4
= 0 ;
31008 PyObject
* obj5
= 0 ;
31009 char *kwnames
[] = {
31010 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Diagram_DrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31017 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31019 if (arg2
== NULL
) {
31020 PyErr_SetString(PyExc_TypeError
,"null reference");
31023 arg3
= (double) SWIG_AsDouble(obj2
);
31024 if (PyErr_Occurred()) SWIG_fail
;
31025 arg4
= (double) SWIG_AsDouble(obj3
);
31026 if (PyErr_Occurred()) SWIG_fail
;
31027 arg5
= (double) SWIG_AsDouble(obj4
);
31028 if (PyErr_Occurred()) SWIG_fail
;
31029 arg6
= (double) SWIG_AsDouble(obj5
);
31030 if (PyErr_Occurred()) SWIG_fail
;
31032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31033 (arg1
)->DrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
31035 wxPyEndAllowThreads(__tstate
);
31036 if (PyErr_Occurred()) SWIG_fail
;
31038 Py_INCREF(Py_None
); resultobj
= Py_None
;
31045 static PyObject
*_wrap_Diagram_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31046 PyObject
*resultobj
;
31047 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31050 PyObject
* obj0
= 0 ;
31051 PyObject
* obj1
= 0 ;
31052 char *kwnames
[] = {
31053 (char *) "self",(char *) "id", NULL
31056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_FindShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31059 arg2
= (long) SWIG_AsLong(obj1
);
31060 if (PyErr_Occurred()) SWIG_fail
;
31062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31063 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
);
31065 wxPyEndAllowThreads(__tstate
);
31066 if (PyErr_Occurred()) SWIG_fail
;
31069 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
31077 static PyObject
*_wrap_Diagram_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31078 PyObject
*resultobj
;
31079 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31080 wxPyShapeCanvas
*result
;
31081 PyObject
* obj0
= 0 ;
31082 char *kwnames
[] = {
31083 (char *) "self", NULL
31086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCanvas",kwnames
,&obj0
)) goto fail
;
31087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31091 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
31093 wxPyEndAllowThreads(__tstate
);
31094 if (PyErr_Occurred()) SWIG_fail
;
31097 resultobj
= wxPyMake_wxObject(result
);
31105 static PyObject
*_wrap_Diagram_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31106 PyObject
*resultobj
;
31107 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31109 PyObject
* obj0
= 0 ;
31110 char *kwnames
[] = {
31111 (char *) "self", NULL
31114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCount",kwnames
,&obj0
)) goto fail
;
31115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31119 result
= (int)(arg1
)->GetCount();
31121 wxPyEndAllowThreads(__tstate
);
31122 if (PyErr_Occurred()) SWIG_fail
;
31124 resultobj
= SWIG_FromInt((int)result
);
31131 static PyObject
*_wrap_Diagram_GetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31132 PyObject
*resultobj
;
31133 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31135 PyObject
* obj0
= 0 ;
31136 char *kwnames
[] = {
31137 (char *) "self", NULL
31140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetGridSpacing",kwnames
,&obj0
)) goto fail
;
31141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31145 result
= (double)(arg1
)->GetGridSpacing();
31147 wxPyEndAllowThreads(__tstate
);
31148 if (PyErr_Occurred()) SWIG_fail
;
31150 resultobj
= SWIG_FromDouble((double)result
);
31157 static PyObject
*_wrap_Diagram_GetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31158 PyObject
*resultobj
;
31159 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31161 PyObject
* obj0
= 0 ;
31162 char *kwnames
[] = {
31163 (char *) "self", NULL
31166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetMouseTolerance",kwnames
,&obj0
)) goto fail
;
31167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31171 result
= (int)(arg1
)->GetMouseTolerance();
31173 wxPyEndAllowThreads(__tstate
);
31174 if (PyErr_Occurred()) SWIG_fail
;
31176 resultobj
= SWIG_FromInt((int)result
);
31183 static PyObject
*_wrap_Diagram_GetShapeList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31184 PyObject
*resultobj
;
31185 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31187 PyObject
* obj0
= 0 ;
31188 char *kwnames
[] = {
31189 (char *) "self", NULL
31192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetShapeList",kwnames
,&obj0
)) goto fail
;
31193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31197 result
= (PyObject
*)wxDiagram_GetShapeList(arg1
);
31199 wxPyEndAllowThreads(__tstate
);
31200 if (PyErr_Occurred()) SWIG_fail
;
31202 resultobj
= result
;
31209 static PyObject
*_wrap_Diagram_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31210 PyObject
*resultobj
;
31211 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31213 PyObject
* obj0
= 0 ;
31214 char *kwnames
[] = {
31215 (char *) "self", NULL
31218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
31219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31223 result
= (bool)(arg1
)->GetQuickEditMode();
31225 wxPyEndAllowThreads(__tstate
);
31226 if (PyErr_Occurred()) SWIG_fail
;
31229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31237 static PyObject
*_wrap_Diagram_GetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31238 PyObject
*resultobj
;
31239 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31241 PyObject
* obj0
= 0 ;
31242 char *kwnames
[] = {
31243 (char *) "self", NULL
31246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetSnapToGrid",kwnames
,&obj0
)) goto fail
;
31247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31251 result
= (bool)(arg1
)->GetSnapToGrid();
31253 wxPyEndAllowThreads(__tstate
);
31254 if (PyErr_Occurred()) SWIG_fail
;
31257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31265 static PyObject
*_wrap_Diagram_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31266 PyObject
*resultobj
;
31267 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31268 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31269 PyObject
* obj0
= 0 ;
31270 PyObject
* obj1
= 0 ;
31271 char *kwnames
[] = {
31272 (char *) "self",(char *) "shape", NULL
31275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31282 (arg1
)->InsertShape(arg2
);
31284 wxPyEndAllowThreads(__tstate
);
31285 if (PyErr_Occurred()) SWIG_fail
;
31287 Py_INCREF(Py_None
); resultobj
= Py_None
;
31294 static PyObject
*_wrap_Diagram_RecentreAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31295 PyObject
*resultobj
;
31296 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31298 PyObject
* obj0
= 0 ;
31299 PyObject
* obj1
= 0 ;
31300 char *kwnames
[] = {
31301 (char *) "self",(char *) "dc", NULL
31304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RecentreAll",kwnames
,&obj0
,&obj1
)) goto fail
;
31305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31308 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31310 if (arg2
== NULL
) {
31311 PyErr_SetString(PyExc_TypeError
,"null reference");
31315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31316 (arg1
)->RecentreAll(*arg2
);
31318 wxPyEndAllowThreads(__tstate
);
31319 if (PyErr_Occurred()) SWIG_fail
;
31321 Py_INCREF(Py_None
); resultobj
= Py_None
;
31328 static PyObject
*_wrap_Diagram_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31329 PyObject
*resultobj
;
31330 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31332 PyObject
* obj0
= 0 ;
31333 PyObject
* obj1
= 0 ;
31334 char *kwnames
[] = {
31335 (char *) "self",(char *) "dc", NULL
31338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
31339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31342 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31344 if (arg2
== NULL
) {
31345 PyErr_SetString(PyExc_TypeError
,"null reference");
31349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31350 (arg1
)->Redraw(*arg2
);
31352 wxPyEndAllowThreads(__tstate
);
31353 if (PyErr_Occurred()) SWIG_fail
;
31355 Py_INCREF(Py_None
); resultobj
= Py_None
;
31362 static PyObject
*_wrap_Diagram_RemoveAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31363 PyObject
*resultobj
;
31364 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31365 PyObject
* obj0
= 0 ;
31366 char *kwnames
[] = {
31367 (char *) "self", NULL
31370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_RemoveAllShapes",kwnames
,&obj0
)) goto fail
;
31371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31375 (arg1
)->RemoveAllShapes();
31377 wxPyEndAllowThreads(__tstate
);
31378 if (PyErr_Occurred()) SWIG_fail
;
31380 Py_INCREF(Py_None
); resultobj
= Py_None
;
31387 static PyObject
*_wrap_Diagram_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31388 PyObject
*resultobj
;
31389 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31390 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31391 PyObject
* obj0
= 0 ;
31392 PyObject
* obj1
= 0 ;
31393 char *kwnames
[] = {
31394 (char *) "self",(char *) "shape", NULL
31397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31404 (arg1
)->RemoveShape(arg2
);
31406 wxPyEndAllowThreads(__tstate
);
31407 if (PyErr_Occurred()) SWIG_fail
;
31409 Py_INCREF(Py_None
); resultobj
= Py_None
;
31416 static PyObject
*_wrap_Diagram_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31417 PyObject
*resultobj
;
31418 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31419 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
31420 PyObject
* obj0
= 0 ;
31421 PyObject
* obj1
= 0 ;
31422 char *kwnames
[] = {
31423 (char *) "self",(char *) "canvas", NULL
31426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
31427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
31430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31433 (arg1
)->SetCanvas(arg2
);
31435 wxPyEndAllowThreads(__tstate
);
31436 if (PyErr_Occurred()) SWIG_fail
;
31438 Py_INCREF(Py_None
); resultobj
= Py_None
;
31445 static PyObject
*_wrap_Diagram_SetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31446 PyObject
*resultobj
;
31447 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31449 PyObject
* obj0
= 0 ;
31450 PyObject
* obj1
= 0 ;
31451 char *kwnames
[] = {
31452 (char *) "self",(char *) "spacing", NULL
31455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetGridSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
31456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31458 arg2
= (double) SWIG_AsDouble(obj1
);
31459 if (PyErr_Occurred()) SWIG_fail
;
31461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31462 (arg1
)->SetGridSpacing(arg2
);
31464 wxPyEndAllowThreads(__tstate
);
31465 if (PyErr_Occurred()) SWIG_fail
;
31467 Py_INCREF(Py_None
); resultobj
= Py_None
;
31474 static PyObject
*_wrap_Diagram_SetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31475 PyObject
*resultobj
;
31476 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31478 PyObject
* obj0
= 0 ;
31479 PyObject
* obj1
= 0 ;
31480 char *kwnames
[] = {
31481 (char *) "self",(char *) "tolerance", NULL
31484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetMouseTolerance",kwnames
,&obj0
,&obj1
)) goto fail
;
31485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31487 arg2
= (int) SWIG_AsInt(obj1
);
31488 if (PyErr_Occurred()) SWIG_fail
;
31490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31491 (arg1
)->SetMouseTolerance(arg2
);
31493 wxPyEndAllowThreads(__tstate
);
31494 if (PyErr_Occurred()) SWIG_fail
;
31496 Py_INCREF(Py_None
); resultobj
= Py_None
;
31503 static PyObject
*_wrap_Diagram_SetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31504 PyObject
*resultobj
;
31505 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31507 PyObject
* obj0
= 0 ;
31508 PyObject
* obj1
= 0 ;
31509 char *kwnames
[] = {
31510 (char *) "self",(char *) "mode", NULL
31513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetQuickEditMode",kwnames
,&obj0
,&obj1
)) goto fail
;
31514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31516 arg2
= (bool) SWIG_AsBool(obj1
);
31517 if (PyErr_Occurred()) SWIG_fail
;
31519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31520 (arg1
)->SetQuickEditMode(arg2
);
31522 wxPyEndAllowThreads(__tstate
);
31523 if (PyErr_Occurred()) SWIG_fail
;
31525 Py_INCREF(Py_None
); resultobj
= Py_None
;
31532 static PyObject
*_wrap_Diagram_SetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31533 PyObject
*resultobj
;
31534 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31536 PyObject
* obj0
= 0 ;
31537 PyObject
* obj1
= 0 ;
31538 char *kwnames
[] = {
31539 (char *) "self",(char *) "snap", NULL
31542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetSnapToGrid",kwnames
,&obj0
,&obj1
)) goto fail
;
31543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31545 arg2
= (bool) SWIG_AsBool(obj1
);
31546 if (PyErr_Occurred()) SWIG_fail
;
31548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31549 (arg1
)->SetSnapToGrid(arg2
);
31551 wxPyEndAllowThreads(__tstate
);
31552 if (PyErr_Occurred()) SWIG_fail
;
31554 Py_INCREF(Py_None
); resultobj
= Py_None
;
31561 static PyObject
*_wrap_Diagram_ShowAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31562 PyObject
*resultobj
;
31563 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31565 PyObject
* obj0
= 0 ;
31566 PyObject
* obj1
= 0 ;
31567 char *kwnames
[] = {
31568 (char *) "self",(char *) "show", NULL
31571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_ShowAll",kwnames
,&obj0
,&obj1
)) goto fail
;
31572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31574 arg2
= (bool) SWIG_AsBool(obj1
);
31575 if (PyErr_Occurred()) SWIG_fail
;
31577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31578 (arg1
)->ShowAll(arg2
);
31580 wxPyEndAllowThreads(__tstate
);
31581 if (PyErr_Occurred()) SWIG_fail
;
31583 Py_INCREF(Py_None
); resultobj
= Py_None
;
31590 static PyObject
*_wrap_Diagram_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31591 PyObject
*resultobj
;
31592 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31593 double *arg2
= (double *) 0 ;
31594 double *arg3
= (double *) 0 ;
31597 PyObject
* obj0
= 0 ;
31598 PyObject
* obj1
= 0 ;
31599 PyObject
* obj2
= 0 ;
31600 char *kwnames
[] = {
31601 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
31604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Diagram_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31608 temp2
= PyFloat_AsDouble(obj1
);
31609 if (PyErr_Occurred()) SWIG_fail
;
31613 temp3
= PyFloat_AsDouble(obj2
);
31614 if (PyErr_Occurred()) SWIG_fail
;
31618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31619 (arg1
)->Snap(arg2
,arg3
);
31621 wxPyEndAllowThreads(__tstate
);
31622 if (PyErr_Occurred()) SWIG_fail
;
31624 Py_INCREF(Py_None
); resultobj
= Py_None
;
31626 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
31627 resultobj
= t_output_helper(resultobj
,o
);
31630 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
31631 resultobj
= t_output_helper(resultobj
,o
);
31639 static PyObject
* Diagram_swigregister(PyObject
*self
, PyObject
*args
) {
31641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31642 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram
, obj
);
31644 return Py_BuildValue((char *)"");
31646 static PyObject
*_wrap_new_PyShapeCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31647 PyObject
*resultobj
;
31648 wxWindow
*arg1
= (wxWindow
*) NULL
;
31649 int arg2
= (int) -1 ;
31650 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31651 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31652 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31653 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31654 long arg5
= (long) wxBORDER
;
31655 wxString
const &arg6_defvalue
= wxPyShapeCanvasNameStr
;
31656 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
31657 wxPyShapeCanvas
*result
;
31660 bool temp6
= False
;
31661 PyObject
* obj0
= 0 ;
31662 PyObject
* obj1
= 0 ;
31663 PyObject
* obj2
= 0 ;
31664 PyObject
* obj3
= 0 ;
31665 PyObject
* obj4
= 0 ;
31666 PyObject
* obj5
= 0 ;
31667 char *kwnames
[] = {
31668 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_PyShapeCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
31674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31677 arg2
= (int) SWIG_AsInt(obj1
);
31678 if (PyErr_Occurred()) SWIG_fail
;
31683 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31689 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31693 arg5
= (long) SWIG_AsLong(obj4
);
31694 if (PyErr_Occurred()) SWIG_fail
;
31698 arg6
= wxString_in_helper(obj5
);
31699 if (arg6
== NULL
) SWIG_fail
;
31704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31705 result
= (wxPyShapeCanvas
*)new wxPyShapeCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
31707 wxPyEndAllowThreads(__tstate
);
31708 if (PyErr_Occurred()) SWIG_fail
;
31711 resultobj
= wxPyMake_wxObject(result
);
31727 static PyObject
*_wrap_PyShapeCanvas__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31728 PyObject
*resultobj
;
31729 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31730 PyObject
*arg2
= (PyObject
*) 0 ;
31731 PyObject
*arg3
= (PyObject
*) 0 ;
31732 PyObject
* obj0
= 0 ;
31733 PyObject
* obj1
= 0 ;
31734 PyObject
* obj2
= 0 ;
31735 char *kwnames
[] = {
31736 (char *) "self",(char *) "self",(char *) "_class", NULL
31739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31746 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31748 wxPyEndAllowThreads(__tstate
);
31749 if (PyErr_Occurred()) SWIG_fail
;
31751 Py_INCREF(Py_None
); resultobj
= Py_None
;
31758 static PyObject
*_wrap_PyShapeCanvas_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31759 PyObject
*resultobj
;
31760 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31761 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31762 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
31763 PyObject
* obj0
= 0 ;
31764 PyObject
* obj1
= 0 ;
31765 PyObject
* obj2
= 0 ;
31766 char *kwnames
[] = {
31767 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
31770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31776 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
31777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31781 (arg1
)->AddShape(arg2
,arg3
);
31783 wxPyEndAllowThreads(__tstate
);
31784 if (PyErr_Occurred()) SWIG_fail
;
31786 Py_INCREF(Py_None
); resultobj
= Py_None
;
31793 static PyObject
*_wrap_PyShapeCanvas_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31794 PyObject
*resultobj
;
31795 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31798 int *arg4
= (int *) 0 ;
31799 wxClassInfo
*arg5
= (wxClassInfo
*) NULL
;
31800 wxPyShape
*arg6
= (wxPyShape
*) NULL
;
31803 PyObject
* obj0
= 0 ;
31804 PyObject
* obj1
= 0 ;
31805 PyObject
* obj2
= 0 ;
31806 PyObject
* obj3
= 0 ;
31807 PyObject
* obj4
= 0 ;
31808 char *kwnames
[] = {
31809 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
31813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeCanvas_FindShape",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31816 arg2
= (double) SWIG_AsDouble(obj1
);
31817 if (PyErr_Occurred()) SWIG_fail
;
31818 arg3
= (double) SWIG_AsDouble(obj2
);
31819 if (PyErr_Occurred()) SWIG_fail
;
31821 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxClassInfo
,
31822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31825 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg6
),SWIGTYPE_p_wxPyShape
,
31826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31830 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
,arg3
,arg4
,arg5
,arg6
);
31832 wxPyEndAllowThreads(__tstate
);
31833 if (PyErr_Occurred()) SWIG_fail
;
31836 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
31839 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
31840 resultobj
= t_output_helper(resultobj
,o
);
31848 static PyObject
*_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31849 PyObject
*resultobj
;
31850 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31853 int *arg4
= (int *) 0 ;
31857 PyObject
* obj0
= 0 ;
31858 PyObject
* obj1
= 0 ;
31859 PyObject
* obj2
= 0 ;
31860 PyObject
* obj3
= 0 ;
31861 char *kwnames
[] = {
31862 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
31866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShapeCanvas_FindFirstSensitiveShape",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31869 arg2
= (double) SWIG_AsDouble(obj1
);
31870 if (PyErr_Occurred()) SWIG_fail
;
31871 arg3
= (double) SWIG_AsDouble(obj2
);
31872 if (PyErr_Occurred()) SWIG_fail
;
31873 arg5
= (int) SWIG_AsInt(obj3
);
31874 if (PyErr_Occurred()) SWIG_fail
;
31876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31877 result
= (wxPyShape
*)(arg1
)->FindFirstSensitiveShape(arg2
,arg3
,arg4
,arg5
);
31879 wxPyEndAllowThreads(__tstate
);
31880 if (PyErr_Occurred()) SWIG_fail
;
31883 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
31886 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
31887 resultobj
= t_output_helper(resultobj
,o
);
31895 static PyObject
*_wrap_PyShapeCanvas_GetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31896 PyObject
*resultobj
;
31897 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31899 PyObject
* obj0
= 0 ;
31900 char *kwnames
[] = {
31901 (char *) "self", NULL
31904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetDiagram",kwnames
,&obj0
)) goto fail
;
31905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31909 result
= (wxDiagram
*)(arg1
)->GetDiagram();
31911 wxPyEndAllowThreads(__tstate
);
31912 if (PyErr_Occurred()) SWIG_fail
;
31915 resultobj
= wxPyMake_wxObject(result
);
31923 static PyObject
*_wrap_PyShapeCanvas_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31924 PyObject
*resultobj
;
31925 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31927 PyObject
* obj0
= 0 ;
31928 char *kwnames
[] = {
31929 (char *) "self", NULL
31932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
31933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31937 result
= (bool)(arg1
)->GetQuickEditMode();
31939 wxPyEndAllowThreads(__tstate
);
31940 if (PyErr_Occurred()) SWIG_fail
;
31943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31951 static PyObject
*_wrap_PyShapeCanvas_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31952 PyObject
*resultobj
;
31953 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31954 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31955 PyObject
* obj0
= 0 ;
31956 PyObject
* obj1
= 0 ;
31957 char *kwnames
[] = {
31958 (char *) "self",(char *) "shape", NULL
31961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31968 (arg1
)->InsertShape(arg2
);
31970 wxPyEndAllowThreads(__tstate
);
31971 if (PyErr_Occurred()) SWIG_fail
;
31973 Py_INCREF(Py_None
); resultobj
= Py_None
;
31980 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31981 PyObject
*resultobj
;
31982 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31985 int arg4
= (int) 0 ;
31986 PyObject
* obj0
= 0 ;
31987 PyObject
* obj1
= 0 ;
31988 PyObject
* obj2
= 0 ;
31989 PyObject
* obj3
= 0 ;
31990 char *kwnames
[] = {
31991 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
31994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31997 arg2
= (double) SWIG_AsDouble(obj1
);
31998 if (PyErr_Occurred()) SWIG_fail
;
31999 arg3
= (double) SWIG_AsDouble(obj2
);
32000 if (PyErr_Occurred()) SWIG_fail
;
32002 arg4
= (int) SWIG_AsInt(obj3
);
32003 if (PyErr_Occurred()) SWIG_fail
;
32006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32007 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
);
32009 wxPyEndAllowThreads(__tstate
);
32010 if (PyErr_Occurred()) SWIG_fail
;
32012 Py_INCREF(Py_None
); resultobj
= Py_None
;
32019 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32020 PyObject
*resultobj
;
32021 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32024 int arg4
= (int) 0 ;
32025 PyObject
* obj0
= 0 ;
32026 PyObject
* obj1
= 0 ;
32027 PyObject
* obj2
= 0 ;
32028 PyObject
* obj3
= 0 ;
32029 char *kwnames
[] = {
32030 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32036 arg2
= (double) SWIG_AsDouble(obj1
);
32037 if (PyErr_Occurred()) SWIG_fail
;
32038 arg3
= (double) SWIG_AsDouble(obj2
);
32039 if (PyErr_Occurred()) SWIG_fail
;
32041 arg4
= (int) SWIG_AsInt(obj3
);
32042 if (PyErr_Occurred()) SWIG_fail
;
32045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32046 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
);
32048 wxPyEndAllowThreads(__tstate
);
32049 if (PyErr_Occurred()) SWIG_fail
;
32051 Py_INCREF(Py_None
); resultobj
= Py_None
;
32058 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32059 PyObject
*resultobj
;
32060 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32063 int arg4
= (int) 0 ;
32064 PyObject
* obj0
= 0 ;
32065 PyObject
* obj1
= 0 ;
32066 PyObject
* obj2
= 0 ;
32067 PyObject
* obj3
= 0 ;
32068 char *kwnames
[] = {
32069 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32075 arg2
= (double) SWIG_AsDouble(obj1
);
32076 if (PyErr_Occurred()) SWIG_fail
;
32077 arg3
= (double) SWIG_AsDouble(obj2
);
32078 if (PyErr_Occurred()) SWIG_fail
;
32080 arg4
= (int) SWIG_AsInt(obj3
);
32081 if (PyErr_Occurred()) SWIG_fail
;
32084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32085 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
);
32087 wxPyEndAllowThreads(__tstate
);
32088 if (PyErr_Occurred()) SWIG_fail
;
32090 Py_INCREF(Py_None
); resultobj
= Py_None
;
32097 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32098 PyObject
*resultobj
;
32099 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32102 int arg4
= (int) 0 ;
32103 PyObject
* obj0
= 0 ;
32104 PyObject
* obj1
= 0 ;
32105 PyObject
* obj2
= 0 ;
32106 PyObject
* obj3
= 0 ;
32107 char *kwnames
[] = {
32108 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32114 arg2
= (double) SWIG_AsDouble(obj1
);
32115 if (PyErr_Occurred()) SWIG_fail
;
32116 arg3
= (double) SWIG_AsDouble(obj2
);
32117 if (PyErr_Occurred()) SWIG_fail
;
32119 arg4
= (int) SWIG_AsInt(obj3
);
32120 if (PyErr_Occurred()) SWIG_fail
;
32123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32124 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
);
32126 wxPyEndAllowThreads(__tstate
);
32127 if (PyErr_Occurred()) SWIG_fail
;
32129 Py_INCREF(Py_None
); resultobj
= Py_None
;
32136 static PyObject
*_wrap_PyShapeCanvas_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32137 PyObject
*resultobj
;
32138 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32142 int arg5
= (int) 0 ;
32143 PyObject
* obj0
= 0 ;
32144 PyObject
* obj1
= 0 ;
32145 PyObject
* obj2
= 0 ;
32146 PyObject
* obj3
= 0 ;
32147 PyObject
* obj4
= 0 ;
32148 char *kwnames
[] = {
32149 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShapeCanvas_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32155 arg2
= (bool) SWIG_AsBool(obj1
);
32156 if (PyErr_Occurred()) SWIG_fail
;
32157 arg3
= (double) SWIG_AsDouble(obj2
);
32158 if (PyErr_Occurred()) SWIG_fail
;
32159 arg4
= (double) SWIG_AsDouble(obj3
);
32160 if (PyErr_Occurred()) SWIG_fail
;
32162 arg5
= (int) SWIG_AsInt(obj4
);
32163 if (PyErr_Occurred()) SWIG_fail
;
32166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32167 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
);
32169 wxPyEndAllowThreads(__tstate
);
32170 if (PyErr_Occurred()) SWIG_fail
;
32172 Py_INCREF(Py_None
); resultobj
= Py_None
;
32179 static PyObject
*_wrap_PyShapeCanvas_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32180 PyObject
*resultobj
;
32181 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32185 int arg5
= (int) 0 ;
32186 PyObject
* obj0
= 0 ;
32187 PyObject
* obj1
= 0 ;
32188 PyObject
* obj2
= 0 ;
32189 PyObject
* obj3
= 0 ;
32190 PyObject
* obj4
= 0 ;
32191 char *kwnames
[] = {
32192 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShapeCanvas_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32198 arg2
= (bool) SWIG_AsBool(obj1
);
32199 if (PyErr_Occurred()) SWIG_fail
;
32200 arg3
= (double) SWIG_AsDouble(obj2
);
32201 if (PyErr_Occurred()) SWIG_fail
;
32202 arg4
= (double) SWIG_AsDouble(obj3
);
32203 if (PyErr_Occurred()) SWIG_fail
;
32205 arg5
= (int) SWIG_AsInt(obj4
);
32206 if (PyErr_Occurred()) SWIG_fail
;
32209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32210 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
);
32212 wxPyEndAllowThreads(__tstate
);
32213 if (PyErr_Occurred()) SWIG_fail
;
32215 Py_INCREF(Py_None
); resultobj
= Py_None
;
32222 static PyObject
*_wrap_PyShapeCanvas_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32223 PyObject
*resultobj
;
32224 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32227 int arg4
= (int) 0 ;
32228 PyObject
* obj0
= 0 ;
32229 PyObject
* obj1
= 0 ;
32230 PyObject
* obj2
= 0 ;
32231 PyObject
* obj3
= 0 ;
32232 char *kwnames
[] = {
32233 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32239 arg2
= (double) SWIG_AsDouble(obj1
);
32240 if (PyErr_Occurred()) SWIG_fail
;
32241 arg3
= (double) SWIG_AsDouble(obj2
);
32242 if (PyErr_Occurred()) SWIG_fail
;
32244 arg4
= (int) SWIG_AsInt(obj3
);
32245 if (PyErr_Occurred()) SWIG_fail
;
32248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32249 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
);
32251 wxPyEndAllowThreads(__tstate
);
32252 if (PyErr_Occurred()) SWIG_fail
;
32254 Py_INCREF(Py_None
); resultobj
= Py_None
;
32261 static PyObject
*_wrap_PyShapeCanvas_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32262 PyObject
*resultobj
;
32263 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32266 int arg4
= (int) 0 ;
32267 PyObject
* obj0
= 0 ;
32268 PyObject
* obj1
= 0 ;
32269 PyObject
* obj2
= 0 ;
32270 PyObject
* obj3
= 0 ;
32271 char *kwnames
[] = {
32272 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32278 arg2
= (double) SWIG_AsDouble(obj1
);
32279 if (PyErr_Occurred()) SWIG_fail
;
32280 arg3
= (double) SWIG_AsDouble(obj2
);
32281 if (PyErr_Occurred()) SWIG_fail
;
32283 arg4
= (int) SWIG_AsInt(obj3
);
32284 if (PyErr_Occurred()) SWIG_fail
;
32287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32288 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
);
32290 wxPyEndAllowThreads(__tstate
);
32291 if (PyErr_Occurred()) SWIG_fail
;
32293 Py_INCREF(Py_None
); resultobj
= Py_None
;
32300 static PyObject
*_wrap_PyShapeCanvas_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32301 PyObject
*resultobj
;
32302 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32304 PyObject
* obj0
= 0 ;
32305 PyObject
* obj1
= 0 ;
32306 char *kwnames
[] = {
32307 (char *) "self",(char *) "dc", NULL
32310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
32311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
32314 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32316 if (arg2
== NULL
) {
32317 PyErr_SetString(PyExc_TypeError
,"null reference");
32321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32322 (arg1
)->Redraw(*arg2
);
32324 wxPyEndAllowThreads(__tstate
);
32325 if (PyErr_Occurred()) SWIG_fail
;
32327 Py_INCREF(Py_None
); resultobj
= Py_None
;
32334 static PyObject
*_wrap_PyShapeCanvas_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32335 PyObject
*resultobj
;
32336 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32337 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
32338 PyObject
* obj0
= 0 ;
32339 PyObject
* obj1
= 0 ;
32340 char *kwnames
[] = {
32341 (char *) "self",(char *) "shape", NULL
32344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
32345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
32348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32351 (arg1
)->RemoveShape(arg2
);
32353 wxPyEndAllowThreads(__tstate
);
32354 if (PyErr_Occurred()) SWIG_fail
;
32356 Py_INCREF(Py_None
); resultobj
= Py_None
;
32363 static PyObject
*_wrap_PyShapeCanvas_SetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32364 PyObject
*resultobj
;
32365 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32366 wxDiagram
*arg2
= (wxDiagram
*) 0 ;
32367 PyObject
* obj0
= 0 ;
32368 PyObject
* obj1
= 0 ;
32369 char *kwnames
[] = {
32370 (char *) "self",(char *) "diagram", NULL
32373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames
,&obj0
,&obj1
)) goto fail
;
32374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDiagram
,
32377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32380 (arg1
)->SetDiagram(arg2
);
32382 wxPyEndAllowThreads(__tstate
);
32383 if (PyErr_Occurred()) SWIG_fail
;
32385 Py_INCREF(Py_None
); resultobj
= Py_None
;
32392 static PyObject
*_wrap_PyShapeCanvas_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32393 PyObject
*resultobj
;
32394 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32395 double *arg2
= (double *) 0 ;
32396 double *arg3
= (double *) 0 ;
32399 PyObject
* obj0
= 0 ;
32400 PyObject
* obj1
= 0 ;
32401 PyObject
* obj2
= 0 ;
32402 char *kwnames
[] = {
32403 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
32406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32410 temp2
= PyFloat_AsDouble(obj1
);
32411 if (PyErr_Occurred()) SWIG_fail
;
32415 temp3
= PyFloat_AsDouble(obj2
);
32416 if (PyErr_Occurred()) SWIG_fail
;
32420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32421 (arg1
)->Snap(arg2
,arg3
);
32423 wxPyEndAllowThreads(__tstate
);
32424 if (PyErr_Occurred()) SWIG_fail
;
32426 Py_INCREF(Py_None
); resultobj
= Py_None
;
32428 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
32429 resultobj
= t_output_helper(resultobj
,o
);
32432 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
32433 resultobj
= t_output_helper(resultobj
,o
);
32441 static PyObject
* PyShapeCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
32443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32444 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas
, obj
);
32446 return Py_BuildValue((char *)"");
32448 static PyObject
*_wrap_OGLInitialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32449 PyObject
*resultobj
;
32450 char *kwnames
[] = {
32454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLInitialize",kwnames
)) goto fail
;
32456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32459 wxPyEndAllowThreads(__tstate
);
32460 if (PyErr_Occurred()) SWIG_fail
;
32462 Py_INCREF(Py_None
); resultobj
= Py_None
;
32469 static PyObject
*_wrap_OGLCleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32470 PyObject
*resultobj
;
32471 char *kwnames
[] = {
32475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLCleanUp",kwnames
)) goto fail
;
32477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32480 wxPyEndAllowThreads(__tstate
);
32481 if (PyErr_Occurred()) SWIG_fail
;
32483 Py_INCREF(Py_None
); resultobj
= Py_None
;
32490 static PyMethodDef SwigMethods
[] = {
32491 { (char *)"new_ShapeRegion", (PyCFunction
) _wrap_new_ShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
32492 { (char *)"ShapeRegion_SetText", (PyCFunction
) _wrap_ShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
32493 { (char *)"ShapeRegion_SetFont", (PyCFunction
) _wrap_ShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
32494 { (char *)"ShapeRegion_SetMinSize", (PyCFunction
) _wrap_ShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
32495 { (char *)"ShapeRegion_SetSize", (PyCFunction
) _wrap_ShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
32496 { (char *)"ShapeRegion_SetPosition", (PyCFunction
) _wrap_ShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32497 { (char *)"ShapeRegion_SetProportions", (PyCFunction
) _wrap_ShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
32498 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction
) _wrap_ShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
32499 { (char *)"ShapeRegion_SetName", (PyCFunction
) _wrap_ShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
32500 { (char *)"ShapeRegion_SetColour", (PyCFunction
) _wrap_ShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
32501 { (char *)"ShapeRegion_GetText", (PyCFunction
) _wrap_ShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
32502 { (char *)"ShapeRegion_GetFont", (PyCFunction
) _wrap_ShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
32503 { (char *)"ShapeRegion_GetMinSize", (PyCFunction
) _wrap_ShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
32504 { (char *)"ShapeRegion_GetProportion", (PyCFunction
) _wrap_ShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
32505 { (char *)"ShapeRegion_GetSize", (PyCFunction
) _wrap_ShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
32506 { (char *)"ShapeRegion_GetPosition", (PyCFunction
) _wrap_ShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32507 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction
) _wrap_ShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
32508 { (char *)"ShapeRegion_GetName", (PyCFunction
) _wrap_ShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
32509 { (char *)"ShapeRegion_GetColour", (PyCFunction
) _wrap_ShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
32510 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_ShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
32511 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction
) _wrap_ShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
32512 { (char *)"ShapeRegion_GetPenColour", (PyCFunction
) _wrap_ShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
32513 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction
) _wrap_ShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
32514 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction
) _wrap_ShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
32515 { (char *)"ShapeRegion_SetPenColour", (PyCFunction
) _wrap_ShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
32516 { (char *)"ShapeRegion_GetActualPen", (PyCFunction
) _wrap_ShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
32517 { (char *)"ShapeRegion_GetWidth", (PyCFunction
) _wrap_ShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
32518 { (char *)"ShapeRegion_GetHeight", (PyCFunction
) _wrap_ShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
32519 { (char *)"ShapeRegion_ClearText", (PyCFunction
) _wrap_ShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
32520 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister
, METH_VARARGS
},
32521 { (char *)"new_AttachmentPoint", (PyCFunction
) _wrap_new_AttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
32522 { (char *)"AttachmentPoint_m_id_set", (PyCFunction
) _wrap_AttachmentPoint_m_id_set
, METH_VARARGS
| METH_KEYWORDS
},
32523 { (char *)"AttachmentPoint_m_id_get", (PyCFunction
) _wrap_AttachmentPoint_m_id_get
, METH_VARARGS
| METH_KEYWORDS
},
32524 { (char *)"AttachmentPoint_m_x_set", (PyCFunction
) _wrap_AttachmentPoint_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
32525 { (char *)"AttachmentPoint_m_x_get", (PyCFunction
) _wrap_AttachmentPoint_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
32526 { (char *)"AttachmentPoint_m_y_set", (PyCFunction
) _wrap_AttachmentPoint_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
32527 { (char *)"AttachmentPoint_m_y_get", (PyCFunction
) _wrap_AttachmentPoint_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
32528 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister
, METH_VARARGS
},
32529 { (char *)"new_PyShapeEvtHandler", (PyCFunction
) _wrap_new_PyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
32530 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32531 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
32532 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
32533 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
32534 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
32535 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
32536 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_PyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
32537 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32538 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32539 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32540 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32541 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32542 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32543 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32544 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32545 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32546 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32547 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32548 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32549 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32550 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32551 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32552 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32553 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32554 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32555 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32556 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32557 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32558 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32559 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32560 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32561 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32562 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32563 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32564 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32565 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32566 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister
, METH_VARARGS
},
32567 { (char *)"new_PyShape", (PyCFunction
) _wrap_new_PyShape
, METH_VARARGS
| METH_KEYWORDS
},
32568 { (char *)"PyShape__setCallbackInfo", (PyCFunction
) _wrap_PyShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32569 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
32570 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
32571 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction
) _wrap_PyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
32572 { (char *)"PyShape_GetCanvas", (PyCFunction
) _wrap_PyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32573 { (char *)"PyShape_SetCanvas", (PyCFunction
) _wrap_PyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32574 { (char *)"PyShape_AddToCanvas", (PyCFunction
) _wrap_PyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32575 { (char *)"PyShape_InsertInCanvas", (PyCFunction
) _wrap_PyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32576 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction
) _wrap_PyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32577 { (char *)"PyShape_GetX", (PyCFunction
) _wrap_PyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
32578 { (char *)"PyShape_GetY", (PyCFunction
) _wrap_PyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
32579 { (char *)"PyShape_SetX", (PyCFunction
) _wrap_PyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
32580 { (char *)"PyShape_SetY", (PyCFunction
) _wrap_PyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
32581 { (char *)"PyShape_GetParent", (PyCFunction
) _wrap_PyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
32582 { (char *)"PyShape_SetParent", (PyCFunction
) _wrap_PyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
32583 { (char *)"PyShape_GetTopAncestor", (PyCFunction
) _wrap_PyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
32584 { (char *)"PyShape_GetChildren", (PyCFunction
) _wrap_PyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
32585 { (char *)"PyShape_Unlink", (PyCFunction
) _wrap_PyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
32586 { (char *)"PyShape_SetDrawHandles", (PyCFunction
) _wrap_PyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
32587 { (char *)"PyShape_GetDrawHandles", (PyCFunction
) _wrap_PyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
32588 { (char *)"PyShape_MakeControlPoints", (PyCFunction
) _wrap_PyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32589 { (char *)"PyShape_DeleteControlPoints", (PyCFunction
) _wrap_PyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32590 { (char *)"PyShape_ResetControlPoints", (PyCFunction
) _wrap_PyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32591 { (char *)"PyShape_GetEventHandler", (PyCFunction
) _wrap_PyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
32592 { (char *)"PyShape_SetEventHandler", (PyCFunction
) _wrap_PyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
32593 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32594 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32595 { (char *)"PyShape_Recompute", (PyCFunction
) _wrap_PyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
32596 { (char *)"PyShape_CalculateSize", (PyCFunction
) _wrap_PyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
32597 { (char *)"PyShape_Select", (PyCFunction
) _wrap_PyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
32598 { (char *)"PyShape_SetHighlight", (PyCFunction
) _wrap_PyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32599 { (char *)"PyShape_IsHighlighted", (PyCFunction
) _wrap_PyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
32600 { (char *)"PyShape_Selected", (PyCFunction
) _wrap_PyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
32601 { (char *)"PyShape_AncestorSelected", (PyCFunction
) _wrap_PyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
32602 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction
) _wrap_PyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
32603 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction
) _wrap_PyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
32604 { (char *)"PyShape_SetDraggable", (PyCFunction
) _wrap_PyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
32605 { (char *)"PyShape_SetFixedSize", (PyCFunction
) _wrap_PyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
32606 { (char *)"PyShape_GetFixedSize", (PyCFunction
) _wrap_PyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
32607 { (char *)"PyShape_GetFixedWidth", (PyCFunction
) _wrap_PyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
32608 { (char *)"PyShape_GetFixedHeight", (PyCFunction
) _wrap_PyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
32609 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction
) _wrap_PyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32610 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction
) _wrap_PyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32611 { (char *)"PyShape_SetShadowMode", (PyCFunction
) _wrap_PyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
32612 { (char *)"PyShape_GetShadowMode", (PyCFunction
) _wrap_PyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
32613 { (char *)"PyShape_HitTest", (PyCFunction
) _wrap_PyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
32614 { (char *)"PyShape_SetCentreResize", (PyCFunction
) _wrap_PyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
32615 { (char *)"PyShape_GetCentreResize", (PyCFunction
) _wrap_PyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
32616 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
32617 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
32618 { (char *)"PyShape_GetLines", (PyCFunction
) _wrap_PyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
32619 { (char *)"PyShape_SetDisableLabel", (PyCFunction
) _wrap_PyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
32620 { (char *)"PyShape_GetDisableLabel", (PyCFunction
) _wrap_PyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
32621 { (char *)"PyShape_SetAttachmentMode", (PyCFunction
) _wrap_PyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
32622 { (char *)"PyShape_GetAttachmentMode", (PyCFunction
) _wrap_PyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
32623 { (char *)"PyShape_SetId", (PyCFunction
) _wrap_PyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
32624 { (char *)"PyShape_GetId", (PyCFunction
) _wrap_PyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
32625 { (char *)"PyShape_SetPen", (PyCFunction
) _wrap_PyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
32626 { (char *)"PyShape_SetBrush", (PyCFunction
) _wrap_PyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
32627 { (char *)"PyShape_Show", (PyCFunction
) _wrap_PyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
32628 { (char *)"PyShape_IsShown", (PyCFunction
) _wrap_PyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
32629 { (char *)"PyShape_Move", (PyCFunction
) _wrap_PyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
32630 { (char *)"PyShape_Erase", (PyCFunction
) _wrap_PyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
32631 { (char *)"PyShape_EraseContents", (PyCFunction
) _wrap_PyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32632 { (char *)"PyShape_Draw", (PyCFunction
) _wrap_PyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
32633 { (char *)"PyShape_Flash", (PyCFunction
) _wrap_PyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
32634 { (char *)"PyShape_MoveLinks", (PyCFunction
) _wrap_PyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32635 { (char *)"PyShape_DrawContents", (PyCFunction
) _wrap_PyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32636 { (char *)"PyShape_SetSize", (PyCFunction
) _wrap_PyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
32637 { (char *)"PyShape_SetAttachmentSize", (PyCFunction
) _wrap_PyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
32638 { (char *)"PyShape_Attach", (PyCFunction
) _wrap_PyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
32639 { (char *)"PyShape_Detach", (PyCFunction
) _wrap_PyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
32640 { (char *)"PyShape_Constrain", (PyCFunction
) _wrap_PyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
32641 { (char *)"PyShape_AddLine", (PyCFunction
) _wrap_PyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
32642 { (char *)"PyShape_GetLinePosition", (PyCFunction
) _wrap_PyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
32643 { (char *)"PyShape_AddText", (PyCFunction
) _wrap_PyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
32644 { (char *)"PyShape_GetPen", (PyCFunction
) _wrap_PyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
32645 { (char *)"PyShape_GetBrush", (PyCFunction
) _wrap_PyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
32646 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_PyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
32647 { (char *)"PyShape_FormatText", (PyCFunction
) _wrap_PyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
32648 { (char *)"PyShape_SetFormatMode", (PyCFunction
) _wrap_PyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
32649 { (char *)"PyShape_GetFormatMode", (PyCFunction
) _wrap_PyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
32650 { (char *)"PyShape_SetFont", (PyCFunction
) _wrap_PyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
32651 { (char *)"PyShape_GetFont", (PyCFunction
) _wrap_PyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
32652 { (char *)"PyShape_SetTextColour", (PyCFunction
) _wrap_PyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32653 { (char *)"PyShape_GetTextColour", (PyCFunction
) _wrap_PyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32654 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_PyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
32655 { (char *)"PyShape_SetRegionName", (PyCFunction
) _wrap_PyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
32656 { (char *)"PyShape_GetRegionName", (PyCFunction
) _wrap_PyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
32657 { (char *)"PyShape_GetRegionId", (PyCFunction
) _wrap_PyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
32658 { (char *)"PyShape_NameRegions", (PyCFunction
) _wrap_PyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
32659 { (char *)"PyShape_GetRegions", (PyCFunction
) _wrap_PyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
32660 { (char *)"PyShape_AddRegion", (PyCFunction
) _wrap_PyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
32661 { (char *)"PyShape_ClearRegions", (PyCFunction
) _wrap_PyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
32662 { (char *)"PyShape_AssignNewIds", (PyCFunction
) _wrap_PyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
32663 { (char *)"PyShape_FindRegion", (PyCFunction
) _wrap_PyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
32664 { (char *)"PyShape_FindRegionNames", (PyCFunction
) _wrap_PyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
32665 { (char *)"PyShape_ClearText", (PyCFunction
) _wrap_PyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
32666 { (char *)"PyShape_RemoveLine", (PyCFunction
) _wrap_PyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
32667 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction
) _wrap_PyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
32668 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_PyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32669 { (char *)"PyShape_AttachmentIsValid", (PyCFunction
) _wrap_PyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
32670 { (char *)"PyShape_GetAttachments", (PyCFunction
) _wrap_PyShape_GetAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32671 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_PyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
32672 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_PyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
32673 { (char *)"PyShape_AttachmentSortTest", (PyCFunction
) _wrap_PyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
32674 { (char *)"PyShape_EraseLinks", (PyCFunction
) _wrap_PyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
32675 { (char *)"PyShape_DrawLinks", (PyCFunction
) _wrap_PyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
32676 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_PyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
32677 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_PyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
32678 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
32679 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
32680 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
32681 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_PyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
32682 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction
) _wrap_PyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
32683 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction
) _wrap_PyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
32684 { (char *)"PyShape_SetBranchStemLength", (PyCFunction
) _wrap_PyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
32685 { (char *)"PyShape_GetBranchStemLength", (PyCFunction
) _wrap_PyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
32686 { (char *)"PyShape_SetBranchSpacing", (PyCFunction
) _wrap_PyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
32687 { (char *)"PyShape_GetBranchSpacing", (PyCFunction
) _wrap_PyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
32688 { (char *)"PyShape_SetBranchStyle", (PyCFunction
) _wrap_PyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
32689 { (char *)"PyShape_GetBranchStyle", (PyCFunction
) _wrap_PyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
32690 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_PyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
32691 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_PyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
32692 { (char *)"PyShape_Draggable", (PyCFunction
) _wrap_PyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
32693 { (char *)"PyShape_HasDescendant", (PyCFunction
) _wrap_PyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
32694 { (char *)"PyShape_CreateNewCopy", (PyCFunction
) _wrap_PyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
32695 { (char *)"PyShape_Copy", (PyCFunction
) _wrap_PyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
32696 { (char *)"PyShape_CopyWithHandler", (PyCFunction
) _wrap_PyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
32697 { (char *)"PyShape_Rotate", (PyCFunction
) _wrap_PyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
32698 { (char *)"PyShape_GetRotation", (PyCFunction
) _wrap_PyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
32699 { (char *)"PyShape_SetRotation", (PyCFunction
) _wrap_PyShape_SetRotation
, METH_VARARGS
| METH_KEYWORDS
},
32700 { (char *)"PyShape_ClearAttachments", (PyCFunction
) _wrap_PyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32701 { (char *)"PyShape_Recentre", (PyCFunction
) _wrap_PyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
32702 { (char *)"PyShape_ClearPointList", (PyCFunction
) _wrap_PyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
32703 { (char *)"PyShape_GetBackgroundPen", (PyCFunction
) _wrap_PyShape_GetBackgroundPen
, METH_VARARGS
| METH_KEYWORDS
},
32704 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction
) _wrap_PyShape_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
},
32705 { (char *)"PyShape_base_OnDelete", (PyCFunction
) _wrap_PyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32706 { (char *)"PyShape_base_OnDraw", (PyCFunction
) _wrap_PyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32707 { (char *)"PyShape_base_OnDrawContents", (PyCFunction
) _wrap_PyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32708 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32709 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32710 { (char *)"PyShape_base_OnErase", (PyCFunction
) _wrap_PyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32711 { (char *)"PyShape_base_OnEraseContents", (PyCFunction
) _wrap_PyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32712 { (char *)"PyShape_base_OnHighlight", (PyCFunction
) _wrap_PyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32713 { (char *)"PyShape_base_OnLeftClick", (PyCFunction
) _wrap_PyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32714 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32715 { (char *)"PyShape_base_OnRightClick", (PyCFunction
) _wrap_PyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32716 { (char *)"PyShape_base_OnSize", (PyCFunction
) _wrap_PyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32717 { (char *)"PyShape_base_OnMovePre", (PyCFunction
) _wrap_PyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32718 { (char *)"PyShape_base_OnMovePost", (PyCFunction
) _wrap_PyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32719 { (char *)"PyShape_base_OnDragLeft", (PyCFunction
) _wrap_PyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32720 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32721 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32722 { (char *)"PyShape_base_OnDragRight", (PyCFunction
) _wrap_PyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32723 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32724 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32725 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32726 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32727 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32728 { (char *)"PyShape_base_OnMoveLink", (PyCFunction
) _wrap_PyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32729 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32730 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32731 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32732 { (char *)"PyShape_base_OnBeginSize", (PyCFunction
) _wrap_PyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32733 { (char *)"PyShape_base_OnEndSize", (PyCFunction
) _wrap_PyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32734 { (char *)"PyShape_swigregister", PyShape_swigregister
, METH_VARARGS
},
32735 { (char *)"new_PseudoMetaFile", (PyCFunction
) _wrap_new_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32736 { (char *)"delete_PseudoMetaFile", (PyCFunction
) _wrap_delete_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32737 { (char *)"PseudoMetaFile_Draw", (PyCFunction
) _wrap_PseudoMetaFile_Draw
, METH_VARARGS
| METH_KEYWORDS
},
32738 { (char *)"PseudoMetaFile_Clear", (PyCFunction
) _wrap_PseudoMetaFile_Clear
, METH_VARARGS
| METH_KEYWORDS
},
32739 { (char *)"PseudoMetaFile_Copy", (PyCFunction
) _wrap_PseudoMetaFile_Copy
, METH_VARARGS
| METH_KEYWORDS
},
32740 { (char *)"PseudoMetaFile_Scale", (PyCFunction
) _wrap_PseudoMetaFile_Scale
, METH_VARARGS
| METH_KEYWORDS
},
32741 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction
) _wrap_PseudoMetaFile_ScaleTo
, METH_VARARGS
| METH_KEYWORDS
},
32742 { (char *)"PseudoMetaFile_Translate", (PyCFunction
) _wrap_PseudoMetaFile_Translate
, METH_VARARGS
| METH_KEYWORDS
},
32743 { (char *)"PseudoMetaFile_Rotate", (PyCFunction
) _wrap_PseudoMetaFile_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
32744 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction
) _wrap_PseudoMetaFile_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32745 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction
) _wrap_PseudoMetaFile_GetBounds
, METH_VARARGS
| METH_KEYWORDS
},
32746 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction
) _wrap_PseudoMetaFile_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
32747 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_SetRotateable
, METH_VARARGS
| METH_KEYWORDS
},
32748 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_GetRotateable
, METH_VARARGS
| METH_KEYWORDS
},
32749 { (char *)"PseudoMetaFile_SetSize", (PyCFunction
) _wrap_PseudoMetaFile_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
32750 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetFillBrush
, METH_VARARGS
| METH_KEYWORDS
},
32751 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_GetFillBrush
, METH_VARARGS
| METH_KEYWORDS
},
32752 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
},
32753 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
},
32754 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
},
32755 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
},
32756 { (char *)"PseudoMetaFile_IsValid", (PyCFunction
) _wrap_PseudoMetaFile_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
32757 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction
) _wrap_PseudoMetaFile_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
32758 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
32759 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
32760 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
32761 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
32762 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
32763 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction
) _wrap_PseudoMetaFile_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
32764 { (char *)"PseudoMetaFile_DrawText", (PyCFunction
) _wrap_PseudoMetaFile_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
32765 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction
) _wrap_PseudoMetaFile_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
32766 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction
) _wrap_PseudoMetaFile_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
32767 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction
) _wrap_PseudoMetaFile_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
32768 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
32769 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
32770 { (char *)"PseudoMetaFile_SetPen", (PyCFunction
) _wrap_PseudoMetaFile_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
32771 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
32772 { (char *)"PseudoMetaFile_SetFont", (PyCFunction
) _wrap_PseudoMetaFile_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
32773 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction
) _wrap_PseudoMetaFile_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32774 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32775 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
32776 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister
, METH_VARARGS
},
32777 { (char *)"new_PyRectangleShape", (PyCFunction
) _wrap_new_PyRectangleShape
, METH_VARARGS
| METH_KEYWORDS
},
32778 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction
) _wrap_PyRectangleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32779 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
32780 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_GetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
32781 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction
) _wrap_PyRectangleShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32782 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction
) _wrap_PyRectangleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32783 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32784 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32785 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32786 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction
) _wrap_PyRectangleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32787 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32788 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction
) _wrap_PyRectangleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32789 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32790 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32791 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32792 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32793 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32794 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32795 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32796 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32797 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32798 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32799 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32800 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32801 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32802 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32803 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32804 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32805 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32806 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32807 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32808 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32809 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32810 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister
, METH_VARARGS
},
32811 { (char *)"new_PyControlPoint", (PyCFunction
) _wrap_new_PyControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
32812 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction
) _wrap_PyControlPoint__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32813 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction
) _wrap_PyControlPoint_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
32814 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction
) _wrap_PyControlPoint_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32815 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction
) _wrap_PyControlPoint_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32816 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32817 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32818 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32819 { (char *)"PyControlPoint_base_OnErase", (PyCFunction
) _wrap_PyControlPoint_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32820 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32821 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction
) _wrap_PyControlPoint_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32822 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32823 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32824 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction
) _wrap_PyControlPoint_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32825 { (char *)"PyControlPoint_base_OnSize", (PyCFunction
) _wrap_PyControlPoint_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32826 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32827 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32828 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32829 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32830 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32831 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32832 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32833 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32834 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32835 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32836 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32837 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32838 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32839 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32840 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32841 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32842 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction
) _wrap_PyControlPoint_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32843 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister
, METH_VARARGS
},
32844 { (char *)"new_PyBitmapShape", (PyCFunction
) _wrap_new_PyBitmapShape
, METH_VARARGS
| METH_KEYWORDS
},
32845 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32846 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction
) _wrap_PyBitmapShape_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
32847 { (char *)"PyBitmapShape_GetFilename", (PyCFunction
) _wrap_PyBitmapShape_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
32848 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction
) _wrap_PyBitmapShape_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
32849 { (char *)"PyBitmapShape_SetFilename", (PyCFunction
) _wrap_PyBitmapShape_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
32850 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction
) _wrap_PyBitmapShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32851 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction
) _wrap_PyBitmapShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32852 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32853 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32854 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32855 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction
) _wrap_PyBitmapShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32856 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32857 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction
) _wrap_PyBitmapShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32858 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32859 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32860 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32861 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32862 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32863 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32864 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32865 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32866 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32867 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32868 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32869 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32870 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32871 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32872 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32873 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32874 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32875 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32876 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32877 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32878 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32879 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister
, METH_VARARGS
},
32880 { (char *)"new_PyDrawnShape", (PyCFunction
) _wrap_new_PyDrawnShape
, METH_VARARGS
| METH_KEYWORDS
},
32881 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction
) _wrap_PyDrawnShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32882 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction
) _wrap_PyDrawnShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
32883 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction
) _wrap_PyDrawnShape_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
32884 { (char *)"PyDrawnShape_DrawArc", (PyCFunction
) _wrap_PyDrawnShape_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
32885 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction
) _wrap_PyDrawnShape_DrawAtAngle
, METH_VARARGS
| METH_KEYWORDS
},
32886 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction
) _wrap_PyDrawnShape_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
32887 { (char *)"PyDrawnShape_DrawLine", (PyCFunction
) _wrap_PyDrawnShape_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
32888 { (char *)"PyDrawnShape_DrawLines", (PyCFunction
) _wrap_PyDrawnShape_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
32889 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction
) _wrap_PyDrawnShape_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
32890 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction
) _wrap_PyDrawnShape_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
32891 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
32892 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
32893 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction
) _wrap_PyDrawnShape_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
32894 { (char *)"PyDrawnShape_DrawText", (PyCFunction
) _wrap_PyDrawnShape_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
32895 { (char *)"PyDrawnShape_GetAngle", (PyCFunction
) _wrap_PyDrawnShape_GetAngle
, METH_VARARGS
| METH_KEYWORDS
},
32896 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction
) _wrap_PyDrawnShape_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32897 { (char *)"PyDrawnShape_GetRotation", (PyCFunction
) _wrap_PyDrawnShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
32898 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction
) _wrap_PyDrawnShape_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32899 { (char *)"PyDrawnShape_Rotate", (PyCFunction
) _wrap_PyDrawnShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
32900 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction
) _wrap_PyDrawnShape_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
32901 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32902 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
32903 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBrush
, METH_VARARGS
| METH_KEYWORDS
},
32904 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnFont
, METH_VARARGS
| METH_KEYWORDS
},
32905 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnPen
, METH_VARARGS
| METH_KEYWORDS
},
32906 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32907 { (char *)"PyDrawnShape_Scale", (PyCFunction
) _wrap_PyDrawnShape_Scale
, METH_VARARGS
| METH_KEYWORDS
},
32908 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction
) _wrap_PyDrawnShape_SetSaveToFile
, METH_VARARGS
| METH_KEYWORDS
},
32909 { (char *)"PyDrawnShape_Translate", (PyCFunction
) _wrap_PyDrawnShape_Translate
, METH_VARARGS
| METH_KEYWORDS
},
32910 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction
) _wrap_PyDrawnShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32911 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction
) _wrap_PyDrawnShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32912 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32913 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32914 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32915 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction
) _wrap_PyDrawnShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32916 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32917 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction
) _wrap_PyDrawnShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32918 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32919 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32920 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32921 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32922 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32923 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32924 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32925 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32926 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32927 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32928 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32929 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32930 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32931 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32932 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32933 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32934 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32935 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32936 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32937 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32938 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32939 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister
, METH_VARARGS
},
32940 { (char *)"new_OGLConstraint", (PyCFunction
) _wrap_new_OGLConstraint
, METH_VARARGS
| METH_KEYWORDS
},
32941 { (char *)"OGLConstraint_Evaluate", (PyCFunction
) _wrap_OGLConstraint_Evaluate
, METH_VARARGS
| METH_KEYWORDS
},
32942 { (char *)"OGLConstraint_SetSpacing", (PyCFunction
) _wrap_OGLConstraint_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
32943 { (char *)"OGLConstraint_Equals", (PyCFunction
) _wrap_OGLConstraint_Equals
, METH_VARARGS
| METH_KEYWORDS
},
32944 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister
, METH_VARARGS
},
32945 { (char *)"new_PyCompositeShape", (PyCFunction
) _wrap_new_PyCompositeShape
, METH_VARARGS
| METH_KEYWORDS
},
32946 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction
) _wrap_PyCompositeShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32947 { (char *)"PyCompositeShape_AddChild", (PyCFunction
) _wrap_PyCompositeShape_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
32948 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddConstraint
, METH_VARARGS
| METH_KEYWORDS
},
32949 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction
) _wrap_PyCompositeShape_AddConstrainedShapes
, METH_VARARGS
| METH_KEYWORDS
},
32950 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddSimpleConstraint
, METH_VARARGS
| METH_KEYWORDS
},
32951 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction
) _wrap_PyCompositeShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
32952 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction
) _wrap_PyCompositeShape_ContainsDivision
, METH_VARARGS
| METH_KEYWORDS
},
32953 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraint
, METH_VARARGS
| METH_KEYWORDS
},
32954 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild
, METH_VARARGS
| METH_KEYWORDS
},
32955 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction
) _wrap_PyCompositeShape_FindContainerImage
, METH_VARARGS
| METH_KEYWORDS
},
32956 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction
) _wrap_PyCompositeShape_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
32957 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction
) _wrap_PyCompositeShape_GetDivisions
, METH_VARARGS
| METH_KEYWORDS
},
32958 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction
) _wrap_PyCompositeShape_MakeContainer
, METH_VARARGS
| METH_KEYWORDS
},
32959 { (char *)"PyCompositeShape_Recompute", (PyCFunction
) _wrap_PyCompositeShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
32960 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction
) _wrap_PyCompositeShape_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
32961 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction
) _wrap_PyCompositeShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32962 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction
) _wrap_PyCompositeShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32963 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32964 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32965 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32966 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction
) _wrap_PyCompositeShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32967 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32968 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction
) _wrap_PyCompositeShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32969 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32970 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32971 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32972 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32973 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32974 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32975 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32976 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32977 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32978 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32979 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32980 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32981 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32982 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32983 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32984 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32985 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32986 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32987 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32988 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32989 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32990 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister
, METH_VARARGS
},
32991 { (char *)"new_PyDividedShape", (PyCFunction
) _wrap_new_PyDividedShape
, METH_VARARGS
| METH_KEYWORDS
},
32992 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction
) _wrap_PyDividedShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32993 { (char *)"PyDividedShape_EditRegions", (PyCFunction
) _wrap_PyDividedShape_EditRegions
, METH_VARARGS
| METH_KEYWORDS
},
32994 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction
) _wrap_PyDividedShape_SetRegionSizes
, METH_VARARGS
| METH_KEYWORDS
},
32995 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction
) _wrap_PyDividedShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32996 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction
) _wrap_PyDividedShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32997 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32998 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32999 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33000 { (char *)"PyDividedShape_base_OnErase", (PyCFunction
) _wrap_PyDividedShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33001 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33002 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction
) _wrap_PyDividedShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33003 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33004 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33005 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction
) _wrap_PyDividedShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33006 { (char *)"PyDividedShape_base_OnSize", (PyCFunction
) _wrap_PyDividedShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33007 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33008 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33009 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33010 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33011 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33012 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33013 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33014 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33015 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33016 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33017 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33018 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33019 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33020 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33021 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33022 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33023 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction
) _wrap_PyDividedShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33024 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister
, METH_VARARGS
},
33025 { (char *)"new_PyDivisionShape", (PyCFunction
) _wrap_new_PyDivisionShape
, METH_VARARGS
| METH_KEYWORDS
},
33026 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction
) _wrap_PyDivisionShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33027 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction
) _wrap_PyDivisionShape_AdjustBottom
, METH_VARARGS
| METH_KEYWORDS
},
33028 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction
) _wrap_PyDivisionShape_AdjustLeft
, METH_VARARGS
| METH_KEYWORDS
},
33029 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction
) _wrap_PyDivisionShape_AdjustRight
, METH_VARARGS
| METH_KEYWORDS
},
33030 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction
) _wrap_PyDivisionShape_AdjustTop
, METH_VARARGS
| METH_KEYWORDS
},
33031 { (char *)"PyDivisionShape_Divide", (PyCFunction
) _wrap_PyDivisionShape_Divide
, METH_VARARGS
| METH_KEYWORDS
},
33032 { (char *)"PyDivisionShape_EditEdge", (PyCFunction
) _wrap_PyDivisionShape_EditEdge
, METH_VARARGS
| METH_KEYWORDS
},
33033 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_GetBottomSide
, METH_VARARGS
| METH_KEYWORDS
},
33034 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_GetHandleSide
, METH_VARARGS
| METH_KEYWORDS
},
33035 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSide
, METH_VARARGS
| METH_KEYWORDS
},
33036 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
},
33037 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
},
33038 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction
) _wrap_PyDivisionShape_GetRightSide
, METH_VARARGS
| METH_KEYWORDS
},
33039 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction
) _wrap_PyDivisionShape_GetTopSide
, METH_VARARGS
| METH_KEYWORDS
},
33040 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
},
33041 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction
) _wrap_PyDivisionShape_ResizeAdjoining
, METH_VARARGS
| METH_KEYWORDS
},
33042 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction
) _wrap_PyDivisionShape_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
33043 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_SetBottomSide
, METH_VARARGS
| METH_KEYWORDS
},
33044 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_SetHandleSide
, METH_VARARGS
| METH_KEYWORDS
},
33045 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSide
, METH_VARARGS
| METH_KEYWORDS
},
33046 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
},
33047 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
},
33048 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction
) _wrap_PyDivisionShape_SetRightSide
, METH_VARARGS
| METH_KEYWORDS
},
33049 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction
) _wrap_PyDivisionShape_SetTopSide
, METH_VARARGS
| METH_KEYWORDS
},
33050 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetTopSideColour
, METH_VARARGS
| METH_KEYWORDS
},
33051 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
},
33052 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction
) _wrap_PyDivisionShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33053 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction
) _wrap_PyDivisionShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33054 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33055 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33056 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33057 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction
) _wrap_PyDivisionShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33058 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33059 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction
) _wrap_PyDivisionShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33060 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33061 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33062 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33063 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33064 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33065 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33066 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33067 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33068 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33069 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33070 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33071 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33072 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33073 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33074 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33075 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33076 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33077 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33078 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33079 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33080 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33081 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister
, METH_VARARGS
},
33082 { (char *)"new_PyEllipseShape", (PyCFunction
) _wrap_new_PyEllipseShape
, METH_VARARGS
| METH_KEYWORDS
},
33083 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction
) _wrap_PyEllipseShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33084 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction
) _wrap_PyEllipseShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33085 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33086 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33087 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33088 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction
) _wrap_PyEllipseShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33089 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33090 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction
) _wrap_PyEllipseShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33091 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33092 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33093 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33094 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33095 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33096 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33097 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33098 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33099 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33100 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33101 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33102 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33103 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33104 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33105 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33106 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33107 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33108 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33109 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33110 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33111 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33112 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister
, METH_VARARGS
},
33113 { (char *)"new_PyCircleShape", (PyCFunction
) _wrap_new_PyCircleShape
, METH_VARARGS
| METH_KEYWORDS
},
33114 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction
) _wrap_PyCircleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33115 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction
) _wrap_PyCircleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33116 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33117 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33118 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33119 { (char *)"PyCircleShape_base_OnErase", (PyCFunction
) _wrap_PyCircleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33120 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33121 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction
) _wrap_PyCircleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33122 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33123 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33124 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction
) _wrap_PyCircleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33125 { (char *)"PyCircleShape_base_OnSize", (PyCFunction
) _wrap_PyCircleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33126 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33127 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33128 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33129 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33130 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33131 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33132 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33133 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33134 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33135 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33136 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33137 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33138 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33139 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33140 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33141 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33142 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction
) _wrap_PyCircleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33143 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister
, METH_VARARGS
},
33144 { (char *)"new_ArrowHead", (PyCFunction
) _wrap_new_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
33145 { (char *)"delete_ArrowHead", (PyCFunction
) _wrap_delete_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
33146 { (char *)"ArrowHead__GetType", (PyCFunction
) _wrap_ArrowHead__GetType
, METH_VARARGS
| METH_KEYWORDS
},
33147 { (char *)"ArrowHead_GetPosition", (PyCFunction
) _wrap_ArrowHead_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
33148 { (char *)"ArrowHead_SetPosition", (PyCFunction
) _wrap_ArrowHead_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
33149 { (char *)"ArrowHead_GetXOffset", (PyCFunction
) _wrap_ArrowHead_GetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
33150 { (char *)"ArrowHead_GetYOffset", (PyCFunction
) _wrap_ArrowHead_GetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
33151 { (char *)"ArrowHead_GetSpacing", (PyCFunction
) _wrap_ArrowHead_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33152 { (char *)"ArrowHead_GetSize", (PyCFunction
) _wrap_ArrowHead_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
33153 { (char *)"ArrowHead_GetName", (PyCFunction
) _wrap_ArrowHead_GetName
, METH_VARARGS
| METH_KEYWORDS
},
33154 { (char *)"ArrowHead_SetXOffset", (PyCFunction
) _wrap_ArrowHead_SetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
33155 { (char *)"ArrowHead_SetYOffset", (PyCFunction
) _wrap_ArrowHead_SetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
33156 { (char *)"ArrowHead_GetMetaFile", (PyCFunction
) _wrap_ArrowHead_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
33157 { (char *)"ArrowHead_GetId", (PyCFunction
) _wrap_ArrowHead_GetId
, METH_VARARGS
| METH_KEYWORDS
},
33158 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction
) _wrap_ArrowHead_GetArrowEnd
, METH_VARARGS
| METH_KEYWORDS
},
33159 { (char *)"ArrowHead_GetArrowSize", (PyCFunction
) _wrap_ArrowHead_GetArrowSize
, METH_VARARGS
| METH_KEYWORDS
},
33160 { (char *)"ArrowHead_SetSize", (PyCFunction
) _wrap_ArrowHead_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
33161 { (char *)"ArrowHead_SetSpacing", (PyCFunction
) _wrap_ArrowHead_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33162 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister
, METH_VARARGS
},
33163 { (char *)"new_PyLineShape", (PyCFunction
) _wrap_new_PyLineShape
, METH_VARARGS
| METH_KEYWORDS
},
33164 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction
) _wrap_PyLineShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33165 { (char *)"PyLineShape_AddArrow", (PyCFunction
) _wrap_PyLineShape_AddArrow
, METH_VARARGS
| METH_KEYWORDS
},
33166 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction
) _wrap_PyLineShape_AddArrowOrdered
, METH_VARARGS
| METH_KEYWORDS
},
33167 { (char *)"PyLineShape_ClearArrow", (PyCFunction
) _wrap_PyLineShape_ClearArrow
, METH_VARARGS
| METH_KEYWORDS
},
33168 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction
) _wrap_PyLineShape_ClearArrowsAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
33169 { (char *)"PyLineShape_DrawArrow", (PyCFunction
) _wrap_PyLineShape_DrawArrow
, METH_VARARGS
| METH_KEYWORDS
},
33170 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
33171 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
33172 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction
) _wrap_PyLineShape_DeleteLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
33173 { (char *)"PyLineShape_DrawArrows", (PyCFunction
) _wrap_PyLineShape_DrawArrows
, METH_VARARGS
| METH_KEYWORDS
},
33174 { (char *)"PyLineShape_DrawRegion", (PyCFunction
) _wrap_PyLineShape_DrawRegion
, METH_VARARGS
| METH_KEYWORDS
},
33175 { (char *)"PyLineShape_EraseRegion", (PyCFunction
) _wrap_PyLineShape_EraseRegion
, METH_VARARGS
| METH_KEYWORDS
},
33176 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction
) _wrap_PyLineShape_FindArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
33177 { (char *)"PyLineShape_FindArrowHead", (PyCFunction
) _wrap_PyLineShape_FindArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
33178 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction
) _wrap_PyLineShape_FindLineEndPoints
, METH_VARARGS
| METH_KEYWORDS
},
33179 { (char *)"PyLineShape_FindLinePosition", (PyCFunction
) _wrap_PyLineShape_FindLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
33180 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction
) _wrap_PyLineShape_FindMinimumWidth
, METH_VARARGS
| METH_KEYWORDS
},
33181 { (char *)"PyLineShape_FindNth", (PyCFunction
) _wrap_PyLineShape_FindNth
, METH_VARARGS
| METH_KEYWORDS
},
33182 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_GetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
33183 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_GetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
33184 { (char *)"PyLineShape_GetEnds", (PyCFunction
) _wrap_PyLineShape_GetEnds
, METH_VARARGS
| METH_KEYWORDS
},
33185 { (char *)"PyLineShape_GetFrom", (PyCFunction
) _wrap_PyLineShape_GetFrom
, METH_VARARGS
| METH_KEYWORDS
},
33186 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction
) _wrap_PyLineShape_GetLabelPosition
, METH_VARARGS
| METH_KEYWORDS
},
33187 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction
) _wrap_PyLineShape_GetNextControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
33188 { (char *)"PyLineShape_GetTo", (PyCFunction
) _wrap_PyLineShape_GetTo
, METH_VARARGS
| METH_KEYWORDS
},
33189 { (char *)"PyLineShape_Initialise", (PyCFunction
) _wrap_PyLineShape_Initialise
, METH_VARARGS
| METH_KEYWORDS
},
33190 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction
) _wrap_PyLineShape_InsertLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
33191 { (char *)"PyLineShape_IsEnd", (PyCFunction
) _wrap_PyLineShape_IsEnd
, METH_VARARGS
| METH_KEYWORDS
},
33192 { (char *)"PyLineShape_IsSpline", (PyCFunction
) _wrap_PyLineShape_IsSpline
, METH_VARARGS
| METH_KEYWORDS
},
33193 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction
) _wrap_PyLineShape_MakeLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33194 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction
) _wrap_PyLineShape_GetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33195 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_SetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
33196 { (char *)"PyLineShape_SetAttachments", (PyCFunction
) _wrap_PyLineShape_SetAttachments
, METH_VARARGS
| METH_KEYWORDS
},
33197 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_SetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
33198 { (char *)"PyLineShape_SetEnds", (PyCFunction
) _wrap_PyLineShape_SetEnds
, METH_VARARGS
| METH_KEYWORDS
},
33199 { (char *)"PyLineShape_SetFrom", (PyCFunction
) _wrap_PyLineShape_SetFrom
, METH_VARARGS
| METH_KEYWORDS
},
33200 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction
) _wrap_PyLineShape_SetIgnoreOffsets
, METH_VARARGS
| METH_KEYWORDS
},
33201 { (char *)"PyLineShape_SetSpline", (PyCFunction
) _wrap_PyLineShape_SetSpline
, METH_VARARGS
| METH_KEYWORDS
},
33202 { (char *)"PyLineShape_SetTo", (PyCFunction
) _wrap_PyLineShape_SetTo
, METH_VARARGS
| METH_KEYWORDS
},
33203 { (char *)"PyLineShape_Straighten", (PyCFunction
) _wrap_PyLineShape_Straighten
, METH_VARARGS
| METH_KEYWORDS
},
33204 { (char *)"PyLineShape_Unlink", (PyCFunction
) _wrap_PyLineShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
33205 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_SetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
},
33206 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction
) _wrap_PyLineShape_SetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
},
33207 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_GetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
},
33208 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction
) _wrap_PyLineShape_GetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
},
33209 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction
) _wrap_PyLineShape_GetAlignmentStart
, METH_VARARGS
| METH_KEYWORDS
},
33210 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction
) _wrap_PyLineShape_GetAlignmentEnd
, METH_VARARGS
| METH_KEYWORDS
},
33211 { (char *)"PyLineShape_base_OnDraw", (PyCFunction
) _wrap_PyLineShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33212 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction
) _wrap_PyLineShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33213 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyLineShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33214 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33215 { (char *)"PyLineShape_base_OnErase", (PyCFunction
) _wrap_PyLineShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33216 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction
) _wrap_PyLineShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33217 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction
) _wrap_PyLineShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33218 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33219 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33220 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction
) _wrap_PyLineShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33221 { (char *)"PyLineShape_base_OnSize", (PyCFunction
) _wrap_PyLineShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33222 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction
) _wrap_PyLineShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33223 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction
) _wrap_PyLineShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33224 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33225 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33226 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33227 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33228 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33229 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33230 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyLineShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33231 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33232 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33233 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33234 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33235 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33236 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33237 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction
) _wrap_PyLineShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33238 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction
) _wrap_PyLineShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33239 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister
, METH_VARARGS
},
33240 { (char *)"new_PyPolygonShape", (PyCFunction
) _wrap_new_PyPolygonShape
, METH_VARARGS
| METH_KEYWORDS
},
33241 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction
) _wrap_PyPolygonShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33242 { (char *)"PyPolygonShape_Create", (PyCFunction
) _wrap_PyPolygonShape_Create
, METH_VARARGS
| METH_KEYWORDS
},
33243 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_AddPolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
33244 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction
) _wrap_PyPolygonShape_CalculatePolygonCentre
, METH_VARARGS
| METH_KEYWORDS
},
33245 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_DeletePolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
33246 { (char *)"PyPolygonShape_GetPoints", (PyCFunction
) _wrap_PyPolygonShape_GetPoints
, METH_VARARGS
| METH_KEYWORDS
},
33247 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
},
33248 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
},
33249 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
},
33250 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
},
33251 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
},
33252 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_UpdateOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
},
33253 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction
) _wrap_PyPolygonShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33254 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33255 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33256 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33257 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction
) _wrap_PyPolygonShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33258 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33259 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction
) _wrap_PyPolygonShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33260 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33261 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33262 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33263 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33264 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33265 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33266 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33267 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33268 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33269 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33270 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33271 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33272 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33273 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33274 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33275 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33276 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33277 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33278 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33279 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33280 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33281 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister
, METH_VARARGS
},
33282 { (char *)"new_PyTextShape", (PyCFunction
) _wrap_new_PyTextShape
, METH_VARARGS
| METH_KEYWORDS
},
33283 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction
) _wrap_PyTextShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33284 { (char *)"PyTextShape_base_OnDelete", (PyCFunction
) _wrap_PyTextShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33285 { (char *)"PyTextShape_base_OnDraw", (PyCFunction
) _wrap_PyTextShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33286 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction
) _wrap_PyTextShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33287 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyTextShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33288 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33289 { (char *)"PyTextShape_base_OnErase", (PyCFunction
) _wrap_PyTextShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33290 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction
) _wrap_PyTextShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33291 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction
) _wrap_PyTextShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33292 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33293 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33294 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction
) _wrap_PyTextShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33295 { (char *)"PyTextShape_base_OnSize", (PyCFunction
) _wrap_PyTextShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33296 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction
) _wrap_PyTextShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33297 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction
) _wrap_PyTextShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33298 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33299 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33300 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33301 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33302 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33303 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33304 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyTextShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33305 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33306 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33307 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33308 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33309 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33310 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33311 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction
) _wrap_PyTextShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33312 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction
) _wrap_PyTextShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33313 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister
, METH_VARARGS
},
33314 { (char *)"new_Diagram", (PyCFunction
) _wrap_new_Diagram
, METH_VARARGS
| METH_KEYWORDS
},
33315 { (char *)"Diagram_AddShape", (PyCFunction
) _wrap_Diagram_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
33316 { (char *)"Diagram_Clear", (PyCFunction
) _wrap_Diagram_Clear
, METH_VARARGS
| METH_KEYWORDS
},
33317 { (char *)"Diagram_DeleteAllShapes", (PyCFunction
) _wrap_Diagram_DeleteAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
33318 { (char *)"Diagram_DrawOutline", (PyCFunction
) _wrap_Diagram_DrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33319 { (char *)"Diagram_FindShape", (PyCFunction
) _wrap_Diagram_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
33320 { (char *)"Diagram_GetCanvas", (PyCFunction
) _wrap_Diagram_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33321 { (char *)"Diagram_GetCount", (PyCFunction
) _wrap_Diagram_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
33322 { (char *)"Diagram_GetGridSpacing", (PyCFunction
) _wrap_Diagram_GetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33323 { (char *)"Diagram_GetMouseTolerance", (PyCFunction
) _wrap_Diagram_GetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
33324 { (char *)"Diagram_GetShapeList", (PyCFunction
) _wrap_Diagram_GetShapeList
, METH_VARARGS
| METH_KEYWORDS
},
33325 { (char *)"Diagram_GetQuickEditMode", (PyCFunction
) _wrap_Diagram_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
33326 { (char *)"Diagram_GetSnapToGrid", (PyCFunction
) _wrap_Diagram_GetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
33327 { (char *)"Diagram_InsertShape", (PyCFunction
) _wrap_Diagram_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
33328 { (char *)"Diagram_RecentreAll", (PyCFunction
) _wrap_Diagram_RecentreAll
, METH_VARARGS
| METH_KEYWORDS
},
33329 { (char *)"Diagram_Redraw", (PyCFunction
) _wrap_Diagram_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
33330 { (char *)"Diagram_RemoveAllShapes", (PyCFunction
) _wrap_Diagram_RemoveAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
33331 { (char *)"Diagram_RemoveShape", (PyCFunction
) _wrap_Diagram_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
33332 { (char *)"Diagram_SetCanvas", (PyCFunction
) _wrap_Diagram_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33333 { (char *)"Diagram_SetGridSpacing", (PyCFunction
) _wrap_Diagram_SetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33334 { (char *)"Diagram_SetMouseTolerance", (PyCFunction
) _wrap_Diagram_SetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
33335 { (char *)"Diagram_SetQuickEditMode", (PyCFunction
) _wrap_Diagram_SetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
33336 { (char *)"Diagram_SetSnapToGrid", (PyCFunction
) _wrap_Diagram_SetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
33337 { (char *)"Diagram_ShowAll", (PyCFunction
) _wrap_Diagram_ShowAll
, METH_VARARGS
| METH_KEYWORDS
},
33338 { (char *)"Diagram_Snap", (PyCFunction
) _wrap_Diagram_Snap
, METH_VARARGS
| METH_KEYWORDS
},
33339 { (char *)"Diagram_swigregister", Diagram_swigregister
, METH_VARARGS
},
33340 { (char *)"new_PyShapeCanvas", (PyCFunction
) _wrap_new_PyShapeCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33341 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction
) _wrap_PyShapeCanvas__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33342 { (char *)"PyShapeCanvas_AddShape", (PyCFunction
) _wrap_PyShapeCanvas_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
33343 { (char *)"PyShapeCanvas_FindShape", (PyCFunction
) _wrap_PyShapeCanvas_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
33344 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction
) _wrap_PyShapeCanvas_FindFirstSensitiveShape
, METH_VARARGS
| METH_KEYWORDS
},
33345 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_GetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
33346 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction
) _wrap_PyShapeCanvas_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
33347 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction
) _wrap_PyShapeCanvas_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
33348 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33349 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33350 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33351 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33352 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33353 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33354 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33355 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33356 { (char *)"PyShapeCanvas_Redraw", (PyCFunction
) _wrap_PyShapeCanvas_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
33357 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction
) _wrap_PyShapeCanvas_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
33358 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_SetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
33359 { (char *)"PyShapeCanvas_Snap", (PyCFunction
) _wrap_PyShapeCanvas_Snap
, METH_VARARGS
| METH_KEYWORDS
},
33360 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister
, METH_VARARGS
},
33361 { (char *)"OGLInitialize", (PyCFunction
) _wrap_OGLInitialize
, METH_VARARGS
| METH_KEYWORDS
},
33362 { (char *)"OGLCleanUp", (PyCFunction
) _wrap_OGLCleanUp
, METH_VARARGS
| METH_KEYWORDS
},
33367 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33369 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33370 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33372 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33373 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33375 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33376 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33378 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33379 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33381 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33382 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33384 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33385 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33387 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33388 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33390 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33391 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33393 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33394 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33396 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x
) {
33397 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33399 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33400 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33402 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33403 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33405 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x
) {
33406 return (void *)((wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33408 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33409 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33411 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33412 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33414 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33415 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33417 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33418 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33420 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33421 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33423 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33424 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33426 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33427 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33429 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33430 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33432 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33433 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33435 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33436 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33438 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33439 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33441 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33442 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33444 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33445 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33447 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33448 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33450 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33451 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33453 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33454 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33456 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33457 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33459 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33460 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33462 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33463 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33465 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33466 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33468 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33469 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33471 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33472 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33474 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33475 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33477 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33478 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33480 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33481 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33483 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33484 return (void *)((wxWindow
*) ((wxControl
*) x
));
33486 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33487 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33489 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33490 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33492 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33493 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33495 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33496 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33498 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33499 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33501 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33502 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33504 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x
) {
33505 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33507 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33508 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33510 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33511 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33513 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33514 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33516 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33517 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33519 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33520 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33522 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33523 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33525 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33526 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33528 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33529 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33531 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33532 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33534 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
33535 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
33537 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
33538 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
33540 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33541 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33543 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33544 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33546 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
33547 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
33549 static void *_p_wxPyControlPointTo_p_wxObject(void *x
) {
33550 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
33552 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
33553 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33555 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
33556 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33558 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33559 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33561 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33562 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33564 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33565 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33567 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33568 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33570 static void *_p_wxOGLConstraintTo_p_wxObject(void *x
) {
33571 return (void *)((wxObject
*) ((wxOGLConstraint
*) x
));
33573 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33574 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33576 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33577 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33579 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33580 return (void *)((wxObject
*) ((wxSizer
*) x
));
33582 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x
) {
33583 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
33585 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x
) {
33586 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
33588 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x
) {
33589 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyPolygonShape
*) x
));
33591 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33592 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33594 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33595 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33597 static void *_p_wxArrowHeadTo_p_wxObject(void *x
) {
33598 return (void *)((wxObject
*) ((wxArrowHead
*) x
));
33600 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
33601 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
33603 static void *_p_wxEventTo_p_wxObject(void *x
) {
33604 return (void *)((wxObject
*) ((wxEvent
*) x
));
33606 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
33607 return (void *)((wxObject
*) ((wxFontData
*) x
));
33609 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
33610 return (void *)((wxObject
*) ((wxPrintData
*) x
));
33612 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33613 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33615 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33616 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33618 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33619 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33621 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
33622 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
33624 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
33625 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
33627 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
33628 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33630 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33631 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33633 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33634 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33636 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33637 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33639 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33640 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33642 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33643 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33645 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33646 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33648 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
33649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33651 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x
) {
33652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33654 static void *_p_wxControlTo_p_wxObject(void *x
) {
33655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33657 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x
) {
33658 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyEllipseShape
*) x
));
33660 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33661 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33663 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
33664 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33666 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33667 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33669 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
33670 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
33672 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x
) {
33673 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
33675 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33676 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33678 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
33679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33681 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
33682 return (void *)((wxObject
*) ((wxColourData
*) x
));
33684 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33685 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33687 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33688 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33690 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
33691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
33693 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
33694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33696 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
33697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33699 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
33700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33702 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
33703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33705 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
33706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33708 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
33709 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33711 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
33712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33714 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
33715 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33717 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33718 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33720 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
33721 return (void *)((wxObject
*) ((wxPrinter
*) x
));
33723 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33724 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33726 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33727 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33729 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33730 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33732 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33733 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33735 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33736 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33738 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33739 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33741 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33742 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33744 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33745 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33747 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33748 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33750 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33751 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33753 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33754 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33756 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33757 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33759 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33760 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33762 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33763 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33765 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33766 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33768 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33769 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33771 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33772 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33774 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33775 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33777 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33778 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33780 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33781 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33783 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33784 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33786 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33787 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33789 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
33790 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
33792 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x
) {
33793 return (void *)((wxObject
*) ((wxPyShapeEvtHandler
*) x
));
33795 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
33796 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33798 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
33799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33801 static void *_p_wxPyTextShapeTo_p_wxObject(void *x
) {
33802 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
33804 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33805 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33807 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x
) {
33808 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
33810 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
33811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33813 static void *_p_wxImageTo_p_wxObject(void *x
) {
33814 return (void *)((wxObject
*) ((wxImage
*) x
));
33816 static void *_p_wxFrameTo_p_wxObject(void *x
) {
33817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
33819 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
33820 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
33822 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33823 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33825 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
33826 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
33828 static void *_p_wxDiagramTo_p_wxObject(void *x
) {
33829 return (void *)((wxObject
*) ((wxDiagram
*) x
));
33831 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
33832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
33834 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
33835 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33837 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33838 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33840 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33841 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33843 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33844 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33846 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33847 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33849 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33850 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33852 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33855 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
33856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
33858 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
33859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
33861 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
33862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
33864 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
33865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
33867 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
33868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
33870 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
33871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33873 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
33874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
33876 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
33877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33879 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
33880 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33882 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
33883 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33885 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
33886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
33888 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
33889 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33891 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
33892 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
33894 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
33895 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
33897 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
33898 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33900 static void *_p_wxPanelTo_p_wxObject(void *x
) {
33901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
33903 static void *_p_wxDialogTo_p_wxObject(void *x
) {
33904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
33906 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
33907 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33909 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
33910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33912 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
33913 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33915 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
33916 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
33918 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
33919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
33921 static void *_p_wxAttachmentPointTo_p_wxObject(void *x
) {
33922 return (void *)((wxObject
*) ((wxAttachmentPoint
*) x
));
33924 static void *_p_wxPyShapeTo_p_wxObject(void *x
) {
33925 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
33927 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33928 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33930 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33931 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33933 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33934 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33936 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33937 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33939 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33940 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33942 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33943 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33945 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33946 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33948 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33949 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33951 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33952 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33954 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
33955 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
33957 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
33958 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33960 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33961 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33963 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33964 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33966 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33967 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33969 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x
) {
33970 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyRectangleShape
*) x
));
33972 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x
) {
33973 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
33975 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x
) {
33976 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
33978 static void *_p_wxPyLineShapeTo_p_wxObject(void *x
) {
33979 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyLineShape
*) x
));
33981 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x
) {
33982 return (void *)((wxObject
*) ((wxPseudoMetaFile
*) x
));
33984 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33985 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33987 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
33988 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
33990 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
33991 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
33993 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33994 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33996 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33997 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33999 static void *_p_wxShapeRegionTo_p_wxObject(void *x
) {
34000 return (void *)((wxObject
*) ((wxShapeRegion
*) x
));
34002 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34003 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyRectangleShape
*) x
));
34005 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34006 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34008 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34009 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34011 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34012 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34014 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34015 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyLineShape
*) x
));
34017 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34018 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34020 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x
) {
34021 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34023 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34024 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34026 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34027 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34029 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34030 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyPolygonShape
*) x
));
34032 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34033 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34035 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34036 return (void *)((wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
34038 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34039 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyEllipseShape
*) x
));
34041 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
34042 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
34044 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
34045 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
34047 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
34048 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
34050 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
34051 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
34053 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
34054 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
34056 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
34057 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
34059 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
34060 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
34062 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
34063 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
34065 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
34066 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
34068 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
34069 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
34071 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
34072 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
34074 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
34075 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
34077 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
34078 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
34080 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
34081 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
34083 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
34084 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
34086 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
34087 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
34089 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
34090 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
34092 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
34093 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
34095 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
34096 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
34098 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
34099 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
34101 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
34102 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
34104 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
34105 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
34107 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
34108 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
34110 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
34111 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
34113 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
34114 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
34116 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
34117 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
34119 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
34120 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
34122 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
34123 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
34125 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
34126 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
34128 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
34129 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
34131 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
34132 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
34134 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
34135 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
34137 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
34138 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
34140 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
34141 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
34143 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
34144 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34146 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
34147 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
34149 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
34150 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
34152 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x
) {
34153 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
34155 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
34156 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
34158 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
34159 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
34161 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34162 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
34164 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34165 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
34167 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
34168 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
34170 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
34171 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
34173 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
34174 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
34176 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
34177 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
34179 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
34180 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
34182 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
34183 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
34185 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
34186 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
34188 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
34189 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
34191 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
34192 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
34194 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x
) {
34195 return (void *)((wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34197 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x
) {
34198 return (void *)((wxPyShape
*) ((wxPyRectangleShape
*) x
));
34200 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x
) {
34201 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34203 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x
) {
34204 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34206 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x
) {
34207 return (void *)((wxPyShape
*) (wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34209 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x
) {
34210 return (void *)((wxPyShape
*) ((wxPyLineShape
*) x
));
34212 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x
) {
34213 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34215 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x
) {
34216 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34218 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x
) {
34219 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34221 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x
) {
34222 return (void *)((wxPyShape
*) (wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34224 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x
) {
34225 return (void *)((wxPyShape
*) ((wxPyPolygonShape
*) x
));
34227 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x
) {
34228 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34230 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x
) {
34231 return (void *)((wxPyShape
*) ((wxPyEllipseShape
*) x
));
34233 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x
) {
34234 return (void *)((wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34236 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x
) {
34237 return (void *)((wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34239 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x
) {
34240 return (void *)((wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34242 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x
) {
34243 return (void *)((wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34245 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x
) {
34246 return (void *)((wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34248 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x
) {
34249 return (void *)((wxPyRectangleShape
*) (wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34251 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x
) {
34252 return (void *)((wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34254 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x
) {
34255 return (void *)((wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34257 static swig_type_info _swigt__p_wxOGLConstraint
[] = {{"_p_wxOGLConstraint", 0, "wxOGLConstraint *", 0, 0, 0, 0},{"_p_wxOGLConstraint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34258 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0, 0, 0, 0},{"_p_wxBrush", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34259 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34260 static swig_type_info _swigt__p_wxShapeRegion
[] = {{"_p_wxShapeRegion", 0, "wxShapeRegion *", 0, 0, 0, 0},{"_p_wxShapeRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34261 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34262 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0, 0, 0, 0},{"_p_wxRealPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34263 static swig_type_info _swigt__p_wxPyControlPoint
[] = {{"_p_wxPyControlPoint", 0, "wxPyControlPoint *", 0, 0, 0, 0},{"_p_wxPyControlPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34264 static swig_type_info _swigt__p_wxArrowHead
[] = {{"_p_wxArrowHead", 0, "wxArrowHead *", 0, 0, 0, 0},{"_p_wxArrowHead", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34265 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34266 static swig_type_info _swigt__p_wxStringList
[] = {{"_p_wxStringList", 0, "wxStringList *", 0, 0, 0, 0},{"_p_wxStringList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34267 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34268 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0, 0, 0, 0},{"_p_bool", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34269 static swig_type_info _swigt__p_wxList
[] = {{"_p_wxList", 0, "wxList *", 0, 0, 0, 0},{"_p_wxList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34270 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34271 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34272 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34273 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0, 0, 0, 0},{"_p_double", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34274 static swig_type_info _swigt__p_wxPyDivisionShape
[] = {{"_p_wxPyDivisionShape", 0, "wxPyDivisionShape *", 0, 0, 0, 0},{"_p_wxPyDivisionShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34275 static swig_type_info _swigt__p_wxPyDrawnShape
[] = {{"_p_wxPyDrawnShape", 0, "wxPyDrawnShape *", 0, 0, 0, 0},{"_p_wxPyDrawnShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34276 static swig_type_info _swigt__p_wxPyPolygonShape
[] = {{"_p_wxPyPolygonShape", 0, "wxPyPolygonShape *", 0, 0, 0, 0},{"_p_wxPyPolygonShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34277 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34278 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxOGLConstraint", _p_wxOGLConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxArrowHead", _p_wxArrowHeadTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyShapeEvtHandler", _p_wxPyShapeEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDiagram", _p_wxDiagramTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAttachmentPoint", _p_wxAttachmentPointTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPseudoMetaFile", _p_wxPseudoMetaFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShapeRegion", _p_wxShapeRegionTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34279 static swig_type_info _swigt__p_wxPyBitmapShape
[] = {{"_p_wxPyBitmapShape", 0, "wxPyBitmapShape *", 0, 0, 0, 0},{"_p_wxPyBitmapShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34280 static swig_type_info _swigt__p_wxPyShapeEvtHandler
[] = {{"_p_wxPyShapeEvtHandler", 0, "wxPyShapeEvtHandler *", 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyShapeEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34281 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34282 static swig_type_info _swigt__p_wxPyEllipseShape
[] = {{"_p_wxPyEllipseShape", 0, "wxPyEllipseShape *", 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyEllipseShape
, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34283 static swig_type_info _swigt__p_wxPyShapeCanvas
[] = {{"_p_wxPyShapeCanvas", 0, "wxPyShapeCanvas *", 0, 0, 0, 0},{"_p_wxPyShapeCanvas", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34284 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34285 static swig_type_info _swigt__p_wxDiagram
[] = {{"_p_wxDiagram", 0, "wxDiagram *", 0, 0, 0, 0},{"_p_wxDiagram", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34286 static swig_type_info _swigt__p_wxPyShape
[] = {{"_p_wxPyShape", 0, "wxPyShape *", 0, 0, 0, 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxPyShape
, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyShape
, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyShape
, 0, 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyShape
, 0, 0, 0, 0, 0},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxPyShape
, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyShape
, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyShape
, 0, 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyShape
, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyShape
, 0, 0, 0, 0, 0},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxPyShape
, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyShape
, 0, 0, 0, 0, 0},{"_p_wxPyShape", 0, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxPyShape
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34287 static swig_type_info _swigt__p_wxAttachmentPoint
[] = {{"_p_wxAttachmentPoint", 0, "wxAttachmentPoint *", 0, 0, 0, 0},{"_p_wxAttachmentPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34288 static swig_type_info _swigt__p_wxClassInfo
[] = {{"_p_wxClassInfo", 0, "wxClassInfo *", 0, 0, 0, 0},{"_p_wxClassInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34289 static swig_type_info _swigt__p_wxPyLineShape
[] = {{"_p_wxPyLineShape", 0, "wxPyLineShape *", 0, 0, 0, 0},{"_p_wxPyLineShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34290 static swig_type_info _swigt__p_wxPyRectangleShape
[] = {{"_p_wxPyRectangleShape", 0, "wxPyRectangleShape *", 0, 0, 0, 0},{"_p_wxPyRectangleShape", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyRectangleShape
, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyRectangleShape
, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyRectangleShape
, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyRectangleShape
, 0, 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyRectangleShape
, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyRectangleShape
, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyRectangleShape
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34291 static swig_type_info _swigt__p_wxPyCompositeShape
[] = {{"_p_wxPyCompositeShape", 0, "wxPyCompositeShape *", 0, 0, 0, 0},{"_p_wxPyCompositeShape", 0, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyCompositeShape
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34292 static swig_type_info _swigt__p_wxPyCircleShape
[] = {{"_p_wxPyCircleShape", 0, "wxPyCircleShape *", 0, 0, 0, 0},{"_p_wxPyCircleShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34293 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0, 0, 0, 0},{"_p_wxPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34294 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34295 static swig_type_info _swigt__p_wxPseudoMetaFile
[] = {{"_p_wxPseudoMetaFile", 0, "wxPseudoMetaFile *", 0, 0, 0, 0},{"_p_wxPseudoMetaFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34296 static swig_type_info _swigt__p_wxPyTextShape
[] = {{"_p_wxPyTextShape", 0, "wxPyTextShape *", 0, 0, 0, 0},{"_p_wxPyTextShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34297 static swig_type_info _swigt__p_wxPyDividedShape
[] = {{"_p_wxPyDividedShape", 0, "wxPyDividedShape *", 0, 0, 0, 0},{"_p_wxPyDividedShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34299 static swig_type_info
*swig_types_initial
[] = {
34300 _swigt__p_wxOGLConstraint
,
34302 _swigt__p_wxColour
,
34303 _swigt__p_wxShapeRegion
,
34305 _swigt__p_wxRealPoint
,
34306 _swigt__p_wxPyControlPoint
,
34307 _swigt__p_wxArrowHead
,
34309 _swigt__p_wxStringList
,
34314 _swigt__p_wxScrolledWindow
,
34315 _swigt__p_wxWindow
,
34317 _swigt__p_wxPyDivisionShape
,
34318 _swigt__p_wxPyDrawnShape
,
34319 _swigt__p_wxPyPolygonShape
,
34320 _swigt__p_wxBitmap
,
34321 _swigt__p_wxObject
,
34322 _swigt__p_wxPyBitmapShape
,
34323 _swigt__p_wxPyShapeEvtHandler
,
34324 _swigt__p_wxEvtHandler
,
34325 _swigt__p_wxPyEllipseShape
,
34326 _swigt__p_wxPyShapeCanvas
,
34328 _swigt__p_wxDiagram
,
34329 _swigt__p_wxPyShape
,
34330 _swigt__p_wxAttachmentPoint
,
34331 _swigt__p_wxClassInfo
,
34332 _swigt__p_wxPyLineShape
,
34333 _swigt__p_wxPyRectangleShape
,
34334 _swigt__p_wxPyCompositeShape
,
34335 _swigt__p_wxPyCircleShape
,
34338 _swigt__p_wxPseudoMetaFile
,
34339 _swigt__p_wxPyTextShape
,
34340 _swigt__p_wxPyDividedShape
,
34345 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34347 static swig_const_info swig_const_table
[] = {
34357 SWIGEXPORT(void) SWIG_init(void) {
34358 static PyObject
*SWIG_globals
= 0;
34359 static int typeinit
= 0;
34362 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
34363 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34364 d
= PyModule_GetDict(m
);
34367 for (i
= 0; swig_types_initial
[i
]; i
++) {
34368 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
34372 SWIG_InstallConstants(d
,swig_const_table
);
34374 PyDict_SetItemString(d
,"oglMETAFLAGS_OUTLINE", SWIG_FromInt((int)oglMETAFLAGS_OUTLINE
));
34375 PyDict_SetItemString(d
,"oglMETAFLAGS_ATTACHMENTS", SWIG_FromInt((int)oglMETAFLAGS_ATTACHMENTS
));
34376 PyDict_SetItemString(d
,"KEY_SHIFT", SWIG_FromInt((int)KEY_SHIFT
));
34377 PyDict_SetItemString(d
,"KEY_CTRL", SWIG_FromInt((int)KEY_CTRL
));
34378 PyDict_SetItemString(d
,"ARROW_NONE", SWIG_FromInt((int)ARROW_NONE
));
34379 PyDict_SetItemString(d
,"ARROW_END", SWIG_FromInt((int)ARROW_END
));
34380 PyDict_SetItemString(d
,"ARROW_BOTH", SWIG_FromInt((int)ARROW_BOTH
));
34381 PyDict_SetItemString(d
,"ARROW_MIDDLE", SWIG_FromInt((int)ARROW_MIDDLE
));
34382 PyDict_SetItemString(d
,"ARROW_START", SWIG_FromInt((int)ARROW_START
));
34383 PyDict_SetItemString(d
,"ARROW_HOLLOW_CIRCLE", SWIG_FromInt((int)ARROW_HOLLOW_CIRCLE
));
34384 PyDict_SetItemString(d
,"ARROW_FILLED_CIRCLE", SWIG_FromInt((int)ARROW_FILLED_CIRCLE
));
34385 PyDict_SetItemString(d
,"ARROW_ARROW", SWIG_FromInt((int)ARROW_ARROW
));
34386 PyDict_SetItemString(d
,"ARROW_SINGLE_OBLIQUE", SWIG_FromInt((int)ARROW_SINGLE_OBLIQUE
));
34387 PyDict_SetItemString(d
,"ARROW_DOUBLE_OBLIQUE", SWIG_FromInt((int)ARROW_DOUBLE_OBLIQUE
));
34388 PyDict_SetItemString(d
,"ARROW_METAFILE", SWIG_FromInt((int)ARROW_METAFILE
));
34389 PyDict_SetItemString(d
,"ARROW_POSITION_END", SWIG_FromInt((int)ARROW_POSITION_END
));
34390 PyDict_SetItemString(d
,"ARROW_POSITION_START", SWIG_FromInt((int)ARROW_POSITION_START
));
34391 PyDict_SetItemString(d
,"CONTROL_POINT_VERTICAL", SWIG_FromInt((int)CONTROL_POINT_VERTICAL
));
34392 PyDict_SetItemString(d
,"CONTROL_POINT_HORIZONTAL", SWIG_FromInt((int)CONTROL_POINT_HORIZONTAL
));
34393 PyDict_SetItemString(d
,"CONTROL_POINT_DIAGONAL", SWIG_FromInt((int)CONTROL_POINT_DIAGONAL
));
34394 PyDict_SetItemString(d
,"CONTROL_POINT_ENDPOINT_TO", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_TO
));
34395 PyDict_SetItemString(d
,"CONTROL_POINT_ENDPOINT_FROM", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_FROM
));
34396 PyDict_SetItemString(d
,"CONTROL_POINT_LINE", SWIG_FromInt((int)CONTROL_POINT_LINE
));
34397 PyDict_SetItemString(d
,"FORMAT_NONE", SWIG_FromInt((int)FORMAT_NONE
));
34398 PyDict_SetItemString(d
,"FORMAT_CENTRE_HORIZ", SWIG_FromInt((int)FORMAT_CENTRE_HORIZ
));
34399 PyDict_SetItemString(d
,"FORMAT_CENTRE_VERT", SWIG_FromInt((int)FORMAT_CENTRE_VERT
));
34400 PyDict_SetItemString(d
,"FORMAT_SIZE_TO_CONTENTS", SWIG_FromInt((int)FORMAT_SIZE_TO_CONTENTS
));
34401 PyDict_SetItemString(d
,"LINE_ALIGNMENT_HORIZ", SWIG_FromInt((int)LINE_ALIGNMENT_HORIZ
));
34402 PyDict_SetItemString(d
,"LINE_ALIGNMENT_VERT", SWIG_FromInt((int)LINE_ALIGNMENT_VERT
));
34403 PyDict_SetItemString(d
,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_FromInt((int)LINE_ALIGNMENT_TO_NEXT_HANDLE
));
34404 PyDict_SetItemString(d
,"LINE_ALIGNMENT_NONE", SWIG_FromInt((int)LINE_ALIGNMENT_NONE
));
34405 PyDict_SetItemString(d
,"SHADOW_NONE", SWIG_FromInt((int)SHADOW_NONE
));
34406 PyDict_SetItemString(d
,"SHADOW_LEFT", SWIG_FromInt((int)SHADOW_LEFT
));
34407 PyDict_SetItemString(d
,"SHADOW_RIGHT", SWIG_FromInt((int)SHADOW_RIGHT
));
34408 PyDict_SetItemString(d
,"OP_CLICK_LEFT", SWIG_FromInt((int)OP_CLICK_LEFT
));
34409 PyDict_SetItemString(d
,"OP_CLICK_RIGHT", SWIG_FromInt((int)OP_CLICK_RIGHT
));
34410 PyDict_SetItemString(d
,"OP_DRAG_LEFT", SWIG_FromInt((int)OP_DRAG_LEFT
));
34411 PyDict_SetItemString(d
,"OP_DRAG_RIGHT", SWIG_FromInt((int)OP_DRAG_RIGHT
));
34412 PyDict_SetItemString(d
,"OP_ALL", SWIG_FromInt((int)OP_ALL
));
34413 PyDict_SetItemString(d
,"ATTACHMENT_MODE_NONE", SWIG_FromInt((int)ATTACHMENT_MODE_NONE
));
34414 PyDict_SetItemString(d
,"ATTACHMENT_MODE_EDGE", SWIG_FromInt((int)ATTACHMENT_MODE_EDGE
));
34415 PyDict_SetItemString(d
,"ATTACHMENT_MODE_BRANCHING", SWIG_FromInt((int)ATTACHMENT_MODE_BRANCHING
));
34416 PyDict_SetItemString(d
,"BRANCHING_ATTACHMENT_NORMAL", SWIG_FromInt((int)BRANCHING_ATTACHMENT_NORMAL
));
34417 PyDict_SetItemString(d
,"BRANCHING_ATTACHMENT_BLOB", SWIG_FromInt((int)BRANCHING_ATTACHMENT_BLOB
));
34418 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_VERTICALLY
));
34419 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_HORIZONTALLY
));
34420 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_BOTH", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_BOTH
));
34421 PyDict_SetItemString(d
,"gyCONSTRAINT_LEFT_OF", SWIG_FromInt((int)gyCONSTRAINT_LEFT_OF
));
34422 PyDict_SetItemString(d
,"gyCONSTRAINT_RIGHT_OF", SWIG_FromInt((int)gyCONSTRAINT_RIGHT_OF
));
34423 PyDict_SetItemString(d
,"gyCONSTRAINT_ABOVE", SWIG_FromInt((int)gyCONSTRAINT_ABOVE
));
34424 PyDict_SetItemString(d
,"gyCONSTRAINT_BELOW", SWIG_FromInt((int)gyCONSTRAINT_BELOW
));
34425 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_TOP
));
34426 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_BOTTOM
));
34427 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_LEFT
));
34428 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_RIGHT
));
34429 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_TOP
));
34430 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_BOTTOM
));
34431 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_LEFT
));
34432 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_RIGHT
));
34433 PyDict_SetItemString(d
,"DIVISION_SIDE_NONE", SWIG_FromInt((int)DIVISION_SIDE_NONE
));
34434 PyDict_SetItemString(d
,"DIVISION_SIDE_LEFT", SWIG_FromInt((int)DIVISION_SIDE_LEFT
));
34435 PyDict_SetItemString(d
,"DIVISION_SIDE_TOP", SWIG_FromInt((int)DIVISION_SIDE_TOP
));
34436 PyDict_SetItemString(d
,"DIVISION_SIDE_RIGHT", SWIG_FromInt((int)DIVISION_SIDE_RIGHT
));
34437 PyDict_SetItemString(d
,"DIVISION_SIDE_BOTTOM", SWIG_FromInt((int)DIVISION_SIDE_BOTTOM
));
34440 // initoglbasicc();
34441 // initoglshapesc();
34442 // initoglshapes2c();
34443 // initoglcanvasc();
34446 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
34447 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
34448 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
34449 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
34450 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
34451 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
34452 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
34453 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
34454 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
34455 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
34456 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
34457 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
34458 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
34459 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");