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 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
317 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
319 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
321 if (PyErr_Occurred()) {
323 PyErr_SetString(PyExc_TypeError
, "a double is expected");
329 SWIGSTATICINLINE(int)
330 SWIG_CheckDouble(PyObject
* obj
)
333 if (PyErr_Occurred()) {
345 SWIGSTATICINLINE(long)
346 SWIG_CheckLongInRange(long value
, const char* type
,
347 long min_value
, long max_value
)
349 if (!PyErr_Occurred()) {
350 if (value
< min_value
) {
352 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
353 value
, type
, min_value
);
355 PyErr_SetObject(PyExc_OverflowError
, err
);
357 } else if (value
> max_value
) {
359 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
360 value
, type
, max_value
);
361 PyErr_SetObject(PyExc_OverflowError
, err
);
369 SWIGSTATICINLINE(long)
370 SWIG_AsLong(PyObject
* obj
)
372 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
376 #if INT_MAX != LONG_MAX
377 SWIGSTATICINLINE(int)
378 SWIG_AsInt(PyObject
*obj
)
380 return swig_numeric_cast(int,
381 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
382 "int", INT_MIN
, INT_MAX
));
385 #define SWIG_AsInt SWIG_AsLong
389 SWIGSTATICINLINE(int)
390 SWIG_CheckInt(PyObject
* obj
)
393 if (PyErr_Occurred()) {
402 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
408 } else if (target
== Py_None
) {
412 if (!PyTuple_Check(target
)) {
414 target
= PyTuple_New(1);
415 PyTuple_SetItem(target
, 0, o2
);
418 PyTuple_SetItem(o3
, 0, o
);
421 target
= PySequence_Concat(o2
, o3
);
429 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler
,wxShapeEvtHandler
);
431 void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler
*self
,PyObject
*_self
){
432 self
->SetClientObject(new wxPyOORClientData(_self
));
435 SWIGSTATICINLINE(bool)
436 SWIG_AsBool(PyObject
*obj
)
438 return PyObject_IsTrue(obj
) ? true : false;
442 SWIGSTATICINLINE(int)
443 SWIG_CheckBool(PyObject
* obj
)
446 if (PyErr_Occurred()) {
455 WXSHAPE_IMP_CALLBACKS(wxPyShape
, wxShape
);
457 PyObject
*wxPyShape_GetChildren(wxPyShape
*self
){
458 wxList
& list
= self
->GetChildren();
459 return wxPy_ConvertShapeList(&list
);
461 PyObject
*wxPyShape_GetLines(wxPyShape
*self
){
462 wxList
& list
= self
->GetLines();
463 return wxPy_ConvertShapeList(&list
);
466 SWIGSTATICINLINE(int)
467 SWIG_CheckLong(PyObject
* obj
)
470 if (PyErr_Occurred()) {
478 PyObject
*wxPyShape_GetRegions(wxPyShape
*self
){
479 wxList
& list
= self
->GetRegions();
480 return wxPy_ConvertList(&list
);
482 PyObject
*wxPyShape_GetAttachments(wxPyShape
*self
){
483 wxList
& list
= self
->GetAttachments();
484 return wxPy_ConvertList(&list
);
486 void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
*linesToSort
){
487 wxList
* list
= wxPy_wxListHelper(linesToSort
, wxT("wxPyLineShape"));
488 self
->ApplyAttachmentOrdering(*list
);
492 // Using this macro can sometimes provoke an Internal Compiler Error in MSVC
493 // 6, so instead I'l just expand it out by hand...
494 // WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
496 IMP_PYCALLBACK__ (wxPyRectangleShape
, wxRectangleShape
, OnDelete
);
497 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDraw
);
498 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawContents
);
499 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnDrawBranches
);
500 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnMoveLinks
);
501 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnErase
);
502 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseContents
);
503 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnHighlight
);
504 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftClick
);
505 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftDoubleClick
);
506 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnRightClick
);
507 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnSize
);
508 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePre
);
509 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePost
);
510 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragLeft
);
511 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragLeft
);
512 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragLeft
);
513 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragRight
);
514 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragRight
);
515 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragRight
);
516 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape
, wxRectangleShape
, OnDrawOutline
);
517 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawControlPoints
);
518 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseControlPoints
);
519 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMoveLink
);
520 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape
, wxRectangleShape
, OnSizingDragLeft
);
521 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingBeginDragLeft
);
522 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingEndDragLeft
);
523 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnBeginSize
);
524 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnEndSize
)
528 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint
, wxControlPoint
);
531 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape
, wxBitmapShape
);
534 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape
, wxDrawnShape
);
536 wxOGLConstraint
*new_wxOGLConstraint(int type
,wxPyShape
*constraining
,PyObject
*constrained
){
537 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
538 wxOGLConstraint
* rv
= new wxOGLConstraint(type
, constraining
, *list
);
543 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape
, wxCompositeShape
);
545 wxOGLConstraint
*wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape
*self
,int type
,wxPyShape
*constraining
,PyObject
*constrained
){
546 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
547 wxOGLConstraint
* rv
= self
->AddConstraint(type
, constraining
, *list
);
551 PyObject
*wxPyCompositeShape_GetConstraints(wxPyCompositeShape
*self
){
552 wxList
& list
= self
->GetConstraints();
553 return wxPy_ConvertList(&list
);
555 PyObject
*wxPyCompositeShape_GetDivisions(wxPyCompositeShape
*self
){
556 wxList
& list
= self
->GetDivisions();
557 return wxPy_ConvertShapeList(&list
);
560 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape
, wxDividedShape
);
563 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape
, wxDivisionShape
);
566 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape
, wxEllipseShape
);
569 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape
, wxCircleShape
);
572 WXSHAPE_IMP_CALLBACKS(wxPyLineShape
, wxLineShape
);
574 void wxPyLineShape_AddArrowOrdered(wxPyLineShape
*self
,wxArrowHead
*arrow
,PyObject
*referenceList
,int end
){
575 wxList
* list
= wxPy_wxListHelper(referenceList
, wxT("wxArrowHead"));
576 self
->AddArrowOrdered(arrow
, *list
, end
);
579 PyObject
*wxPyLineShape_GetLineControlPoints(wxPyLineShape
*self
){
580 wxList
* list
= self
->GetLineControlPoints();
581 return wxPy_ConvertShapeList(list
);
584 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape
, wxPolygonShape
);
586 PyObject
*wxPyPolygonShape_Create(wxPyPolygonShape
*self
,PyObject
*points
){
587 wxList
* list
= wxPy_wxRealPoint_ListHelper(points
);
595 PyObject
*wxPyPolygonShape_GetPoints(wxPyPolygonShape
*self
){
596 wxList
* list
= self
->GetPoints();
600 wxNode
* node
= list
->GetFirst();
602 wxPyBeginBlockThreads();
603 pyList
= PyList_New(0);
605 wxObj
= node
->GetData();
606 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
607 PyList_Append(pyList
, pyObj
);
608 node
= node
->GetNext();
610 wxPyEndBlockThreads();
613 PyObject
*wxPyPolygonShape_GetOriginalPoints(wxPyPolygonShape
*self
){
614 wxList
* list
= self
->GetOriginalPoints();
618 wxNode
* node
= list
->GetFirst();
620 wxPyBeginBlockThreads();
621 pyList
= PyList_New(0);
623 wxObj
= node
->GetData();
624 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
625 PyList_Append(pyList
, pyObj
);
626 node
= node
->GetNext();
628 wxPyEndBlockThreads();
632 WXSHAPE_IMP_CALLBACKS(wxPyTextShape
, wxTextShape
);
635 // Put some wx default wxChar* values into wxStrings.
636 DECLARE_DEF_STRING(ShapeCanvasNameStr
);
638 PyObject
*wxDiagram_GetShapeList(wxDiagram
*self
){
639 wxList
* list
= self
->GetShapeList();
640 return wxPy_ConvertShapeList(list
);
643 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragLeft
);
644 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragRight
);
645 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragLeft
);
646 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragRight
);
647 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragLeft
);
648 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragRight
);
649 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnLeftClick
);
650 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnRightClick
);
653 //---------------------------------------------------------------------------
655 // Convert from a Python list to a list of className objects. This one will
656 // work for any class for the VERY generic cases, but beyond that the helper
657 // needs to know more about the type.
658 wxList
* wxPy_wxListHelper(PyObject
* pyList
, const wxChar
* className
) {
659 wxPyBeginBlockThreads();
660 if (!PyList_Check(pyList
)) {
661 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
662 wxPyEndBlockThreads();
665 int count
= PyList_Size(pyList
);
666 wxList
* list
= new wxList
;
668 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
669 wxPyEndBlockThreads();
672 for (int x
=0; x
<count
; x
++) {
673 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
674 wxObject
* wxo
= NULL
;
676 if ( !wxPyConvertSwigPtr(pyo
, (void **)&wxo
, className
) ) {
678 errmsg
.Printf(wxT("Type error, expected list of %s objects"), className
);
679 PyErr_SetString(PyExc_TypeError
, errmsg
.mb_str());
680 wxPyEndBlockThreads();
685 wxPyEndBlockThreads();
689 //---------------------------------------------------------------------------
691 wxList
* wxPy_wxRealPoint_ListHelper(PyObject
* pyList
) {
692 wxPyBeginBlockThreads();
693 if (!PyList_Check(pyList
)) {
694 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
695 wxPyEndBlockThreads();
698 int count
= PyList_Size(pyList
);
699 wxList
* list
= new wxList
;
701 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
702 wxPyEndBlockThreads();
705 for (int x
=0; x
<count
; x
++) {
706 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
708 if (PyTuple_Check(pyo
)) {
709 PyObject
* o1
= PyNumber_Float(PyTuple_GetItem(pyo
, 0));
710 PyObject
* o2
= PyNumber_Float(PyTuple_GetItem(pyo
, 1));
712 double val1
= (o1
? PyFloat_AsDouble(o1
) : 0.0);
713 double val2
= (o2
? PyFloat_AsDouble(o2
) : 0.0);
715 list
->Append((wxObject
*) new wxRealPoint(val1
, val2
));
718 wxRealPoint
* wxo
= NULL
;
719 if (wxPyConvertSwigPtr(pyo
, (void **)&wxo
, wxT("wxRealPoint"))) {
720 PyErr_SetString(PyExc_TypeError
, "Type error, expected list of wxRealPoint objects or 2-tuples");
721 wxPyEndBlockThreads();
724 list
->Append((wxObject
*) new wxRealPoint(*wxo
));
727 wxPyEndBlockThreads();
731 //---------------------------------------------------------------------------
733 PyObject
* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler
* source
) {
734 PyObject
* target
= NULL
;
736 if (source
&& wxIsKindOf(source
, wxShapeEvtHandler
)) {
737 // If it's derived from wxShapeEvtHandler then there may
738 // already be a pointer to a Python object that we can use
740 wxShapeEvtHandler
* seh
= (wxShapeEvtHandler
*)source
;
741 wxPyOORClientData
* data
= (wxPyOORClientData
*)seh
->GetClientObject();
743 target
= data
->m_obj
;
748 target
= wxPyMake_wxObject2(source
, FALSE
);
749 if (target
!= Py_None
)
750 ((wxShapeEvtHandler
*)source
)->SetClientObject(new wxPyOORClientData(target
));
755 //---------------------------------------------------------------------------
757 PyObject
* wxPy_ConvertShapeList(wxListBase
* listbase
) {
758 wxList
* list
= (wxList
*)listbase
;
762 wxNode
* node
= list
->GetFirst();
764 wxPyBeginBlockThreads();
765 pyList
= PyList_New(0);
767 wxObj
= node
->GetData();
768 pyObj
= wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler
*)wxObj
);
769 PyList_Append(pyList
, pyObj
);
770 node
= node
->GetNext();
772 wxPyEndBlockThreads();
777 //---------------------------------------------------------------------------
779 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas
, wxShapeCanvas
);
780 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler
, wxShapeEvtHandler
);
781 IMPLEMENT_ABSTRACT_CLASS(wxPyShape
, wxShape
);
782 IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape
, wxRectangleShape
);
783 IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint
, wxControlPoint
);
784 IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape
, wxBitmapShape
);
785 IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape
, wxDrawnShape
);
786 IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape
, wxCompositeShape
);
787 IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape
, wxDividedShape
);
788 IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape
, wxDivisionShape
);
789 IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape
, wxEllipseShape
);
790 IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape
, wxCircleShape
);
791 IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape
, wxLineShape
);
792 IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape
, wxPolygonShape
);
793 IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape
, wxTextShape
);
795 //---------------------------------------------------------------------------
797 // extern "C" SWIGEXPORT(void) initoglbasicc();
798 // extern "C" SWIGEXPORT(void) initoglshapesc();
799 // extern "C" SWIGEXPORT(void) initoglshapes2c();
800 // extern "C" SWIGEXPORT(void) initoglcanvasc();
805 static PyObject
*_wrap_new_ShapeRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
807 wxShapeRegion
*result
;
812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ShapeRegion",kwnames
)) goto fail
;
814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
815 result
= (wxShapeRegion
*)new wxShapeRegion();
817 wxPyEndAllowThreads(__tstate
);
818 if (PyErr_Occurred()) SWIG_fail
;
820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShapeRegion
, 1);
827 static PyObject
*_wrap_ShapeRegion_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
829 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
832 PyObject
* obj0
= 0 ;
833 PyObject
* obj1
= 0 ;
835 (char *) "self",(char *) "s", NULL
838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
842 arg2
= wxString_in_helper(obj1
);
843 if (arg2
== NULL
) SWIG_fail
;
847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
848 (arg1
)->SetText((wxString
const &)*arg2
);
850 wxPyEndAllowThreads(__tstate
);
851 if (PyErr_Occurred()) SWIG_fail
;
853 Py_INCREF(Py_None
); resultobj
= Py_None
;
868 static PyObject
*_wrap_ShapeRegion_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
870 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
871 wxFont
*arg2
= (wxFont
*) 0 ;
872 PyObject
* obj0
= 0 ;
873 PyObject
* obj1
= 0 ;
875 (char *) "self",(char *) "f", NULL
878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
884 if (obj1
== Py_None
) {
887 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
888 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
893 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
897 temp
->GetUnderlined(),
899 temp
->GetEncoding());
904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
905 (arg1
)->SetFont(arg2
);
907 wxPyEndAllowThreads(__tstate
);
908 if (PyErr_Occurred()) SWIG_fail
;
910 Py_INCREF(Py_None
); resultobj
= Py_None
;
917 static PyObject
*_wrap_ShapeRegion_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
919 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
922 PyObject
* obj0
= 0 ;
923 PyObject
* obj1
= 0 ;
924 PyObject
* obj2
= 0 ;
926 (char *) "self",(char *) "w",(char *) "h", NULL
929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
932 arg2
= (double) SWIG_AsDouble(obj1
);
933 if (PyErr_Occurred()) SWIG_fail
;
934 arg3
= (double) SWIG_AsDouble(obj2
);
935 if (PyErr_Occurred()) SWIG_fail
;
937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
938 (arg1
)->SetMinSize(arg2
,arg3
);
940 wxPyEndAllowThreads(__tstate
);
941 if (PyErr_Occurred()) SWIG_fail
;
943 Py_INCREF(Py_None
); resultobj
= Py_None
;
950 static PyObject
*_wrap_ShapeRegion_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
952 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
955 PyObject
* obj0
= 0 ;
956 PyObject
* obj1
= 0 ;
957 PyObject
* obj2
= 0 ;
959 (char *) "self",(char *) "w",(char *) "h", NULL
962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
965 arg2
= (double) SWIG_AsDouble(obj1
);
966 if (PyErr_Occurred()) SWIG_fail
;
967 arg3
= (double) SWIG_AsDouble(obj2
);
968 if (PyErr_Occurred()) SWIG_fail
;
970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
971 (arg1
)->SetSize(arg2
,arg3
);
973 wxPyEndAllowThreads(__tstate
);
974 if (PyErr_Occurred()) SWIG_fail
;
976 Py_INCREF(Py_None
); resultobj
= Py_None
;
983 static PyObject
*_wrap_ShapeRegion_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
985 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
988 PyObject
* obj0
= 0 ;
989 PyObject
* obj1
= 0 ;
990 PyObject
* obj2
= 0 ;
992 (char *) "self",(char *) "x",(char *) "y", NULL
995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
998 arg2
= (double) SWIG_AsDouble(obj1
);
999 if (PyErr_Occurred()) SWIG_fail
;
1000 arg3
= (double) SWIG_AsDouble(obj2
);
1001 if (PyErr_Occurred()) SWIG_fail
;
1003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1004 (arg1
)->SetPosition(arg2
,arg3
);
1006 wxPyEndAllowThreads(__tstate
);
1007 if (PyErr_Occurred()) SWIG_fail
;
1009 Py_INCREF(Py_None
); resultobj
= Py_None
;
1016 static PyObject
*_wrap_ShapeRegion_SetProportions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1017 PyObject
*resultobj
;
1018 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1021 PyObject
* obj0
= 0 ;
1022 PyObject
* obj1
= 0 ;
1023 PyObject
* obj2
= 0 ;
1025 (char *) "self",(char *) "x",(char *) "y", NULL
1028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetProportions",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1031 arg2
= (double) SWIG_AsDouble(obj1
);
1032 if (PyErr_Occurred()) SWIG_fail
;
1033 arg3
= (double) SWIG_AsDouble(obj2
);
1034 if (PyErr_Occurred()) SWIG_fail
;
1036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1037 (arg1
)->SetProportions(arg2
,arg3
);
1039 wxPyEndAllowThreads(__tstate
);
1040 if (PyErr_Occurred()) SWIG_fail
;
1042 Py_INCREF(Py_None
); resultobj
= Py_None
;
1049 static PyObject
*_wrap_ShapeRegion_SetFormatMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1050 PyObject
*resultobj
;
1051 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1053 PyObject
* obj0
= 0 ;
1054 PyObject
* obj1
= 0 ;
1056 (char *) "self",(char *) "mode", NULL
1059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetFormatMode",kwnames
,&obj0
,&obj1
)) goto fail
;
1060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1062 arg2
= (int) SWIG_AsInt(obj1
);
1063 if (PyErr_Occurred()) SWIG_fail
;
1065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1066 (arg1
)->SetFormatMode(arg2
);
1068 wxPyEndAllowThreads(__tstate
);
1069 if (PyErr_Occurred()) SWIG_fail
;
1071 Py_INCREF(Py_None
); resultobj
= Py_None
;
1078 static PyObject
*_wrap_ShapeRegion_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1079 PyObject
*resultobj
;
1080 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1081 wxString
*arg2
= 0 ;
1082 bool temp2
= False
;
1083 PyObject
* obj0
= 0 ;
1084 PyObject
* obj1
= 0 ;
1086 (char *) "self",(char *) "s", NULL
1089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
1090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1093 arg2
= wxString_in_helper(obj1
);
1094 if (arg2
== NULL
) SWIG_fail
;
1098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1099 (arg1
)->SetName((wxString
const &)*arg2
);
1101 wxPyEndAllowThreads(__tstate
);
1102 if (PyErr_Occurred()) SWIG_fail
;
1104 Py_INCREF(Py_None
); resultobj
= Py_None
;
1119 static PyObject
*_wrap_ShapeRegion_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1120 PyObject
*resultobj
;
1121 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1122 wxString
*arg2
= 0 ;
1123 bool temp2
= False
;
1124 PyObject
* obj0
= 0 ;
1125 PyObject
* obj1
= 0 ;
1127 (char *) "self",(char *) "col", NULL
1130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1134 arg2
= wxString_in_helper(obj1
);
1135 if (arg2
== NULL
) SWIG_fail
;
1139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1140 (arg1
)->SetColour((wxString
const &)*arg2
);
1142 wxPyEndAllowThreads(__tstate
);
1143 if (PyErr_Occurred()) SWIG_fail
;
1145 Py_INCREF(Py_None
); resultobj
= Py_None
;
1160 static PyObject
*_wrap_ShapeRegion_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1161 PyObject
*resultobj
;
1162 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1164 PyObject
* obj0
= 0 ;
1166 (char *) "self", NULL
1169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetText",kwnames
,&obj0
)) goto fail
;
1170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1174 result
= (arg1
)->GetText();
1176 wxPyEndAllowThreads(__tstate
);
1177 if (PyErr_Occurred()) SWIG_fail
;
1181 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1183 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1192 static PyObject
*_wrap_ShapeRegion_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1193 PyObject
*resultobj
;
1194 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1196 PyObject
* obj0
= 0 ;
1198 (char *) "self", NULL
1201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFont",kwnames
,&obj0
)) goto fail
;
1202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1206 result
= (wxFont
*)(arg1
)->GetFont();
1208 wxPyEndAllowThreads(__tstate
);
1209 if (PyErr_Occurred()) SWIG_fail
;
1211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
1218 static PyObject
*_wrap_ShapeRegion_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1219 PyObject
*resultobj
;
1220 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1221 double *arg2
= (double *) 0 ;
1222 double *arg3
= (double *) 0 ;
1225 PyObject
* obj0
= 0 ;
1227 (char *) "self", NULL
1232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetMinSize",kwnames
,&obj0
)) goto fail
;
1233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1237 (arg1
)->GetMinSize(arg2
,arg3
);
1239 wxPyEndAllowThreads(__tstate
);
1240 if (PyErr_Occurred()) SWIG_fail
;
1242 Py_INCREF(Py_None
); resultobj
= Py_None
;
1244 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1245 resultobj
= t_output_helper(resultobj
,o
);
1248 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1249 resultobj
= t_output_helper(resultobj
,o
);
1257 static PyObject
*_wrap_ShapeRegion_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1258 PyObject
*resultobj
;
1259 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1260 double *arg2
= (double *) 0 ;
1261 double *arg3
= (double *) 0 ;
1264 PyObject
* obj0
= 0 ;
1266 (char *) "self", NULL
1271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetProportion",kwnames
,&obj0
)) goto fail
;
1272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1276 (arg1
)->GetProportion(arg2
,arg3
);
1278 wxPyEndAllowThreads(__tstate
);
1279 if (PyErr_Occurred()) SWIG_fail
;
1281 Py_INCREF(Py_None
); resultobj
= Py_None
;
1283 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1284 resultobj
= t_output_helper(resultobj
,o
);
1287 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1288 resultobj
= t_output_helper(resultobj
,o
);
1296 static PyObject
*_wrap_ShapeRegion_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1297 PyObject
*resultobj
;
1298 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1299 double *arg2
= (double *) 0 ;
1300 double *arg3
= (double *) 0 ;
1303 PyObject
* obj0
= 0 ;
1305 (char *) "self", NULL
1310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetSize",kwnames
,&obj0
)) goto fail
;
1311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1315 (arg1
)->GetSize(arg2
,arg3
);
1317 wxPyEndAllowThreads(__tstate
);
1318 if (PyErr_Occurred()) SWIG_fail
;
1320 Py_INCREF(Py_None
); resultobj
= Py_None
;
1322 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1323 resultobj
= t_output_helper(resultobj
,o
);
1326 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1327 resultobj
= t_output_helper(resultobj
,o
);
1335 static PyObject
*_wrap_ShapeRegion_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1336 PyObject
*resultobj
;
1337 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1338 double *arg2
= (double *) 0 ;
1339 double *arg3
= (double *) 0 ;
1342 PyObject
* obj0
= 0 ;
1344 (char *) "self", NULL
1349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPosition",kwnames
,&obj0
)) goto fail
;
1350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1354 (arg1
)->GetPosition(arg2
,arg3
);
1356 wxPyEndAllowThreads(__tstate
);
1357 if (PyErr_Occurred()) SWIG_fail
;
1359 Py_INCREF(Py_None
); resultobj
= Py_None
;
1361 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1362 resultobj
= t_output_helper(resultobj
,o
);
1365 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1366 resultobj
= t_output_helper(resultobj
,o
);
1374 static PyObject
*_wrap_ShapeRegion_GetFormatMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
*resultobj
;
1376 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1378 PyObject
* obj0
= 0 ;
1380 (char *) "self", NULL
1383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormatMode",kwnames
,&obj0
)) goto fail
;
1384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1388 result
= (int)(arg1
)->GetFormatMode();
1390 wxPyEndAllowThreads(__tstate
);
1391 if (PyErr_Occurred()) SWIG_fail
;
1393 resultobj
= SWIG_FromInt((int)result
);
1400 static PyObject
*_wrap_ShapeRegion_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1401 PyObject
*resultobj
;
1402 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1404 PyObject
* obj0
= 0 ;
1406 (char *) "self", NULL
1409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetName",kwnames
,&obj0
)) goto fail
;
1410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1414 result
= (arg1
)->GetName();
1416 wxPyEndAllowThreads(__tstate
);
1417 if (PyErr_Occurred()) SWIG_fail
;
1421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1432 static PyObject
*_wrap_ShapeRegion_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1433 PyObject
*resultobj
;
1434 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1436 PyObject
* obj0
= 0 ;
1438 (char *) "self", NULL
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetColour",kwnames
,&obj0
)) goto fail
;
1442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1446 result
= (arg1
)->GetColour();
1448 wxPyEndAllowThreads(__tstate
);
1449 if (PyErr_Occurred()) SWIG_fail
;
1453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1464 static PyObject
*_wrap_ShapeRegion_GetActualColourObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
*resultobj
;
1466 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1468 PyObject
* obj0
= 0 ;
1470 (char *) "self", NULL
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualColourObject",kwnames
,&obj0
)) goto fail
;
1474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1478 result
= (arg1
)->GetActualColourObject();
1480 wxPyEndAllowThreads(__tstate
);
1481 if (PyErr_Occurred()) SWIG_fail
;
1484 wxColour
* resultptr
;
1485 resultptr
= new wxColour((wxColour
&) result
);
1486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1494 static PyObject
*_wrap_ShapeRegion_GetFormattedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1495 PyObject
*resultobj
;
1496 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1498 PyObject
* obj0
= 0 ;
1500 (char *) "self", NULL
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormattedText",kwnames
,&obj0
)) goto fail
;
1504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1509 wxList
&_result_ref
= (arg1
)->GetFormattedText();
1510 result
= (wxList
*) &_result_ref
;
1513 wxPyEndAllowThreads(__tstate
);
1514 if (PyErr_Occurred()) SWIG_fail
;
1516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxList
, 0);
1523 static PyObject
*_wrap_ShapeRegion_GetPenColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
*resultobj
;
1525 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1527 PyObject
* obj0
= 0 ;
1529 (char *) "self", NULL
1532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenColour",kwnames
,&obj0
)) goto fail
;
1533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 result
= (arg1
)->GetPenColour();
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) SWIG_fail
;
1544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1555 static PyObject
*_wrap_ShapeRegion_GetPenStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1556 PyObject
*resultobj
;
1557 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1559 PyObject
* obj0
= 0 ;
1561 (char *) "self", NULL
1564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenStyle",kwnames
,&obj0
)) goto fail
;
1565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1569 result
= (int)(arg1
)->GetPenStyle();
1571 wxPyEndAllowThreads(__tstate
);
1572 if (PyErr_Occurred()) SWIG_fail
;
1574 resultobj
= SWIG_FromInt((int)result
);
1581 static PyObject
*_wrap_ShapeRegion_SetPenStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
*resultobj
;
1583 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1585 PyObject
* obj0
= 0 ;
1586 PyObject
* obj1
= 0 ;
1588 (char *) "self",(char *) "style", NULL
1591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetPenStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
1592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1594 arg2
= (int) SWIG_AsInt(obj1
);
1595 if (PyErr_Occurred()) SWIG_fail
;
1597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1598 (arg1
)->SetPenStyle(arg2
);
1600 wxPyEndAllowThreads(__tstate
);
1601 if (PyErr_Occurred()) SWIG_fail
;
1603 Py_INCREF(Py_None
); resultobj
= Py_None
;
1610 static PyObject
*_wrap_ShapeRegion_SetPenColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1611 PyObject
*resultobj
;
1612 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1613 wxString
*arg2
= 0 ;
1614 bool temp2
= False
;
1615 PyObject
* obj0
= 0 ;
1616 PyObject
* obj1
= 0 ;
1618 (char *) "self",(char *) "col", NULL
1621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetPenColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1625 arg2
= wxString_in_helper(obj1
);
1626 if (arg2
== NULL
) SWIG_fail
;
1630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1631 (arg1
)->SetPenColour((wxString
const &)*arg2
);
1633 wxPyEndAllowThreads(__tstate
);
1634 if (PyErr_Occurred()) SWIG_fail
;
1636 Py_INCREF(Py_None
); resultobj
= Py_None
;
1651 static PyObject
*_wrap_ShapeRegion_GetActualPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1652 PyObject
*resultobj
;
1653 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1655 PyObject
* obj0
= 0 ;
1657 (char *) "self", NULL
1660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualPen",kwnames
,&obj0
)) goto fail
;
1661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1665 result
= (wxPen
*)(arg1
)->GetActualPen();
1667 wxPyEndAllowThreads(__tstate
);
1668 if (PyErr_Occurred()) SWIG_fail
;
1670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
1677 static PyObject
*_wrap_ShapeRegion_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1678 PyObject
*resultobj
;
1679 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1681 PyObject
* obj0
= 0 ;
1683 (char *) "self", NULL
1686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetWidth",kwnames
,&obj0
)) goto fail
;
1687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1691 result
= (double)(arg1
)->GetWidth();
1693 wxPyEndAllowThreads(__tstate
);
1694 if (PyErr_Occurred()) SWIG_fail
;
1696 resultobj
= SWIG_FromDouble((double)result
);
1703 static PyObject
*_wrap_ShapeRegion_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1704 PyObject
*resultobj
;
1705 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1707 PyObject
* obj0
= 0 ;
1709 (char *) "self", NULL
1712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetHeight",kwnames
,&obj0
)) goto fail
;
1713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1717 result
= (double)(arg1
)->GetHeight();
1719 wxPyEndAllowThreads(__tstate
);
1720 if (PyErr_Occurred()) SWIG_fail
;
1722 resultobj
= SWIG_FromDouble((double)result
);
1729 static PyObject
*_wrap_ShapeRegion_ClearText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
*resultobj
;
1731 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1732 PyObject
* obj0
= 0 ;
1734 (char *) "self", NULL
1737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_ClearText",kwnames
,&obj0
)) goto fail
;
1738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1742 (arg1
)->ClearText();
1744 wxPyEndAllowThreads(__tstate
);
1745 if (PyErr_Occurred()) SWIG_fail
;
1747 Py_INCREF(Py_None
); resultobj
= Py_None
;
1754 static PyObject
* ShapeRegion_swigregister(PyObject
*, PyObject
*args
) {
1756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1757 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion
, obj
);
1759 return Py_BuildValue((char *)"");
1761 static PyObject
*_wrap_new_AttachmentPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1762 PyObject
*resultobj
;
1763 int arg1
= (int) 0 ;
1764 double arg2
= (double) 0.0 ;
1765 double arg3
= (double) 0.0 ;
1766 wxAttachmentPoint
*result
;
1767 PyObject
* obj0
= 0 ;
1768 PyObject
* obj1
= 0 ;
1769 PyObject
* obj2
= 0 ;
1771 (char *) "id",(char *) "x",(char *) "y", NULL
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AttachmentPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1776 arg1
= (int) SWIG_AsInt(obj0
);
1777 if (PyErr_Occurred()) SWIG_fail
;
1780 arg2
= (double) SWIG_AsDouble(obj1
);
1781 if (PyErr_Occurred()) SWIG_fail
;
1784 arg3
= (double) SWIG_AsDouble(obj2
);
1785 if (PyErr_Occurred()) SWIG_fail
;
1788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1789 result
= (wxAttachmentPoint
*)new wxAttachmentPoint(arg1
,arg2
,arg3
);
1791 wxPyEndAllowThreads(__tstate
);
1792 if (PyErr_Occurred()) SWIG_fail
;
1794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAttachmentPoint
, 1);
1801 static PyObject
*_wrap_AttachmentPoint_m_id_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
*resultobj
;
1803 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1805 PyObject
* obj0
= 0 ;
1806 PyObject
* obj1
= 0 ;
1808 (char *) "self",(char *) "m_id", NULL
1811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AttachmentPoint_m_id_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
1813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1814 arg2
= (int) SWIG_AsInt(obj1
);
1815 if (PyErr_Occurred()) SWIG_fail
;
1816 if (arg1
) (arg1
)->m_id
= arg2
;
1818 Py_INCREF(Py_None
); resultobj
= Py_None
;
1825 static PyObject
*_wrap_AttachmentPoint_m_id_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
*resultobj
;
1827 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1829 PyObject
* obj0
= 0 ;
1831 (char *) "self", NULL
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_id_get",kwnames
,&obj0
)) goto fail
;
1835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
1836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1837 result
= (int) ((arg1
)->m_id
);
1839 resultobj
= SWIG_FromInt((int)result
);
1846 static PyObject
*_wrap_AttachmentPoint_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1847 PyObject
*resultobj
;
1848 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1850 PyObject
* obj0
= 0 ;
1851 PyObject
* obj1
= 0 ;
1853 (char *) "self",(char *) "m_x", NULL
1856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AttachmentPoint_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
1858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1859 arg2
= (double) SWIG_AsDouble(obj1
);
1860 if (PyErr_Occurred()) SWIG_fail
;
1861 if (arg1
) (arg1
)->m_x
= arg2
;
1863 Py_INCREF(Py_None
); resultobj
= Py_None
;
1870 static PyObject
*_wrap_AttachmentPoint_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
*resultobj
;
1872 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1874 PyObject
* obj0
= 0 ;
1876 (char *) "self", NULL
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_x_get",kwnames
,&obj0
)) goto fail
;
1880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
1881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1882 result
= (double) ((arg1
)->m_x
);
1884 resultobj
= SWIG_FromDouble((double)result
);
1891 static PyObject
*_wrap_AttachmentPoint_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1892 PyObject
*resultobj
;
1893 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1895 PyObject
* obj0
= 0 ;
1896 PyObject
* obj1
= 0 ;
1898 (char *) "self",(char *) "m_y", NULL
1901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AttachmentPoint_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
1903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1904 arg2
= (double) SWIG_AsDouble(obj1
);
1905 if (PyErr_Occurred()) SWIG_fail
;
1906 if (arg1
) (arg1
)->m_y
= arg2
;
1908 Py_INCREF(Py_None
); resultobj
= Py_None
;
1915 static PyObject
*_wrap_AttachmentPoint_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1916 PyObject
*resultobj
;
1917 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1919 PyObject
* obj0
= 0 ;
1921 (char *) "self", NULL
1924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_y_get",kwnames
,&obj0
)) goto fail
;
1925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
1926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1927 result
= (double) ((arg1
)->m_y
);
1929 resultobj
= SWIG_FromDouble((double)result
);
1936 static PyObject
* AttachmentPoint_swigregister(PyObject
*, PyObject
*args
) {
1938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1939 SWIG_TypeClientData(SWIGTYPE_p_wxAttachmentPoint
, obj
);
1941 return Py_BuildValue((char *)"");
1943 static PyObject
*_wrap_new_PyShapeEvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1944 PyObject
*resultobj
;
1945 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) NULL
;
1946 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
1947 wxPyShapeEvtHandler
*result
;
1948 PyObject
* obj0
= 0 ;
1949 PyObject
* obj1
= 0 ;
1951 (char *) "prev",(char *) "shape", NULL
1954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyShapeEvtHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
1956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
1957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
1961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1965 result
= (wxPyShapeEvtHandler
*)new wxPyShapeEvtHandler(arg1
,arg2
);
1967 wxPyEndAllowThreads(__tstate
);
1968 if (PyErr_Occurred()) SWIG_fail
;
1971 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
1979 static PyObject
*_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
*resultobj
;
1981 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1982 PyObject
*arg2
= (PyObject
*) 0 ;
1983 PyObject
*arg3
= (PyObject
*) 0 ;
1984 PyObject
* obj0
= 0 ;
1985 PyObject
* obj1
= 0 ;
1986 PyObject
* obj2
= 0 ;
1988 (char *) "self",(char *) "self",(char *) "_class", NULL
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
1993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1998 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2000 wxPyEndAllowThreads(__tstate
);
2001 if (PyErr_Occurred()) SWIG_fail
;
2003 Py_INCREF(Py_None
); resultobj
= Py_None
;
2010 static PyObject
*_wrap_PyShapeEvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
*resultobj
;
2012 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2013 PyObject
*arg2
= (PyObject
*) 0 ;
2014 PyObject
* obj0
= 0 ;
2015 PyObject
* obj1
= 0 ;
2017 (char *) "self",(char *) "_self", NULL
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2026 wxPyShapeEvtHandler__setOORInfo(arg1
,arg2
);
2028 wxPyEndAllowThreads(__tstate
);
2029 if (PyErr_Occurred()) SWIG_fail
;
2031 Py_INCREF(Py_None
); resultobj
= Py_None
;
2038 static PyObject
*_wrap_PyShapeEvtHandler_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2039 PyObject
*resultobj
;
2040 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2041 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
2042 PyObject
* obj0
= 0 ;
2043 PyObject
* obj1
= 0 ;
2045 (char *) "self",(char *) "sh", NULL
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
2052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2055 (arg1
)->SetShape(arg2
);
2057 wxPyEndAllowThreads(__tstate
);
2058 if (PyErr_Occurred()) SWIG_fail
;
2060 Py_INCREF(Py_None
); resultobj
= Py_None
;
2067 static PyObject
*_wrap_PyShapeEvtHandler_GetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
*resultobj
;
2069 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2071 PyObject
* obj0
= 0 ;
2073 (char *) "self", NULL
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetShape",kwnames
,&obj0
)) goto fail
;
2077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2081 result
= (wxPyShape
*)(arg1
)->GetShape();
2083 wxPyEndAllowThreads(__tstate
);
2084 if (PyErr_Occurred()) SWIG_fail
;
2087 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
2095 static PyObject
*_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2096 PyObject
*resultobj
;
2097 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2098 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
2099 PyObject
* obj0
= 0 ;
2100 PyObject
* obj1
= 0 ;
2102 (char *) "self",(char *) "handler", NULL
2105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
2106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2108 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2112 (arg1
)->SetPreviousHandler(arg2
);
2114 wxPyEndAllowThreads(__tstate
);
2115 if (PyErr_Occurred()) SWIG_fail
;
2117 Py_INCREF(Py_None
); resultobj
= Py_None
;
2124 static PyObject
*_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2125 PyObject
*resultobj
;
2126 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2127 wxPyShapeEvtHandler
*result
;
2128 PyObject
* obj0
= 0 ;
2130 (char *) "self", NULL
2133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
2134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2138 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetPreviousHandler();
2140 wxPyEndAllowThreads(__tstate
);
2141 if (PyErr_Occurred()) SWIG_fail
;
2144 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
2152 static PyObject
*_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2153 PyObject
*resultobj
;
2154 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2155 wxPyShapeEvtHandler
*result
;
2156 PyObject
* obj0
= 0 ;
2158 (char *) "self", NULL
2161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames
,&obj0
)) goto fail
;
2162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2166 result
= (wxPyShapeEvtHandler
*)(arg1
)->CreateNewCopy();
2168 wxPyEndAllowThreads(__tstate
);
2169 if (PyErr_Occurred()) SWIG_fail
;
2172 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
2180 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2181 PyObject
*resultobj
;
2182 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2183 PyObject
* obj0
= 0 ;
2185 (char *) "self", NULL
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames
,&obj0
)) goto fail
;
2189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2193 (arg1
)->base_OnDelete();
2195 wxPyEndAllowThreads(__tstate
);
2196 if (PyErr_Occurred()) SWIG_fail
;
2198 Py_INCREF(Py_None
); resultobj
= Py_None
;
2205 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2206 PyObject
*resultobj
;
2207 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2209 PyObject
* obj0
= 0 ;
2210 PyObject
* obj1
= 0 ;
2212 (char *) "self",(char *) "dc", NULL
2215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
2216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2219 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2222 PyErr_SetString(PyExc_TypeError
,"null reference");
2226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2227 (arg1
)->base_OnDraw(*arg2
);
2229 wxPyEndAllowThreads(__tstate
);
2230 if (PyErr_Occurred()) SWIG_fail
;
2232 Py_INCREF(Py_None
); resultobj
= Py_None
;
2239 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
*resultobj
;
2241 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2243 PyObject
* obj0
= 0 ;
2244 PyObject
* obj1
= 0 ;
2246 (char *) "self",(char *) "dc", NULL
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
2250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2253 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2256 PyErr_SetString(PyExc_TypeError
,"null reference");
2260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2261 (arg1
)->base_OnDrawContents(*arg2
);
2263 wxPyEndAllowThreads(__tstate
);
2264 if (PyErr_Occurred()) SWIG_fail
;
2266 Py_INCREF(Py_None
); resultobj
= Py_None
;
2273 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2274 PyObject
*resultobj
;
2275 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2277 bool arg3
= (bool) False
;
2278 PyObject
* obj0
= 0 ;
2279 PyObject
* obj1
= 0 ;
2280 PyObject
* obj2
= 0 ;
2282 (char *) "self",(char *) "dc",(char *) "erase", NULL
2285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2288 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2289 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2292 PyErr_SetString(PyExc_TypeError
,"null reference");
2296 arg3
= (bool) SWIG_AsBool(obj2
);
2297 if (PyErr_Occurred()) SWIG_fail
;
2300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2301 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
2303 wxPyEndAllowThreads(__tstate
);
2304 if (PyErr_Occurred()) SWIG_fail
;
2306 Py_INCREF(Py_None
); resultobj
= Py_None
;
2313 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
*resultobj
;
2315 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2317 PyObject
* obj0
= 0 ;
2318 PyObject
* obj1
= 0 ;
2320 (char *) "self",(char *) "dc", NULL
2323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
2324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2327 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2330 PyErr_SetString(PyExc_TypeError
,"null reference");
2334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2335 (arg1
)->base_OnMoveLinks(*arg2
);
2337 wxPyEndAllowThreads(__tstate
);
2338 if (PyErr_Occurred()) SWIG_fail
;
2340 Py_INCREF(Py_None
); resultobj
= Py_None
;
2347 static PyObject
*_wrap_PyShapeEvtHandler_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2348 PyObject
*resultobj
;
2349 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2351 PyObject
* obj0
= 0 ;
2352 PyObject
* obj1
= 0 ;
2354 (char *) "self",(char *) "dc", NULL
2357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
2358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2361 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2364 PyErr_SetString(PyExc_TypeError
,"null reference");
2368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2369 (arg1
)->base_OnErase(*arg2
);
2371 wxPyEndAllowThreads(__tstate
);
2372 if (PyErr_Occurred()) SWIG_fail
;
2374 Py_INCREF(Py_None
); resultobj
= Py_None
;
2381 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
*resultobj
;
2383 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2385 PyObject
* obj0
= 0 ;
2386 PyObject
* obj1
= 0 ;
2388 (char *) "self",(char *) "dc", NULL
2391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
2392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2395 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2398 PyErr_SetString(PyExc_TypeError
,"null reference");
2402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2403 (arg1
)->base_OnEraseContents(*arg2
);
2405 wxPyEndAllowThreads(__tstate
);
2406 if (PyErr_Occurred()) SWIG_fail
;
2408 Py_INCREF(Py_None
); resultobj
= Py_None
;
2415 static PyObject
*_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2416 PyObject
*resultobj
;
2417 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2419 PyObject
* obj0
= 0 ;
2420 PyObject
* obj1
= 0 ;
2422 (char *) "self",(char *) "dc", NULL
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
2426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2429 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2432 PyErr_SetString(PyExc_TypeError
,"null reference");
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 (arg1
)->base_OnHighlight(*arg2
);
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) SWIG_fail
;
2442 Py_INCREF(Py_None
); resultobj
= Py_None
;
2449 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
*resultobj
;
2451 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2454 int arg4
= (int) 0 ;
2455 int arg5
= (int) 0 ;
2456 PyObject
* obj0
= 0 ;
2457 PyObject
* obj1
= 0 ;
2458 PyObject
* obj2
= 0 ;
2459 PyObject
* obj3
= 0 ;
2460 PyObject
* obj4
= 0 ;
2462 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2468 arg2
= (double) SWIG_AsDouble(obj1
);
2469 if (PyErr_Occurred()) SWIG_fail
;
2470 arg3
= (double) SWIG_AsDouble(obj2
);
2471 if (PyErr_Occurred()) SWIG_fail
;
2473 arg4
= (int) SWIG_AsInt(obj3
);
2474 if (PyErr_Occurred()) SWIG_fail
;
2477 arg5
= (int) SWIG_AsInt(obj4
);
2478 if (PyErr_Occurred()) SWIG_fail
;
2481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2482 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
2484 wxPyEndAllowThreads(__tstate
);
2485 if (PyErr_Occurred()) SWIG_fail
;
2487 Py_INCREF(Py_None
); resultobj
= Py_None
;
2494 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
*resultobj
;
2496 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2499 int arg4
= (int) 0 ;
2500 int arg5
= (int) 0 ;
2501 PyObject
* obj0
= 0 ;
2502 PyObject
* obj1
= 0 ;
2503 PyObject
* obj2
= 0 ;
2504 PyObject
* obj3
= 0 ;
2505 PyObject
* obj4
= 0 ;
2507 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2513 arg2
= (double) SWIG_AsDouble(obj1
);
2514 if (PyErr_Occurred()) SWIG_fail
;
2515 arg3
= (double) SWIG_AsDouble(obj2
);
2516 if (PyErr_Occurred()) SWIG_fail
;
2518 arg4
= (int) SWIG_AsInt(obj3
);
2519 if (PyErr_Occurred()) SWIG_fail
;
2522 arg5
= (int) SWIG_AsInt(obj4
);
2523 if (PyErr_Occurred()) SWIG_fail
;
2526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2527 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
2529 wxPyEndAllowThreads(__tstate
);
2530 if (PyErr_Occurred()) SWIG_fail
;
2532 Py_INCREF(Py_None
); resultobj
= Py_None
;
2539 static PyObject
*_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2540 PyObject
*resultobj
;
2541 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2544 int arg4
= (int) 0 ;
2545 int arg5
= (int) 0 ;
2546 PyObject
* obj0
= 0 ;
2547 PyObject
* obj1
= 0 ;
2548 PyObject
* obj2
= 0 ;
2549 PyObject
* obj3
= 0 ;
2550 PyObject
* obj4
= 0 ;
2552 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2558 arg2
= (double) SWIG_AsDouble(obj1
);
2559 if (PyErr_Occurred()) SWIG_fail
;
2560 arg3
= (double) SWIG_AsDouble(obj2
);
2561 if (PyErr_Occurred()) SWIG_fail
;
2563 arg4
= (int) SWIG_AsInt(obj3
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2567 arg5
= (int) SWIG_AsInt(obj4
);
2568 if (PyErr_Occurred()) SWIG_fail
;
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2577 Py_INCREF(Py_None
); resultobj
= Py_None
;
2584 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
*resultobj
;
2586 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2589 PyObject
* obj0
= 0 ;
2590 PyObject
* obj1
= 0 ;
2591 PyObject
* obj2
= 0 ;
2593 (char *) "self",(char *) "x",(char *) "y", NULL
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2599 arg2
= (double) SWIG_AsDouble(obj1
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2601 arg3
= (double) SWIG_AsDouble(obj2
);
2602 if (PyErr_Occurred()) SWIG_fail
;
2604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2605 (arg1
)->base_OnSize(arg2
,arg3
);
2607 wxPyEndAllowThreads(__tstate
);
2608 if (PyErr_Occurred()) SWIG_fail
;
2610 Py_INCREF(Py_None
); resultobj
= Py_None
;
2617 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
*resultobj
;
2619 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2625 bool arg7
= (bool) True
;
2627 PyObject
* obj0
= 0 ;
2628 PyObject
* obj1
= 0 ;
2629 PyObject
* obj2
= 0 ;
2630 PyObject
* obj3
= 0 ;
2631 PyObject
* obj4
= 0 ;
2632 PyObject
* obj5
= 0 ;
2633 PyObject
* obj6
= 0 ;
2635 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2642 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2645 PyErr_SetString(PyExc_TypeError
,"null reference");
2648 arg3
= (double) SWIG_AsDouble(obj2
);
2649 if (PyErr_Occurred()) SWIG_fail
;
2650 arg4
= (double) SWIG_AsDouble(obj3
);
2651 if (PyErr_Occurred()) SWIG_fail
;
2652 arg5
= (double) SWIG_AsDouble(obj4
);
2653 if (PyErr_Occurred()) SWIG_fail
;
2654 arg6
= (double) SWIG_AsDouble(obj5
);
2655 if (PyErr_Occurred()) SWIG_fail
;
2657 arg7
= (bool) SWIG_AsBool(obj6
);
2658 if (PyErr_Occurred()) SWIG_fail
;
2661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2662 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2664 wxPyEndAllowThreads(__tstate
);
2665 if (PyErr_Occurred()) SWIG_fail
;
2667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2674 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
*resultobj
;
2676 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2682 bool arg7
= (bool) True
;
2683 PyObject
* obj0
= 0 ;
2684 PyObject
* obj1
= 0 ;
2685 PyObject
* obj2
= 0 ;
2686 PyObject
* obj3
= 0 ;
2687 PyObject
* obj4
= 0 ;
2688 PyObject
* obj5
= 0 ;
2689 PyObject
* obj6
= 0 ;
2691 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2701 PyErr_SetString(PyExc_TypeError
,"null reference");
2704 arg3
= (double) SWIG_AsDouble(obj2
);
2705 if (PyErr_Occurred()) SWIG_fail
;
2706 arg4
= (double) SWIG_AsDouble(obj3
);
2707 if (PyErr_Occurred()) SWIG_fail
;
2708 arg5
= (double) SWIG_AsDouble(obj4
);
2709 if (PyErr_Occurred()) SWIG_fail
;
2710 arg6
= (double) SWIG_AsDouble(obj5
);
2711 if (PyErr_Occurred()) SWIG_fail
;
2713 arg7
= (bool) SWIG_AsBool(obj6
);
2714 if (PyErr_Occurred()) SWIG_fail
;
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2723 Py_INCREF(Py_None
); resultobj
= Py_None
;
2730 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2731 PyObject
*resultobj
;
2732 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2736 int arg5
= (int) 0 ;
2737 int arg6
= (int) 0 ;
2738 PyObject
* obj0
= 0 ;
2739 PyObject
* obj1
= 0 ;
2740 PyObject
* obj2
= 0 ;
2741 PyObject
* obj3
= 0 ;
2742 PyObject
* obj4
= 0 ;
2743 PyObject
* obj5
= 0 ;
2745 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2751 arg2
= (bool) SWIG_AsBool(obj1
);
2752 if (PyErr_Occurred()) SWIG_fail
;
2753 arg3
= (double) SWIG_AsDouble(obj2
);
2754 if (PyErr_Occurred()) SWIG_fail
;
2755 arg4
= (double) SWIG_AsDouble(obj3
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2758 arg5
= (int) SWIG_AsInt(obj4
);
2759 if (PyErr_Occurred()) SWIG_fail
;
2762 arg6
= (int) SWIG_AsInt(obj5
);
2763 if (PyErr_Occurred()) SWIG_fail
;
2766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2767 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
2769 wxPyEndAllowThreads(__tstate
);
2770 if (PyErr_Occurred()) SWIG_fail
;
2772 Py_INCREF(Py_None
); resultobj
= Py_None
;
2779 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2780 PyObject
*resultobj
;
2781 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2784 int arg4
= (int) 0 ;
2785 int arg5
= (int) 0 ;
2786 PyObject
* obj0
= 0 ;
2787 PyObject
* obj1
= 0 ;
2788 PyObject
* obj2
= 0 ;
2789 PyObject
* obj3
= 0 ;
2790 PyObject
* obj4
= 0 ;
2792 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2798 arg2
= (double) SWIG_AsDouble(obj1
);
2799 if (PyErr_Occurred()) SWIG_fail
;
2800 arg3
= (double) SWIG_AsDouble(obj2
);
2801 if (PyErr_Occurred()) SWIG_fail
;
2803 arg4
= (int) SWIG_AsInt(obj3
);
2804 if (PyErr_Occurred()) SWIG_fail
;
2807 arg5
= (int) SWIG_AsInt(obj4
);
2808 if (PyErr_Occurred()) SWIG_fail
;
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2812 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) SWIG_fail
;
2817 Py_INCREF(Py_None
); resultobj
= Py_None
;
2824 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
*resultobj
;
2826 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2829 int arg4
= (int) 0 ;
2830 int arg5
= (int) 0 ;
2831 PyObject
* obj0
= 0 ;
2832 PyObject
* obj1
= 0 ;
2833 PyObject
* obj2
= 0 ;
2834 PyObject
* obj3
= 0 ;
2835 PyObject
* obj4
= 0 ;
2837 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2843 arg2
= (double) SWIG_AsDouble(obj1
);
2844 if (PyErr_Occurred()) SWIG_fail
;
2845 arg3
= (double) SWIG_AsDouble(obj2
);
2846 if (PyErr_Occurred()) SWIG_fail
;
2848 arg4
= (int) SWIG_AsInt(obj3
);
2849 if (PyErr_Occurred()) SWIG_fail
;
2852 arg5
= (int) SWIG_AsInt(obj4
);
2853 if (PyErr_Occurred()) SWIG_fail
;
2856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2857 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
2859 wxPyEndAllowThreads(__tstate
);
2860 if (PyErr_Occurred()) SWIG_fail
;
2862 Py_INCREF(Py_None
); resultobj
= Py_None
;
2869 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
*resultobj
;
2871 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2875 int arg5
= (int) 0 ;
2876 int arg6
= (int) 0 ;
2877 PyObject
* obj0
= 0 ;
2878 PyObject
* obj1
= 0 ;
2879 PyObject
* obj2
= 0 ;
2880 PyObject
* obj3
= 0 ;
2881 PyObject
* obj4
= 0 ;
2882 PyObject
* obj5
= 0 ;
2884 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2890 arg2
= (bool) SWIG_AsBool(obj1
);
2891 if (PyErr_Occurred()) SWIG_fail
;
2892 arg3
= (double) SWIG_AsDouble(obj2
);
2893 if (PyErr_Occurred()) SWIG_fail
;
2894 arg4
= (double) SWIG_AsDouble(obj3
);
2895 if (PyErr_Occurred()) SWIG_fail
;
2897 arg5
= (int) SWIG_AsInt(obj4
);
2898 if (PyErr_Occurred()) SWIG_fail
;
2901 arg6
= (int) SWIG_AsInt(obj5
);
2902 if (PyErr_Occurred()) SWIG_fail
;
2905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2906 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
2908 wxPyEndAllowThreads(__tstate
);
2909 if (PyErr_Occurred()) SWIG_fail
;
2911 Py_INCREF(Py_None
); resultobj
= Py_None
;
2918 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
*resultobj
;
2920 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2923 int arg4
= (int) 0 ;
2924 int arg5
= (int) 0 ;
2925 PyObject
* obj0
= 0 ;
2926 PyObject
* obj1
= 0 ;
2927 PyObject
* obj2
= 0 ;
2928 PyObject
* obj3
= 0 ;
2929 PyObject
* obj4
= 0 ;
2931 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2937 arg2
= (double) SWIG_AsDouble(obj1
);
2938 if (PyErr_Occurred()) SWIG_fail
;
2939 arg3
= (double) SWIG_AsDouble(obj2
);
2940 if (PyErr_Occurred()) SWIG_fail
;
2942 arg4
= (int) SWIG_AsInt(obj3
);
2943 if (PyErr_Occurred()) SWIG_fail
;
2946 arg5
= (int) SWIG_AsInt(obj4
);
2947 if (PyErr_Occurred()) SWIG_fail
;
2950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2951 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
2953 wxPyEndAllowThreads(__tstate
);
2954 if (PyErr_Occurred()) SWIG_fail
;
2956 Py_INCREF(Py_None
); resultobj
= Py_None
;
2963 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2964 PyObject
*resultobj
;
2965 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2968 int arg4
= (int) 0 ;
2969 int arg5
= (int) 0 ;
2970 PyObject
* obj0
= 0 ;
2971 PyObject
* obj1
= 0 ;
2972 PyObject
* obj2
= 0 ;
2973 PyObject
* obj3
= 0 ;
2974 PyObject
* obj4
= 0 ;
2976 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2982 arg2
= (double) SWIG_AsDouble(obj1
);
2983 if (PyErr_Occurred()) SWIG_fail
;
2984 arg3
= (double) SWIG_AsDouble(obj2
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2987 arg4
= (int) SWIG_AsInt(obj3
);
2988 if (PyErr_Occurred()) SWIG_fail
;
2991 arg5
= (int) SWIG_AsInt(obj4
);
2992 if (PyErr_Occurred()) SWIG_fail
;
2995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2996 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
2998 wxPyEndAllowThreads(__tstate
);
2999 if (PyErr_Occurred()) SWIG_fail
;
3001 Py_INCREF(Py_None
); resultobj
= Py_None
;
3008 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3009 PyObject
*resultobj
;
3010 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3016 PyObject
* obj0
= 0 ;
3017 PyObject
* obj1
= 0 ;
3018 PyObject
* obj2
= 0 ;
3019 PyObject
* obj3
= 0 ;
3020 PyObject
* obj4
= 0 ;
3021 PyObject
* obj5
= 0 ;
3023 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShapeEvtHandler_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3033 PyErr_SetString(PyExc_TypeError
,"null reference");
3036 arg3
= (double) SWIG_AsDouble(obj2
);
3037 if (PyErr_Occurred()) SWIG_fail
;
3038 arg4
= (double) SWIG_AsDouble(obj3
);
3039 if (PyErr_Occurred()) SWIG_fail
;
3040 arg5
= (double) SWIG_AsDouble(obj4
);
3041 if (PyErr_Occurred()) SWIG_fail
;
3042 arg6
= (double) SWIG_AsDouble(obj5
);
3043 if (PyErr_Occurred()) SWIG_fail
;
3045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3046 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
3048 wxPyEndAllowThreads(__tstate
);
3049 if (PyErr_Occurred()) SWIG_fail
;
3051 Py_INCREF(Py_None
); resultobj
= Py_None
;
3058 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
*resultobj
;
3060 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3062 PyObject
* obj0
= 0 ;
3063 PyObject
* obj1
= 0 ;
3065 (char *) "self",(char *) "dc", NULL
3068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3072 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3075 PyErr_SetString(PyExc_TypeError
,"null reference");
3079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3080 (arg1
)->base_OnDrawControlPoints(*arg2
);
3082 wxPyEndAllowThreads(__tstate
);
3083 if (PyErr_Occurred()) SWIG_fail
;
3085 Py_INCREF(Py_None
); resultobj
= Py_None
;
3092 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3093 PyObject
*resultobj
;
3094 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3096 PyObject
* obj0
= 0 ;
3097 PyObject
* obj1
= 0 ;
3099 (char *) "self",(char *) "dc", NULL
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3106 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3109 PyErr_SetString(PyExc_TypeError
,"null reference");
3113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3114 (arg1
)->base_OnEraseControlPoints(*arg2
);
3116 wxPyEndAllowThreads(__tstate
);
3117 if (PyErr_Occurred()) SWIG_fail
;
3119 Py_INCREF(Py_None
); resultobj
= Py_None
;
3126 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3127 PyObject
*resultobj
;
3128 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3130 bool arg3
= (bool) True
;
3131 PyObject
* obj0
= 0 ;
3132 PyObject
* obj1
= 0 ;
3133 PyObject
* obj2
= 0 ;
3135 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
3138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3141 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3142 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3145 PyErr_SetString(PyExc_TypeError
,"null reference");
3149 arg3
= (bool) SWIG_AsBool(obj2
);
3150 if (PyErr_Occurred()) SWIG_fail
;
3153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3154 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
3156 wxPyEndAllowThreads(__tstate
);
3157 if (PyErr_Occurred()) SWIG_fail
;
3159 Py_INCREF(Py_None
); resultobj
= Py_None
;
3166 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
*resultobj
;
3168 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3169 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3173 int arg6
= (int) 0 ;
3174 int arg7
= (int) 0 ;
3175 PyObject
* obj0
= 0 ;
3176 PyObject
* obj1
= 0 ;
3177 PyObject
* obj2
= 0 ;
3178 PyObject
* obj3
= 0 ;
3179 PyObject
* obj4
= 0 ;
3180 PyObject
* obj5
= 0 ;
3181 PyObject
* obj6
= 0 ;
3183 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
3190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3191 arg3
= (bool) SWIG_AsBool(obj2
);
3192 if (PyErr_Occurred()) SWIG_fail
;
3193 arg4
= (double) SWIG_AsDouble(obj3
);
3194 if (PyErr_Occurred()) SWIG_fail
;
3195 arg5
= (double) SWIG_AsDouble(obj4
);
3196 if (PyErr_Occurred()) SWIG_fail
;
3198 arg6
= (int) SWIG_AsInt(obj5
);
3199 if (PyErr_Occurred()) SWIG_fail
;
3202 arg7
= (int) SWIG_AsInt(obj6
);
3203 if (PyErr_Occurred()) SWIG_fail
;
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) SWIG_fail
;
3212 Py_INCREF(Py_None
); resultobj
= Py_None
;
3219 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
*resultobj
;
3221 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3222 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3225 int arg5
= (int) 0 ;
3226 int arg6
= (int) 0 ;
3227 PyObject
* obj0
= 0 ;
3228 PyObject
* obj1
= 0 ;
3229 PyObject
* obj2
= 0 ;
3230 PyObject
* obj3
= 0 ;
3231 PyObject
* obj4
= 0 ;
3232 PyObject
* obj5
= 0 ;
3234 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
3241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3242 arg3
= (double) SWIG_AsDouble(obj2
);
3243 if (PyErr_Occurred()) SWIG_fail
;
3244 arg4
= (double) SWIG_AsDouble(obj3
);
3245 if (PyErr_Occurred()) SWIG_fail
;
3247 arg5
= (int) SWIG_AsInt(obj4
);
3248 if (PyErr_Occurred()) SWIG_fail
;
3251 arg6
= (int) SWIG_AsInt(obj5
);
3252 if (PyErr_Occurred()) SWIG_fail
;
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) SWIG_fail
;
3261 Py_INCREF(Py_None
); resultobj
= Py_None
;
3268 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3269 PyObject
*resultobj
;
3270 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3271 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3274 int arg5
= (int) 0 ;
3275 int arg6
= (int) 0 ;
3276 PyObject
* obj0
= 0 ;
3277 PyObject
* obj1
= 0 ;
3278 PyObject
* obj2
= 0 ;
3279 PyObject
* obj3
= 0 ;
3280 PyObject
* obj4
= 0 ;
3281 PyObject
* obj5
= 0 ;
3283 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
3290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3291 arg3
= (double) SWIG_AsDouble(obj2
);
3292 if (PyErr_Occurred()) SWIG_fail
;
3293 arg4
= (double) SWIG_AsDouble(obj3
);
3294 if (PyErr_Occurred()) SWIG_fail
;
3296 arg5
= (int) SWIG_AsInt(obj4
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3300 arg6
= (int) SWIG_AsInt(obj5
);
3301 if (PyErr_Occurred()) SWIG_fail
;
3304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3305 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
3307 wxPyEndAllowThreads(__tstate
);
3308 if (PyErr_Occurred()) SWIG_fail
;
3310 Py_INCREF(Py_None
); resultobj
= Py_None
;
3317 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
*resultobj
;
3319 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3322 PyObject
* obj0
= 0 ;
3323 PyObject
* obj1
= 0 ;
3324 PyObject
* obj2
= 0 ;
3326 (char *) "self",(char *) "w",(char *) "h", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3332 arg2
= (double) SWIG_AsDouble(obj1
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3334 arg3
= (double) SWIG_AsDouble(obj2
);
3335 if (PyErr_Occurred()) SWIG_fail
;
3337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3338 (arg1
)->base_OnBeginSize(arg2
,arg3
);
3340 wxPyEndAllowThreads(__tstate
);
3341 if (PyErr_Occurred()) SWIG_fail
;
3343 Py_INCREF(Py_None
); resultobj
= Py_None
;
3350 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
*resultobj
;
3352 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3355 PyObject
* obj0
= 0 ;
3356 PyObject
* obj1
= 0 ;
3357 PyObject
* obj2
= 0 ;
3359 (char *) "self",(char *) "w",(char *) "h", NULL
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3365 arg2
= (double) SWIG_AsDouble(obj1
);
3366 if (PyErr_Occurred()) SWIG_fail
;
3367 arg3
= (double) SWIG_AsDouble(obj2
);
3368 if (PyErr_Occurred()) SWIG_fail
;
3370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3371 (arg1
)->base_OnEndSize(arg2
,arg3
);
3373 wxPyEndAllowThreads(__tstate
);
3374 if (PyErr_Occurred()) SWIG_fail
;
3376 Py_INCREF(Py_None
); resultobj
= Py_None
;
3383 static PyObject
* PyShapeEvtHandler_swigregister(PyObject
*, PyObject
*args
) {
3385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3386 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler
, obj
);
3388 return Py_BuildValue((char *)"");
3390 static PyObject
*_wrap_new_PyShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
*resultobj
;
3392 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
3394 PyObject
* obj0
= 0 ;
3396 (char *) "can", NULL
3399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyShape",kwnames
,&obj0
)) goto fail
;
3401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
3402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3406 result
= (wxPyShape
*)new wxPyShape(arg1
);
3408 wxPyEndAllowThreads(__tstate
);
3409 if (PyErr_Occurred()) SWIG_fail
;
3412 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3420 static PyObject
*_wrap_PyShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
*resultobj
;
3422 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3423 PyObject
*arg2
= (PyObject
*) 0 ;
3424 PyObject
*arg3
= (PyObject
*) 0 ;
3425 PyObject
* obj0
= 0 ;
3426 PyObject
* obj1
= 0 ;
3427 PyObject
* obj2
= 0 ;
3429 (char *) "self",(char *) "self",(char *) "_class", NULL
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3439 (arg1
)->_setCallbackInfo(arg2
,arg3
);
3441 wxPyEndAllowThreads(__tstate
);
3442 if (PyErr_Occurred()) SWIG_fail
;
3444 Py_INCREF(Py_None
); resultobj
= Py_None
;
3451 static PyObject
*_wrap_PyShape_GetBoundingBoxMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3454 double *arg2
= (double *) 0 ;
3455 double *arg3
= (double *) 0 ;
3458 PyObject
* obj0
= 0 ;
3460 (char *) "self", NULL
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMax",kwnames
,&obj0
)) goto fail
;
3466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 (arg1
)->GetBoundingBoxMax(arg2
,arg3
);
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3475 Py_INCREF(Py_None
); resultobj
= Py_None
;
3477 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
3478 resultobj
= t_output_helper(resultobj
,o
);
3481 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
3482 resultobj
= t_output_helper(resultobj
,o
);
3490 static PyObject
*_wrap_PyShape_GetBoundingBoxMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
*resultobj
;
3492 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3493 double *arg2
= (double *) 0 ;
3494 double *arg3
= (double *) 0 ;
3497 PyObject
* obj0
= 0 ;
3499 (char *) "self", NULL
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMin",kwnames
,&obj0
)) goto fail
;
3505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 (arg1
)->GetBoundingBoxMin(arg2
,arg3
);
3511 wxPyEndAllowThreads(__tstate
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3514 Py_INCREF(Py_None
); resultobj
= Py_None
;
3516 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
3517 resultobj
= t_output_helper(resultobj
,o
);
3520 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
3521 resultobj
= t_output_helper(resultobj
,o
);
3529 static PyObject
*_wrap_PyShape_GetPerimeterPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
*resultobj
;
3531 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3536 double *arg6
= (double *) 0 ;
3537 double *arg7
= (double *) 0 ;
3541 PyObject
* obj0
= 0 ;
3542 PyObject
* obj1
= 0 ;
3543 PyObject
* obj2
= 0 ;
3544 PyObject
* obj3
= 0 ;
3545 PyObject
* obj4
= 0 ;
3547 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_GetPerimeterPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3555 arg2
= (double) SWIG_AsDouble(obj1
);
3556 if (PyErr_Occurred()) SWIG_fail
;
3557 arg3
= (double) SWIG_AsDouble(obj2
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3559 arg4
= (double) SWIG_AsDouble(obj3
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3561 arg5
= (double) SWIG_AsDouble(obj4
);
3562 if (PyErr_Occurred()) SWIG_fail
;
3564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3565 result
= (bool)(arg1
)->GetPerimeterPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
3567 wxPyEndAllowThreads(__tstate
);
3568 if (PyErr_Occurred()) SWIG_fail
;
3570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3572 PyObject
*o
= PyFloat_FromDouble((double) (*arg6
));
3573 resultobj
= t_output_helper(resultobj
,o
);
3576 PyObject
*o
= PyFloat_FromDouble((double) (*arg7
));
3577 resultobj
= t_output_helper(resultobj
,o
);
3585 static PyObject
*_wrap_PyShape_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3586 PyObject
*resultobj
;
3587 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3588 wxPyShapeCanvas
*result
;
3589 PyObject
* obj0
= 0 ;
3591 (char *) "self", NULL
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCanvas",kwnames
,&obj0
)) goto fail
;
3595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) SWIG_fail
;
3605 resultobj
= wxPyMake_wxObject(result
);
3613 static PyObject
*_wrap_PyShape_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
*resultobj
;
3615 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3616 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3617 PyObject
* obj0
= 0 ;
3618 PyObject
* obj1
= 0 ;
3620 (char *) "self",(char *) "the_canvas", NULL
3623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3630 (arg1
)->SetCanvas(arg2
);
3632 wxPyEndAllowThreads(__tstate
);
3633 if (PyErr_Occurred()) SWIG_fail
;
3635 Py_INCREF(Py_None
); resultobj
= Py_None
;
3642 static PyObject
*_wrap_PyShape_AddToCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
*resultobj
;
3644 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3645 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3646 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
3647 PyObject
* obj0
= 0 ;
3648 PyObject
* obj1
= 0 ;
3649 PyObject
* obj2
= 0 ;
3651 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_AddToCanvas",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3660 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
3661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 (arg1
)->AddToCanvas(arg2
,arg3
);
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3670 Py_INCREF(Py_None
); resultobj
= Py_None
;
3677 static PyObject
*_wrap_PyShape_InsertInCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
*resultobj
;
3679 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3680 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3681 PyObject
* obj0
= 0 ;
3682 PyObject
* obj1
= 0 ;
3684 (char *) "self",(char *) "the_canvas", NULL
3687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_InsertInCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 (arg1
)->InsertInCanvas(arg2
);
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 Py_INCREF(Py_None
); resultobj
= Py_None
;
3706 static PyObject
*_wrap_PyShape_RemoveFromCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3708 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3709 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3710 PyObject
* obj0
= 0 ;
3711 PyObject
* obj1
= 0 ;
3713 (char *) "self",(char *) "the_canvas", NULL
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveFromCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 (arg1
)->RemoveFromCanvas(arg2
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) SWIG_fail
;
3728 Py_INCREF(Py_None
); resultobj
= Py_None
;
3735 static PyObject
*_wrap_PyShape_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
*resultobj
;
3737 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3739 PyObject
* obj0
= 0 ;
3741 (char *) "self", NULL
3744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetX",kwnames
,&obj0
)) goto fail
;
3745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 result
= (double)(arg1
)->GetX();
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3754 resultobj
= SWIG_FromDouble((double)result
);
3761 static PyObject
*_wrap_PyShape_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
*resultobj
;
3763 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3765 PyObject
* obj0
= 0 ;
3767 (char *) "self", NULL
3770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetY",kwnames
,&obj0
)) goto fail
;
3771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3775 result
= (double)(arg1
)->GetY();
3777 wxPyEndAllowThreads(__tstate
);
3778 if (PyErr_Occurred()) SWIG_fail
;
3780 resultobj
= SWIG_FromDouble((double)result
);
3787 static PyObject
*_wrap_PyShape_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3788 PyObject
*resultobj
;
3789 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3791 PyObject
* obj0
= 0 ;
3792 PyObject
* obj1
= 0 ;
3794 (char *) "self",(char *) "x", NULL
3797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3800 arg2
= (double) SWIG_AsDouble(obj1
);
3801 if (PyErr_Occurred()) SWIG_fail
;
3803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3809 Py_INCREF(Py_None
); resultobj
= Py_None
;
3816 static PyObject
*_wrap_PyShape_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
*resultobj
;
3818 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3820 PyObject
* obj0
= 0 ;
3821 PyObject
* obj1
= 0 ;
3823 (char *) "self",(char *) "y", NULL
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3829 arg2
= (double) SWIG_AsDouble(obj1
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3835 wxPyEndAllowThreads(__tstate
);
3836 if (PyErr_Occurred()) SWIG_fail
;
3838 Py_INCREF(Py_None
); resultobj
= Py_None
;
3845 static PyObject
*_wrap_PyShape_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
*resultobj
;
3847 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3849 PyObject
* obj0
= 0 ;
3851 (char *) "self", NULL
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetParent",kwnames
,&obj0
)) goto fail
;
3855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 result
= (wxPyShape
*)(arg1
)->GetParent();
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3865 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3873 static PyObject
*_wrap_PyShape_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
*resultobj
;
3875 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3876 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
3877 PyObject
* obj0
= 0 ;
3878 PyObject
* obj1
= 0 ;
3880 (char *) "self",(char *) "p", NULL
3883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
3884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
3887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3890 (arg1
)->SetParent(arg2
);
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) SWIG_fail
;
3895 Py_INCREF(Py_None
); resultobj
= Py_None
;
3902 static PyObject
*_wrap_PyShape_GetTopAncestor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
*resultobj
;
3904 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3906 PyObject
* obj0
= 0 ;
3908 (char *) "self", NULL
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetTopAncestor",kwnames
,&obj0
)) goto fail
;
3912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3916 result
= (wxPyShape
*)(arg1
)->GetTopAncestor();
3918 wxPyEndAllowThreads(__tstate
);
3919 if (PyErr_Occurred()) SWIG_fail
;
3922 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3930 static PyObject
*_wrap_PyShape_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
*resultobj
;
3932 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3934 PyObject
* obj0
= 0 ;
3936 (char *) "self", NULL
3939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetChildren",kwnames
,&obj0
)) goto fail
;
3940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 result
= (PyObject
*)wxPyShape_GetChildren(arg1
);
3946 wxPyEndAllowThreads(__tstate
);
3947 if (PyErr_Occurred()) SWIG_fail
;
3956 static PyObject
*_wrap_PyShape_Unlink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
*resultobj
;
3958 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3959 PyObject
* obj0
= 0 ;
3961 (char *) "self", NULL
3964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Unlink",kwnames
,&obj0
)) goto fail
;
3965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 wxPyEndAllowThreads(__tstate
);
3972 if (PyErr_Occurred()) SWIG_fail
;
3974 Py_INCREF(Py_None
); resultobj
= Py_None
;
3981 static PyObject
*_wrap_PyShape_SetDrawHandles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3982 PyObject
*resultobj
;
3983 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3985 PyObject
* obj0
= 0 ;
3986 PyObject
* obj1
= 0 ;
3988 (char *) "self",(char *) "drawH", NULL
3991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDrawHandles",kwnames
,&obj0
,&obj1
)) goto fail
;
3992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3994 arg2
= (bool) SWIG_AsBool(obj1
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3998 (arg1
)->SetDrawHandles(arg2
);
4000 wxPyEndAllowThreads(__tstate
);
4001 if (PyErr_Occurred()) SWIG_fail
;
4003 Py_INCREF(Py_None
); resultobj
= Py_None
;
4010 static PyObject
*_wrap_PyShape_GetDrawHandles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
*resultobj
;
4012 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4014 PyObject
* obj0
= 0 ;
4016 (char *) "self", NULL
4019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDrawHandles",kwnames
,&obj0
)) goto fail
;
4020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4024 result
= (bool)(arg1
)->GetDrawHandles();
4026 wxPyEndAllowThreads(__tstate
);
4027 if (PyErr_Occurred()) SWIG_fail
;
4029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4036 static PyObject
*_wrap_PyShape_MakeControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4037 PyObject
*resultobj
;
4038 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4039 PyObject
* obj0
= 0 ;
4041 (char *) "self", NULL
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeControlPoints",kwnames
,&obj0
)) goto fail
;
4045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4049 (arg1
)->MakeControlPoints();
4051 wxPyEndAllowThreads(__tstate
);
4052 if (PyErr_Occurred()) SWIG_fail
;
4054 Py_INCREF(Py_None
); resultobj
= Py_None
;
4061 static PyObject
*_wrap_PyShape_DeleteControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
*resultobj
;
4063 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4064 wxDC
*arg2
= (wxDC
*) NULL
;
4065 PyObject
* obj0
= 0 ;
4066 PyObject
* obj1
= 0 ;
4068 (char *) "self",(char *) "dc", NULL
4071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_DeleteControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
4076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4080 (arg1
)->DeleteControlPoints(arg2
);
4082 wxPyEndAllowThreads(__tstate
);
4083 if (PyErr_Occurred()) SWIG_fail
;
4085 Py_INCREF(Py_None
); resultobj
= Py_None
;
4092 static PyObject
*_wrap_PyShape_ResetControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
*resultobj
;
4094 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4095 PyObject
* obj0
= 0 ;
4097 (char *) "self", NULL
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetControlPoints",kwnames
,&obj0
)) goto fail
;
4101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4105 (arg1
)->ResetControlPoints();
4107 wxPyEndAllowThreads(__tstate
);
4108 if (PyErr_Occurred()) SWIG_fail
;
4110 Py_INCREF(Py_None
); resultobj
= Py_None
;
4117 static PyObject
*_wrap_PyShape_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4118 PyObject
*resultobj
;
4119 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4120 wxPyShapeEvtHandler
*result
;
4121 PyObject
* obj0
= 0 ;
4123 (char *) "self", NULL
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetEventHandler",kwnames
,&obj0
)) goto fail
;
4127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4131 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetEventHandler();
4133 wxPyEndAllowThreads(__tstate
);
4134 if (PyErr_Occurred()) SWIG_fail
;
4137 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
4145 static PyObject
*_wrap_PyShape_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4146 PyObject
*resultobj
;
4147 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4148 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
4149 PyObject
* obj0
= 0 ;
4150 PyObject
* obj1
= 0 ;
4152 (char *) "self",(char *) "handler", NULL
4155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
4156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeEvtHandler
,
4159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 (arg1
)->SetEventHandler(arg2
);
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4167 Py_INCREF(Py_None
); resultobj
= Py_None
;
4174 static PyObject
*_wrap_PyShape_MakeMandatoryControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
;
4176 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4177 PyObject
* obj0
= 0 ;
4179 (char *) "self", NULL
4182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
4183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 (arg1
)->MakeMandatoryControlPoints();
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 Py_INCREF(Py_None
); resultobj
= Py_None
;
4199 static PyObject
*_wrap_PyShape_ResetMandatoryControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
*resultobj
;
4201 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4202 PyObject
* obj0
= 0 ;
4204 (char *) "self", NULL
4207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
4208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4212 (arg1
)->ResetMandatoryControlPoints();
4214 wxPyEndAllowThreads(__tstate
);
4215 if (PyErr_Occurred()) SWIG_fail
;
4217 Py_INCREF(Py_None
); resultobj
= Py_None
;
4224 static PyObject
*_wrap_PyShape_Recompute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
*resultobj
;
4226 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4228 PyObject
* obj0
= 0 ;
4230 (char *) "self", NULL
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Recompute",kwnames
,&obj0
)) goto fail
;
4234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4238 result
= (bool)(arg1
)->Recompute();
4240 wxPyEndAllowThreads(__tstate
);
4241 if (PyErr_Occurred()) SWIG_fail
;
4243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4250 static PyObject
*_wrap_PyShape_CalculateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4251 PyObject
*resultobj
;
4252 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4253 PyObject
* obj0
= 0 ;
4255 (char *) "self", NULL
4258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
4259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 (arg1
)->CalculateSize();
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4268 Py_INCREF(Py_None
); resultobj
= Py_None
;
4275 static PyObject
*_wrap_PyShape_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
*resultobj
;
4277 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4278 bool arg2
= (bool) True
;
4279 wxDC
*arg3
= (wxDC
*) NULL
;
4280 PyObject
* obj0
= 0 ;
4281 PyObject
* obj1
= 0 ;
4282 PyObject
* obj2
= 0 ;
4284 (char *) "self",(char *) "select",(char *) "dc", NULL
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4291 arg2
= (bool) SWIG_AsBool(obj1
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4295 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
4296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 (arg1
)->Select(arg2
,arg3
);
4302 wxPyEndAllowThreads(__tstate
);
4303 if (PyErr_Occurred()) SWIG_fail
;
4305 Py_INCREF(Py_None
); resultobj
= Py_None
;
4312 static PyObject
*_wrap_PyShape_SetHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
*resultobj
;
4314 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4315 bool arg2
= (bool) True
;
4316 bool arg3
= (bool) False
;
4317 PyObject
* obj0
= 0 ;
4318 PyObject
* obj1
= 0 ;
4319 PyObject
* obj2
= 0 ;
4321 (char *) "self",(char *) "hi",(char *) "recurse", NULL
4324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4328 arg2
= (bool) SWIG_AsBool(obj1
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4332 arg3
= (bool) SWIG_AsBool(obj2
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 (arg1
)->SetHighlight(arg2
,arg3
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 Py_INCREF(Py_None
); resultobj
= Py_None
;
4349 static PyObject
*_wrap_PyShape_IsHighlighted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
;
4351 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4353 PyObject
* obj0
= 0 ;
4355 (char *) "self", NULL
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsHighlighted",kwnames
,&obj0
)) goto fail
;
4359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 result
= (bool)(arg1
)->IsHighlighted();
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4375 static PyObject
*_wrap_PyShape_Selected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
*resultobj
;
4377 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4379 PyObject
* obj0
= 0 ;
4381 (char *) "self", NULL
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Selected",kwnames
,&obj0
)) goto fail
;
4385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4389 result
= (bool)(arg1
)->Selected();
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4401 static PyObject
*_wrap_PyShape_AncestorSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
*resultobj
;
4403 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4405 PyObject
* obj0
= 0 ;
4407 (char *) "self", NULL
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AncestorSelected",kwnames
,&obj0
)) goto fail
;
4411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 result
= (bool)(arg1
)->AncestorSelected();
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4427 static PyObject
*_wrap_PyShape_SetSensitivityFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
*resultobj
;
4429 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4430 int arg2
= (int) OP_ALL
;
4431 bool arg3
= (bool) False
;
4432 PyObject
* obj0
= 0 ;
4433 PyObject
* obj1
= 0 ;
4434 PyObject
* obj2
= 0 ;
4436 (char *) "self",(char *) "sens",(char *) "recursive", NULL
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetSensitivityFilter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4443 arg2
= (int) SWIG_AsInt(obj1
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4447 arg3
= (bool) SWIG_AsBool(obj2
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 (arg1
)->SetSensitivityFilter(arg2
,arg3
);
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 Py_INCREF(Py_None
); resultobj
= Py_None
;
4464 static PyObject
*_wrap_PyShape_GetSensitivityFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
;
4466 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4468 PyObject
* obj0
= 0 ;
4470 (char *) "self", NULL
4473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSensitivityFilter",kwnames
,&obj0
)) goto fail
;
4474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 result
= (int)(arg1
)->GetSensitivityFilter();
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) SWIG_fail
;
4483 resultobj
= SWIG_FromInt((int)result
);
4490 static PyObject
*_wrap_PyShape_SetDraggable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
;
4492 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4494 bool arg3
= (bool) False
;
4495 PyObject
* obj0
= 0 ;
4496 PyObject
* obj1
= 0 ;
4497 PyObject
* obj2
= 0 ;
4499 (char *) "self",(char *) "drag",(char *) "recursive", NULL
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetDraggable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4505 arg2
= (bool) SWIG_AsBool(obj1
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4508 arg3
= (bool) SWIG_AsBool(obj2
);
4509 if (PyErr_Occurred()) SWIG_fail
;
4512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4513 (arg1
)->SetDraggable(arg2
,arg3
);
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4518 Py_INCREF(Py_None
); resultobj
= Py_None
;
4525 static PyObject
*_wrap_PyShape_SetFixedSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4530 PyObject
* obj0
= 0 ;
4531 PyObject
* obj1
= 0 ;
4532 PyObject
* obj2
= 0 ;
4534 (char *) "self",(char *) "x",(char *) "y", NULL
4537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetFixedSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4540 arg2
= (bool) SWIG_AsBool(obj1
);
4541 if (PyErr_Occurred()) SWIG_fail
;
4542 arg3
= (bool) SWIG_AsBool(obj2
);
4543 if (PyErr_Occurred()) SWIG_fail
;
4545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 (arg1
)->SetFixedSize(arg2
,arg3
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4551 Py_INCREF(Py_None
); resultobj
= Py_None
;
4558 static PyObject
*_wrap_PyShape_GetFixedSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
*resultobj
;
4560 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4561 bool *arg2
= (bool *) 0 ;
4562 bool *arg3
= (bool *) 0 ;
4565 PyObject
* obj0
= 0 ;
4567 (char *) "self", NULL
4572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedSize",kwnames
,&obj0
)) goto fail
;
4573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4577 (arg1
)->GetFixedSize(arg2
,arg3
);
4579 wxPyEndAllowThreads(__tstate
);
4580 if (PyErr_Occurred()) SWIG_fail
;
4582 Py_INCREF(Py_None
); resultobj
= Py_None
;
4584 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4585 resultobj
= t_output_helper(resultobj
,o
);
4588 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4589 resultobj
= t_output_helper(resultobj
,o
);
4597 static PyObject
*_wrap_PyShape_GetFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
*resultobj
;
4599 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4601 PyObject
* obj0
= 0 ;
4603 (char *) "self", NULL
4606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedWidth",kwnames
,&obj0
)) goto fail
;
4607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4611 result
= (bool)(arg1
)->GetFixedWidth();
4613 wxPyEndAllowThreads(__tstate
);
4614 if (PyErr_Occurred()) SWIG_fail
;
4616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4623 static PyObject
*_wrap_PyShape_GetFixedHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
*resultobj
;
4625 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4627 PyObject
* obj0
= 0 ;
4629 (char *) "self", NULL
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedHeight",kwnames
,&obj0
)) goto fail
;
4633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4637 result
= (bool)(arg1
)->GetFixedHeight();
4639 wxPyEndAllowThreads(__tstate
);
4640 if (PyErr_Occurred()) SWIG_fail
;
4642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4649 static PyObject
*_wrap_PyShape_SetSpaceAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
*resultobj
;
4651 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4653 PyObject
* obj0
= 0 ;
4654 PyObject
* obj1
= 0 ;
4656 (char *) "self",(char *) "sp", NULL
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetSpaceAttachments",kwnames
,&obj0
,&obj1
)) goto fail
;
4660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4662 arg2
= (bool) SWIG_AsBool(obj1
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4666 (arg1
)->SetSpaceAttachments(arg2
);
4668 wxPyEndAllowThreads(__tstate
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4671 Py_INCREF(Py_None
); resultobj
= Py_None
;
4678 static PyObject
*_wrap_PyShape_GetSpaceAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4679 PyObject
*resultobj
;
4680 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4682 PyObject
* obj0
= 0 ;
4684 (char *) "self", NULL
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSpaceAttachments",kwnames
,&obj0
)) goto fail
;
4688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 result
= (bool)(arg1
)->GetSpaceAttachments();
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4704 static PyObject
*_wrap_PyShape_SetShadowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
*resultobj
;
4706 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4708 bool arg3
= (bool) False
;
4709 PyObject
* obj0
= 0 ;
4710 PyObject
* obj1
= 0 ;
4711 PyObject
* obj2
= 0 ;
4713 (char *) "self",(char *) "mode",(char *) "redraw", NULL
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetShadowMode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4719 arg2
= (int) SWIG_AsInt(obj1
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4722 arg3
= (bool) SWIG_AsBool(obj2
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4727 (arg1
)->SetShadowMode(arg2
,arg3
);
4729 wxPyEndAllowThreads(__tstate
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4732 Py_INCREF(Py_None
); resultobj
= Py_None
;
4739 static PyObject
*_wrap_PyShape_GetShadowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
*resultobj
;
4741 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4743 PyObject
* obj0
= 0 ;
4745 (char *) "self", NULL
4748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetShadowMode",kwnames
,&obj0
)) goto fail
;
4749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4753 result
= (int)(arg1
)->GetShadowMode();
4755 wxPyEndAllowThreads(__tstate
);
4756 if (PyErr_Occurred()) SWIG_fail
;
4758 resultobj
= SWIG_FromInt((int)result
);
4765 static PyObject
*_wrap_PyShape_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
*resultobj
;
4767 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4770 int *arg4
= (int *) 0 ;
4771 double *arg5
= (double *) 0 ;
4775 PyObject
* obj0
= 0 ;
4776 PyObject
* obj1
= 0 ;
4777 PyObject
* obj2
= 0 ;
4779 (char *) "self",(char *) "x",(char *) "y", NULL
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_HitTest",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4787 arg2
= (double) SWIG_AsDouble(obj1
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4789 arg3
= (double) SWIG_AsDouble(obj2
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4793 result
= (bool)(arg1
)->HitTest(arg2
,arg3
,arg4
,arg5
);
4795 wxPyEndAllowThreads(__tstate
);
4796 if (PyErr_Occurred()) SWIG_fail
;
4798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4800 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4801 resultobj
= t_output_helper(resultobj
,o
);
4804 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
4805 resultobj
= t_output_helper(resultobj
,o
);
4813 static PyObject
*_wrap_PyShape_SetCentreResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4814 PyObject
*resultobj
;
4815 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4817 PyObject
* obj0
= 0 ;
4818 PyObject
* obj1
= 0 ;
4820 (char *) "self",(char *) "cr", NULL
4823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCentreResize",kwnames
,&obj0
,&obj1
)) goto fail
;
4824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4826 arg2
= (bool) SWIG_AsBool(obj1
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 (arg1
)->SetCentreResize(arg2
);
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4835 Py_INCREF(Py_None
); resultobj
= Py_None
;
4842 static PyObject
*_wrap_PyShape_GetCentreResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
*resultobj
;
4844 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4846 PyObject
* obj0
= 0 ;
4848 (char *) "self", NULL
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCentreResize",kwnames
,&obj0
)) goto fail
;
4852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 result
= (bool)(arg1
)->GetCentreResize();
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4868 static PyObject
*_wrap_PyShape_SetMaintainAspectRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
;
4870 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4872 PyObject
* obj0
= 0 ;
4873 PyObject
* obj1
= 0 ;
4875 (char *) "self",(char *) "ar", NULL
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
4879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4881 arg2
= (bool) SWIG_AsBool(obj1
);
4882 if (PyErr_Occurred()) SWIG_fail
;
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4885 (arg1
)->SetMaintainAspectRatio(arg2
);
4887 wxPyEndAllowThreads(__tstate
);
4888 if (PyErr_Occurred()) SWIG_fail
;
4890 Py_INCREF(Py_None
); resultobj
= Py_None
;
4897 static PyObject
*_wrap_PyShape_GetMaintainAspectRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
*resultobj
;
4899 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4901 PyObject
* obj0
= 0 ;
4903 (char *) "self", NULL
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames
,&obj0
)) goto fail
;
4907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 result
= (bool)(arg1
)->GetMaintainAspectRatio();
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4923 static PyObject
*_wrap_PyShape_GetLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4924 PyObject
*resultobj
;
4925 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4927 PyObject
* obj0
= 0 ;
4929 (char *) "self", NULL
4932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetLines",kwnames
,&obj0
)) goto fail
;
4933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4937 result
= (PyObject
*)wxPyShape_GetLines(arg1
);
4939 wxPyEndAllowThreads(__tstate
);
4940 if (PyErr_Occurred()) SWIG_fail
;
4949 static PyObject
*_wrap_PyShape_SetDisableLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4950 PyObject
*resultobj
;
4951 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4953 PyObject
* obj0
= 0 ;
4954 PyObject
* obj1
= 0 ;
4956 (char *) "self",(char *) "flag", NULL
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDisableLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
4960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4962 arg2
= (bool) SWIG_AsBool(obj1
);
4963 if (PyErr_Occurred()) SWIG_fail
;
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 (arg1
)->SetDisableLabel(arg2
);
4968 wxPyEndAllowThreads(__tstate
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4971 Py_INCREF(Py_None
); resultobj
= Py_None
;
4978 static PyObject
*_wrap_PyShape_GetDisableLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4979 PyObject
*resultobj
;
4980 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4982 PyObject
* obj0
= 0 ;
4984 (char *) "self", NULL
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDisableLabel",kwnames
,&obj0
)) goto fail
;
4988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 result
= (bool)(arg1
)->GetDisableLabel();
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5004 static PyObject
*_wrap_PyShape_SetAttachmentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5005 PyObject
*resultobj
;
5006 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5008 PyObject
* obj0
= 0 ;
5009 PyObject
* obj1
= 0 ;
5011 (char *) "self",(char *) "mode", NULL
5014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetAttachmentMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5017 arg2
= (int) SWIG_AsInt(obj1
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 (arg1
)->SetAttachmentMode(arg2
);
5023 wxPyEndAllowThreads(__tstate
);
5024 if (PyErr_Occurred()) SWIG_fail
;
5026 Py_INCREF(Py_None
); resultobj
= Py_None
;
5033 static PyObject
*_wrap_PyShape_GetAttachmentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
*resultobj
;
5035 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5037 PyObject
* obj0
= 0 ;
5039 (char *) "self", NULL
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachmentMode",kwnames
,&obj0
)) goto fail
;
5043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5047 result
= (int)(arg1
)->GetAttachmentMode();
5049 wxPyEndAllowThreads(__tstate
);
5050 if (PyErr_Occurred()) SWIG_fail
;
5052 resultobj
= SWIG_FromInt((int)result
);
5059 static PyObject
*_wrap_PyShape_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
*resultobj
;
5061 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5063 PyObject
* obj0
= 0 ;
5064 PyObject
* obj1
= 0 ;
5066 (char *) "self",(char *) "i", NULL
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
5070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5072 arg2
= (long) SWIG_AsLong(obj1
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 (arg1
)->SetId(arg2
);
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5081 Py_INCREF(Py_None
); resultobj
= Py_None
;
5088 static PyObject
*_wrap_PyShape_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
*resultobj
;
5090 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5092 PyObject
* obj0
= 0 ;
5094 (char *) "self", NULL
5097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetId",kwnames
,&obj0
)) goto fail
;
5098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 result
= (long)(arg1
)->GetId();
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5107 resultobj
= SWIG_FromLong((long)result
);
5114 static PyObject
*_wrap_PyShape_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
*resultobj
;
5116 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5117 wxPen
*arg2
= (wxPen
*) 0 ;
5118 PyObject
* obj0
= 0 ;
5119 PyObject
* obj1
= 0 ;
5121 (char *) "self",(char *) "pen", NULL
5124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
5125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5130 if (obj1
== Py_None
) {
5133 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
5134 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
5139 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
5146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5147 (arg1
)->SetPen(arg2
);
5149 wxPyEndAllowThreads(__tstate
);
5150 if (PyErr_Occurred()) SWIG_fail
;
5152 Py_INCREF(Py_None
); resultobj
= Py_None
;
5159 static PyObject
*_wrap_PyShape_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5160 PyObject
*resultobj
;
5161 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5162 wxBrush
*arg2
= (wxBrush
*) 0 ;
5163 PyObject
* obj0
= 0 ;
5164 PyObject
* obj1
= 0 ;
5166 (char *) "self",(char *) "brush", NULL
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
5170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5175 if (obj1
== Py_None
) {
5178 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
5179 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
5184 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
5189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5190 (arg1
)->SetBrush(arg2
);
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5195 Py_INCREF(Py_None
); resultobj
= Py_None
;
5202 static PyObject
*_wrap_PyShape_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5203 PyObject
*resultobj
;
5204 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5206 PyObject
* obj0
= 0 ;
5207 PyObject
* obj1
= 0 ;
5209 (char *) "self",(char *) "show", NULL
5212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5215 arg2
= (bool) SWIG_AsBool(obj1
);
5216 if (PyErr_Occurred()) SWIG_fail
;
5218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5221 wxPyEndAllowThreads(__tstate
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5224 Py_INCREF(Py_None
); resultobj
= Py_None
;
5231 static PyObject
*_wrap_PyShape_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5232 PyObject
*resultobj
;
5233 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5235 PyObject
* obj0
= 0 ;
5237 (char *) "self", NULL
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsShown",kwnames
,&obj0
)) goto fail
;
5241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 result
= (bool)(arg1
)->IsShown();
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5257 static PyObject
*_wrap_PyShape_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
*resultobj
;
5259 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5263 bool arg5
= (bool) True
;
5264 PyObject
* obj0
= 0 ;
5265 PyObject
* obj1
= 0 ;
5266 PyObject
* obj2
= 0 ;
5267 PyObject
* obj3
= 0 ;
5268 PyObject
* obj4
= 0 ;
5270 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShape_Move",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5277 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5280 PyErr_SetString(PyExc_TypeError
,"null reference");
5283 arg3
= (double) SWIG_AsDouble(obj2
);
5284 if (PyErr_Occurred()) SWIG_fail
;
5285 arg4
= (double) SWIG_AsDouble(obj3
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5288 arg5
= (bool) SWIG_AsBool(obj4
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 (arg1
)->Move(*arg2
,arg3
,arg4
,arg5
);
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5298 Py_INCREF(Py_None
); resultobj
= Py_None
;
5305 static PyObject
*_wrap_PyShape_Erase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
*resultobj
;
5307 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5309 PyObject
* obj0
= 0 ;
5310 PyObject
* obj1
= 0 ;
5312 (char *) "self",(char *) "dc", NULL
5315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Erase",kwnames
,&obj0
,&obj1
)) goto fail
;
5316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5319 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5322 PyErr_SetString(PyExc_TypeError
,"null reference");
5326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5327 (arg1
)->Erase(*arg2
);
5329 wxPyEndAllowThreads(__tstate
);
5330 if (PyErr_Occurred()) SWIG_fail
;
5332 Py_INCREF(Py_None
); resultobj
= Py_None
;
5339 static PyObject
*_wrap_PyShape_EraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
*resultobj
;
5341 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5343 PyObject
* obj0
= 0 ;
5344 PyObject
* obj1
= 0 ;
5346 (char *) "self",(char *) "dc", NULL
5349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_EraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
5350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5353 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5356 PyErr_SetString(PyExc_TypeError
,"null reference");
5360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5361 (arg1
)->EraseContents(*arg2
);
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5366 Py_INCREF(Py_None
); resultobj
= Py_None
;
5373 static PyObject
*_wrap_PyShape_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5374 PyObject
*resultobj
;
5375 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5377 PyObject
* obj0
= 0 ;
5378 PyObject
* obj1
= 0 ;
5380 (char *) "self",(char *) "dc", NULL
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Draw",kwnames
,&obj0
,&obj1
)) goto fail
;
5384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5387 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5390 PyErr_SetString(PyExc_TypeError
,"null reference");
5394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5395 (arg1
)->Draw(*arg2
);
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5400 Py_INCREF(Py_None
); resultobj
= Py_None
;
5407 static PyObject
*_wrap_PyShape_Flash(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5408 PyObject
*resultobj
;
5409 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5410 PyObject
* obj0
= 0 ;
5412 (char *) "self", NULL
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Flash",kwnames
,&obj0
)) goto fail
;
5416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 wxPyEndAllowThreads(__tstate
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5425 Py_INCREF(Py_None
); resultobj
= Py_None
;
5432 static PyObject
*_wrap_PyShape_MoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
*resultobj
;
5434 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5436 PyObject
* obj0
= 0 ;
5437 PyObject
* obj1
= 0 ;
5439 (char *) "self",(char *) "dc", NULL
5442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_MoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
5443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5449 PyErr_SetString(PyExc_TypeError
,"null reference");
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 (arg1
)->MoveLinks(*arg2
);
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5459 Py_INCREF(Py_None
); resultobj
= Py_None
;
5466 static PyObject
*_wrap_PyShape_DrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
*resultobj
;
5468 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5470 PyObject
* obj0
= 0 ;
5471 PyObject
* obj1
= 0 ;
5473 (char *) "self",(char *) "dc", NULL
5476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_DrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
5477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5480 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5483 PyErr_SetString(PyExc_TypeError
,"null reference");
5487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 (arg1
)->DrawContents(*arg2
);
5490 wxPyEndAllowThreads(__tstate
);
5491 if (PyErr_Occurred()) SWIG_fail
;
5493 Py_INCREF(Py_None
); resultobj
= Py_None
;
5500 static PyObject
*_wrap_PyShape_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5501 PyObject
*resultobj
;
5502 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5505 bool arg4
= (bool) True
;
5506 PyObject
* obj0
= 0 ;
5507 PyObject
* obj1
= 0 ;
5508 PyObject
* obj2
= 0 ;
5509 PyObject
* obj3
= 0 ;
5511 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShape_SetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5517 arg2
= (double) SWIG_AsDouble(obj1
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5519 arg3
= (double) SWIG_AsDouble(obj2
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5522 arg4
= (bool) SWIG_AsBool(obj3
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5527 (arg1
)->SetSize(arg2
,arg3
,arg4
);
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) SWIG_fail
;
5532 Py_INCREF(Py_None
); resultobj
= Py_None
;
5539 static PyObject
*_wrap_PyShape_SetAttachmentSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
*resultobj
;
5541 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5544 PyObject
* obj0
= 0 ;
5545 PyObject
* obj1
= 0 ;
5546 PyObject
* obj2
= 0 ;
5548 (char *) "self",(char *) "x",(char *) "y", NULL
5551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetAttachmentSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5554 arg2
= (double) SWIG_AsDouble(obj1
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5556 arg3
= (double) SWIG_AsDouble(obj2
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5560 (arg1
)->SetAttachmentSize(arg2
,arg3
);
5562 wxPyEndAllowThreads(__tstate
);
5563 if (PyErr_Occurred()) SWIG_fail
;
5565 Py_INCREF(Py_None
); resultobj
= Py_None
;
5572 static PyObject
*_wrap_PyShape_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
*resultobj
;
5574 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5575 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
5576 PyObject
* obj0
= 0 ;
5577 PyObject
* obj1
= 0 ;
5579 (char *) "self",(char *) "can", NULL
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
5583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
5586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 (arg1
)->Attach(arg2
);
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 Py_INCREF(Py_None
); resultobj
= Py_None
;
5601 static PyObject
*_wrap_PyShape_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5602 PyObject
*resultobj
;
5603 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5604 PyObject
* obj0
= 0 ;
5606 (char *) "self", NULL
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Detach",kwnames
,&obj0
)) goto fail
;
5610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5619 Py_INCREF(Py_None
); resultobj
= Py_None
;
5626 static PyObject
*_wrap_PyShape_Constrain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
*resultobj
;
5628 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5630 PyObject
* obj0
= 0 ;
5632 (char *) "self", NULL
5635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Constrain",kwnames
,&obj0
)) goto fail
;
5636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5640 result
= (bool)(arg1
)->Constrain();
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5652 static PyObject
*_wrap_PyShape_AddLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
;
5654 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5655 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5656 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
5657 int arg4
= (int) 0 ;
5658 int arg5
= (int) 0 ;
5659 int arg6
= (int) -1 ;
5660 int arg7
= (int) -1 ;
5661 PyObject
* obj0
= 0 ;
5662 PyObject
* obj1
= 0 ;
5663 PyObject
* obj2
= 0 ;
5664 PyObject
* obj3
= 0 ;
5665 PyObject
* obj4
= 0 ;
5666 PyObject
* obj5
= 0 ;
5667 PyObject
* obj6
= 0 ;
5669 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:PyShape_AddLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyLineShape
,
5676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5677 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
5678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5680 arg4
= (int) SWIG_AsInt(obj3
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5684 arg5
= (int) SWIG_AsInt(obj4
);
5685 if (PyErr_Occurred()) SWIG_fail
;
5688 arg6
= (int) SWIG_AsInt(obj5
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5692 arg7
= (int) SWIG_AsInt(obj6
);
5693 if (PyErr_Occurred()) SWIG_fail
;
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 (arg1
)->AddLine(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5702 Py_INCREF(Py_None
); resultobj
= Py_None
;
5709 static PyObject
*_wrap_PyShape_GetLinePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
;
5711 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5712 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5714 PyObject
* obj0
= 0 ;
5715 PyObject
* obj1
= 0 ;
5717 (char *) "self",(char *) "line", NULL
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetLinePosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyLineShape
,
5724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 result
= (int)(arg1
)->GetLinePosition(arg2
);
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5732 resultobj
= SWIG_FromInt((int)result
);
5739 static PyObject
*_wrap_PyShape_AddText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
*resultobj
;
5741 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5742 wxString
*arg2
= 0 ;
5743 bool temp2
= False
;
5744 PyObject
* obj0
= 0 ;
5745 PyObject
* obj1
= 0 ;
5747 (char *) "self",(char *) "string", NULL
5750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddText",kwnames
,&obj0
,&obj1
)) goto fail
;
5751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5754 arg2
= wxString_in_helper(obj1
);
5755 if (arg2
== NULL
) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 (arg1
)->AddText((wxString
const &)*arg2
);
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 Py_INCREF(Py_None
); resultobj
= Py_None
;
5780 static PyObject
*_wrap_PyShape_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
*resultobj
;
5782 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5784 PyObject
* obj0
= 0 ;
5786 (char *) "self", NULL
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetPen",kwnames
,&obj0
)) goto fail
;
5790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 result
= (wxPen
*)(arg1
)->GetPen();
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
5806 static PyObject
*_wrap_PyShape_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
*resultobj
;
5808 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5810 PyObject
* obj0
= 0 ;
5812 (char *) "self", NULL
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBrush",kwnames
,&obj0
)) goto fail
;
5816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5820 result
= (wxBrush
*)(arg1
)->GetBrush();
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
5832 static PyObject
*_wrap_PyShape_SetDefaultRegionSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
*resultobj
;
5834 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5835 PyObject
* obj0
= 0 ;
5837 (char *) "self", NULL
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_SetDefaultRegionSize",kwnames
,&obj0
)) goto fail
;
5841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5845 (arg1
)->SetDefaultRegionSize();
5847 wxPyEndAllowThreads(__tstate
);
5848 if (PyErr_Occurred()) SWIG_fail
;
5850 Py_INCREF(Py_None
); resultobj
= Py_None
;
5857 static PyObject
*_wrap_PyShape_FormatText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
*resultobj
;
5859 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5861 wxString
*arg3
= 0 ;
5862 int arg4
= (int) 0 ;
5863 bool temp3
= False
;
5864 PyObject
* obj0
= 0 ;
5865 PyObject
* obj1
= 0 ;
5866 PyObject
* obj2
= 0 ;
5867 PyObject
* obj3
= 0 ;
5869 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShape_FormatText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5876 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5879 PyErr_SetString(PyExc_TypeError
,"null reference");
5883 arg3
= wxString_in_helper(obj2
);
5884 if (arg3
== NULL
) SWIG_fail
;
5888 arg4
= (int) SWIG_AsInt(obj3
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5893 (arg1
)->FormatText(*arg2
,(wxString
const &)*arg3
,arg4
);
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5898 Py_INCREF(Py_None
); resultobj
= Py_None
;
5913 static PyObject
*_wrap_PyShape_SetFormatMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
*resultobj
;
5915 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5917 int arg3
= (int) 0 ;
5918 PyObject
* obj0
= 0 ;
5919 PyObject
* obj1
= 0 ;
5920 PyObject
* obj2
= 0 ;
5922 (char *) "self",(char *) "mode",(char *) "regionId", NULL
5925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetFormatMode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5928 arg2
= (int) SWIG_AsInt(obj1
);
5929 if (PyErr_Occurred()) SWIG_fail
;
5931 arg3
= (int) SWIG_AsInt(obj2
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5936 (arg1
)->SetFormatMode(arg2
,arg3
);
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5941 Py_INCREF(Py_None
); resultobj
= Py_None
;
5948 static PyObject
*_wrap_PyShape_GetFormatMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
*resultobj
;
5950 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5951 int arg2
= (int) 0 ;
5953 PyObject
* obj0
= 0 ;
5954 PyObject
* obj1
= 0 ;
5956 (char *) "self",(char *) "regionId", NULL
5959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetFormatMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5963 arg2
= (int) SWIG_AsInt(obj1
);
5964 if (PyErr_Occurred()) SWIG_fail
;
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 result
= (int)(arg1
)->GetFormatMode(arg2
);
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5973 resultobj
= SWIG_FromInt((int)result
);
5980 static PyObject
*_wrap_PyShape_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
;
5982 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5983 wxFont
*arg2
= (wxFont
*) 0 ;
5984 int arg3
= (int) 0 ;
5985 PyObject
* obj0
= 0 ;
5986 PyObject
* obj1
= 0 ;
5987 PyObject
* obj2
= 0 ;
5989 (char *) "self",(char *) "font",(char *) "regionId", NULL
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5998 if (obj1
== Py_None
) {
6001 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
6002 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
6007 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
6011 temp
->GetUnderlined(),
6012 temp
->GetFaceName(),
6013 temp
->GetEncoding());
6018 arg3
= (int) SWIG_AsInt(obj2
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 (arg1
)->SetFont(arg2
,arg3
);
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6028 Py_INCREF(Py_None
); resultobj
= Py_None
;
6035 static PyObject
*_wrap_PyShape_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
*resultobj
;
6037 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6038 int arg2
= (int) 0 ;
6040 PyObject
* obj0
= 0 ;
6041 PyObject
* obj1
= 0 ;
6043 (char *) "self",(char *) "regionId", NULL
6046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6050 arg2
= (int) SWIG_AsInt(obj1
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
6067 static PyObject
*_wrap_PyShape_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6068 PyObject
*resultobj
;
6069 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6070 wxString
*arg2
= 0 ;
6071 int arg3
= (int) 0 ;
6072 bool temp2
= False
;
6073 PyObject
* obj0
= 0 ;
6074 PyObject
* obj1
= 0 ;
6075 PyObject
* obj2
= 0 ;
6077 (char *) "self",(char *) "colour",(char *) "regionId", NULL
6080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6084 arg2
= wxString_in_helper(obj1
);
6085 if (arg2
== NULL
) SWIG_fail
;
6089 arg3
= (int) SWIG_AsInt(obj2
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 (arg1
)->SetTextColour((wxString
const &)*arg2
,arg3
);
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6099 Py_INCREF(Py_None
); resultobj
= Py_None
;
6114 static PyObject
*_wrap_PyShape_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
*resultobj
;
6116 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6117 int arg2
= (int) 0 ;
6119 PyObject
* obj0
= 0 ;
6120 PyObject
* obj1
= 0 ;
6122 (char *) "self",(char *) "regionId", NULL
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6129 arg2
= (int) SWIG_AsInt(obj1
);
6130 if (PyErr_Occurred()) SWIG_fail
;
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6134 result
= (arg1
)->GetTextColour(arg2
);
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6141 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6143 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6152 static PyObject
*_wrap_PyShape_GetNumberOfTextRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
*resultobj
;
6154 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6156 PyObject
* obj0
= 0 ;
6158 (char *) "self", NULL
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames
,&obj0
)) goto fail
;
6162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 result
= (int)(arg1
)->GetNumberOfTextRegions();
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6171 resultobj
= SWIG_FromInt((int)result
);
6178 static PyObject
*_wrap_PyShape_SetRegionName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
*resultobj
;
6180 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6181 wxString
*arg2
= 0 ;
6182 int arg3
= (int) 0 ;
6183 bool temp2
= False
;
6184 PyObject
* obj0
= 0 ;
6185 PyObject
* obj1
= 0 ;
6186 PyObject
* obj2
= 0 ;
6188 (char *) "self",(char *) "name",(char *) "regionId", NULL
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetRegionName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6195 arg2
= wxString_in_helper(obj1
);
6196 if (arg2
== NULL
) SWIG_fail
;
6200 arg3
= (int) SWIG_AsInt(obj2
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 (arg1
)->SetRegionName((wxString
const &)*arg2
,arg3
);
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6210 Py_INCREF(Py_None
); resultobj
= Py_None
;
6225 static PyObject
*_wrap_PyShape_GetRegionName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
*resultobj
;
6227 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6230 PyObject
* obj0
= 0 ;
6231 PyObject
* obj1
= 0 ;
6233 (char *) "self",(char *) "regionId", NULL
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionName",kwnames
,&obj0
,&obj1
)) goto fail
;
6237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6239 arg2
= (int) SWIG_AsInt(obj1
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 result
= (arg1
)->GetRegionName(arg2
);
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6250 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6252 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6261 static PyObject
*_wrap_PyShape_GetRegionId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
;
6263 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6264 wxString
*arg2
= 0 ;
6266 bool temp2
= False
;
6267 PyObject
* obj0
= 0 ;
6268 PyObject
* obj1
= 0 ;
6270 (char *) "self",(char *) "name", NULL
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionId",kwnames
,&obj0
,&obj1
)) goto fail
;
6274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6277 arg2
= wxString_in_helper(obj1
);
6278 if (arg2
== NULL
) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 result
= (int)(arg1
)->GetRegionId((wxString
const &)*arg2
);
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= SWIG_FromInt((int)result
);
6303 static PyObject
*_wrap_PyShape_NameRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6305 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6306 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6307 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6308 bool temp2
= False
;
6309 PyObject
* obj0
= 0 ;
6310 PyObject
* obj1
= 0 ;
6312 (char *) "self",(char *) "parentName", NULL
6315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_NameRegions",kwnames
,&obj0
,&obj1
)) goto fail
;
6316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6320 arg2
= wxString_in_helper(obj1
);
6321 if (arg2
== NULL
) SWIG_fail
;
6326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6327 (arg1
)->NameRegions((wxString
const &)*arg2
);
6329 wxPyEndAllowThreads(__tstate
);
6330 if (PyErr_Occurred()) SWIG_fail
;
6332 Py_INCREF(Py_None
); resultobj
= Py_None
;
6347 static PyObject
*_wrap_PyShape_GetRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
*resultobj
;
6349 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6351 PyObject
* obj0
= 0 ;
6353 (char *) "self", NULL
6356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRegions",kwnames
,&obj0
)) goto fail
;
6357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6361 result
= (PyObject
*)wxPyShape_GetRegions(arg1
);
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6373 static PyObject
*_wrap_PyShape_AddRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
*resultobj
;
6375 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6376 wxShapeRegion
*arg2
= (wxShapeRegion
*) 0 ;
6377 PyObject
* obj0
= 0 ;
6378 PyObject
* obj1
= 0 ;
6380 (char *) "self",(char *) "region", NULL
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxShapeRegion
,
6387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 (arg1
)->AddRegion(arg2
);
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) SWIG_fail
;
6395 Py_INCREF(Py_None
); resultobj
= Py_None
;
6402 static PyObject
*_wrap_PyShape_ClearRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6403 PyObject
*resultobj
;
6404 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6405 PyObject
* obj0
= 0 ;
6407 (char *) "self", NULL
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearRegions",kwnames
,&obj0
)) goto fail
;
6411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 (arg1
)->ClearRegions();
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 Py_INCREF(Py_None
); resultobj
= Py_None
;
6427 static PyObject
*_wrap_PyShape_AssignNewIds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
*resultobj
;
6429 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6430 PyObject
* obj0
= 0 ;
6432 (char *) "self", NULL
6435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AssignNewIds",kwnames
,&obj0
)) goto fail
;
6436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 (arg1
)->AssignNewIds();
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) SWIG_fail
;
6445 Py_INCREF(Py_None
); resultobj
= Py_None
;
6452 static PyObject
*_wrap_PyShape_FindRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
*resultobj
;
6454 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6455 wxString
*arg2
= 0 ;
6456 int *arg3
= (int *) 0 ;
6458 bool temp2
= False
;
6460 PyObject
* obj0
= 0 ;
6461 PyObject
* obj1
= 0 ;
6463 (char *) "self",(char *) "regionName", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6471 arg2
= wxString_in_helper(obj1
);
6472 if (arg2
== NULL
) SWIG_fail
;
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 result
= (wxPyShape
*)(arg1
)->FindRegion((wxString
const &)*arg2
,arg3
);
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
6486 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
6487 resultobj
= t_output_helper(resultobj
,o
);
6503 static PyObject
*_wrap_PyShape_FindRegionNames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
*resultobj
;
6505 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6506 wxStringList
*arg2
= 0 ;
6507 PyObject
* obj0
= 0 ;
6508 PyObject
* obj1
= 0 ;
6510 (char *) "self",(char *) "list", NULL
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegionNames",kwnames
,&obj0
,&obj1
)) goto fail
;
6514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStringList
,
6517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6520 PyErr_SetString(PyExc_TypeError
,"null reference");
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 (arg1
)->FindRegionNames(*arg2
);
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6530 Py_INCREF(Py_None
); resultobj
= Py_None
;
6537 static PyObject
*_wrap_PyShape_ClearText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6538 PyObject
*resultobj
;
6539 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6540 int arg2
= (int) 0 ;
6541 PyObject
* obj0
= 0 ;
6542 PyObject
* obj1
= 0 ;
6544 (char *) "self",(char *) "regionId", NULL
6547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_ClearText",kwnames
,&obj0
,&obj1
)) goto fail
;
6548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6551 arg2
= (int) SWIG_AsInt(obj1
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 (arg1
)->ClearText(arg2
);
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6561 Py_INCREF(Py_None
); resultobj
= Py_None
;
6568 static PyObject
*_wrap_PyShape_RemoveLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
*resultobj
;
6570 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6571 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
6572 PyObject
* obj0
= 0 ;
6573 PyObject
* obj1
= 0 ;
6575 (char *) "self",(char *) "line", NULL
6578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveLine",kwnames
,&obj0
,&obj1
)) goto fail
;
6579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyLineShape
,
6582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 (arg1
)->RemoveLine(arg2
);
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6590 Py_INCREF(Py_None
); resultobj
= Py_None
;
6597 static PyObject
*_wrap_PyShape_GetAttachmentPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
*resultobj
;
6599 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6601 double *arg3
= (double *) 0 ;
6602 double *arg4
= (double *) 0 ;
6603 int arg5
= (int) 0 ;
6604 int arg6
= (int) 1 ;
6605 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
6609 PyObject
* obj0
= 0 ;
6610 PyObject
* obj1
= 0 ;
6611 PyObject
* obj2
= 0 ;
6612 PyObject
* obj3
= 0 ;
6613 PyObject
* obj4
= 0 ;
6615 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PyShape_GetAttachmentPosition",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6623 arg2
= (int) SWIG_AsInt(obj1
);
6624 if (PyErr_Occurred()) SWIG_fail
;
6626 arg5
= (int) SWIG_AsInt(obj2
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6630 arg6
= (int) SWIG_AsInt(obj3
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6634 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg7
),SWIGTYPE_p_wxPyLineShape
,
6635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6639 result
= (bool)(arg1
)->GetAttachmentPosition(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
6641 wxPyEndAllowThreads(__tstate
);
6642 if (PyErr_Occurred()) SWIG_fail
;
6644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6646 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
6647 resultobj
= t_output_helper(resultobj
,o
);
6650 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
6651 resultobj
= t_output_helper(resultobj
,o
);
6659 static PyObject
*_wrap_PyShape_GetNumberOfAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6660 PyObject
*resultobj
;
6661 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6663 PyObject
* obj0
= 0 ;
6665 (char *) "self", NULL
6668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfAttachments",kwnames
,&obj0
)) goto fail
;
6669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6673 result
= (int)(arg1
)->GetNumberOfAttachments();
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6678 resultobj
= SWIG_FromInt((int)result
);
6685 static PyObject
*_wrap_PyShape_AttachmentIsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
*resultobj
;
6687 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6690 PyObject
* obj0
= 0 ;
6691 PyObject
* obj1
= 0 ;
6693 (char *) "self",(char *) "attachment", NULL
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AttachmentIsValid",kwnames
,&obj0
,&obj1
)) goto fail
;
6697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6699 arg2
= (int) SWIG_AsInt(obj1
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6703 result
= (bool)(arg1
)->AttachmentIsValid(arg2
);
6705 wxPyEndAllowThreads(__tstate
);
6706 if (PyErr_Occurred()) SWIG_fail
;
6708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6715 static PyObject
*_wrap_PyShape_GetAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6716 PyObject
*resultobj
;
6717 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6719 PyObject
* obj0
= 0 ;
6721 (char *) "self", NULL
6724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachments",kwnames
,&obj0
)) goto fail
;
6725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6729 result
= (PyObject
*)wxPyShape_GetAttachments(arg1
);
6731 wxPyEndAllowThreads(__tstate
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6741 static PyObject
*_wrap_PyShape_GetAttachmentPositionEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
*resultobj
;
6743 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6745 double *arg3
= (double *) 0 ;
6746 double *arg4
= (double *) 0 ;
6747 int arg5
= (int) 0 ;
6748 int arg6
= (int) 1 ;
6749 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
6753 PyObject
* obj0
= 0 ;
6754 PyObject
* obj1
= 0 ;
6755 PyObject
* obj2
= 0 ;
6756 PyObject
* obj3
= 0 ;
6757 PyObject
* obj4
= 0 ;
6759 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PyShape_GetAttachmentPositionEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6767 arg2
= (int) SWIG_AsInt(obj1
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6770 arg5
= (int) SWIG_AsInt(obj2
);
6771 if (PyErr_Occurred()) SWIG_fail
;
6774 arg6
= (int) SWIG_AsInt(obj3
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6778 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg7
),SWIGTYPE_p_wxPyLineShape
,
6779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6783 result
= (bool)(arg1
)->GetAttachmentPositionEdge(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
6785 wxPyEndAllowThreads(__tstate
);
6786 if (PyErr_Occurred()) SWIG_fail
;
6788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6790 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
6791 resultobj
= t_output_helper(resultobj
,o
);
6794 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
6795 resultobj
= t_output_helper(resultobj
,o
);
6803 static PyObject
*_wrap_PyShape_CalcSimpleAttachment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6804 PyObject
*resultobj
;
6805 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6806 wxRealPoint
*arg2
= 0 ;
6807 wxRealPoint
*arg3
= 0 ;
6810 wxPyLineShape
*arg6
= (wxPyLineShape
*) 0 ;
6814 PyObject
* obj0
= 0 ;
6815 PyObject
* obj1
= 0 ;
6816 PyObject
* obj2
= 0 ;
6817 PyObject
* obj3
= 0 ;
6818 PyObject
* obj4
= 0 ;
6819 PyObject
* obj5
= 0 ;
6821 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_CalcSimpleAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6829 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6833 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6835 arg4
= (int) SWIG_AsInt(obj3
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6837 arg5
= (int) SWIG_AsInt(obj4
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6839 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyLineShape
,
6840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 result
= (arg1
)->CalcSimpleAttachment((wxRealPoint
const &)*arg2
,(wxRealPoint
const &)*arg3
,arg4
,arg5
,arg6
);
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6849 wxRealPoint
* resultptr
;
6850 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
6851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
6859 static PyObject
*_wrap_PyShape_AttachmentSortTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6860 PyObject
*resultobj
;
6861 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6863 wxRealPoint
*arg3
= 0 ;
6864 wxRealPoint
*arg4
= 0 ;
6868 PyObject
* obj0
= 0 ;
6869 PyObject
* obj1
= 0 ;
6870 PyObject
* obj2
= 0 ;
6871 PyObject
* obj3
= 0 ;
6873 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
6876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShape_AttachmentSortTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6879 arg2
= (int) SWIG_AsInt(obj1
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6883 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6887 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6891 result
= (bool)(arg1
)->AttachmentSortTest(arg2
,(wxRealPoint
const &)*arg3
,(wxRealPoint
const &)*arg4
);
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6903 static PyObject
*_wrap_PyShape_EraseLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6904 PyObject
*resultobj
;
6905 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6907 int arg3
= (int) -1 ;
6908 bool arg4
= (bool) False
;
6909 PyObject
* obj0
= 0 ;
6910 PyObject
* obj1
= 0 ;
6911 PyObject
* obj2
= 0 ;
6912 PyObject
* obj3
= 0 ;
6914 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PyShape_EraseLinks",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6920 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6921 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6924 PyErr_SetString(PyExc_TypeError
,"null reference");
6928 arg3
= (int) SWIG_AsInt(obj2
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6932 arg4
= (bool) SWIG_AsBool(obj3
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 (arg1
)->EraseLinks(*arg2
,arg3
,arg4
);
6939 wxPyEndAllowThreads(__tstate
);
6940 if (PyErr_Occurred()) SWIG_fail
;
6942 Py_INCREF(Py_None
); resultobj
= Py_None
;
6949 static PyObject
*_wrap_PyShape_DrawLinks(PyObject
*, 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_DrawLinks",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
)->DrawLinks(*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_MoveLineToNewAttachment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
;
6997 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6999 wxPyLineShape
*arg3
= (wxPyLineShape
*) 0 ;
7003 PyObject
* obj0
= 0 ;
7004 PyObject
* obj1
= 0 ;
7005 PyObject
* obj2
= 0 ;
7006 PyObject
* obj3
= 0 ;
7007 PyObject
* obj4
= 0 ;
7009 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
7012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_MoveLineToNewAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7019 PyErr_SetString(PyExc_TypeError
,"null reference");
7022 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyLineShape
,
7023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7024 arg4
= (double) SWIG_AsDouble(obj3
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7026 arg5
= (double) SWIG_AsDouble(obj4
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 result
= (bool)(arg1
)->MoveLineToNewAttachment(*arg2
,arg3
,arg4
,arg5
);
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7042 static PyObject
*_wrap_PyShape_ApplyAttachmentOrdering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7045 PyObject
*arg2
= (PyObject
*) 0 ;
7046 PyObject
* obj0
= 0 ;
7047 PyObject
* obj1
= 0 ;
7049 (char *) "self",(char *) "linesToSort", NULL
7052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames
,&obj0
,&obj1
)) goto fail
;
7053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7058 wxPyShape_ApplyAttachmentOrdering(arg1
,arg2
);
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7063 Py_INCREF(Py_None
); resultobj
= Py_None
;
7070 static PyObject
*_wrap_PyShape_GetBranchingAttachmentRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
;
7072 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7075 PyObject
* obj0
= 0 ;
7076 PyObject
* obj1
= 0 ;
7078 (char *) "self",(char *) "attachment", NULL
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetBranchingAttachmentRoot",kwnames
,&obj0
,&obj1
)) goto fail
;
7082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7084 arg2
= (int) SWIG_AsInt(obj1
);
7085 if (PyErr_Occurred()) SWIG_fail
;
7087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7088 result
= (arg1
)->GetBranchingAttachmentRoot(arg2
);
7090 wxPyEndAllowThreads(__tstate
);
7091 if (PyErr_Occurred()) SWIG_fail
;
7094 wxRealPoint
* resultptr
;
7095 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
7096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
7104 static PyObject
*_wrap_PyShape_GetBranchingAttachmentInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
;
7106 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7108 wxRealPoint
*arg3
= 0 ;
7109 wxRealPoint
*arg4
= 0 ;
7110 wxRealPoint
*arg5
= 0 ;
7111 wxRealPoint
*arg6
= 0 ;
7117 PyObject
* obj0
= 0 ;
7118 PyObject
* obj1
= 0 ;
7119 PyObject
* obj2
= 0 ;
7120 PyObject
* obj3
= 0 ;
7121 PyObject
* obj4
= 0 ;
7122 PyObject
* obj5
= 0 ;
7124 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
7127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_GetBranchingAttachmentInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7130 arg2
= (int) SWIG_AsInt(obj1
);
7131 if (PyErr_Occurred()) SWIG_fail
;
7134 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7138 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7142 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7146 if ( ! wxRealPoint_helper(obj5
, &arg6
)) SWIG_fail
;
7149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7150 result
= (bool)(arg1
)->GetBranchingAttachmentInfo(arg2
,*arg3
,*arg4
,*arg5
,*arg6
);
7152 wxPyEndAllowThreads(__tstate
);
7153 if (PyErr_Occurred()) SWIG_fail
;
7155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7162 static PyObject
*_wrap_PyShape_GetBranchingAttachmentPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
*resultobj
;
7164 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7167 wxRealPoint
*arg4
= 0 ;
7168 wxRealPoint
*arg5
= 0 ;
7172 PyObject
* obj0
= 0 ;
7173 PyObject
* obj1
= 0 ;
7174 PyObject
* obj2
= 0 ;
7175 PyObject
* obj3
= 0 ;
7176 PyObject
* obj4
= 0 ;
7178 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_GetBranchingAttachmentPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7184 arg2
= (int) SWIG_AsInt(obj1
);
7185 if (PyErr_Occurred()) SWIG_fail
;
7186 arg3
= (int) SWIG_AsInt(obj2
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7190 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7194 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 result
= (bool)(arg1
)->GetBranchingAttachmentPoint(arg2
,arg3
,*arg4
,*arg5
);
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7210 static PyObject
*_wrap_PyShape_GetAttachmentLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
*resultobj
;
7212 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7215 PyObject
* obj0
= 0 ;
7216 PyObject
* obj1
= 0 ;
7218 (char *) "self",(char *) "attachment", NULL
7221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetAttachmentLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7224 arg2
= (int) SWIG_AsInt(obj1
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7228 result
= (int)(arg1
)->GetAttachmentLineCount(arg2
);
7230 wxPyEndAllowThreads(__tstate
);
7231 if (PyErr_Occurred()) SWIG_fail
;
7233 resultobj
= SWIG_FromInt((int)result
);
7240 static PyObject
*_wrap_PyShape_SetBranchNeckLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
*resultobj
;
7242 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7244 PyObject
* obj0
= 0 ;
7245 PyObject
* obj1
= 0 ;
7247 (char *) "self",(char *) "len", NULL
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchNeckLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7253 arg2
= (int) SWIG_AsInt(obj1
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7257 (arg1
)->SetBranchNeckLength(arg2
);
7259 wxPyEndAllowThreads(__tstate
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7262 Py_INCREF(Py_None
); resultobj
= Py_None
;
7269 static PyObject
*_wrap_PyShape_GetBranchNeckLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
*resultobj
;
7271 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7273 PyObject
* obj0
= 0 ;
7275 (char *) "self", NULL
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchNeckLength",kwnames
,&obj0
)) goto fail
;
7279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 result
= (int)(arg1
)->GetBranchNeckLength();
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7288 resultobj
= SWIG_FromInt((int)result
);
7295 static PyObject
*_wrap_PyShape_SetBranchStemLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
*resultobj
;
7297 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7299 PyObject
* obj0
= 0 ;
7300 PyObject
* obj1
= 0 ;
7302 (char *) "self",(char *) "len", NULL
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchStemLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7308 arg2
= (int) SWIG_AsInt(obj1
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 (arg1
)->SetBranchStemLength(arg2
);
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7317 Py_INCREF(Py_None
); resultobj
= Py_None
;
7324 static PyObject
*_wrap_PyShape_GetBranchStemLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
;
7326 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7328 PyObject
* obj0
= 0 ;
7330 (char *) "self", NULL
7333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStemLength",kwnames
,&obj0
)) goto fail
;
7334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 result
= (int)(arg1
)->GetBranchStemLength();
7340 wxPyEndAllowThreads(__tstate
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7343 resultobj
= SWIG_FromInt((int)result
);
7350 static PyObject
*_wrap_PyShape_SetBranchSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7351 PyObject
*resultobj
;
7352 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7354 PyObject
* obj0
= 0 ;
7355 PyObject
* obj1
= 0 ;
7357 (char *) "self",(char *) "len", NULL
7360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
7361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7363 arg2
= (int) SWIG_AsInt(obj1
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 (arg1
)->SetBranchSpacing(arg2
);
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 Py_INCREF(Py_None
); resultobj
= Py_None
;
7379 static PyObject
*_wrap_PyShape_GetBranchSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
*resultobj
;
7381 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7383 PyObject
* obj0
= 0 ;
7385 (char *) "self", NULL
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchSpacing",kwnames
,&obj0
)) goto fail
;
7389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7393 result
= (int)(arg1
)->GetBranchSpacing();
7395 wxPyEndAllowThreads(__tstate
);
7396 if (PyErr_Occurred()) SWIG_fail
;
7398 resultobj
= SWIG_FromInt((int)result
);
7405 static PyObject
*_wrap_PyShape_SetBranchStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7406 PyObject
*resultobj
;
7407 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7409 PyObject
* obj0
= 0 ;
7410 PyObject
* obj1
= 0 ;
7412 (char *) "self",(char *) "style", NULL
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7418 arg2
= (long) SWIG_AsLong(obj1
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7422 (arg1
)->SetBranchStyle(arg2
);
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 Py_INCREF(Py_None
); resultobj
= Py_None
;
7434 static PyObject
*_wrap_PyShape_GetBranchStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
*resultobj
;
7436 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7438 PyObject
* obj0
= 0 ;
7440 (char *) "self", NULL
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStyle",kwnames
,&obj0
)) goto fail
;
7444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 result
= (long)(arg1
)->GetBranchStyle();
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7453 resultobj
= SWIG_FromLong((long)result
);
7460 static PyObject
*_wrap_PyShape_PhysicalToLogicalAttachment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7461 PyObject
*resultobj
;
7462 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7465 PyObject
* obj0
= 0 ;
7466 PyObject
* obj1
= 0 ;
7468 (char *) "self",(char *) "physicalAttachment", NULL
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_PhysicalToLogicalAttachment",kwnames
,&obj0
,&obj1
)) goto fail
;
7472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7474 arg2
= (int) SWIG_AsInt(obj1
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7478 result
= (int)(arg1
)->PhysicalToLogicalAttachment(arg2
);
7480 wxPyEndAllowThreads(__tstate
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7483 resultobj
= SWIG_FromInt((int)result
);
7490 static PyObject
*_wrap_PyShape_LogicalToPhysicalAttachment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
*resultobj
;
7492 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7495 PyObject
* obj0
= 0 ;
7496 PyObject
* obj1
= 0 ;
7498 (char *) "self",(char *) "logicalAttachment", NULL
7501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_LogicalToPhysicalAttachment",kwnames
,&obj0
,&obj1
)) goto fail
;
7502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7504 arg2
= (int) SWIG_AsInt(obj1
);
7505 if (PyErr_Occurred()) SWIG_fail
;
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 result
= (int)(arg1
)->LogicalToPhysicalAttachment(arg2
);
7510 wxPyEndAllowThreads(__tstate
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7513 resultobj
= SWIG_FromInt((int)result
);
7520 static PyObject
*_wrap_PyShape_Draggable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
*resultobj
;
7522 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7524 PyObject
* obj0
= 0 ;
7526 (char *) "self", NULL
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Draggable",kwnames
,&obj0
)) goto fail
;
7530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 result
= (bool)(arg1
)->Draggable();
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7546 static PyObject
*_wrap_PyShape_HasDescendant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
*resultobj
;
7548 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7549 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
7551 PyObject
* obj0
= 0 ;
7552 PyObject
* obj1
= 0 ;
7554 (char *) "self",(char *) "image", NULL
7557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_HasDescendant",kwnames
,&obj0
,&obj1
)) goto fail
;
7558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
7561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 result
= (bool)(arg1
)->HasDescendant(arg2
);
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7576 static PyObject
*_wrap_PyShape_CreateNewCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
;
7578 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7579 bool arg2
= (bool) True
;
7580 bool arg3
= (bool) True
;
7582 PyObject
* obj0
= 0 ;
7583 PyObject
* obj1
= 0 ;
7584 PyObject
* obj2
= 0 ;
7586 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
7589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_CreateNewCopy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7593 arg2
= (bool) SWIG_AsBool(obj1
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7597 arg3
= (bool) SWIG_AsBool(obj2
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 result
= (wxPyShape
*)(arg1
)->CreateNewCopy(arg2
,arg3
);
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7608 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
7616 static PyObject
*_wrap_PyShape_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
*resultobj
;
7618 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7619 wxPyShape
*arg2
= 0 ;
7620 PyObject
* obj0
= 0 ;
7621 PyObject
* obj1
= 0 ;
7623 (char *) "self",(char *) "copy", NULL
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
7627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
7630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7633 PyErr_SetString(PyExc_TypeError
,"null reference");
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 (arg1
)->Copy(*arg2
);
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7643 Py_INCREF(Py_None
); resultobj
= Py_None
;
7650 static PyObject
*_wrap_PyShape_CopyWithHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7652 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7653 wxPyShape
*arg2
= 0 ;
7654 PyObject
* obj0
= 0 ;
7655 PyObject
* obj1
= 0 ;
7657 (char *) "self",(char *) "copy", NULL
7660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_CopyWithHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
7661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
7664 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7667 PyErr_SetString(PyExc_TypeError
,"null reference");
7671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7672 (arg1
)->CopyWithHandler(*arg2
);
7674 wxPyEndAllowThreads(__tstate
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7677 Py_INCREF(Py_None
); resultobj
= Py_None
;
7684 static PyObject
*_wrap_PyShape_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
;
7686 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7690 PyObject
* obj0
= 0 ;
7691 PyObject
* obj1
= 0 ;
7692 PyObject
* obj2
= 0 ;
7693 PyObject
* obj3
= 0 ;
7695 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShape_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7701 arg2
= (double) SWIG_AsDouble(obj1
);
7702 if (PyErr_Occurred()) SWIG_fail
;
7703 arg3
= (double) SWIG_AsDouble(obj2
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7705 arg4
= (double) SWIG_AsDouble(obj3
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7709 (arg1
)->Rotate(arg2
,arg3
,arg4
);
7711 wxPyEndAllowThreads(__tstate
);
7712 if (PyErr_Occurred()) SWIG_fail
;
7714 Py_INCREF(Py_None
); resultobj
= Py_None
;
7721 static PyObject
*_wrap_PyShape_GetRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7722 PyObject
*resultobj
;
7723 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7725 PyObject
* obj0
= 0 ;
7727 (char *) "self", NULL
7730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRotation",kwnames
,&obj0
)) goto fail
;
7731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 result
= (double)(arg1
)->GetRotation();
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7740 resultobj
= SWIG_FromDouble((double)result
);
7747 static PyObject
*_wrap_PyShape_SetRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
;
7749 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7751 PyObject
* obj0
= 0 ;
7752 PyObject
* obj1
= 0 ;
7754 (char *) "self",(char *) "rotation", NULL
7757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetRotation",kwnames
,&obj0
,&obj1
)) goto fail
;
7758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7760 arg2
= (double) SWIG_AsDouble(obj1
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7764 (arg1
)->SetRotation(arg2
);
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7769 Py_INCREF(Py_None
); resultobj
= Py_None
;
7776 static PyObject
*_wrap_PyShape_ClearAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
*resultobj
;
7778 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7779 PyObject
* obj0
= 0 ;
7781 (char *) "self", NULL
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearAttachments",kwnames
,&obj0
)) goto fail
;
7785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7789 (arg1
)->ClearAttachments();
7791 wxPyEndAllowThreads(__tstate
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 Py_INCREF(Py_None
); resultobj
= Py_None
;
7801 static PyObject
*_wrap_PyShape_Recentre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
;
7803 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7805 PyObject
* obj0
= 0 ;
7806 PyObject
* obj1
= 0 ;
7808 (char *) "self",(char *) "dc", NULL
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Recentre",kwnames
,&obj0
,&obj1
)) goto fail
;
7812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7815 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7818 PyErr_SetString(PyExc_TypeError
,"null reference");
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 (arg1
)->Recentre(*arg2
);
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7828 Py_INCREF(Py_None
); resultobj
= Py_None
;
7835 static PyObject
*_wrap_PyShape_ClearPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
*resultobj
;
7837 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7839 PyObject
* obj0
= 0 ;
7840 PyObject
* obj1
= 0 ;
7842 (char *) "self",(char *) "list", NULL
7845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ClearPointList",kwnames
,&obj0
,&obj1
)) goto fail
;
7846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7848 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxList
,
7849 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7852 PyErr_SetString(PyExc_TypeError
,"null reference");
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 (arg1
)->ClearPointList(*arg2
);
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 Py_INCREF(Py_None
); resultobj
= Py_None
;
7869 static PyObject
*_wrap_PyShape_GetBackgroundPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
;
7871 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7873 PyObject
* obj0
= 0 ;
7875 (char *) "self", NULL
7878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundPen",kwnames
,&obj0
)) goto fail
;
7879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 result
= (arg1
)->GetBackgroundPen();
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7890 resultptr
= new wxPen((wxPen
&) result
);
7891 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPen
, 1);
7899 static PyObject
*_wrap_PyShape_GetBackgroundBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
;
7901 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7903 PyObject
* obj0
= 0 ;
7905 (char *) "self", NULL
7908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundBrush",kwnames
,&obj0
)) goto fail
;
7909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 result
= (arg1
)->GetBackgroundBrush();
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7919 wxBrush
* resultptr
;
7920 resultptr
= new wxBrush((wxBrush
&) result
);
7921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
7929 static PyObject
*_wrap_PyShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
;
7931 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7932 PyObject
* obj0
= 0 ;
7934 (char *) "self", NULL
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
7938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 (arg1
)->base_OnDelete();
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7947 Py_INCREF(Py_None
); resultobj
= Py_None
;
7954 static PyObject
*_wrap_PyShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7958 PyObject
* obj0
= 0 ;
7959 PyObject
* obj1
= 0 ;
7961 (char *) "self",(char *) "dc", NULL
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
7965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7967 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7968 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7971 PyErr_SetString(PyExc_TypeError
,"null reference");
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 (arg1
)->base_OnDraw(*arg2
);
7978 wxPyEndAllowThreads(__tstate
);
7979 if (PyErr_Occurred()) SWIG_fail
;
7981 Py_INCREF(Py_None
); resultobj
= Py_None
;
7988 static PyObject
*_wrap_PyShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7989 PyObject
*resultobj
;
7990 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7992 PyObject
* obj0
= 0 ;
7993 PyObject
* obj1
= 0 ;
7995 (char *) "self",(char *) "dc", NULL
7998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
7999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8001 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8002 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8005 PyErr_SetString(PyExc_TypeError
,"null reference");
8009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8010 (arg1
)->base_OnDrawContents(*arg2
);
8012 wxPyEndAllowThreads(__tstate
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8015 Py_INCREF(Py_None
); resultobj
= Py_None
;
8022 static PyObject
*_wrap_PyShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8023 PyObject
*resultobj
;
8024 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8026 bool arg3
= (bool) False
;
8027 PyObject
* obj0
= 0 ;
8028 PyObject
* obj1
= 0 ;
8029 PyObject
* obj2
= 0 ;
8031 (char *) "self",(char *) "dc",(char *) "erase", NULL
8034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8041 PyErr_SetString(PyExc_TypeError
,"null reference");
8045 arg3
= (bool) SWIG_AsBool(obj2
);
8046 if (PyErr_Occurred()) SWIG_fail
;
8049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8050 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8055 Py_INCREF(Py_None
); resultobj
= Py_None
;
8062 static PyObject
*_wrap_PyShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
;
8064 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8066 PyObject
* obj0
= 0 ;
8067 PyObject
* obj1
= 0 ;
8069 (char *) "self",(char *) "dc", NULL
8072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
8073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8076 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8079 PyErr_SetString(PyExc_TypeError
,"null reference");
8083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8084 (arg1
)->base_OnMoveLinks(*arg2
);
8086 wxPyEndAllowThreads(__tstate
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8089 Py_INCREF(Py_None
); resultobj
= Py_None
;
8096 static PyObject
*_wrap_PyShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
*resultobj
;
8098 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8100 PyObject
* obj0
= 0 ;
8101 PyObject
* obj1
= 0 ;
8103 (char *) "self",(char *) "dc", NULL
8106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
8107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8110 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8113 PyErr_SetString(PyExc_TypeError
,"null reference");
8117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8118 (arg1
)->base_OnErase(*arg2
);
8120 wxPyEndAllowThreads(__tstate
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8123 Py_INCREF(Py_None
); resultobj
= Py_None
;
8130 static PyObject
*_wrap_PyShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8131 PyObject
*resultobj
;
8132 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8134 PyObject
* obj0
= 0 ;
8135 PyObject
* obj1
= 0 ;
8137 (char *) "self",(char *) "dc", NULL
8140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
8141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8144 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8147 PyErr_SetString(PyExc_TypeError
,"null reference");
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 (arg1
)->base_OnEraseContents(*arg2
);
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8157 Py_INCREF(Py_None
); resultobj
= Py_None
;
8164 static PyObject
*_wrap_PyShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
*resultobj
;
8166 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8168 PyObject
* obj0
= 0 ;
8169 PyObject
* obj1
= 0 ;
8171 (char *) "self",(char *) "dc", NULL
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
8175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8178 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8181 PyErr_SetString(PyExc_TypeError
,"null reference");
8185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8186 (arg1
)->base_OnHighlight(*arg2
);
8188 wxPyEndAllowThreads(__tstate
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8191 Py_INCREF(Py_None
); resultobj
= Py_None
;
8198 static PyObject
*_wrap_PyShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
*resultobj
;
8200 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8203 int arg4
= (int) 0 ;
8204 int arg5
= (int) 0 ;
8205 PyObject
* obj0
= 0 ;
8206 PyObject
* obj1
= 0 ;
8207 PyObject
* obj2
= 0 ;
8208 PyObject
* obj3
= 0 ;
8209 PyObject
* obj4
= 0 ;
8211 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8217 arg2
= (double) SWIG_AsDouble(obj1
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8219 arg3
= (double) SWIG_AsDouble(obj2
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8222 arg4
= (int) SWIG_AsInt(obj3
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8226 arg5
= (int) SWIG_AsInt(obj4
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8236 Py_INCREF(Py_None
); resultobj
= Py_None
;
8243 static PyObject
*_wrap_PyShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
*resultobj
;
8245 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8248 int arg4
= (int) 0 ;
8249 int arg5
= (int) 0 ;
8250 PyObject
* obj0
= 0 ;
8251 PyObject
* obj1
= 0 ;
8252 PyObject
* obj2
= 0 ;
8253 PyObject
* obj3
= 0 ;
8254 PyObject
* obj4
= 0 ;
8256 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8262 arg2
= (double) SWIG_AsDouble(obj1
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8264 arg3
= (double) SWIG_AsDouble(obj2
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8267 arg4
= (int) SWIG_AsInt(obj3
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8271 arg5
= (int) SWIG_AsInt(obj4
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8276 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
8278 wxPyEndAllowThreads(__tstate
);
8279 if (PyErr_Occurred()) SWIG_fail
;
8281 Py_INCREF(Py_None
); resultobj
= Py_None
;
8288 static PyObject
*_wrap_PyShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
*resultobj
;
8290 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8293 int arg4
= (int) 0 ;
8294 int arg5
= (int) 0 ;
8295 PyObject
* obj0
= 0 ;
8296 PyObject
* obj1
= 0 ;
8297 PyObject
* obj2
= 0 ;
8298 PyObject
* obj3
= 0 ;
8299 PyObject
* obj4
= 0 ;
8301 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8307 arg2
= (double) SWIG_AsDouble(obj1
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8309 arg3
= (double) SWIG_AsDouble(obj2
);
8310 if (PyErr_Occurred()) SWIG_fail
;
8312 arg4
= (int) SWIG_AsInt(obj3
);
8313 if (PyErr_Occurred()) SWIG_fail
;
8316 arg5
= (int) SWIG_AsInt(obj4
);
8317 if (PyErr_Occurred()) SWIG_fail
;
8320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8321 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
8323 wxPyEndAllowThreads(__tstate
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8326 Py_INCREF(Py_None
); resultobj
= Py_None
;
8333 static PyObject
*_wrap_PyShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8334 PyObject
*resultobj
;
8335 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8338 PyObject
* obj0
= 0 ;
8339 PyObject
* obj1
= 0 ;
8340 PyObject
* obj2
= 0 ;
8342 (char *) "self",(char *) "x",(char *) "y", NULL
8345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8348 arg2
= (double) SWIG_AsDouble(obj1
);
8349 if (PyErr_Occurred()) SWIG_fail
;
8350 arg3
= (double) SWIG_AsDouble(obj2
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8354 (arg1
)->base_OnSize(arg2
,arg3
);
8356 wxPyEndAllowThreads(__tstate
);
8357 if (PyErr_Occurred()) SWIG_fail
;
8359 Py_INCREF(Py_None
); resultobj
= Py_None
;
8366 static PyObject
*_wrap_PyShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8367 PyObject
*resultobj
;
8368 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8374 bool arg7
= (bool) True
;
8376 PyObject
* obj0
= 0 ;
8377 PyObject
* obj1
= 0 ;
8378 PyObject
* obj2
= 0 ;
8379 PyObject
* obj3
= 0 ;
8380 PyObject
* obj4
= 0 ;
8381 PyObject
* obj5
= 0 ;
8382 PyObject
* obj6
= 0 ;
8384 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8391 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8394 PyErr_SetString(PyExc_TypeError
,"null reference");
8397 arg3
= (double) SWIG_AsDouble(obj2
);
8398 if (PyErr_Occurred()) SWIG_fail
;
8399 arg4
= (double) SWIG_AsDouble(obj3
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8401 arg5
= (double) SWIG_AsDouble(obj4
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8403 arg6
= (double) SWIG_AsDouble(obj5
);
8404 if (PyErr_Occurred()) SWIG_fail
;
8406 arg7
= (bool) SWIG_AsBool(obj6
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8423 static PyObject
*_wrap_PyShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8424 PyObject
*resultobj
;
8425 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8431 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_OnMovePost",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 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8469 wxPyEndAllowThreads(__tstate
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8472 Py_INCREF(Py_None
); resultobj
= Py_None
;
8479 static PyObject
*_wrap_PyShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8480 PyObject
*resultobj
;
8481 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8485 int arg5
= (int) 0 ;
8486 int arg6
= (int) 0 ;
8487 PyObject
* obj0
= 0 ;
8488 PyObject
* obj1
= 0 ;
8489 PyObject
* obj2
= 0 ;
8490 PyObject
* obj3
= 0 ;
8491 PyObject
* obj4
= 0 ;
8492 PyObject
* obj5
= 0 ;
8494 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8500 arg2
= (bool) SWIG_AsBool(obj1
);
8501 if (PyErr_Occurred()) SWIG_fail
;
8502 arg3
= (double) SWIG_AsDouble(obj2
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8504 arg4
= (double) SWIG_AsDouble(obj3
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8507 arg5
= (int) SWIG_AsInt(obj4
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8511 arg6
= (int) SWIG_AsInt(obj5
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8516 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
8518 wxPyEndAllowThreads(__tstate
);
8519 if (PyErr_Occurred()) SWIG_fail
;
8521 Py_INCREF(Py_None
); resultobj
= Py_None
;
8528 static PyObject
*_wrap_PyShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8529 PyObject
*resultobj
;
8530 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8533 int arg4
= (int) 0 ;
8534 int arg5
= (int) 0 ;
8535 PyObject
* obj0
= 0 ;
8536 PyObject
* obj1
= 0 ;
8537 PyObject
* obj2
= 0 ;
8538 PyObject
* obj3
= 0 ;
8539 PyObject
* obj4
= 0 ;
8541 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8547 arg2
= (double) SWIG_AsDouble(obj1
);
8548 if (PyErr_Occurred()) SWIG_fail
;
8549 arg3
= (double) SWIG_AsDouble(obj2
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8552 arg4
= (int) SWIG_AsInt(obj3
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8556 arg5
= (int) SWIG_AsInt(obj4
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8561 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
8563 wxPyEndAllowThreads(__tstate
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8566 Py_INCREF(Py_None
); resultobj
= Py_None
;
8573 static PyObject
*_wrap_PyShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8574 PyObject
*resultobj
;
8575 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8578 int arg4
= (int) 0 ;
8579 int arg5
= (int) 0 ;
8580 PyObject
* obj0
= 0 ;
8581 PyObject
* obj1
= 0 ;
8582 PyObject
* obj2
= 0 ;
8583 PyObject
* obj3
= 0 ;
8584 PyObject
* obj4
= 0 ;
8586 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8592 arg2
= (double) SWIG_AsDouble(obj1
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8594 arg3
= (double) SWIG_AsDouble(obj2
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8597 arg4
= (int) SWIG_AsInt(obj3
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8601 arg5
= (int) SWIG_AsInt(obj4
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8606 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
8608 wxPyEndAllowThreads(__tstate
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8611 Py_INCREF(Py_None
); resultobj
= Py_None
;
8618 static PyObject
*_wrap_PyShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8619 PyObject
*resultobj
;
8620 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8624 int arg5
= (int) 0 ;
8625 int arg6
= (int) 0 ;
8626 PyObject
* obj0
= 0 ;
8627 PyObject
* obj1
= 0 ;
8628 PyObject
* obj2
= 0 ;
8629 PyObject
* obj3
= 0 ;
8630 PyObject
* obj4
= 0 ;
8631 PyObject
* obj5
= 0 ;
8633 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8639 arg2
= (bool) SWIG_AsBool(obj1
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8641 arg3
= (double) SWIG_AsDouble(obj2
);
8642 if (PyErr_Occurred()) SWIG_fail
;
8643 arg4
= (double) SWIG_AsDouble(obj3
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8646 arg5
= (int) SWIG_AsInt(obj4
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8650 arg6
= (int) SWIG_AsInt(obj5
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8655 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
8657 wxPyEndAllowThreads(__tstate
);
8658 if (PyErr_Occurred()) SWIG_fail
;
8660 Py_INCREF(Py_None
); resultobj
= Py_None
;
8667 static PyObject
*_wrap_PyShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8668 PyObject
*resultobj
;
8669 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8672 int arg4
= (int) 0 ;
8673 int arg5
= (int) 0 ;
8674 PyObject
* obj0
= 0 ;
8675 PyObject
* obj1
= 0 ;
8676 PyObject
* obj2
= 0 ;
8677 PyObject
* obj3
= 0 ;
8678 PyObject
* obj4
= 0 ;
8680 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8686 arg2
= (double) SWIG_AsDouble(obj1
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8688 arg3
= (double) SWIG_AsDouble(obj2
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8691 arg4
= (int) SWIG_AsInt(obj3
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8695 arg5
= (int) SWIG_AsInt(obj4
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
8702 wxPyEndAllowThreads(__tstate
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8705 Py_INCREF(Py_None
); resultobj
= Py_None
;
8712 static PyObject
*_wrap_PyShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8713 PyObject
*resultobj
;
8714 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8717 int arg4
= (int) 0 ;
8718 int arg5
= (int) 0 ;
8719 PyObject
* obj0
= 0 ;
8720 PyObject
* obj1
= 0 ;
8721 PyObject
* obj2
= 0 ;
8722 PyObject
* obj3
= 0 ;
8723 PyObject
* obj4
= 0 ;
8725 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8731 arg2
= (double) SWIG_AsDouble(obj1
);
8732 if (PyErr_Occurred()) SWIG_fail
;
8733 arg3
= (double) SWIG_AsDouble(obj2
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 arg4
= (int) SWIG_AsInt(obj3
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8740 arg5
= (int) SWIG_AsInt(obj4
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8750 Py_INCREF(Py_None
); resultobj
= Py_None
;
8757 static PyObject
*_wrap_PyShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
*resultobj
;
8759 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8765 PyObject
* obj0
= 0 ;
8766 PyObject
* obj1
= 0 ;
8767 PyObject
* obj2
= 0 ;
8768 PyObject
* obj3
= 0 ;
8769 PyObject
* obj4
= 0 ;
8770 PyObject
* obj5
= 0 ;
8772 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8779 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8782 PyErr_SetString(PyExc_TypeError
,"null reference");
8785 arg3
= (double) SWIG_AsDouble(obj2
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8787 arg4
= (double) SWIG_AsDouble(obj3
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8789 arg5
= (double) SWIG_AsDouble(obj4
);
8790 if (PyErr_Occurred()) SWIG_fail
;
8791 arg6
= (double) SWIG_AsDouble(obj5
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8795 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
8797 wxPyEndAllowThreads(__tstate
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8800 Py_INCREF(Py_None
); resultobj
= Py_None
;
8807 static PyObject
*_wrap_PyShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
;
8809 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8811 PyObject
* obj0
= 0 ;
8812 PyObject
* obj1
= 0 ;
8814 (char *) "self",(char *) "dc", NULL
8817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
8818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8824 PyErr_SetString(PyExc_TypeError
,"null reference");
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 (arg1
)->base_OnDrawControlPoints(*arg2
);
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8834 Py_INCREF(Py_None
); resultobj
= Py_None
;
8841 static PyObject
*_wrap_PyShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8842 PyObject
*resultobj
;
8843 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8845 PyObject
* obj0
= 0 ;
8846 PyObject
* obj1
= 0 ;
8848 (char *) "self",(char *) "dc", NULL
8851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
8852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8858 PyErr_SetString(PyExc_TypeError
,"null reference");
8862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8863 (arg1
)->base_OnEraseControlPoints(*arg2
);
8865 wxPyEndAllowThreads(__tstate
);
8866 if (PyErr_Occurred()) SWIG_fail
;
8868 Py_INCREF(Py_None
); resultobj
= Py_None
;
8875 static PyObject
*_wrap_PyShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
;
8877 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8879 bool arg3
= (bool) True
;
8880 PyObject
* obj0
= 0 ;
8881 PyObject
* obj1
= 0 ;
8882 PyObject
* obj2
= 0 ;
8884 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8894 PyErr_SetString(PyExc_TypeError
,"null reference");
8898 arg3
= (bool) SWIG_AsBool(obj2
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
8905 wxPyEndAllowThreads(__tstate
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8908 Py_INCREF(Py_None
); resultobj
= Py_None
;
8915 static PyObject
*_wrap_PyShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
*resultobj
;
8917 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8918 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
8922 int arg6
= (int) 0 ;
8923 int arg7
= (int) 0 ;
8924 PyObject
* obj0
= 0 ;
8925 PyObject
* obj1
= 0 ;
8926 PyObject
* obj2
= 0 ;
8927 PyObject
* obj3
= 0 ;
8928 PyObject
* obj4
= 0 ;
8929 PyObject
* obj5
= 0 ;
8930 PyObject
* obj6
= 0 ;
8932 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
8939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8940 arg3
= (bool) SWIG_AsBool(obj2
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8942 arg4
= (double) SWIG_AsDouble(obj3
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8944 arg5
= (double) SWIG_AsDouble(obj4
);
8945 if (PyErr_Occurred()) SWIG_fail
;
8947 arg6
= (int) SWIG_AsInt(obj5
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8951 arg7
= (int) SWIG_AsInt(obj6
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8961 Py_INCREF(Py_None
); resultobj
= Py_None
;
8968 static PyObject
*_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
*resultobj
;
8970 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8971 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
8974 int arg5
= (int) 0 ;
8975 int arg6
= (int) 0 ;
8976 PyObject
* obj0
= 0 ;
8977 PyObject
* obj1
= 0 ;
8978 PyObject
* obj2
= 0 ;
8979 PyObject
* obj3
= 0 ;
8980 PyObject
* obj4
= 0 ;
8981 PyObject
* obj5
= 0 ;
8983 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
8990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8991 arg3
= (double) SWIG_AsDouble(obj2
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8993 arg4
= (double) SWIG_AsDouble(obj3
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8996 arg5
= (int) SWIG_AsInt(obj4
);
8997 if (PyErr_Occurred()) SWIG_fail
;
9000 arg6
= (int) SWIG_AsInt(obj5
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9005 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 Py_INCREF(Py_None
); resultobj
= Py_None
;
9017 static PyObject
*_wrap_PyShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
*resultobj
;
9019 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9020 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9023 int arg5
= (int) 0 ;
9024 int arg6
= (int) 0 ;
9025 PyObject
* obj0
= 0 ;
9026 PyObject
* obj1
= 0 ;
9027 PyObject
* obj2
= 0 ;
9028 PyObject
* obj3
= 0 ;
9029 PyObject
* obj4
= 0 ;
9030 PyObject
* obj5
= 0 ;
9032 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9038 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
9039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9040 arg3
= (double) SWIG_AsDouble(obj2
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9042 arg4
= (double) SWIG_AsDouble(obj3
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9045 arg5
= (int) SWIG_AsInt(obj4
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9049 arg6
= (int) SWIG_AsInt(obj5
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9059 Py_INCREF(Py_None
); resultobj
= Py_None
;
9066 static PyObject
*_wrap_PyShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
;
9068 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9071 PyObject
* obj0
= 0 ;
9072 PyObject
* obj1
= 0 ;
9073 PyObject
* obj2
= 0 ;
9075 (char *) "self",(char *) "w",(char *) "h", NULL
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9081 arg2
= (double) SWIG_AsDouble(obj1
);
9082 if (PyErr_Occurred()) SWIG_fail
;
9083 arg3
= (double) SWIG_AsDouble(obj2
);
9084 if (PyErr_Occurred()) SWIG_fail
;
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9087 (arg1
)->base_OnBeginSize(arg2
,arg3
);
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9092 Py_INCREF(Py_None
); resultobj
= Py_None
;
9099 static PyObject
*_wrap_PyShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9100 PyObject
*resultobj
;
9101 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9104 PyObject
* obj0
= 0 ;
9105 PyObject
* obj1
= 0 ;
9106 PyObject
* obj2
= 0 ;
9108 (char *) "self",(char *) "w",(char *) "h", NULL
9111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9114 arg2
= (double) SWIG_AsDouble(obj1
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9116 arg3
= (double) SWIG_AsDouble(obj2
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 (arg1
)->base_OnEndSize(arg2
,arg3
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 Py_INCREF(Py_None
); resultobj
= Py_None
;
9132 static PyObject
* PyShape_swigregister(PyObject
*, PyObject
*args
) {
9134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9135 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape
, obj
);
9137 return Py_BuildValue((char *)"");
9139 static PyObject
*_wrap_new_PseudoMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9140 PyObject
*resultobj
;
9141 wxPseudoMetaFile
*result
;
9146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PseudoMetaFile",kwnames
)) goto fail
;
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 result
= (wxPseudoMetaFile
*)new wxPseudoMetaFile();
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9155 resultobj
= wxPyMake_wxObject(result
);
9163 static PyObject
*_wrap_delete_PseudoMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
*resultobj
;
9165 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9166 PyObject
* obj0
= 0 ;
9168 (char *) "self", NULL
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PseudoMetaFile",kwnames
,&obj0
)) goto fail
;
9172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 Py_INCREF(Py_None
); resultobj
= Py_None
;
9188 static PyObject
*_wrap_PseudoMetaFile_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9189 PyObject
*resultobj
;
9190 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9194 PyObject
* obj0
= 0 ;
9195 PyObject
* obj1
= 0 ;
9196 PyObject
* obj2
= 0 ;
9197 PyObject
* obj3
= 0 ;
9199 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
9202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
9206 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9209 PyErr_SetString(PyExc_TypeError
,"null reference");
9212 arg3
= (double) SWIG_AsDouble(obj2
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9214 arg4
= (double) SWIG_AsDouble(obj3
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 (arg1
)->Draw(*arg2
,arg3
,arg4
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 Py_INCREF(Py_None
); resultobj
= Py_None
;
9230 static PyObject
*_wrap_PseudoMetaFile_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9232 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9233 PyObject
* obj0
= 0 ;
9235 (char *) "self", NULL
9238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_Clear",kwnames
,&obj0
)) goto fail
;
9239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 Py_INCREF(Py_None
); resultobj
= Py_None
;
9255 static PyObject
*_wrap_PseudoMetaFile_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
*resultobj
;
9257 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9258 wxPseudoMetaFile
*arg2
= 0 ;
9259 PyObject
* obj0
= 0 ;
9260 PyObject
* obj1
= 0 ;
9262 (char *) "self",(char *) "copy", NULL
9265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
9266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPseudoMetaFile
,
9269 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9272 PyErr_SetString(PyExc_TypeError
,"null reference");
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 (arg1
)->Copy(*arg2
);
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9282 Py_INCREF(Py_None
); resultobj
= Py_None
;
9289 static PyObject
*_wrap_PseudoMetaFile_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
;
9291 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9294 PyObject
* obj0
= 0 ;
9295 PyObject
* obj1
= 0 ;
9296 PyObject
* obj2
= 0 ;
9298 (char *) "self",(char *) "sx",(char *) "sy", NULL
9301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9304 arg2
= (double) SWIG_AsDouble(obj1
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9306 arg3
= (double) SWIG_AsDouble(obj2
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9310 (arg1
)->Scale(arg2
,arg3
);
9312 wxPyEndAllowThreads(__tstate
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9315 Py_INCREF(Py_None
); resultobj
= Py_None
;
9322 static PyObject
*_wrap_PseudoMetaFile_ScaleTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9323 PyObject
*resultobj
;
9324 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9327 PyObject
* obj0
= 0 ;
9328 PyObject
* obj1
= 0 ;
9329 PyObject
* obj2
= 0 ;
9331 (char *) "self",(char *) "w",(char *) "h", NULL
9334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_ScaleTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9337 arg2
= (double) SWIG_AsDouble(obj1
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9339 arg3
= (double) SWIG_AsDouble(obj2
);
9340 if (PyErr_Occurred()) SWIG_fail
;
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 (arg1
)->ScaleTo(arg2
,arg3
);
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9348 Py_INCREF(Py_None
); resultobj
= Py_None
;
9355 static PyObject
*_wrap_PseudoMetaFile_Translate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
;
9357 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9360 PyObject
* obj0
= 0 ;
9361 PyObject
* obj1
= 0 ;
9362 PyObject
* obj2
= 0 ;
9364 (char *) "self",(char *) "x",(char *) "y", NULL
9367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9370 arg2
= (double) SWIG_AsDouble(obj1
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9372 arg3
= (double) SWIG_AsDouble(obj2
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 (arg1
)->Translate(arg2
,arg3
);
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9381 Py_INCREF(Py_None
); resultobj
= Py_None
;
9388 static PyObject
*_wrap_PseudoMetaFile_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
;
9390 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9394 PyObject
* obj0
= 0 ;
9395 PyObject
* obj1
= 0 ;
9396 PyObject
* obj2
= 0 ;
9397 PyObject
* obj3
= 0 ;
9399 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
9402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9405 arg2
= (double) SWIG_AsDouble(obj1
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9407 arg3
= (double) SWIG_AsDouble(obj2
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9409 arg4
= (double) SWIG_AsDouble(obj3
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 (arg1
)->Rotate(arg2
,arg3
,arg4
);
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9418 Py_INCREF(Py_None
); resultobj
= Py_None
;
9425 static PyObject
*_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
;
9427 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9428 wxString
*arg2
= 0 ;
9429 double *arg3
= (double *) 0 ;
9430 double *arg4
= (double *) 0 ;
9432 bool temp2
= False
;
9433 PyObject
* obj0
= 0 ;
9434 PyObject
* obj1
= 0 ;
9435 PyObject
* obj2
= 0 ;
9436 PyObject
* obj3
= 0 ;
9438 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
9441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9445 arg2
= wxString_in_helper(obj1
);
9446 if (arg2
== NULL
) SWIG_fail
;
9449 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_double
,
9450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9451 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_double
,
9452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
,arg3
,arg4
);
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9475 static PyObject
*_wrap_PseudoMetaFile_GetBounds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9476 PyObject
*resultobj
;
9477 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9478 double *arg2
= (double *) 0 ;
9479 double *arg3
= (double *) 0 ;
9480 double *arg4
= (double *) 0 ;
9481 double *arg5
= (double *) 0 ;
9482 PyObject
* obj0
= 0 ;
9483 PyObject
* obj1
= 0 ;
9484 PyObject
* obj2
= 0 ;
9485 PyObject
* obj3
= 0 ;
9486 PyObject
* obj4
= 0 ;
9488 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
9491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_double
,
9495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9496 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_double
,
9497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9498 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_double
,
9499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9500 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_double
,
9501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 (arg1
)->GetBounds(arg2
,arg3
,arg4
,arg5
);
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9509 Py_INCREF(Py_None
); resultobj
= Py_None
;
9516 static PyObject
*_wrap_PseudoMetaFile_CalculateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
*resultobj
;
9518 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9519 wxPyDrawnShape
*arg2
= (wxPyDrawnShape
*) 0 ;
9520 PyObject
* obj0
= 0 ;
9521 PyObject
* obj1
= 0 ;
9523 (char *) "self",(char *) "shape", NULL
9526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDrawnShape
,
9530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 (arg1
)->CalculateSize(arg2
);
9535 wxPyEndAllowThreads(__tstate
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9538 Py_INCREF(Py_None
); resultobj
= Py_None
;
9545 static PyObject
*_wrap_PseudoMetaFile_SetRotateable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
*resultobj
;
9547 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9549 PyObject
* obj0
= 0 ;
9550 PyObject
* obj1
= 0 ;
9552 (char *) "self",(char *) "rot", NULL
9555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames
,&obj0
,&obj1
)) goto fail
;
9556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9558 arg2
= (bool) SWIG_AsBool(obj1
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 (arg1
)->SetRotateable(arg2
);
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9567 Py_INCREF(Py_None
); resultobj
= Py_None
;
9574 static PyObject
*_wrap_PseudoMetaFile_GetRotateable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9575 PyObject
*resultobj
;
9576 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9578 PyObject
* obj0
= 0 ;
9580 (char *) "self", NULL
9583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetRotateable",kwnames
,&obj0
)) goto fail
;
9584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 result
= (bool)(arg1
)->GetRotateable();
9590 wxPyEndAllowThreads(__tstate
);
9591 if (PyErr_Occurred()) SWIG_fail
;
9593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9600 static PyObject
*_wrap_PseudoMetaFile_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
*resultobj
;
9602 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9605 PyObject
* obj0
= 0 ;
9606 PyObject
* obj1
= 0 ;
9607 PyObject
* obj2
= 0 ;
9609 (char *) "self",(char *) "w",(char *) "h", NULL
9612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9615 arg2
= (double) SWIG_AsDouble(obj1
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9617 arg3
= (double) SWIG_AsDouble(obj2
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 (arg1
)->SetSize(arg2
,arg3
);
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9626 Py_INCREF(Py_None
); resultobj
= Py_None
;
9633 static PyObject
*_wrap_PseudoMetaFile_SetFillBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
*resultobj
;
9635 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9636 wxBrush
*arg2
= (wxBrush
*) 0 ;
9637 PyObject
* obj0
= 0 ;
9638 PyObject
* obj1
= 0 ;
9640 (char *) "self",(char *) "brush", NULL
9643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
9644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9649 if (obj1
== Py_None
) {
9652 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
9653 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
9658 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 (arg1
)->SetFillBrush(arg2
);
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9669 Py_INCREF(Py_None
); resultobj
= Py_None
;
9676 static PyObject
*_wrap_PseudoMetaFile_GetFillBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9677 PyObject
*resultobj
;
9678 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9680 PyObject
* obj0
= 0 ;
9682 (char *) "self", NULL
9685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames
,&obj0
)) goto fail
;
9686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 result
= (wxBrush
*)(arg1
)->GetFillBrush();
9692 wxPyEndAllowThreads(__tstate
);
9693 if (PyErr_Occurred()) SWIG_fail
;
9695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
9702 static PyObject
*_wrap_PseudoMetaFile_SetOutlinePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
*resultobj
;
9704 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9705 wxPen
*arg2
= (wxPen
*) 0 ;
9706 PyObject
* obj0
= 0 ;
9707 PyObject
* obj1
= 0 ;
9709 (char *) "self",(char *) "pen", NULL
9712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames
,&obj0
,&obj1
)) goto fail
;
9713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9718 if (obj1
== Py_None
) {
9721 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
9722 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
9727 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 (arg1
)->SetOutlinePen(arg2
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9740 Py_INCREF(Py_None
); resultobj
= Py_None
;
9747 static PyObject
*_wrap_PseudoMetaFile_GetOutlinePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
*resultobj
;
9749 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9751 PyObject
* obj0
= 0 ;
9753 (char *) "self", NULL
9756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames
,&obj0
)) goto fail
;
9757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 result
= (wxPen
*)(arg1
)->GetOutlinePen();
9763 wxPyEndAllowThreads(__tstate
);
9764 if (PyErr_Occurred()) SWIG_fail
;
9766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
9773 static PyObject
*_wrap_PseudoMetaFile_SetOutlineOp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
*resultobj
;
9775 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9777 PyObject
* obj0
= 0 ;
9778 PyObject
* obj1
= 0 ;
9780 (char *) "self",(char *) "op", NULL
9783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlineOp",kwnames
,&obj0
,&obj1
)) goto fail
;
9784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9786 arg2
= (int) SWIG_AsInt(obj1
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 (arg1
)->SetOutlineOp(arg2
);
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9795 Py_INCREF(Py_None
); resultobj
= Py_None
;
9802 static PyObject
*_wrap_PseudoMetaFile_GetOutlineOp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9806 PyObject
* obj0
= 0 ;
9808 (char *) "self", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames
,&obj0
)) goto fail
;
9812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 result
= (int)(arg1
)->GetOutlineOp();
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 resultobj
= SWIG_FromInt((int)result
);
9828 static PyObject
*_wrap_PseudoMetaFile_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
;
9830 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9832 PyObject
* obj0
= 0 ;
9834 (char *) "self", NULL
9837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_IsValid",kwnames
,&obj0
)) goto fail
;
9838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 result
= (bool)(arg1
)->IsValid();
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9854 static PyObject
*_wrap_PseudoMetaFile_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
*resultobj
;
9856 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9861 PyObject
* obj0
= 0 ;
9862 PyObject
* obj1
= 0 ;
9863 PyObject
* obj2
= 0 ;
9865 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
9868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9873 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9877 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9881 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
9883 wxPyEndAllowThreads(__tstate
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9886 Py_INCREF(Py_None
); resultobj
= Py_None
;
9893 static PyObject
*_wrap_PseudoMetaFile_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
*resultobj
;
9895 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9898 PyObject
* obj0
= 0 ;
9899 PyObject
* obj1
= 0 ;
9901 (char *) "self",(char *) "rect", NULL
9904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
9905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9909 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9913 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
9915 wxPyEndAllowThreads(__tstate
);
9916 if (PyErr_Occurred()) SWIG_fail
;
9918 Py_INCREF(Py_None
); resultobj
= Py_None
;
9925 static PyObject
*_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9926 PyObject
*resultobj
;
9927 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9931 PyObject
* obj0
= 0 ;
9932 PyObject
* obj1
= 0 ;
9933 PyObject
* obj2
= 0 ;
9935 (char *) "self",(char *) "rect",(char *) "radius", NULL
9938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9943 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9945 arg3
= (double) SWIG_AsDouble(obj2
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9949 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9954 Py_INCREF(Py_None
); resultobj
= Py_None
;
9961 static PyObject
*_wrap_PseudoMetaFile_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9962 PyObject
*resultobj
;
9963 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9970 PyObject
* obj0
= 0 ;
9971 PyObject
* obj1
= 0 ;
9972 PyObject
* obj2
= 0 ;
9973 PyObject
* obj3
= 0 ;
9975 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
9978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9983 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9987 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9991 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9995 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 Py_INCREF(Py_None
); resultobj
= Py_None
;
10007 static PyObject
*_wrap_PseudoMetaFile_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
*resultobj
;
10009 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10014 PyObject
* obj0
= 0 ;
10015 PyObject
* obj1
= 0 ;
10016 PyObject
* obj2
= 0 ;
10017 PyObject
* obj3
= 0 ;
10018 char *kwnames
[] = {
10019 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
10022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10027 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10029 arg3
= (double) SWIG_AsDouble(obj2
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10031 arg4
= (double) SWIG_AsDouble(obj3
);
10032 if (PyErr_Occurred()) SWIG_fail
;
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10040 Py_INCREF(Py_None
); resultobj
= Py_None
;
10047 static PyObject
*_wrap_PseudoMetaFile_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10048 PyObject
*resultobj
;
10049 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10052 PyObject
* obj0
= 0 ;
10053 PyObject
* obj1
= 0 ;
10054 char *kwnames
[] = {
10055 (char *) "self",(char *) "rect", NULL
10058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames
,&obj0
,&obj1
)) goto fail
;
10059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10063 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10072 Py_INCREF(Py_None
); resultobj
= Py_None
;
10079 static PyObject
*_wrap_PseudoMetaFile_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10080 PyObject
*resultobj
;
10081 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10082 wxPoint
*arg2
= 0 ;
10084 PyObject
* obj0
= 0 ;
10085 PyObject
* obj1
= 0 ;
10086 char *kwnames
[] = {
10087 (char *) "self",(char *) "pt", NULL
10090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10095 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 Py_INCREF(Py_None
); resultobj
= Py_None
;
10111 static PyObject
*_wrap_PseudoMetaFile_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
*resultobj
;
10113 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10114 wxString
*arg2
= 0 ;
10115 wxPoint
*arg3
= 0 ;
10116 bool temp2
= False
;
10118 PyObject
* obj0
= 0 ;
10119 PyObject
* obj1
= 0 ;
10120 PyObject
* obj2
= 0 ;
10121 char *kwnames
[] = {
10122 (char *) "self",(char *) "text",(char *) "pt", NULL
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10129 arg2
= wxString_in_helper(obj1
);
10130 if (arg2
== NULL
) SWIG_fail
;
10135 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10144 Py_INCREF(Py_None
); resultobj
= Py_None
;
10159 static PyObject
*_wrap_PseudoMetaFile_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
;
10161 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10163 wxPoint
*arg3
= (wxPoint
*) 0 ;
10164 PyObject
* obj0
= 0 ;
10165 PyObject
* obj1
= 0 ;
10166 PyObject
* obj2
= 0 ;
10167 char *kwnames
[] = {
10168 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10174 arg2
= (int) SWIG_AsInt(obj1
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10176 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
10177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10180 (arg1
)->DrawLines(arg2
,arg3
);
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10185 Py_INCREF(Py_None
); resultobj
= Py_None
;
10192 static PyObject
*_wrap_PseudoMetaFile_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10193 PyObject
*resultobj
;
10194 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10196 wxPoint
*arg3
= (wxPoint
*) 0 ;
10197 int arg4
= (int) 0 ;
10198 PyObject
* obj0
= 0 ;
10199 PyObject
* obj1
= 0 ;
10200 PyObject
* obj2
= 0 ;
10201 PyObject
* obj3
= 0 ;
10202 char *kwnames
[] = {
10203 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
10206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoMetaFile_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10209 arg2
= (int) SWIG_AsInt(obj1
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10211 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
10212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10214 arg4
= (int) SWIG_AsInt(obj3
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
10221 wxPyEndAllowThreads(__tstate
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10224 Py_INCREF(Py_None
); resultobj
= Py_None
;
10231 static PyObject
*_wrap_PseudoMetaFile_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10232 PyObject
*resultobj
;
10233 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10235 wxPoint
*arg3
= (wxPoint
*) 0 ;
10236 PyObject
* obj0
= 0 ;
10237 PyObject
* obj1
= 0 ;
10238 PyObject
* obj2
= 0 ;
10239 char *kwnames
[] = {
10240 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawSpline",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10246 arg2
= (int) SWIG_AsInt(obj1
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10248 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
10249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 (arg1
)->DrawSpline(arg2
,arg3
);
10254 wxPyEndAllowThreads(__tstate
);
10255 if (PyErr_Occurred()) SWIG_fail
;
10257 Py_INCREF(Py_None
); resultobj
= Py_None
;
10264 static PyObject
*_wrap_PseudoMetaFile_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
*resultobj
;
10266 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10269 PyObject
* obj0
= 0 ;
10270 PyObject
* obj1
= 0 ;
10271 char *kwnames
[] = {
10272 (char *) "self",(char *) "rect", NULL
10275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10280 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10289 Py_INCREF(Py_None
); resultobj
= Py_None
;
10296 static PyObject
*_wrap_PseudoMetaFile_DestroyClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
*resultobj
;
10298 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10299 PyObject
* obj0
= 0 ;
10300 char *kwnames
[] = {
10301 (char *) "self", NULL
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
10305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 (arg1
)->DestroyClippingRect();
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10314 Py_INCREF(Py_None
); resultobj
= Py_None
;
10321 static PyObject
*_wrap_PseudoMetaFile_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10322 PyObject
*resultobj
;
10323 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10324 wxPen
*arg2
= (wxPen
*) 0 ;
10325 bool arg3
= (bool) FALSE
;
10326 PyObject
* obj0
= 0 ;
10327 PyObject
* obj1
= 0 ;
10328 PyObject
* obj2
= 0 ;
10329 char *kwnames
[] = {
10330 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10339 if (obj1
== Py_None
) {
10342 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
10343 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
10348 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
10355 arg3
= (bool) SWIG_AsBool(obj2
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 (arg1
)->SetPen(arg2
,arg3
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10365 Py_INCREF(Py_None
); resultobj
= Py_None
;
10372 static PyObject
*_wrap_PseudoMetaFile_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
;
10374 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10375 wxBrush
*arg2
= (wxBrush
*) 0 ;
10376 bool arg3
= (bool) FALSE
;
10377 PyObject
* obj0
= 0 ;
10378 PyObject
* obj1
= 0 ;
10379 PyObject
* obj2
= 0 ;
10380 char *kwnames
[] = {
10381 (char *) "self",(char *) "brush",(char *) "isFill", NULL
10384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10390 if (obj1
== Py_None
) {
10393 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
10394 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
10399 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
10404 arg3
= (bool) SWIG_AsBool(obj2
);
10405 if (PyErr_Occurred()) SWIG_fail
;
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 (arg1
)->SetBrush(arg2
,arg3
);
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10414 Py_INCREF(Py_None
); resultobj
= Py_None
;
10421 static PyObject
*_wrap_PseudoMetaFile_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
*resultobj
;
10423 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10424 wxFont
*arg2
= (wxFont
*) 0 ;
10425 PyObject
* obj0
= 0 ;
10426 PyObject
* obj1
= 0 ;
10427 char *kwnames
[] = {
10428 (char *) "self",(char *) "font", NULL
10431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10437 if (obj1
== Py_None
) {
10440 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
10441 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
10446 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
10450 temp
->GetUnderlined(),
10451 temp
->GetFaceName(),
10452 temp
->GetEncoding());
10457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10458 (arg1
)->SetFont(arg2
);
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10463 Py_INCREF(Py_None
); resultobj
= Py_None
;
10470 static PyObject
*_wrap_PseudoMetaFile_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
*resultobj
;
10472 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10473 wxColour
*arg2
= 0 ;
10475 PyObject
* obj0
= 0 ;
10476 PyObject
* obj1
= 0 ;
10477 char *kwnames
[] = {
10478 (char *) "self",(char *) "colour", NULL
10481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10486 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 Py_INCREF(Py_None
); resultobj
= Py_None
;
10502 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
*resultobj
;
10504 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10505 wxColour
*arg2
= 0 ;
10507 PyObject
* obj0
= 0 ;
10508 PyObject
* obj1
= 0 ;
10509 char *kwnames
[] = {
10510 (char *) "self",(char *) "colour", NULL
10513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10518 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 Py_INCREF(Py_None
); resultobj
= Py_None
;
10534 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10535 PyObject
*resultobj
;
10536 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10538 PyObject
* obj0
= 0 ;
10539 PyObject
* obj1
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "self",(char *) "mode", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
10545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10547 arg2
= (int) SWIG_AsInt(obj1
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 (arg1
)->SetBackgroundMode(arg2
);
10553 wxPyEndAllowThreads(__tstate
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10556 Py_INCREF(Py_None
); resultobj
= Py_None
;
10563 static PyObject
* PseudoMetaFile_swigregister(PyObject
*, PyObject
*args
) {
10565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10566 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile
, obj
);
10568 return Py_BuildValue((char *)"");
10570 static PyObject
*_wrap_new_PyRectangleShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
*resultobj
;
10572 double arg1
= (double) 0.0 ;
10573 double arg2
= (double) 0.0 ;
10574 wxPyRectangleShape
*result
;
10575 PyObject
* obj0
= 0 ;
10576 PyObject
* obj1
= 0 ;
10577 char *kwnames
[] = {
10578 (char *) "width",(char *) "height", NULL
10581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyRectangleShape",kwnames
,&obj0
,&obj1
)) goto fail
;
10583 arg1
= (double) SWIG_AsDouble(obj0
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10587 arg2
= (double) SWIG_AsDouble(obj1
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 result
= (wxPyRectangleShape
*)new wxPyRectangleShape(arg1
,arg2
);
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyRectangleShape
, 1);
10604 static PyObject
*_wrap_PyRectangleShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10605 PyObject
*resultobj
;
10606 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10607 PyObject
*arg2
= (PyObject
*) 0 ;
10608 PyObject
*arg3
= (PyObject
*) 0 ;
10609 PyObject
* obj0
= 0 ;
10610 PyObject
* obj1
= 0 ;
10611 PyObject
* obj2
= 0 ;
10612 char *kwnames
[] = {
10613 (char *) "self",(char *) "self",(char *) "_class", NULL
10616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10628 Py_INCREF(Py_None
); resultobj
= Py_None
;
10635 static PyObject
*_wrap_PyRectangleShape_SetCornerRadius(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10636 PyObject
*resultobj
;
10637 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10639 PyObject
* obj0
= 0 ;
10640 PyObject
* obj1
= 0 ;
10641 char *kwnames
[] = {
10642 (char *) "self",(char *) "radius", NULL
10645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_SetCornerRadius",kwnames
,&obj0
,&obj1
)) goto fail
;
10646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10648 arg2
= (double) SWIG_AsDouble(obj1
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 (arg1
)->SetCornerRadius(arg2
);
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 Py_INCREF(Py_None
); resultobj
= Py_None
;
10664 static PyObject
*_wrap_PyRectangleShape_GetCornerRadius(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
;
10666 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10668 PyObject
* obj0
= 0 ;
10669 char *kwnames
[] = {
10670 (char *) "self", NULL
10673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames
,&obj0
)) goto fail
;
10674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 result
= (double)(arg1
)->GetCornerRadius();
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10683 resultobj
= SWIG_FromDouble((double)result
);
10690 static PyObject
*_wrap_PyRectangleShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
*resultobj
;
10692 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10693 PyObject
* obj0
= 0 ;
10694 char *kwnames
[] = {
10695 (char *) "self", NULL
10698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
10699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 (arg1
)->base_OnDelete();
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10708 Py_INCREF(Py_None
); resultobj
= Py_None
;
10715 static PyObject
*_wrap_PyRectangleShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10716 PyObject
*resultobj
;
10717 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10719 PyObject
* obj0
= 0 ;
10720 PyObject
* obj1
= 0 ;
10721 char *kwnames
[] = {
10722 (char *) "self",(char *) "dc", NULL
10725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
10726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10731 if (arg2
== NULL
) {
10732 PyErr_SetString(PyExc_TypeError
,"null reference");
10736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10737 (arg1
)->base_OnDraw(*arg2
);
10739 wxPyEndAllowThreads(__tstate
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10742 Py_INCREF(Py_None
); resultobj
= Py_None
;
10749 static PyObject
*_wrap_PyRectangleShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10750 PyObject
*resultobj
;
10751 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10753 PyObject
* obj0
= 0 ;
10754 PyObject
* obj1
= 0 ;
10755 char *kwnames
[] = {
10756 (char *) "self",(char *) "dc", NULL
10759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10763 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10765 if (arg2
== NULL
) {
10766 PyErr_SetString(PyExc_TypeError
,"null reference");
10770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10771 (arg1
)->base_OnDrawContents(*arg2
);
10773 wxPyEndAllowThreads(__tstate
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10776 Py_INCREF(Py_None
); resultobj
= Py_None
;
10783 static PyObject
*_wrap_PyRectangleShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10784 PyObject
*resultobj
;
10785 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10787 bool arg3
= (bool) FALSE
;
10788 PyObject
* obj0
= 0 ;
10789 PyObject
* obj1
= 0 ;
10790 PyObject
* obj2
= 0 ;
10791 char *kwnames
[] = {
10792 (char *) "self",(char *) "dc",(char *) "erase", NULL
10795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10799 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10801 if (arg2
== NULL
) {
10802 PyErr_SetString(PyExc_TypeError
,"null reference");
10806 arg3
= (bool) SWIG_AsBool(obj2
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10816 Py_INCREF(Py_None
); resultobj
= Py_None
;
10823 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
*resultobj
;
10825 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10827 PyObject
* obj0
= 0 ;
10828 PyObject
* obj1
= 0 ;
10829 char *kwnames
[] = {
10830 (char *) "self",(char *) "dc", NULL
10833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
10834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10837 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10839 if (arg2
== NULL
) {
10840 PyErr_SetString(PyExc_TypeError
,"null reference");
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 (arg1
)->base_OnMoveLinks(*arg2
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10850 Py_INCREF(Py_None
); resultobj
= Py_None
;
10857 static PyObject
*_wrap_PyRectangleShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
*resultobj
;
10859 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10861 PyObject
* obj0
= 0 ;
10862 PyObject
* obj1
= 0 ;
10863 char *kwnames
[] = {
10864 (char *) "self",(char *) "dc", NULL
10867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
10868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10870 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10871 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10873 if (arg2
== NULL
) {
10874 PyErr_SetString(PyExc_TypeError
,"null reference");
10878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10879 (arg1
)->base_OnErase(*arg2
);
10881 wxPyEndAllowThreads(__tstate
);
10882 if (PyErr_Occurred()) SWIG_fail
;
10884 Py_INCREF(Py_None
); resultobj
= Py_None
;
10891 static PyObject
*_wrap_PyRectangleShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10892 PyObject
*resultobj
;
10893 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10895 PyObject
* obj0
= 0 ;
10896 PyObject
* obj1
= 0 ;
10897 char *kwnames
[] = {
10898 (char *) "self",(char *) "dc", NULL
10901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10905 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10907 if (arg2
== NULL
) {
10908 PyErr_SetString(PyExc_TypeError
,"null reference");
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 (arg1
)->base_OnEraseContents(*arg2
);
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10918 Py_INCREF(Py_None
); resultobj
= Py_None
;
10925 static PyObject
*_wrap_PyRectangleShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
*resultobj
;
10927 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10929 PyObject
* obj0
= 0 ;
10930 PyObject
* obj1
= 0 ;
10931 char *kwnames
[] = {
10932 (char *) "self",(char *) "dc", NULL
10935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
10936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10941 if (arg2
== NULL
) {
10942 PyErr_SetString(PyExc_TypeError
,"null reference");
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 (arg1
)->base_OnHighlight(*arg2
);
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10952 Py_INCREF(Py_None
); resultobj
= Py_None
;
10959 static PyObject
*_wrap_PyRectangleShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
;
10961 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10964 int arg4
= (int) 0 ;
10965 int arg5
= (int) 0 ;
10966 PyObject
* obj0
= 0 ;
10967 PyObject
* obj1
= 0 ;
10968 PyObject
* obj2
= 0 ;
10969 PyObject
* obj3
= 0 ;
10970 PyObject
* obj4
= 0 ;
10971 char *kwnames
[] = {
10972 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10978 arg2
= (double) SWIG_AsDouble(obj1
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10980 arg3
= (double) SWIG_AsDouble(obj2
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10983 arg4
= (int) SWIG_AsInt(obj3
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10987 arg5
= (int) SWIG_AsInt(obj4
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10992 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
10994 wxPyEndAllowThreads(__tstate
);
10995 if (PyErr_Occurred()) SWIG_fail
;
10997 Py_INCREF(Py_None
); resultobj
= Py_None
;
11004 static PyObject
*_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
*resultobj
;
11006 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11009 int arg4
= (int) 0 ;
11010 int arg5
= (int) 0 ;
11011 PyObject
* obj0
= 0 ;
11012 PyObject
* obj1
= 0 ;
11013 PyObject
* obj2
= 0 ;
11014 PyObject
* obj3
= 0 ;
11015 PyObject
* obj4
= 0 ;
11016 char *kwnames
[] = {
11017 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11023 arg2
= (double) SWIG_AsDouble(obj1
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11025 arg3
= (double) SWIG_AsDouble(obj2
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11028 arg4
= (int) SWIG_AsInt(obj3
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11032 arg5
= (int) SWIG_AsInt(obj4
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11037 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
11039 wxPyEndAllowThreads(__tstate
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11042 Py_INCREF(Py_None
); resultobj
= Py_None
;
11049 static PyObject
*_wrap_PyRectangleShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11050 PyObject
*resultobj
;
11051 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11054 int arg4
= (int) 0 ;
11055 int arg5
= (int) 0 ;
11056 PyObject
* obj0
= 0 ;
11057 PyObject
* obj1
= 0 ;
11058 PyObject
* obj2
= 0 ;
11059 PyObject
* obj3
= 0 ;
11060 PyObject
* obj4
= 0 ;
11061 char *kwnames
[] = {
11062 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11068 arg2
= (double) SWIG_AsDouble(obj1
);
11069 if (PyErr_Occurred()) SWIG_fail
;
11070 arg3
= (double) SWIG_AsDouble(obj2
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11073 arg4
= (int) SWIG_AsInt(obj3
);
11074 if (PyErr_Occurred()) SWIG_fail
;
11077 arg5
= (int) SWIG_AsInt(obj4
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11082 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11087 Py_INCREF(Py_None
); resultobj
= Py_None
;
11094 static PyObject
*_wrap_PyRectangleShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
;
11096 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11099 PyObject
* obj0
= 0 ;
11100 PyObject
* obj1
= 0 ;
11101 PyObject
* obj2
= 0 ;
11102 char *kwnames
[] = {
11103 (char *) "self",(char *) "x",(char *) "y", NULL
11106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11109 arg2
= (double) SWIG_AsDouble(obj1
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11111 arg3
= (double) SWIG_AsDouble(obj2
);
11112 if (PyErr_Occurred()) SWIG_fail
;
11114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11115 (arg1
)->base_OnSize(arg2
,arg3
);
11117 wxPyEndAllowThreads(__tstate
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11120 Py_INCREF(Py_None
); resultobj
= Py_None
;
11127 static PyObject
*_wrap_PyRectangleShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11128 PyObject
*resultobj
;
11129 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11135 bool arg7
= (bool) True
;
11137 PyObject
* obj0
= 0 ;
11138 PyObject
* obj1
= 0 ;
11139 PyObject
* obj2
= 0 ;
11140 PyObject
* obj3
= 0 ;
11141 PyObject
* obj4
= 0 ;
11142 PyObject
* obj5
= 0 ;
11143 PyObject
* obj6
= 0 ;
11144 char *kwnames
[] = {
11145 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11152 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11154 if (arg2
== NULL
) {
11155 PyErr_SetString(PyExc_TypeError
,"null reference");
11158 arg3
= (double) SWIG_AsDouble(obj2
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11160 arg4
= (double) SWIG_AsDouble(obj3
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11162 arg5
= (double) SWIG_AsDouble(obj4
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11164 arg6
= (double) SWIG_AsDouble(obj5
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11167 arg7
= (bool) SWIG_AsBool(obj6
);
11168 if (PyErr_Occurred()) SWIG_fail
;
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11184 static PyObject
*_wrap_PyRectangleShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11185 PyObject
*resultobj
;
11186 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11192 bool arg7
= (bool) True
;
11193 PyObject
* obj0
= 0 ;
11194 PyObject
* obj1
= 0 ;
11195 PyObject
* obj2
= 0 ;
11196 PyObject
* obj3
= 0 ;
11197 PyObject
* obj4
= 0 ;
11198 PyObject
* obj5
= 0 ;
11199 PyObject
* obj6
= 0 ;
11200 char *kwnames
[] = {
11201 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11208 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11210 if (arg2
== NULL
) {
11211 PyErr_SetString(PyExc_TypeError
,"null reference");
11214 arg3
= (double) SWIG_AsDouble(obj2
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11216 arg4
= (double) SWIG_AsDouble(obj3
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11218 arg5
= (double) SWIG_AsDouble(obj4
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11220 arg6
= (double) SWIG_AsDouble(obj5
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11223 arg7
= (bool) SWIG_AsBool(obj6
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11228 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11230 wxPyEndAllowThreads(__tstate
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11233 Py_INCREF(Py_None
); resultobj
= Py_None
;
11240 static PyObject
*_wrap_PyRectangleShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11241 PyObject
*resultobj
;
11242 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11246 int arg5
= (int) 0 ;
11247 int arg6
= (int) 0 ;
11248 PyObject
* obj0
= 0 ;
11249 PyObject
* obj1
= 0 ;
11250 PyObject
* obj2
= 0 ;
11251 PyObject
* obj3
= 0 ;
11252 PyObject
* obj4
= 0 ;
11253 PyObject
* obj5
= 0 ;
11254 char *kwnames
[] = {
11255 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11261 arg2
= (bool) SWIG_AsBool(obj1
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11263 arg3
= (double) SWIG_AsDouble(obj2
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11265 arg4
= (double) SWIG_AsDouble(obj3
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11268 arg5
= (int) SWIG_AsInt(obj4
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11272 arg6
= (int) SWIG_AsInt(obj5
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11277 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11282 Py_INCREF(Py_None
); resultobj
= Py_None
;
11289 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11290 PyObject
*resultobj
;
11291 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11294 int arg4
= (int) 0 ;
11295 int arg5
= (int) 0 ;
11296 PyObject
* obj0
= 0 ;
11297 PyObject
* obj1
= 0 ;
11298 PyObject
* obj2
= 0 ;
11299 PyObject
* obj3
= 0 ;
11300 PyObject
* obj4
= 0 ;
11301 char *kwnames
[] = {
11302 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11308 arg2
= (double) SWIG_AsDouble(obj1
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11310 arg3
= (double) SWIG_AsDouble(obj2
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11313 arg4
= (int) SWIG_AsInt(obj3
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11317 arg5
= (int) SWIG_AsInt(obj4
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 Py_INCREF(Py_None
); resultobj
= Py_None
;
11334 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
;
11336 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11339 int arg4
= (int) 0 ;
11340 int arg5
= (int) 0 ;
11341 PyObject
* obj0
= 0 ;
11342 PyObject
* obj1
= 0 ;
11343 PyObject
* obj2
= 0 ;
11344 PyObject
* obj3
= 0 ;
11345 PyObject
* obj4
= 0 ;
11346 char *kwnames
[] = {
11347 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11353 arg2
= (double) SWIG_AsDouble(obj1
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11355 arg3
= (double) SWIG_AsDouble(obj2
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11358 arg4
= (int) SWIG_AsInt(obj3
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11362 arg5
= (int) SWIG_AsInt(obj4
);
11363 if (PyErr_Occurred()) SWIG_fail
;
11366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
11369 wxPyEndAllowThreads(__tstate
);
11370 if (PyErr_Occurred()) SWIG_fail
;
11372 Py_INCREF(Py_None
); resultobj
= Py_None
;
11379 static PyObject
*_wrap_PyRectangleShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11380 PyObject
*resultobj
;
11381 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11385 int arg5
= (int) 0 ;
11386 int arg6
= (int) 0 ;
11387 PyObject
* obj0
= 0 ;
11388 PyObject
* obj1
= 0 ;
11389 PyObject
* obj2
= 0 ;
11390 PyObject
* obj3
= 0 ;
11391 PyObject
* obj4
= 0 ;
11392 PyObject
* obj5
= 0 ;
11393 char *kwnames
[] = {
11394 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11400 arg2
= (bool) SWIG_AsBool(obj1
);
11401 if (PyErr_Occurred()) SWIG_fail
;
11402 arg3
= (double) SWIG_AsDouble(obj2
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11404 arg4
= (double) SWIG_AsDouble(obj3
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11407 arg5
= (int) SWIG_AsInt(obj4
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11411 arg6
= (int) SWIG_AsInt(obj5
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11421 Py_INCREF(Py_None
); resultobj
= Py_None
;
11428 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11429 PyObject
*resultobj
;
11430 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11433 int arg4
= (int) 0 ;
11434 int arg5
= (int) 0 ;
11435 PyObject
* obj0
= 0 ;
11436 PyObject
* obj1
= 0 ;
11437 PyObject
* obj2
= 0 ;
11438 PyObject
* obj3
= 0 ;
11439 PyObject
* obj4
= 0 ;
11440 char *kwnames
[] = {
11441 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11447 arg2
= (double) SWIG_AsDouble(obj1
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11449 arg3
= (double) SWIG_AsDouble(obj2
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11452 arg4
= (int) SWIG_AsInt(obj3
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11456 arg5
= (int) SWIG_AsInt(obj4
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11461 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 Py_INCREF(Py_None
); resultobj
= Py_None
;
11473 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
;
11475 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11478 int arg4
= (int) 0 ;
11479 int arg5
= (int) 0 ;
11480 PyObject
* obj0
= 0 ;
11481 PyObject
* obj1
= 0 ;
11482 PyObject
* obj2
= 0 ;
11483 PyObject
* obj3
= 0 ;
11484 PyObject
* obj4
= 0 ;
11485 char *kwnames
[] = {
11486 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11492 arg2
= (double) SWIG_AsDouble(obj1
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11494 arg3
= (double) SWIG_AsDouble(obj2
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11497 arg4
= (int) SWIG_AsInt(obj3
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11501 arg5
= (int) SWIG_AsInt(obj4
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 Py_INCREF(Py_None
); resultobj
= Py_None
;
11518 static PyObject
*_wrap_PyRectangleShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
;
11520 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11526 PyObject
* obj0
= 0 ;
11527 PyObject
* obj1
= 0 ;
11528 PyObject
* obj2
= 0 ;
11529 PyObject
* obj3
= 0 ;
11530 PyObject
* obj4
= 0 ;
11531 PyObject
* obj5
= 0 ;
11532 char *kwnames
[] = {
11533 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyRectangleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11539 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11540 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11542 if (arg2
== NULL
) {
11543 PyErr_SetString(PyExc_TypeError
,"null reference");
11546 arg3
= (double) SWIG_AsDouble(obj2
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11548 arg4
= (double) SWIG_AsDouble(obj3
);
11549 if (PyErr_Occurred()) SWIG_fail
;
11550 arg5
= (double) SWIG_AsDouble(obj4
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11552 arg6
= (double) SWIG_AsDouble(obj5
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11561 Py_INCREF(Py_None
); resultobj
= Py_None
;
11568 static PyObject
*_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11569 PyObject
*resultobj
;
11570 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11572 PyObject
* obj0
= 0 ;
11573 PyObject
* obj1
= 0 ;
11574 char *kwnames
[] = {
11575 (char *) "self",(char *) "dc", NULL
11578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11584 if (arg2
== NULL
) {
11585 PyErr_SetString(PyExc_TypeError
,"null reference");
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 (arg1
)->base_OnDrawControlPoints(*arg2
);
11592 wxPyEndAllowThreads(__tstate
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11595 Py_INCREF(Py_None
); resultobj
= Py_None
;
11602 static PyObject
*_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11603 PyObject
*resultobj
;
11604 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11606 PyObject
* obj0
= 0 ;
11607 PyObject
* obj1
= 0 ;
11608 char *kwnames
[] = {
11609 (char *) "self",(char *) "dc", NULL
11612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11618 if (arg2
== NULL
) {
11619 PyErr_SetString(PyExc_TypeError
,"null reference");
11623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11624 (arg1
)->base_OnEraseControlPoints(*arg2
);
11626 wxPyEndAllowThreads(__tstate
);
11627 if (PyErr_Occurred()) SWIG_fail
;
11629 Py_INCREF(Py_None
); resultobj
= Py_None
;
11636 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11637 PyObject
*resultobj
;
11638 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11640 bool arg3
= (bool) True
;
11641 PyObject
* obj0
= 0 ;
11642 PyObject
* obj1
= 0 ;
11643 PyObject
* obj2
= 0 ;
11644 char *kwnames
[] = {
11645 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11652 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11654 if (arg2
== NULL
) {
11655 PyErr_SetString(PyExc_TypeError
,"null reference");
11659 arg3
= (bool) SWIG_AsBool(obj2
);
11660 if (PyErr_Occurred()) SWIG_fail
;
11663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11664 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
11666 wxPyEndAllowThreads(__tstate
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11669 Py_INCREF(Py_None
); resultobj
= Py_None
;
11676 static PyObject
*_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11677 PyObject
*resultobj
;
11678 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11679 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11683 int arg6
= (int) 0 ;
11684 int arg7
= (int) 0 ;
11685 PyObject
* obj0
= 0 ;
11686 PyObject
* obj1
= 0 ;
11687 PyObject
* obj2
= 0 ;
11688 PyObject
* obj3
= 0 ;
11689 PyObject
* obj4
= 0 ;
11690 PyObject
* obj5
= 0 ;
11691 PyObject
* obj6
= 0 ;
11692 char *kwnames
[] = {
11693 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyRectangleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11701 arg3
= (bool) SWIG_AsBool(obj2
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11703 arg4
= (double) SWIG_AsDouble(obj3
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11705 arg5
= (double) SWIG_AsDouble(obj4
);
11706 if (PyErr_Occurred()) SWIG_fail
;
11708 arg6
= (int) SWIG_AsInt(obj5
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11712 arg7
= (int) SWIG_AsInt(obj6
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11717 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11719 wxPyEndAllowThreads(__tstate
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11722 Py_INCREF(Py_None
); resultobj
= Py_None
;
11729 static PyObject
*_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11730 PyObject
*resultobj
;
11731 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11732 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11735 int arg5
= (int) 0 ;
11736 int arg6
= (int) 0 ;
11737 PyObject
* obj0
= 0 ;
11738 PyObject
* obj1
= 0 ;
11739 PyObject
* obj2
= 0 ;
11740 PyObject
* obj3
= 0 ;
11741 PyObject
* obj4
= 0 ;
11742 PyObject
* obj5
= 0 ;
11743 char *kwnames
[] = {
11744 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11752 arg3
= (double) SWIG_AsDouble(obj2
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11754 arg4
= (double) SWIG_AsDouble(obj3
);
11755 if (PyErr_Occurred()) SWIG_fail
;
11757 arg5
= (int) SWIG_AsInt(obj4
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11761 arg6
= (int) SWIG_AsInt(obj5
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11766 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11768 wxPyEndAllowThreads(__tstate
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11771 Py_INCREF(Py_None
); resultobj
= Py_None
;
11778 static PyObject
*_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11779 PyObject
*resultobj
;
11780 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11781 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11784 int arg5
= (int) 0 ;
11785 int arg6
= (int) 0 ;
11786 PyObject
* obj0
= 0 ;
11787 PyObject
* obj1
= 0 ;
11788 PyObject
* obj2
= 0 ;
11789 PyObject
* obj3
= 0 ;
11790 PyObject
* obj4
= 0 ;
11791 PyObject
* obj5
= 0 ;
11792 char *kwnames
[] = {
11793 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11801 arg3
= (double) SWIG_AsDouble(obj2
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11803 arg4
= (double) SWIG_AsDouble(obj3
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11806 arg5
= (int) SWIG_AsInt(obj4
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11810 arg6
= (int) SWIG_AsInt(obj5
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11815 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11817 wxPyEndAllowThreads(__tstate
);
11818 if (PyErr_Occurred()) SWIG_fail
;
11820 Py_INCREF(Py_None
); resultobj
= Py_None
;
11827 static PyObject
*_wrap_PyRectangleShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11828 PyObject
*resultobj
;
11829 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11832 PyObject
* obj0
= 0 ;
11833 PyObject
* obj1
= 0 ;
11834 PyObject
* obj2
= 0 ;
11835 char *kwnames
[] = {
11836 (char *) "self",(char *) "w",(char *) "h", NULL
11839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11842 arg2
= (double) SWIG_AsDouble(obj1
);
11843 if (PyErr_Occurred()) SWIG_fail
;
11844 arg3
= (double) SWIG_AsDouble(obj2
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11848 (arg1
)->base_OnBeginSize(arg2
,arg3
);
11850 wxPyEndAllowThreads(__tstate
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11853 Py_INCREF(Py_None
); resultobj
= Py_None
;
11860 static PyObject
*_wrap_PyRectangleShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11861 PyObject
*resultobj
;
11862 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11865 PyObject
* obj0
= 0 ;
11866 PyObject
* obj1
= 0 ;
11867 PyObject
* obj2
= 0 ;
11868 char *kwnames
[] = {
11869 (char *) "self",(char *) "w",(char *) "h", NULL
11872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11875 arg2
= (double) SWIG_AsDouble(obj1
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11877 arg3
= (double) SWIG_AsDouble(obj2
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11881 (arg1
)->base_OnEndSize(arg2
,arg3
);
11883 wxPyEndAllowThreads(__tstate
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11886 Py_INCREF(Py_None
); resultobj
= Py_None
;
11893 static PyObject
* PyRectangleShape_swigregister(PyObject
*, PyObject
*args
) {
11895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11896 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape
, obj
);
11898 return Py_BuildValue((char *)"");
11900 static PyObject
*_wrap_new_PyControlPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11901 PyObject
*resultobj
;
11902 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
11903 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
11904 double arg3
= (double) 0.0 ;
11905 double arg4
= (double) 0.0 ;
11906 double arg5
= (double) 0.0 ;
11907 int arg6
= (int) 0 ;
11908 wxPyControlPoint
*result
;
11909 PyObject
* obj0
= 0 ;
11910 PyObject
* obj1
= 0 ;
11911 PyObject
* obj2
= 0 ;
11912 PyObject
* obj3
= 0 ;
11913 PyObject
* obj4
= 0 ;
11914 PyObject
* obj5
= 0 ;
11915 char *kwnames
[] = {
11916 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
11919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_PyControlPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
11922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
11926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11929 arg3
= (double) SWIG_AsDouble(obj2
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11933 arg4
= (double) SWIG_AsDouble(obj3
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11937 arg5
= (double) SWIG_AsDouble(obj4
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11941 arg6
= (int) SWIG_AsInt(obj5
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11946 result
= (wxPyControlPoint
*)new wxPyControlPoint(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControlPoint
, 1);
11958 static PyObject
*_wrap_PyControlPoint__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11959 PyObject
*resultobj
;
11960 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
11961 PyObject
*arg2
= (PyObject
*) 0 ;
11962 PyObject
*arg3
= (PyObject
*) 0 ;
11963 PyObject
* obj0
= 0 ;
11964 PyObject
* obj1
= 0 ;
11965 PyObject
* obj2
= 0 ;
11966 char *kwnames
[] = {
11967 (char *) "self",(char *) "self",(char *) "_class", NULL
11970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
11972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11982 Py_INCREF(Py_None
); resultobj
= Py_None
;
11989 static PyObject
*_wrap_PyControlPoint_SetCornerRadius(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11990 PyObject
*resultobj
;
11991 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
11993 PyObject
* obj0
= 0 ;
11994 PyObject
* obj1
= 0 ;
11995 char *kwnames
[] = {
11996 (char *) "self",(char *) "radius", NULL
11999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_SetCornerRadius",kwnames
,&obj0
,&obj1
)) goto fail
;
12000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12002 arg2
= (double) SWIG_AsDouble(obj1
);
12003 if (PyErr_Occurred()) SWIG_fail
;
12005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12006 (arg1
)->SetCornerRadius(arg2
);
12008 wxPyEndAllowThreads(__tstate
);
12009 if (PyErr_Occurred()) SWIG_fail
;
12011 Py_INCREF(Py_None
); resultobj
= Py_None
;
12018 static PyObject
*_wrap_PyControlPoint_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12019 PyObject
*resultobj
;
12020 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12021 PyObject
* obj0
= 0 ;
12022 char *kwnames
[] = {
12023 (char *) "self", NULL
12026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControlPoint_base_OnDelete",kwnames
,&obj0
)) goto fail
;
12027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12031 (arg1
)->base_OnDelete();
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12036 Py_INCREF(Py_None
); resultobj
= Py_None
;
12043 static PyObject
*_wrap_PyControlPoint_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
;
12045 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12047 PyObject
* obj0
= 0 ;
12048 PyObject
* obj1
= 0 ;
12049 char *kwnames
[] = {
12050 (char *) "self",(char *) "dc", NULL
12053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
12054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12057 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12059 if (arg2
== NULL
) {
12060 PyErr_SetString(PyExc_TypeError
,"null reference");
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12065 (arg1
)->base_OnDraw(*arg2
);
12067 wxPyEndAllowThreads(__tstate
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12070 Py_INCREF(Py_None
); resultobj
= Py_None
;
12077 static PyObject
*_wrap_PyControlPoint_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12078 PyObject
*resultobj
;
12079 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12081 PyObject
* obj0
= 0 ;
12082 PyObject
* obj1
= 0 ;
12083 char *kwnames
[] = {
12084 (char *) "self",(char *) "dc", NULL
12087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12093 if (arg2
== NULL
) {
12094 PyErr_SetString(PyExc_TypeError
,"null reference");
12098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12099 (arg1
)->base_OnDrawContents(*arg2
);
12101 wxPyEndAllowThreads(__tstate
);
12102 if (PyErr_Occurred()) SWIG_fail
;
12104 Py_INCREF(Py_None
); resultobj
= Py_None
;
12111 static PyObject
*_wrap_PyControlPoint_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12112 PyObject
*resultobj
;
12113 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12115 bool arg3
= (bool) FALSE
;
12116 PyObject
* obj0
= 0 ;
12117 PyObject
* obj1
= 0 ;
12118 PyObject
* obj2
= 0 ;
12119 char *kwnames
[] = {
12120 (char *) "self",(char *) "dc",(char *) "erase", NULL
12123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12129 if (arg2
== NULL
) {
12130 PyErr_SetString(PyExc_TypeError
,"null reference");
12134 arg3
= (bool) SWIG_AsBool(obj2
);
12135 if (PyErr_Occurred()) SWIG_fail
;
12138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12139 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12144 Py_INCREF(Py_None
); resultobj
= Py_None
;
12151 static PyObject
*_wrap_PyControlPoint_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12152 PyObject
*resultobj
;
12153 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12155 PyObject
* obj0
= 0 ;
12156 PyObject
* obj1
= 0 ;
12157 char *kwnames
[] = {
12158 (char *) "self",(char *) "dc", NULL
12161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
12162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12165 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12167 if (arg2
== NULL
) {
12168 PyErr_SetString(PyExc_TypeError
,"null reference");
12172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12173 (arg1
)->base_OnMoveLinks(*arg2
);
12175 wxPyEndAllowThreads(__tstate
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12178 Py_INCREF(Py_None
); resultobj
= Py_None
;
12185 static PyObject
*_wrap_PyControlPoint_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12186 PyObject
*resultobj
;
12187 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12189 PyObject
* obj0
= 0 ;
12190 PyObject
* obj1
= 0 ;
12191 char *kwnames
[] = {
12192 (char *) "self",(char *) "dc", NULL
12195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
12196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12199 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12201 if (arg2
== NULL
) {
12202 PyErr_SetString(PyExc_TypeError
,"null reference");
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 (arg1
)->base_OnErase(*arg2
);
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12212 Py_INCREF(Py_None
); resultobj
= Py_None
;
12219 static PyObject
*_wrap_PyControlPoint_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12220 PyObject
*resultobj
;
12221 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12223 PyObject
* obj0
= 0 ;
12224 PyObject
* obj1
= 0 ;
12225 char *kwnames
[] = {
12226 (char *) "self",(char *) "dc", NULL
12229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12235 if (arg2
== NULL
) {
12236 PyErr_SetString(PyExc_TypeError
,"null reference");
12240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12241 (arg1
)->base_OnEraseContents(*arg2
);
12243 wxPyEndAllowThreads(__tstate
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12246 Py_INCREF(Py_None
); resultobj
= Py_None
;
12253 static PyObject
*_wrap_PyControlPoint_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12254 PyObject
*resultobj
;
12255 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12257 PyObject
* obj0
= 0 ;
12258 PyObject
* obj1
= 0 ;
12259 char *kwnames
[] = {
12260 (char *) "self",(char *) "dc", NULL
12263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
12264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12267 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12269 if (arg2
== NULL
) {
12270 PyErr_SetString(PyExc_TypeError
,"null reference");
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12275 (arg1
)->base_OnHighlight(*arg2
);
12277 wxPyEndAllowThreads(__tstate
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12280 Py_INCREF(Py_None
); resultobj
= Py_None
;
12287 static PyObject
*_wrap_PyControlPoint_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12288 PyObject
*resultobj
;
12289 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12292 int arg4
= (int) 0 ;
12293 int arg5
= (int) 0 ;
12294 PyObject
* obj0
= 0 ;
12295 PyObject
* obj1
= 0 ;
12296 PyObject
* obj2
= 0 ;
12297 PyObject
* obj3
= 0 ;
12298 PyObject
* obj4
= 0 ;
12299 char *kwnames
[] = {
12300 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12306 arg2
= (double) SWIG_AsDouble(obj1
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12308 arg3
= (double) SWIG_AsDouble(obj2
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12311 arg4
= (int) SWIG_AsInt(obj3
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12315 arg5
= (int) SWIG_AsInt(obj4
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12325 Py_INCREF(Py_None
); resultobj
= Py_None
;
12332 static PyObject
*_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12333 PyObject
*resultobj
;
12334 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12337 int arg4
= (int) 0 ;
12338 int arg5
= (int) 0 ;
12339 PyObject
* obj0
= 0 ;
12340 PyObject
* obj1
= 0 ;
12341 PyObject
* obj2
= 0 ;
12342 PyObject
* obj3
= 0 ;
12343 PyObject
* obj4
= 0 ;
12344 char *kwnames
[] = {
12345 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12351 arg2
= (double) SWIG_AsDouble(obj1
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12353 arg3
= (double) SWIG_AsDouble(obj2
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12356 arg4
= (int) SWIG_AsInt(obj3
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12360 arg5
= (int) SWIG_AsInt(obj4
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12365 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 Py_INCREF(Py_None
); resultobj
= Py_None
;
12377 static PyObject
*_wrap_PyControlPoint_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
;
12379 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12382 int arg4
= (int) 0 ;
12383 int arg5
= (int) 0 ;
12384 PyObject
* obj0
= 0 ;
12385 PyObject
* obj1
= 0 ;
12386 PyObject
* obj2
= 0 ;
12387 PyObject
* obj3
= 0 ;
12388 PyObject
* obj4
= 0 ;
12389 char *kwnames
[] = {
12390 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12396 arg2
= (double) SWIG_AsDouble(obj1
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12398 arg3
= (double) SWIG_AsDouble(obj2
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12401 arg4
= (int) SWIG_AsInt(obj3
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12405 arg5
= (int) SWIG_AsInt(obj4
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12415 Py_INCREF(Py_None
); resultobj
= Py_None
;
12422 static PyObject
*_wrap_PyControlPoint_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
;
12424 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12427 PyObject
* obj0
= 0 ;
12428 PyObject
* obj1
= 0 ;
12429 PyObject
* obj2
= 0 ;
12430 char *kwnames
[] = {
12431 (char *) "self",(char *) "x",(char *) "y", NULL
12434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12437 arg2
= (double) SWIG_AsDouble(obj1
);
12438 if (PyErr_Occurred()) SWIG_fail
;
12439 arg3
= (double) SWIG_AsDouble(obj2
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 (arg1
)->base_OnSize(arg2
,arg3
);
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12448 Py_INCREF(Py_None
); resultobj
= Py_None
;
12455 static PyObject
*_wrap_PyControlPoint_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12456 PyObject
*resultobj
;
12457 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12463 bool arg7
= (bool) True
;
12465 PyObject
* obj0
= 0 ;
12466 PyObject
* obj1
= 0 ;
12467 PyObject
* obj2
= 0 ;
12468 PyObject
* obj3
= 0 ;
12469 PyObject
* obj4
= 0 ;
12470 PyObject
* obj5
= 0 ;
12471 PyObject
* obj6
= 0 ;
12472 char *kwnames
[] = {
12473 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12480 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12482 if (arg2
== NULL
) {
12483 PyErr_SetString(PyExc_TypeError
,"null reference");
12486 arg3
= (double) SWIG_AsDouble(obj2
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12488 arg4
= (double) SWIG_AsDouble(obj3
);
12489 if (PyErr_Occurred()) SWIG_fail
;
12490 arg5
= (double) SWIG_AsDouble(obj4
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12492 arg6
= (double) SWIG_AsDouble(obj5
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12495 arg7
= (bool) SWIG_AsBool(obj6
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12502 wxPyEndAllowThreads(__tstate
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12512 static PyObject
*_wrap_PyControlPoint_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12513 PyObject
*resultobj
;
12514 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12520 bool arg7
= (bool) True
;
12521 PyObject
* obj0
= 0 ;
12522 PyObject
* obj1
= 0 ;
12523 PyObject
* obj2
= 0 ;
12524 PyObject
* obj3
= 0 ;
12525 PyObject
* obj4
= 0 ;
12526 PyObject
* obj5
= 0 ;
12527 PyObject
* obj6
= 0 ;
12528 char *kwnames
[] = {
12529 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12536 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12538 if (arg2
== NULL
) {
12539 PyErr_SetString(PyExc_TypeError
,"null reference");
12542 arg3
= (double) SWIG_AsDouble(obj2
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12544 arg4
= (double) SWIG_AsDouble(obj3
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12546 arg5
= (double) SWIG_AsDouble(obj4
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12548 arg6
= (double) SWIG_AsDouble(obj5
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12551 arg7
= (bool) SWIG_AsBool(obj6
);
12552 if (PyErr_Occurred()) SWIG_fail
;
12555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12558 wxPyEndAllowThreads(__tstate
);
12559 if (PyErr_Occurred()) SWIG_fail
;
12561 Py_INCREF(Py_None
); resultobj
= Py_None
;
12568 static PyObject
*_wrap_PyControlPoint_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12569 PyObject
*resultobj
;
12570 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12574 int arg5
= (int) 0 ;
12575 int arg6
= (int) 0 ;
12576 PyObject
* obj0
= 0 ;
12577 PyObject
* obj1
= 0 ;
12578 PyObject
* obj2
= 0 ;
12579 PyObject
* obj3
= 0 ;
12580 PyObject
* obj4
= 0 ;
12581 PyObject
* obj5
= 0 ;
12582 char *kwnames
[] = {
12583 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12589 arg2
= (bool) SWIG_AsBool(obj1
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12591 arg3
= (double) SWIG_AsDouble(obj2
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12593 arg4
= (double) SWIG_AsDouble(obj3
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12596 arg5
= (int) SWIG_AsInt(obj4
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12600 arg6
= (int) SWIG_AsInt(obj5
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12605 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
12607 wxPyEndAllowThreads(__tstate
);
12608 if (PyErr_Occurred()) SWIG_fail
;
12610 Py_INCREF(Py_None
); resultobj
= Py_None
;
12617 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12618 PyObject
*resultobj
;
12619 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12622 int arg4
= (int) 0 ;
12623 int arg5
= (int) 0 ;
12624 PyObject
* obj0
= 0 ;
12625 PyObject
* obj1
= 0 ;
12626 PyObject
* obj2
= 0 ;
12627 PyObject
* obj3
= 0 ;
12628 PyObject
* obj4
= 0 ;
12629 char *kwnames
[] = {
12630 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12636 arg2
= (double) SWIG_AsDouble(obj1
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12638 arg3
= (double) SWIG_AsDouble(obj2
);
12639 if (PyErr_Occurred()) SWIG_fail
;
12641 arg4
= (int) SWIG_AsInt(obj3
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12645 arg5
= (int) SWIG_AsInt(obj4
);
12646 if (PyErr_Occurred()) SWIG_fail
;
12649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12650 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
12652 wxPyEndAllowThreads(__tstate
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12655 Py_INCREF(Py_None
); resultobj
= Py_None
;
12662 static PyObject
*_wrap_PyControlPoint_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
;
12664 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12667 int arg4
= (int) 0 ;
12668 int arg5
= (int) 0 ;
12669 PyObject
* obj0
= 0 ;
12670 PyObject
* obj1
= 0 ;
12671 PyObject
* obj2
= 0 ;
12672 PyObject
* obj3
= 0 ;
12673 PyObject
* obj4
= 0 ;
12674 char *kwnames
[] = {
12675 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12681 arg2
= (double) SWIG_AsDouble(obj1
);
12682 if (PyErr_Occurred()) SWIG_fail
;
12683 arg3
= (double) SWIG_AsDouble(obj2
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12686 arg4
= (int) SWIG_AsInt(obj3
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12690 arg5
= (int) SWIG_AsInt(obj4
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
12697 wxPyEndAllowThreads(__tstate
);
12698 if (PyErr_Occurred()) SWIG_fail
;
12700 Py_INCREF(Py_None
); resultobj
= Py_None
;
12707 static PyObject
*_wrap_PyControlPoint_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12708 PyObject
*resultobj
;
12709 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12713 int arg5
= (int) 0 ;
12714 int arg6
= (int) 0 ;
12715 PyObject
* obj0
= 0 ;
12716 PyObject
* obj1
= 0 ;
12717 PyObject
* obj2
= 0 ;
12718 PyObject
* obj3
= 0 ;
12719 PyObject
* obj4
= 0 ;
12720 PyObject
* obj5
= 0 ;
12721 char *kwnames
[] = {
12722 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12728 arg2
= (bool) SWIG_AsBool(obj1
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12730 arg3
= (double) SWIG_AsDouble(obj2
);
12731 if (PyErr_Occurred()) SWIG_fail
;
12732 arg4
= (double) SWIG_AsDouble(obj3
);
12733 if (PyErr_Occurred()) SWIG_fail
;
12735 arg5
= (int) SWIG_AsInt(obj4
);
12736 if (PyErr_Occurred()) SWIG_fail
;
12739 arg6
= (int) SWIG_AsInt(obj5
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12749 Py_INCREF(Py_None
); resultobj
= Py_None
;
12756 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12757 PyObject
*resultobj
;
12758 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12761 int arg4
= (int) 0 ;
12762 int arg5
= (int) 0 ;
12763 PyObject
* obj0
= 0 ;
12764 PyObject
* obj1
= 0 ;
12765 PyObject
* obj2
= 0 ;
12766 PyObject
* obj3
= 0 ;
12767 PyObject
* obj4
= 0 ;
12768 char *kwnames
[] = {
12769 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12775 arg2
= (double) SWIG_AsDouble(obj1
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12777 arg3
= (double) SWIG_AsDouble(obj2
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12780 arg4
= (int) SWIG_AsInt(obj3
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12784 arg5
= (int) SWIG_AsInt(obj4
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12789 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
12791 wxPyEndAllowThreads(__tstate
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12794 Py_INCREF(Py_None
); resultobj
= Py_None
;
12801 static PyObject
*_wrap_PyControlPoint_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12802 PyObject
*resultobj
;
12803 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12806 int arg4
= (int) 0 ;
12807 int arg5
= (int) 0 ;
12808 PyObject
* obj0
= 0 ;
12809 PyObject
* obj1
= 0 ;
12810 PyObject
* obj2
= 0 ;
12811 PyObject
* obj3
= 0 ;
12812 PyObject
* obj4
= 0 ;
12813 char *kwnames
[] = {
12814 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12820 arg2
= (double) SWIG_AsDouble(obj1
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12822 arg3
= (double) SWIG_AsDouble(obj2
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12825 arg4
= (int) SWIG_AsInt(obj3
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12829 arg5
= (int) SWIG_AsInt(obj4
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
12836 wxPyEndAllowThreads(__tstate
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12839 Py_INCREF(Py_None
); resultobj
= Py_None
;
12846 static PyObject
*_wrap_PyControlPoint_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12847 PyObject
*resultobj
;
12848 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12854 PyObject
* obj0
= 0 ;
12855 PyObject
* obj1
= 0 ;
12856 PyObject
* obj2
= 0 ;
12857 PyObject
* obj3
= 0 ;
12858 PyObject
* obj4
= 0 ;
12859 PyObject
* obj5
= 0 ;
12860 char *kwnames
[] = {
12861 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
12864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyControlPoint_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12868 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12870 if (arg2
== NULL
) {
12871 PyErr_SetString(PyExc_TypeError
,"null reference");
12874 arg3
= (double) SWIG_AsDouble(obj2
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12876 arg4
= (double) SWIG_AsDouble(obj3
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12878 arg5
= (double) SWIG_AsDouble(obj4
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12880 arg6
= (double) SWIG_AsDouble(obj5
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12884 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
12886 wxPyEndAllowThreads(__tstate
);
12887 if (PyErr_Occurred()) SWIG_fail
;
12889 Py_INCREF(Py_None
); resultobj
= Py_None
;
12896 static PyObject
*_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12897 PyObject
*resultobj
;
12898 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12900 PyObject
* obj0
= 0 ;
12901 PyObject
* obj1
= 0 ;
12902 char *kwnames
[] = {
12903 (char *) "self",(char *) "dc", NULL
12906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
12907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12910 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12912 if (arg2
== NULL
) {
12913 PyErr_SetString(PyExc_TypeError
,"null reference");
12917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12918 (arg1
)->base_OnDrawControlPoints(*arg2
);
12920 wxPyEndAllowThreads(__tstate
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12923 Py_INCREF(Py_None
); resultobj
= Py_None
;
12930 static PyObject
*_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12931 PyObject
*resultobj
;
12932 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12934 PyObject
* obj0
= 0 ;
12935 PyObject
* obj1
= 0 ;
12936 char *kwnames
[] = {
12937 (char *) "self",(char *) "dc", NULL
12940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
12941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12946 if (arg2
== NULL
) {
12947 PyErr_SetString(PyExc_TypeError
,"null reference");
12951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12952 (arg1
)->base_OnEraseControlPoints(*arg2
);
12954 wxPyEndAllowThreads(__tstate
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12957 Py_INCREF(Py_None
); resultobj
= Py_None
;
12964 static PyObject
*_wrap_PyControlPoint_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12965 PyObject
*resultobj
;
12966 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12968 bool arg3
= (bool) True
;
12969 PyObject
* obj0
= 0 ;
12970 PyObject
* obj1
= 0 ;
12971 PyObject
* obj2
= 0 ;
12972 char *kwnames
[] = {
12973 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
12976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12982 if (arg2
== NULL
) {
12983 PyErr_SetString(PyExc_TypeError
,"null reference");
12987 arg3
= (bool) SWIG_AsBool(obj2
);
12988 if (PyErr_Occurred()) SWIG_fail
;
12991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12992 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
12994 wxPyEndAllowThreads(__tstate
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12997 Py_INCREF(Py_None
); resultobj
= Py_None
;
13004 static PyObject
*_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13005 PyObject
*resultobj
;
13006 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13007 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13011 int arg6
= (int) 0 ;
13012 int arg7
= (int) 0 ;
13013 PyObject
* obj0
= 0 ;
13014 PyObject
* obj1
= 0 ;
13015 PyObject
* obj2
= 0 ;
13016 PyObject
* obj3
= 0 ;
13017 PyObject
* obj4
= 0 ;
13018 PyObject
* obj5
= 0 ;
13019 PyObject
* obj6
= 0 ;
13020 char *kwnames
[] = {
13021 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyControlPoint_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13029 arg3
= (bool) SWIG_AsBool(obj2
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13031 arg4
= (double) SWIG_AsDouble(obj3
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13033 arg5
= (double) SWIG_AsDouble(obj4
);
13034 if (PyErr_Occurred()) SWIG_fail
;
13036 arg6
= (int) SWIG_AsInt(obj5
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13040 arg7
= (int) SWIG_AsInt(obj6
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13050 Py_INCREF(Py_None
); resultobj
= Py_None
;
13057 static PyObject
*_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13058 PyObject
*resultobj
;
13059 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13060 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13063 int arg5
= (int) 0 ;
13064 int arg6
= (int) 0 ;
13065 PyObject
* obj0
= 0 ;
13066 PyObject
* obj1
= 0 ;
13067 PyObject
* obj2
= 0 ;
13068 PyObject
* obj3
= 0 ;
13069 PyObject
* obj4
= 0 ;
13070 PyObject
* obj5
= 0 ;
13071 char *kwnames
[] = {
13072 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13080 arg3
= (double) SWIG_AsDouble(obj2
);
13081 if (PyErr_Occurred()) SWIG_fail
;
13082 arg4
= (double) SWIG_AsDouble(obj3
);
13083 if (PyErr_Occurred()) SWIG_fail
;
13085 arg5
= (int) SWIG_AsInt(obj4
);
13086 if (PyErr_Occurred()) SWIG_fail
;
13089 arg6
= (int) SWIG_AsInt(obj5
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13099 Py_INCREF(Py_None
); resultobj
= Py_None
;
13106 static PyObject
*_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13107 PyObject
*resultobj
;
13108 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13109 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13112 int arg5
= (int) 0 ;
13113 int arg6
= (int) 0 ;
13114 PyObject
* obj0
= 0 ;
13115 PyObject
* obj1
= 0 ;
13116 PyObject
* obj2
= 0 ;
13117 PyObject
* obj3
= 0 ;
13118 PyObject
* obj4
= 0 ;
13119 PyObject
* obj5
= 0 ;
13120 char *kwnames
[] = {
13121 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13129 arg3
= (double) SWIG_AsDouble(obj2
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13131 arg4
= (double) SWIG_AsDouble(obj3
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 arg5
= (int) SWIG_AsInt(obj4
);
13135 if (PyErr_Occurred()) SWIG_fail
;
13138 arg6
= (int) SWIG_AsInt(obj5
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13143 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13148 Py_INCREF(Py_None
); resultobj
= Py_None
;
13155 static PyObject
*_wrap_PyControlPoint_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
*resultobj
;
13157 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13160 PyObject
* obj0
= 0 ;
13161 PyObject
* obj1
= 0 ;
13162 PyObject
* obj2
= 0 ;
13163 char *kwnames
[] = {
13164 (char *) "self",(char *) "w",(char *) "h", NULL
13167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13170 arg2
= (double) SWIG_AsDouble(obj1
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13172 arg3
= (double) SWIG_AsDouble(obj2
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 (arg1
)->base_OnBeginSize(arg2
,arg3
);
13178 wxPyEndAllowThreads(__tstate
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13181 Py_INCREF(Py_None
); resultobj
= Py_None
;
13188 static PyObject
*_wrap_PyControlPoint_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13189 PyObject
*resultobj
;
13190 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13193 PyObject
* obj0
= 0 ;
13194 PyObject
* obj1
= 0 ;
13195 PyObject
* obj2
= 0 ;
13196 char *kwnames
[] = {
13197 (char *) "self",(char *) "w",(char *) "h", NULL
13200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13203 arg2
= (double) SWIG_AsDouble(obj1
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13205 arg3
= (double) SWIG_AsDouble(obj2
);
13206 if (PyErr_Occurred()) SWIG_fail
;
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 (arg1
)->base_OnEndSize(arg2
,arg3
);
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13214 Py_INCREF(Py_None
); resultobj
= Py_None
;
13221 static PyObject
* PyControlPoint_swigregister(PyObject
*, PyObject
*args
) {
13223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13224 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint
, obj
);
13226 return Py_BuildValue((char *)"");
13228 static PyObject
*_wrap_new_PyBitmapShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13229 PyObject
*resultobj
;
13230 wxPyBitmapShape
*result
;
13231 char *kwnames
[] = {
13235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyBitmapShape",kwnames
)) goto fail
;
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 result
= (wxPyBitmapShape
*)new wxPyBitmapShape();
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapShape
, 1);
13250 static PyObject
*_wrap_PyBitmapShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
*resultobj
;
13252 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13253 PyObject
*arg2
= (PyObject
*) 0 ;
13254 PyObject
*arg3
= (PyObject
*) 0 ;
13255 PyObject
* obj0
= 0 ;
13256 PyObject
* obj1
= 0 ;
13257 PyObject
* obj2
= 0 ;
13258 char *kwnames
[] = {
13259 (char *) "self",(char *) "self",(char *) "_class", NULL
13262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 Py_INCREF(Py_None
); resultobj
= Py_None
;
13281 static PyObject
*_wrap_PyBitmapShape_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13282 PyObject
*resultobj
;
13283 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13285 PyObject
* obj0
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetBitmap",kwnames
,&obj0
)) goto fail
;
13291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13296 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
13297 result
= (wxBitmap
*) &_result_ref
;
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
13310 static PyObject
*_wrap_PyBitmapShape_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13311 PyObject
*resultobj
;
13312 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13314 PyObject
* obj0
= 0 ;
13315 char *kwnames
[] = {
13316 (char *) "self", NULL
13319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetFilename",kwnames
,&obj0
)) goto fail
;
13320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 result
= (arg1
)->GetFilename();
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13331 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13333 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13342 static PyObject
*_wrap_PyBitmapShape_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13343 PyObject
*resultobj
;
13344 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13345 wxBitmap
*arg2
= 0 ;
13346 PyObject
* obj0
= 0 ;
13347 PyObject
* obj1
= 0 ;
13348 char *kwnames
[] = {
13349 (char *) "self",(char *) "bitmap", NULL
13352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
13356 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13358 if (arg2
== NULL
) {
13359 PyErr_SetString(PyExc_TypeError
,"null reference");
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13369 Py_INCREF(Py_None
); resultobj
= Py_None
;
13376 static PyObject
*_wrap_PyBitmapShape_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13377 PyObject
*resultobj
;
13378 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13379 wxString
*arg2
= 0 ;
13380 bool temp2
= False
;
13381 PyObject
* obj0
= 0 ;
13382 PyObject
* obj1
= 0 ;
13383 char *kwnames
[] = {
13384 (char *) "self",(char *) "filename", NULL
13387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
13388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13391 arg2
= wxString_in_helper(obj1
);
13392 if (arg2
== NULL
) SWIG_fail
;
13396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13397 (arg1
)->SetFilename((wxString
const &)*arg2
);
13399 wxPyEndAllowThreads(__tstate
);
13400 if (PyErr_Occurred()) SWIG_fail
;
13402 Py_INCREF(Py_None
); resultobj
= Py_None
;
13417 static PyObject
*_wrap_PyBitmapShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13418 PyObject
*resultobj
;
13419 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13420 PyObject
* obj0
= 0 ;
13421 char *kwnames
[] = {
13422 (char *) "self", NULL
13425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
13426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13430 (arg1
)->base_OnDelete();
13432 wxPyEndAllowThreads(__tstate
);
13433 if (PyErr_Occurred()) SWIG_fail
;
13435 Py_INCREF(Py_None
); resultobj
= Py_None
;
13442 static PyObject
*_wrap_PyBitmapShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13443 PyObject
*resultobj
;
13444 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13446 PyObject
* obj0
= 0 ;
13447 PyObject
* obj1
= 0 ;
13448 char *kwnames
[] = {
13449 (char *) "self",(char *) "dc", NULL
13452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
13453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13456 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13458 if (arg2
== NULL
) {
13459 PyErr_SetString(PyExc_TypeError
,"null reference");
13463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13464 (arg1
)->base_OnDraw(*arg2
);
13466 wxPyEndAllowThreads(__tstate
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13469 Py_INCREF(Py_None
); resultobj
= Py_None
;
13476 static PyObject
*_wrap_PyBitmapShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13477 PyObject
*resultobj
;
13478 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13480 PyObject
* obj0
= 0 ;
13481 PyObject
* obj1
= 0 ;
13482 char *kwnames
[] = {
13483 (char *) "self",(char *) "dc", NULL
13486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13490 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13492 if (arg2
== NULL
) {
13493 PyErr_SetString(PyExc_TypeError
,"null reference");
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 (arg1
)->base_OnDrawContents(*arg2
);
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13503 Py_INCREF(Py_None
); resultobj
= Py_None
;
13510 static PyObject
*_wrap_PyBitmapShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13511 PyObject
*resultobj
;
13512 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13514 bool arg3
= (bool) FALSE
;
13515 PyObject
* obj0
= 0 ;
13516 PyObject
* obj1
= 0 ;
13517 PyObject
* obj2
= 0 ;
13518 char *kwnames
[] = {
13519 (char *) "self",(char *) "dc",(char *) "erase", NULL
13522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13528 if (arg2
== NULL
) {
13529 PyErr_SetString(PyExc_TypeError
,"null reference");
13533 arg3
= (bool) SWIG_AsBool(obj2
);
13534 if (PyErr_Occurred()) SWIG_fail
;
13537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13538 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13543 Py_INCREF(Py_None
); resultobj
= Py_None
;
13550 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
;
13552 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13554 PyObject
* obj0
= 0 ;
13555 PyObject
* obj1
= 0 ;
13556 char *kwnames
[] = {
13557 (char *) "self",(char *) "dc", NULL
13560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
13561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13564 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13566 if (arg2
== NULL
) {
13567 PyErr_SetString(PyExc_TypeError
,"null reference");
13571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13572 (arg1
)->base_OnMoveLinks(*arg2
);
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 Py_INCREF(Py_None
); resultobj
= Py_None
;
13584 static PyObject
*_wrap_PyBitmapShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13585 PyObject
*resultobj
;
13586 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13588 PyObject
* obj0
= 0 ;
13589 PyObject
* obj1
= 0 ;
13590 char *kwnames
[] = {
13591 (char *) "self",(char *) "dc", NULL
13594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
13595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13597 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13598 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13600 if (arg2
== NULL
) {
13601 PyErr_SetString(PyExc_TypeError
,"null reference");
13605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13606 (arg1
)->base_OnErase(*arg2
);
13608 wxPyEndAllowThreads(__tstate
);
13609 if (PyErr_Occurred()) SWIG_fail
;
13611 Py_INCREF(Py_None
); resultobj
= Py_None
;
13618 static PyObject
*_wrap_PyBitmapShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13619 PyObject
*resultobj
;
13620 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13622 PyObject
* obj0
= 0 ;
13623 PyObject
* obj1
= 0 ;
13624 char *kwnames
[] = {
13625 (char *) "self",(char *) "dc", NULL
13628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13632 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13634 if (arg2
== NULL
) {
13635 PyErr_SetString(PyExc_TypeError
,"null reference");
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 (arg1
)->base_OnEraseContents(*arg2
);
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13645 Py_INCREF(Py_None
); resultobj
= Py_None
;
13652 static PyObject
*_wrap_PyBitmapShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13653 PyObject
*resultobj
;
13654 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13656 PyObject
* obj0
= 0 ;
13657 PyObject
* obj1
= 0 ;
13658 char *kwnames
[] = {
13659 (char *) "self",(char *) "dc", NULL
13662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
13663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13666 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13668 if (arg2
== NULL
) {
13669 PyErr_SetString(PyExc_TypeError
,"null reference");
13673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13674 (arg1
)->base_OnHighlight(*arg2
);
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13679 Py_INCREF(Py_None
); resultobj
= Py_None
;
13686 static PyObject
*_wrap_PyBitmapShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13687 PyObject
*resultobj
;
13688 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13691 int arg4
= (int) 0 ;
13692 int arg5
= (int) 0 ;
13693 PyObject
* obj0
= 0 ;
13694 PyObject
* obj1
= 0 ;
13695 PyObject
* obj2
= 0 ;
13696 PyObject
* obj3
= 0 ;
13697 PyObject
* obj4
= 0 ;
13698 char *kwnames
[] = {
13699 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13705 arg2
= (double) SWIG_AsDouble(obj1
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13707 arg3
= (double) SWIG_AsDouble(obj2
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13710 arg4
= (int) SWIG_AsInt(obj3
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13714 arg5
= (int) SWIG_AsInt(obj4
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13719 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
13721 wxPyEndAllowThreads(__tstate
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13724 Py_INCREF(Py_None
); resultobj
= Py_None
;
13731 static PyObject
*_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13732 PyObject
*resultobj
;
13733 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13736 int arg4
= (int) 0 ;
13737 int arg5
= (int) 0 ;
13738 PyObject
* obj0
= 0 ;
13739 PyObject
* obj1
= 0 ;
13740 PyObject
* obj2
= 0 ;
13741 PyObject
* obj3
= 0 ;
13742 PyObject
* obj4
= 0 ;
13743 char *kwnames
[] = {
13744 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13750 arg2
= (double) SWIG_AsDouble(obj1
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13752 arg3
= (double) SWIG_AsDouble(obj2
);
13753 if (PyErr_Occurred()) SWIG_fail
;
13755 arg4
= (int) SWIG_AsInt(obj3
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13759 arg5
= (int) SWIG_AsInt(obj4
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13764 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
13766 wxPyEndAllowThreads(__tstate
);
13767 if (PyErr_Occurred()) SWIG_fail
;
13769 Py_INCREF(Py_None
); resultobj
= Py_None
;
13776 static PyObject
*_wrap_PyBitmapShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13777 PyObject
*resultobj
;
13778 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13781 int arg4
= (int) 0 ;
13782 int arg5
= (int) 0 ;
13783 PyObject
* obj0
= 0 ;
13784 PyObject
* obj1
= 0 ;
13785 PyObject
* obj2
= 0 ;
13786 PyObject
* obj3
= 0 ;
13787 PyObject
* obj4
= 0 ;
13788 char *kwnames
[] = {
13789 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13795 arg2
= (double) SWIG_AsDouble(obj1
);
13796 if (PyErr_Occurred()) SWIG_fail
;
13797 arg3
= (double) SWIG_AsDouble(obj2
);
13798 if (PyErr_Occurred()) SWIG_fail
;
13800 arg4
= (int) SWIG_AsInt(obj3
);
13801 if (PyErr_Occurred()) SWIG_fail
;
13804 arg5
= (int) SWIG_AsInt(obj4
);
13805 if (PyErr_Occurred()) SWIG_fail
;
13808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13809 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
13811 wxPyEndAllowThreads(__tstate
);
13812 if (PyErr_Occurred()) SWIG_fail
;
13814 Py_INCREF(Py_None
); resultobj
= Py_None
;
13821 static PyObject
*_wrap_PyBitmapShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13822 PyObject
*resultobj
;
13823 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13826 PyObject
* obj0
= 0 ;
13827 PyObject
* obj1
= 0 ;
13828 PyObject
* obj2
= 0 ;
13829 char *kwnames
[] = {
13830 (char *) "self",(char *) "x",(char *) "y", NULL
13833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13836 arg2
= (double) SWIG_AsDouble(obj1
);
13837 if (PyErr_Occurred()) SWIG_fail
;
13838 arg3
= (double) SWIG_AsDouble(obj2
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13842 (arg1
)->base_OnSize(arg2
,arg3
);
13844 wxPyEndAllowThreads(__tstate
);
13845 if (PyErr_Occurred()) SWIG_fail
;
13847 Py_INCREF(Py_None
); resultobj
= Py_None
;
13854 static PyObject
*_wrap_PyBitmapShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13855 PyObject
*resultobj
;
13856 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13862 bool arg7
= (bool) True
;
13864 PyObject
* obj0
= 0 ;
13865 PyObject
* obj1
= 0 ;
13866 PyObject
* obj2
= 0 ;
13867 PyObject
* obj3
= 0 ;
13868 PyObject
* obj4
= 0 ;
13869 PyObject
* obj5
= 0 ;
13870 PyObject
* obj6
= 0 ;
13871 char *kwnames
[] = {
13872 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13879 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13881 if (arg2
== NULL
) {
13882 PyErr_SetString(PyExc_TypeError
,"null reference");
13885 arg3
= (double) SWIG_AsDouble(obj2
);
13886 if (PyErr_Occurred()) SWIG_fail
;
13887 arg4
= (double) SWIG_AsDouble(obj3
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13889 arg5
= (double) SWIG_AsDouble(obj4
);
13890 if (PyErr_Occurred()) SWIG_fail
;
13891 arg6
= (double) SWIG_AsDouble(obj5
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13894 arg7
= (bool) SWIG_AsBool(obj6
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13899 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13901 wxPyEndAllowThreads(__tstate
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13911 static PyObject
*_wrap_PyBitmapShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13912 PyObject
*resultobj
;
13913 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13919 bool arg7
= (bool) True
;
13920 PyObject
* obj0
= 0 ;
13921 PyObject
* obj1
= 0 ;
13922 PyObject
* obj2
= 0 ;
13923 PyObject
* obj3
= 0 ;
13924 PyObject
* obj4
= 0 ;
13925 PyObject
* obj5
= 0 ;
13926 PyObject
* obj6
= 0 ;
13927 char *kwnames
[] = {
13928 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13935 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13937 if (arg2
== NULL
) {
13938 PyErr_SetString(PyExc_TypeError
,"null reference");
13941 arg3
= (double) SWIG_AsDouble(obj2
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13943 arg4
= (double) SWIG_AsDouble(obj3
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13945 arg5
= (double) SWIG_AsDouble(obj4
);
13946 if (PyErr_Occurred()) SWIG_fail
;
13947 arg6
= (double) SWIG_AsDouble(obj5
);
13948 if (PyErr_Occurred()) SWIG_fail
;
13950 arg7
= (bool) SWIG_AsBool(obj6
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13960 Py_INCREF(Py_None
); resultobj
= Py_None
;
13967 static PyObject
*_wrap_PyBitmapShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13968 PyObject
*resultobj
;
13969 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13973 int arg5
= (int) 0 ;
13974 int arg6
= (int) 0 ;
13975 PyObject
* obj0
= 0 ;
13976 PyObject
* obj1
= 0 ;
13977 PyObject
* obj2
= 0 ;
13978 PyObject
* obj3
= 0 ;
13979 PyObject
* obj4
= 0 ;
13980 PyObject
* obj5
= 0 ;
13981 char *kwnames
[] = {
13982 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13988 arg2
= (bool) SWIG_AsBool(obj1
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13990 arg3
= (double) SWIG_AsDouble(obj2
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13992 arg4
= (double) SWIG_AsDouble(obj3
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13995 arg5
= (int) SWIG_AsInt(obj4
);
13996 if (PyErr_Occurred()) SWIG_fail
;
13999 arg6
= (int) SWIG_AsInt(obj5
);
14000 if (PyErr_Occurred()) SWIG_fail
;
14003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14004 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14009 Py_INCREF(Py_None
); resultobj
= Py_None
;
14016 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14017 PyObject
*resultobj
;
14018 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14021 int arg4
= (int) 0 ;
14022 int arg5
= (int) 0 ;
14023 PyObject
* obj0
= 0 ;
14024 PyObject
* obj1
= 0 ;
14025 PyObject
* obj2
= 0 ;
14026 PyObject
* obj3
= 0 ;
14027 PyObject
* obj4
= 0 ;
14028 char *kwnames
[] = {
14029 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14035 arg2
= (double) SWIG_AsDouble(obj1
);
14036 if (PyErr_Occurred()) SWIG_fail
;
14037 arg3
= (double) SWIG_AsDouble(obj2
);
14038 if (PyErr_Occurred()) SWIG_fail
;
14040 arg4
= (int) SWIG_AsInt(obj3
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14044 arg5
= (int) SWIG_AsInt(obj4
);
14045 if (PyErr_Occurred()) SWIG_fail
;
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14049 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
14051 wxPyEndAllowThreads(__tstate
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14054 Py_INCREF(Py_None
); resultobj
= Py_None
;
14061 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14062 PyObject
*resultobj
;
14063 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14066 int arg4
= (int) 0 ;
14067 int arg5
= (int) 0 ;
14068 PyObject
* obj0
= 0 ;
14069 PyObject
* obj1
= 0 ;
14070 PyObject
* obj2
= 0 ;
14071 PyObject
* obj3
= 0 ;
14072 PyObject
* obj4
= 0 ;
14073 char *kwnames
[] = {
14074 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14080 arg2
= (double) SWIG_AsDouble(obj1
);
14081 if (PyErr_Occurred()) SWIG_fail
;
14082 arg3
= (double) SWIG_AsDouble(obj2
);
14083 if (PyErr_Occurred()) SWIG_fail
;
14085 arg4
= (int) SWIG_AsInt(obj3
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14089 arg5
= (int) SWIG_AsInt(obj4
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14099 Py_INCREF(Py_None
); resultobj
= Py_None
;
14106 static PyObject
*_wrap_PyBitmapShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
;
14108 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14112 int arg5
= (int) 0 ;
14113 int arg6
= (int) 0 ;
14114 PyObject
* obj0
= 0 ;
14115 PyObject
* obj1
= 0 ;
14116 PyObject
* obj2
= 0 ;
14117 PyObject
* obj3
= 0 ;
14118 PyObject
* obj4
= 0 ;
14119 PyObject
* obj5
= 0 ;
14120 char *kwnames
[] = {
14121 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14127 arg2
= (bool) SWIG_AsBool(obj1
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14129 arg3
= (double) SWIG_AsDouble(obj2
);
14130 if (PyErr_Occurred()) SWIG_fail
;
14131 arg4
= (double) SWIG_AsDouble(obj3
);
14132 if (PyErr_Occurred()) SWIG_fail
;
14134 arg5
= (int) SWIG_AsInt(obj4
);
14135 if (PyErr_Occurred()) SWIG_fail
;
14138 arg6
= (int) SWIG_AsInt(obj5
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
14145 wxPyEndAllowThreads(__tstate
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14148 Py_INCREF(Py_None
); resultobj
= Py_None
;
14155 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14156 PyObject
*resultobj
;
14157 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14160 int arg4
= (int) 0 ;
14161 int arg5
= (int) 0 ;
14162 PyObject
* obj0
= 0 ;
14163 PyObject
* obj1
= 0 ;
14164 PyObject
* obj2
= 0 ;
14165 PyObject
* obj3
= 0 ;
14166 PyObject
* obj4
= 0 ;
14167 char *kwnames
[] = {
14168 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14174 arg2
= (double) SWIG_AsDouble(obj1
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14176 arg3
= (double) SWIG_AsDouble(obj2
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14179 arg4
= (int) SWIG_AsInt(obj3
);
14180 if (PyErr_Occurred()) SWIG_fail
;
14183 arg5
= (int) SWIG_AsInt(obj4
);
14184 if (PyErr_Occurred()) SWIG_fail
;
14187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14188 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
14190 wxPyEndAllowThreads(__tstate
);
14191 if (PyErr_Occurred()) SWIG_fail
;
14193 Py_INCREF(Py_None
); resultobj
= Py_None
;
14200 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14201 PyObject
*resultobj
;
14202 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14205 int arg4
= (int) 0 ;
14206 int arg5
= (int) 0 ;
14207 PyObject
* obj0
= 0 ;
14208 PyObject
* obj1
= 0 ;
14209 PyObject
* obj2
= 0 ;
14210 PyObject
* obj3
= 0 ;
14211 PyObject
* obj4
= 0 ;
14212 char *kwnames
[] = {
14213 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14219 arg2
= (double) SWIG_AsDouble(obj1
);
14220 if (PyErr_Occurred()) SWIG_fail
;
14221 arg3
= (double) SWIG_AsDouble(obj2
);
14222 if (PyErr_Occurred()) SWIG_fail
;
14224 arg4
= (int) SWIG_AsInt(obj3
);
14225 if (PyErr_Occurred()) SWIG_fail
;
14228 arg5
= (int) SWIG_AsInt(obj4
);
14229 if (PyErr_Occurred()) SWIG_fail
;
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14238 Py_INCREF(Py_None
); resultobj
= Py_None
;
14245 static PyObject
*_wrap_PyBitmapShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14246 PyObject
*resultobj
;
14247 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14253 PyObject
* obj0
= 0 ;
14254 PyObject
* obj1
= 0 ;
14255 PyObject
* obj2
= 0 ;
14256 PyObject
* obj3
= 0 ;
14257 PyObject
* obj4
= 0 ;
14258 PyObject
* obj5
= 0 ;
14259 char *kwnames
[] = {
14260 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyBitmapShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14267 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14269 if (arg2
== NULL
) {
14270 PyErr_SetString(PyExc_TypeError
,"null reference");
14273 arg3
= (double) SWIG_AsDouble(obj2
);
14274 if (PyErr_Occurred()) SWIG_fail
;
14275 arg4
= (double) SWIG_AsDouble(obj3
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14277 arg5
= (double) SWIG_AsDouble(obj4
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14279 arg6
= (double) SWIG_AsDouble(obj5
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14283 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
14285 wxPyEndAllowThreads(__tstate
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14288 Py_INCREF(Py_None
); resultobj
= Py_None
;
14295 static PyObject
*_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14296 PyObject
*resultobj
;
14297 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14299 PyObject
* obj0
= 0 ;
14300 PyObject
* obj1
= 0 ;
14301 char *kwnames
[] = {
14302 (char *) "self",(char *) "dc", NULL
14305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14309 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14311 if (arg2
== NULL
) {
14312 PyErr_SetString(PyExc_TypeError
,"null reference");
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 (arg1
)->base_OnDrawControlPoints(*arg2
);
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14322 Py_INCREF(Py_None
); resultobj
= Py_None
;
14329 static PyObject
*_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14330 PyObject
*resultobj
;
14331 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14333 PyObject
* obj0
= 0 ;
14334 PyObject
* obj1
= 0 ;
14335 char *kwnames
[] = {
14336 (char *) "self",(char *) "dc", NULL
14339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14343 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14345 if (arg2
== NULL
) {
14346 PyErr_SetString(PyExc_TypeError
,"null reference");
14350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14351 (arg1
)->base_OnEraseControlPoints(*arg2
);
14353 wxPyEndAllowThreads(__tstate
);
14354 if (PyErr_Occurred()) SWIG_fail
;
14356 Py_INCREF(Py_None
); resultobj
= Py_None
;
14363 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14364 PyObject
*resultobj
;
14365 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14367 bool arg3
= (bool) True
;
14368 PyObject
* obj0
= 0 ;
14369 PyObject
* obj1
= 0 ;
14370 PyObject
* obj2
= 0 ;
14371 char *kwnames
[] = {
14372 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
14375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14379 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14381 if (arg2
== NULL
) {
14382 PyErr_SetString(PyExc_TypeError
,"null reference");
14386 arg3
= (bool) SWIG_AsBool(obj2
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14391 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
14393 wxPyEndAllowThreads(__tstate
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14396 Py_INCREF(Py_None
); resultobj
= Py_None
;
14403 static PyObject
*_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14404 PyObject
*resultobj
;
14405 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14406 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14410 int arg6
= (int) 0 ;
14411 int arg7
= (int) 0 ;
14412 PyObject
* obj0
= 0 ;
14413 PyObject
* obj1
= 0 ;
14414 PyObject
* obj2
= 0 ;
14415 PyObject
* obj3
= 0 ;
14416 PyObject
* obj4
= 0 ;
14417 PyObject
* obj5
= 0 ;
14418 PyObject
* obj6
= 0 ;
14419 char *kwnames
[] = {
14420 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyBitmapShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14428 arg3
= (bool) SWIG_AsBool(obj2
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14430 arg4
= (double) SWIG_AsDouble(obj3
);
14431 if (PyErr_Occurred()) SWIG_fail
;
14432 arg5
= (double) SWIG_AsDouble(obj4
);
14433 if (PyErr_Occurred()) SWIG_fail
;
14435 arg6
= (int) SWIG_AsInt(obj5
);
14436 if (PyErr_Occurred()) SWIG_fail
;
14439 arg7
= (int) SWIG_AsInt(obj6
);
14440 if (PyErr_Occurred()) SWIG_fail
;
14443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14444 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14449 Py_INCREF(Py_None
); resultobj
= Py_None
;
14456 static PyObject
*_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14457 PyObject
*resultobj
;
14458 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14459 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14462 int arg5
= (int) 0 ;
14463 int arg6
= (int) 0 ;
14464 PyObject
* obj0
= 0 ;
14465 PyObject
* obj1
= 0 ;
14466 PyObject
* obj2
= 0 ;
14467 PyObject
* obj3
= 0 ;
14468 PyObject
* obj4
= 0 ;
14469 PyObject
* obj5
= 0 ;
14470 char *kwnames
[] = {
14471 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14479 arg3
= (double) SWIG_AsDouble(obj2
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14481 arg4
= (double) SWIG_AsDouble(obj3
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14484 arg5
= (int) SWIG_AsInt(obj4
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14488 arg6
= (int) SWIG_AsInt(obj5
);
14489 if (PyErr_Occurred()) SWIG_fail
;
14492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14493 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14495 wxPyEndAllowThreads(__tstate
);
14496 if (PyErr_Occurred()) SWIG_fail
;
14498 Py_INCREF(Py_None
); resultobj
= Py_None
;
14505 static PyObject
*_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14506 PyObject
*resultobj
;
14507 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14508 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14511 int arg5
= (int) 0 ;
14512 int arg6
= (int) 0 ;
14513 PyObject
* obj0
= 0 ;
14514 PyObject
* obj1
= 0 ;
14515 PyObject
* obj2
= 0 ;
14516 PyObject
* obj3
= 0 ;
14517 PyObject
* obj4
= 0 ;
14518 PyObject
* obj5
= 0 ;
14519 char *kwnames
[] = {
14520 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14526 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14528 arg3
= (double) SWIG_AsDouble(obj2
);
14529 if (PyErr_Occurred()) SWIG_fail
;
14530 arg4
= (double) SWIG_AsDouble(obj3
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14533 arg5
= (int) SWIG_AsInt(obj4
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14537 arg6
= (int) SWIG_AsInt(obj5
);
14538 if (PyErr_Occurred()) SWIG_fail
;
14541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14542 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14544 wxPyEndAllowThreads(__tstate
);
14545 if (PyErr_Occurred()) SWIG_fail
;
14547 Py_INCREF(Py_None
); resultobj
= Py_None
;
14554 static PyObject
*_wrap_PyBitmapShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14555 PyObject
*resultobj
;
14556 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14559 PyObject
* obj0
= 0 ;
14560 PyObject
* obj1
= 0 ;
14561 PyObject
* obj2
= 0 ;
14562 char *kwnames
[] = {
14563 (char *) "self",(char *) "w",(char *) "h", NULL
14566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14569 arg2
= (double) SWIG_AsDouble(obj1
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14571 arg3
= (double) SWIG_AsDouble(obj2
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14575 (arg1
)->base_OnBeginSize(arg2
,arg3
);
14577 wxPyEndAllowThreads(__tstate
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14580 Py_INCREF(Py_None
); resultobj
= Py_None
;
14587 static PyObject
*_wrap_PyBitmapShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14588 PyObject
*resultobj
;
14589 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14592 PyObject
* obj0
= 0 ;
14593 PyObject
* obj1
= 0 ;
14594 PyObject
* obj2
= 0 ;
14595 char *kwnames
[] = {
14596 (char *) "self",(char *) "w",(char *) "h", NULL
14599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14602 arg2
= (double) SWIG_AsDouble(obj1
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14604 arg3
= (double) SWIG_AsDouble(obj2
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14608 (arg1
)->base_OnEndSize(arg2
,arg3
);
14610 wxPyEndAllowThreads(__tstate
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14613 Py_INCREF(Py_None
); resultobj
= Py_None
;
14620 static PyObject
* PyBitmapShape_swigregister(PyObject
*, PyObject
*args
) {
14622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14623 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape
, obj
);
14625 return Py_BuildValue((char *)"");
14627 static PyObject
*_wrap_new_PyDrawnShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14628 PyObject
*resultobj
;
14629 wxPyDrawnShape
*result
;
14630 char *kwnames
[] = {
14634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDrawnShape",kwnames
)) goto fail
;
14636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14637 result
= (wxPyDrawnShape
*)new wxPyDrawnShape();
14639 wxPyEndAllowThreads(__tstate
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDrawnShape
, 1);
14649 static PyObject
*_wrap_PyDrawnShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14650 PyObject
*resultobj
;
14651 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14652 PyObject
*arg2
= (PyObject
*) 0 ;
14653 PyObject
*arg3
= (PyObject
*) 0 ;
14654 PyObject
* obj0
= 0 ;
14655 PyObject
* obj1
= 0 ;
14656 PyObject
* obj2
= 0 ;
14657 char *kwnames
[] = {
14658 (char *) "self",(char *) "self",(char *) "_class", NULL
14661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14668 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14670 wxPyEndAllowThreads(__tstate
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14673 Py_INCREF(Py_None
); resultobj
= Py_None
;
14680 static PyObject
*_wrap_PyDrawnShape_CalculateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14681 PyObject
*resultobj
;
14682 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14683 PyObject
* obj0
= 0 ;
14684 char *kwnames
[] = {
14685 (char *) "self", NULL
14688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
14689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14693 (arg1
)->CalculateSize();
14695 wxPyEndAllowThreads(__tstate
);
14696 if (PyErr_Occurred()) SWIG_fail
;
14698 Py_INCREF(Py_None
); resultobj
= Py_None
;
14705 static PyObject
*_wrap_PyDrawnShape_DestroyClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14708 PyObject
* obj0
= 0 ;
14709 char *kwnames
[] = {
14710 (char *) "self", NULL
14713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
14714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14718 (arg1
)->DestroyClippingRect();
14720 wxPyEndAllowThreads(__tstate
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14723 Py_INCREF(Py_None
); resultobj
= Py_None
;
14730 static PyObject
*_wrap_PyDrawnShape_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
;
14732 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14733 wxPoint
*arg2
= 0 ;
14734 wxPoint
*arg3
= 0 ;
14735 wxPoint
*arg4
= 0 ;
14739 PyObject
* obj0
= 0 ;
14740 PyObject
* obj1
= 0 ;
14741 PyObject
* obj2
= 0 ;
14742 PyObject
* obj3
= 0 ;
14743 char *kwnames
[] = {
14744 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
14747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14752 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14756 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14760 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14764 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14769 Py_INCREF(Py_None
); resultobj
= Py_None
;
14776 static PyObject
*_wrap_PyDrawnShape_DrawAtAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14777 PyObject
*resultobj
;
14778 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14780 PyObject
* obj0
= 0 ;
14781 PyObject
* obj1
= 0 ;
14782 char *kwnames
[] = {
14783 (char *) "self",(char *) "angle", NULL
14786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawAtAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
14787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14789 arg2
= (int) SWIG_AsInt(obj1
);
14790 if (PyErr_Occurred()) SWIG_fail
;
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 (arg1
)->DrawAtAngle(arg2
);
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14798 Py_INCREF(Py_None
); resultobj
= Py_None
;
14805 static PyObject
*_wrap_PyDrawnShape_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
;
14807 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14812 PyObject
* obj0
= 0 ;
14813 PyObject
* obj1
= 0 ;
14814 PyObject
* obj2
= 0 ;
14815 PyObject
* obj3
= 0 ;
14816 char *kwnames
[] = {
14817 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
14820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawEllipticArc",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 ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14827 arg3
= (double) SWIG_AsDouble(obj2
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14829 arg4
= (double) SWIG_AsDouble(obj3
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14833 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
14835 wxPyEndAllowThreads(__tstate
);
14836 if (PyErr_Occurred()) SWIG_fail
;
14838 Py_INCREF(Py_None
); resultobj
= Py_None
;
14845 static PyObject
*_wrap_PyDrawnShape_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14846 PyObject
*resultobj
;
14847 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14848 wxPoint
*arg2
= 0 ;
14849 wxPoint
*arg3
= 0 ;
14852 PyObject
* obj0
= 0 ;
14853 PyObject
* obj1
= 0 ;
14854 PyObject
* obj2
= 0 ;
14855 char *kwnames
[] = {
14856 (char *) "self",(char *) "point1",(char *) "point2", NULL
14859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14864 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14868 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 Py_INCREF(Py_None
); resultobj
= Py_None
;
14884 static PyObject
*_wrap_PyDrawnShape_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
;
14886 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14888 wxPoint
*arg3
= (wxPoint
*) 0 ;
14889 PyObject
* obj0
= 0 ;
14890 PyObject
* obj1
= 0 ;
14891 PyObject
* obj2
= 0 ;
14892 char *kwnames
[] = {
14893 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
14896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14899 arg2
= (int) SWIG_AsInt(obj1
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14901 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
14902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14905 (arg1
)->DrawLines(arg2
,arg3
);
14907 wxPyEndAllowThreads(__tstate
);
14908 if (PyErr_Occurred()) SWIG_fail
;
14910 Py_INCREF(Py_None
); resultobj
= Py_None
;
14917 static PyObject
*_wrap_PyDrawnShape_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
;
14919 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14920 wxPoint
*arg2
= 0 ;
14922 PyObject
* obj0
= 0 ;
14923 PyObject
* obj1
= 0 ;
14924 char *kwnames
[] = {
14925 (char *) "self",(char *) "point", NULL
14928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14933 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14937 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14942 Py_INCREF(Py_None
); resultobj
= Py_None
;
14949 static PyObject
*_wrap_PyDrawnShape_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14950 PyObject
*resultobj
;
14951 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14953 wxPoint
*arg3
= (wxPoint
*) 0 ;
14954 int arg4
= (int) 0 ;
14955 PyObject
* obj0
= 0 ;
14956 PyObject
* obj1
= 0 ;
14957 PyObject
* obj2
= 0 ;
14958 PyObject
* obj3
= 0 ;
14959 char *kwnames
[] = {
14960 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
14963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyDrawnShape_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14966 arg2
= (int) SWIG_AsInt(obj1
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14968 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
14969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14971 arg4
= (int) SWIG_AsInt(obj3
);
14972 if (PyErr_Occurred()) SWIG_fail
;
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
14978 wxPyEndAllowThreads(__tstate
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14981 Py_INCREF(Py_None
); resultobj
= Py_None
;
14988 static PyObject
*_wrap_PyDrawnShape_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14989 PyObject
*resultobj
;
14990 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14993 PyObject
* obj0
= 0 ;
14994 PyObject
* obj1
= 0 ;
14995 char *kwnames
[] = {
14996 (char *) "self",(char *) "rect", NULL
14999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
15000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15004 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15008 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
15010 wxPyEndAllowThreads(__tstate
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15013 Py_INCREF(Py_None
); resultobj
= Py_None
;
15020 static PyObject
*_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15021 PyObject
*resultobj
;
15022 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15026 PyObject
* obj0
= 0 ;
15027 PyObject
* obj1
= 0 ;
15028 PyObject
* obj2
= 0 ;
15029 char *kwnames
[] = {
15030 (char *) "self",(char *) "rect",(char *) "radius", NULL
15033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15038 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15040 arg3
= (double) SWIG_AsDouble(obj2
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15044 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15049 Py_INCREF(Py_None
); resultobj
= Py_None
;
15056 static PyObject
*_wrap_PyDrawnShape_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15057 PyObject
*resultobj
;
15058 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15060 wxPoint
*arg3
= (wxPoint
*) 0 ;
15061 PyObject
* obj0
= 0 ;
15062 PyObject
* obj1
= 0 ;
15063 PyObject
* obj2
= 0 ;
15064 char *kwnames
[] = {
15065 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
15068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawSpline",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15071 arg2
= (int) SWIG_AsInt(obj1
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15073 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
15074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15077 (arg1
)->DrawSpline(arg2
,arg3
);
15079 wxPyEndAllowThreads(__tstate
);
15080 if (PyErr_Occurred()) SWIG_fail
;
15082 Py_INCREF(Py_None
); resultobj
= Py_None
;
15089 static PyObject
*_wrap_PyDrawnShape_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15090 PyObject
*resultobj
;
15091 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15092 wxString
*arg2
= 0 ;
15093 wxPoint
*arg3
= 0 ;
15094 bool temp2
= False
;
15096 PyObject
* obj0
= 0 ;
15097 PyObject
* obj1
= 0 ;
15098 PyObject
* obj2
= 0 ;
15099 char *kwnames
[] = {
15100 (char *) "self",(char *) "text",(char *) "point", NULL
15103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15107 arg2
= wxString_in_helper(obj1
);
15108 if (arg2
== NULL
) SWIG_fail
;
15113 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
15119 wxPyEndAllowThreads(__tstate
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15122 Py_INCREF(Py_None
); resultobj
= Py_None
;
15137 static PyObject
*_wrap_PyDrawnShape_GetAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15138 PyObject
*resultobj
;
15139 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15141 PyObject
* obj0
= 0 ;
15142 char *kwnames
[] = {
15143 (char *) "self", NULL
15146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetAngle",kwnames
,&obj0
)) goto fail
;
15147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15151 result
= (int)(arg1
)->GetAngle();
15153 wxPyEndAllowThreads(__tstate
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15156 resultobj
= SWIG_FromInt((int)result
);
15163 static PyObject
*_wrap_PyDrawnShape_GetMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15164 PyObject
*resultobj
;
15165 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15166 wxPseudoMetaFile
*result
;
15167 PyObject
* obj0
= 0 ;
15168 char *kwnames
[] = {
15169 (char *) "self", NULL
15172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetMetaFile",kwnames
,&obj0
)) goto fail
;
15173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15178 wxPseudoMetaFile
&_result_ref
= (arg1
)->GetMetaFile();
15179 result
= (wxPseudoMetaFile
*) &_result_ref
;
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPseudoMetaFile
, 0);
15192 static PyObject
*_wrap_PyDrawnShape_GetRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15193 PyObject
*resultobj
;
15194 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15196 PyObject
* obj0
= 0 ;
15197 char *kwnames
[] = {
15198 (char *) "self", NULL
15201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetRotation",kwnames
,&obj0
)) goto fail
;
15202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15206 result
= (double)(arg1
)->GetRotation();
15208 wxPyEndAllowThreads(__tstate
);
15209 if (PyErr_Occurred()) SWIG_fail
;
15211 resultobj
= SWIG_FromDouble((double)result
);
15218 static PyObject
*_wrap_PyDrawnShape_LoadFromMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15219 PyObject
*resultobj
;
15220 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15221 wxString
*arg2
= 0 ;
15223 bool temp2
= False
;
15224 PyObject
* obj0
= 0 ;
15225 PyObject
* obj1
= 0 ;
15226 char *kwnames
[] = {
15227 (char *) "self",(char *) "filename", NULL
15230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames
,&obj0
,&obj1
)) goto fail
;
15231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15234 arg2
= wxString_in_helper(obj1
);
15235 if (arg2
== NULL
) SWIG_fail
;
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
);
15242 wxPyEndAllowThreads(__tstate
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15260 static PyObject
*_wrap_PyDrawnShape_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15261 PyObject
*resultobj
;
15262 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15266 PyObject
* obj0
= 0 ;
15267 PyObject
* obj1
= 0 ;
15268 PyObject
* obj2
= 0 ;
15269 PyObject
* obj3
= 0 ;
15270 char *kwnames
[] = {
15271 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
15274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15277 arg2
= (double) SWIG_AsDouble(obj1
);
15278 if (PyErr_Occurred()) SWIG_fail
;
15279 arg3
= (double) SWIG_AsDouble(obj2
);
15280 if (PyErr_Occurred()) SWIG_fail
;
15281 arg4
= (double) SWIG_AsDouble(obj3
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15285 (arg1
)->Rotate(arg2
,arg3
,arg4
);
15287 wxPyEndAllowThreads(__tstate
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15290 Py_INCREF(Py_None
); resultobj
= Py_None
;
15297 static PyObject
*_wrap_PyDrawnShape_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15298 PyObject
*resultobj
;
15299 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15302 PyObject
* obj0
= 0 ;
15303 PyObject
* obj1
= 0 ;
15304 char *kwnames
[] = {
15305 (char *) "self",(char *) "rect", NULL
15308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15313 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15317 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
15319 wxPyEndAllowThreads(__tstate
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15322 Py_INCREF(Py_None
); resultobj
= Py_None
;
15329 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15330 PyObject
*resultobj
;
15331 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15332 wxColour
*arg2
= 0 ;
15334 PyObject
* obj0
= 0 ;
15335 PyObject
* obj1
= 0 ;
15336 char *kwnames
[] = {
15337 (char *) "self",(char *) "colour", NULL
15340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15345 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 (arg1
)->SetDrawnBackgroundColour((wxColour
const &)*arg2
);
15351 wxPyEndAllowThreads(__tstate
);
15352 if (PyErr_Occurred()) SWIG_fail
;
15354 Py_INCREF(Py_None
); resultobj
= Py_None
;
15361 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
;
15363 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15365 PyObject
* obj0
= 0 ;
15366 PyObject
* obj1
= 0 ;
15367 char *kwnames
[] = {
15368 (char *) "self",(char *) "mode", NULL
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
15372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15374 arg2
= (int) SWIG_AsInt(obj1
);
15375 if (PyErr_Occurred()) SWIG_fail
;
15377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15378 (arg1
)->SetDrawnBackgroundMode(arg2
);
15380 wxPyEndAllowThreads(__tstate
);
15381 if (PyErr_Occurred()) SWIG_fail
;
15383 Py_INCREF(Py_None
); resultobj
= Py_None
;
15390 static PyObject
*_wrap_PyDrawnShape_SetDrawnBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
;
15392 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15393 wxBrush
*arg2
= (wxBrush
*) 0 ;
15394 bool arg3
= (bool) FALSE
;
15395 PyObject
* obj0
= 0 ;
15396 PyObject
* obj1
= 0 ;
15397 PyObject
* obj2
= 0 ;
15398 char *kwnames
[] = {
15399 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15408 if (obj1
== Py_None
) {
15411 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
15412 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
15417 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
15422 arg3
= (bool) SWIG_AsBool(obj2
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15427 (arg1
)->SetDrawnBrush(arg2
,arg3
);
15429 wxPyEndAllowThreads(__tstate
);
15430 if (PyErr_Occurred()) SWIG_fail
;
15432 Py_INCREF(Py_None
); resultobj
= Py_None
;
15439 static PyObject
*_wrap_PyDrawnShape_SetDrawnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15440 PyObject
*resultobj
;
15441 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15442 wxFont
*arg2
= (wxFont
*) 0 ;
15443 PyObject
* obj0
= 0 ;
15444 PyObject
* obj1
= 0 ;
15445 char *kwnames
[] = {
15446 (char *) "self",(char *) "font", NULL
15449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15455 if (obj1
== Py_None
) {
15458 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
15459 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
15464 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
15468 temp
->GetUnderlined(),
15469 temp
->GetFaceName(),
15470 temp
->GetEncoding());
15475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15476 (arg1
)->SetDrawnFont(arg2
);
15478 wxPyEndAllowThreads(__tstate
);
15479 if (PyErr_Occurred()) SWIG_fail
;
15481 Py_INCREF(Py_None
); resultobj
= Py_None
;
15488 static PyObject
*_wrap_PyDrawnShape_SetDrawnPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15489 PyObject
*resultobj
;
15490 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15491 wxPen
*arg2
= (wxPen
*) 0 ;
15492 bool arg3
= (bool) FALSE
;
15493 PyObject
* obj0
= 0 ;
15494 PyObject
* obj1
= 0 ;
15495 PyObject
* obj2
= 0 ;
15496 char *kwnames
[] = {
15497 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15506 if (obj1
== Py_None
) {
15509 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
15510 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
15515 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
15522 arg3
= (bool) SWIG_AsBool(obj2
);
15523 if (PyErr_Occurred()) SWIG_fail
;
15526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 (arg1
)->SetDrawnPen(arg2
,arg3
);
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15532 Py_INCREF(Py_None
); resultobj
= Py_None
;
15539 static PyObject
*_wrap_PyDrawnShape_SetDrawnTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15540 PyObject
*resultobj
;
15541 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15542 wxColour
*arg2
= 0 ;
15544 PyObject
* obj0
= 0 ;
15545 PyObject
* obj1
= 0 ;
15546 char *kwnames
[] = {
15547 (char *) "self",(char *) "colour", NULL
15550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15555 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15559 (arg1
)->SetDrawnTextColour((wxColour
const &)*arg2
);
15561 wxPyEndAllowThreads(__tstate
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15564 Py_INCREF(Py_None
); resultobj
= Py_None
;
15571 static PyObject
*_wrap_PyDrawnShape_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
;
15573 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15576 PyObject
* obj0
= 0 ;
15577 PyObject
* obj1
= 0 ;
15578 PyObject
* obj2
= 0 ;
15579 char *kwnames
[] = {
15580 (char *) "self",(char *) "sx",(char *) "sy", NULL
15583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15586 arg2
= (double) SWIG_AsDouble(obj1
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15588 arg3
= (double) SWIG_AsDouble(obj2
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 (arg1
)->Scale(arg2
,arg3
);
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15597 Py_INCREF(Py_None
); resultobj
= Py_None
;
15604 static PyObject
*_wrap_PyDrawnShape_SetSaveToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15605 PyObject
*resultobj
;
15606 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15608 PyObject
* obj0
= 0 ;
15609 PyObject
* obj1
= 0 ;
15610 char *kwnames
[] = {
15611 (char *) "self",(char *) "save", NULL
15614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
15615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15617 arg2
= (bool) SWIG_AsBool(obj1
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 (arg1
)->SetSaveToFile(arg2
);
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15626 Py_INCREF(Py_None
); resultobj
= Py_None
;
15633 static PyObject
*_wrap_PyDrawnShape_Translate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
;
15635 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15638 PyObject
* obj0
= 0 ;
15639 PyObject
* obj1
= 0 ;
15640 PyObject
* obj2
= 0 ;
15641 char *kwnames
[] = {
15642 (char *) "self",(char *) "x",(char *) "y", NULL
15645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15648 arg2
= (double) SWIG_AsDouble(obj1
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15650 arg3
= (double) SWIG_AsDouble(obj2
);
15651 if (PyErr_Occurred()) SWIG_fail
;
15653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15654 (arg1
)->Translate(arg2
,arg3
);
15656 wxPyEndAllowThreads(__tstate
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15659 Py_INCREF(Py_None
); resultobj
= Py_None
;
15666 static PyObject
*_wrap_PyDrawnShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15667 PyObject
*resultobj
;
15668 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15669 PyObject
* obj0
= 0 ;
15670 char *kwnames
[] = {
15671 (char *) "self", NULL
15674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
15675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15679 (arg1
)->base_OnDelete();
15681 wxPyEndAllowThreads(__tstate
);
15682 if (PyErr_Occurred()) SWIG_fail
;
15684 Py_INCREF(Py_None
); resultobj
= Py_None
;
15691 static PyObject
*_wrap_PyDrawnShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15692 PyObject
*resultobj
;
15693 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15695 PyObject
* obj0
= 0 ;
15696 PyObject
* obj1
= 0 ;
15697 char *kwnames
[] = {
15698 (char *) "self",(char *) "dc", NULL
15701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
15702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15705 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15707 if (arg2
== NULL
) {
15708 PyErr_SetString(PyExc_TypeError
,"null reference");
15712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15713 (arg1
)->base_OnDraw(*arg2
);
15715 wxPyEndAllowThreads(__tstate
);
15716 if (PyErr_Occurred()) SWIG_fail
;
15718 Py_INCREF(Py_None
); resultobj
= Py_None
;
15725 static PyObject
*_wrap_PyDrawnShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15726 PyObject
*resultobj
;
15727 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15729 PyObject
* obj0
= 0 ;
15730 PyObject
* obj1
= 0 ;
15731 char *kwnames
[] = {
15732 (char *) "self",(char *) "dc", NULL
15735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15739 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15741 if (arg2
== NULL
) {
15742 PyErr_SetString(PyExc_TypeError
,"null reference");
15746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15747 (arg1
)->base_OnDrawContents(*arg2
);
15749 wxPyEndAllowThreads(__tstate
);
15750 if (PyErr_Occurred()) SWIG_fail
;
15752 Py_INCREF(Py_None
); resultobj
= Py_None
;
15759 static PyObject
*_wrap_PyDrawnShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15760 PyObject
*resultobj
;
15761 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15763 bool arg3
= (bool) FALSE
;
15764 PyObject
* obj0
= 0 ;
15765 PyObject
* obj1
= 0 ;
15766 PyObject
* obj2
= 0 ;
15767 char *kwnames
[] = {
15768 (char *) "self",(char *) "dc",(char *) "erase", NULL
15771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15775 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15777 if (arg2
== NULL
) {
15778 PyErr_SetString(PyExc_TypeError
,"null reference");
15782 arg3
= (bool) SWIG_AsBool(obj2
);
15783 if (PyErr_Occurred()) SWIG_fail
;
15786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15787 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
15789 wxPyEndAllowThreads(__tstate
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15792 Py_INCREF(Py_None
); resultobj
= Py_None
;
15799 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15800 PyObject
*resultobj
;
15801 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15803 PyObject
* obj0
= 0 ;
15804 PyObject
* obj1
= 0 ;
15805 char *kwnames
[] = {
15806 (char *) "self",(char *) "dc", NULL
15809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
15810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15813 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15815 if (arg2
== NULL
) {
15816 PyErr_SetString(PyExc_TypeError
,"null reference");
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 (arg1
)->base_OnMoveLinks(*arg2
);
15823 wxPyEndAllowThreads(__tstate
);
15824 if (PyErr_Occurred()) SWIG_fail
;
15826 Py_INCREF(Py_None
); resultobj
= Py_None
;
15833 static PyObject
*_wrap_PyDrawnShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15834 PyObject
*resultobj
;
15835 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15837 PyObject
* obj0
= 0 ;
15838 PyObject
* obj1
= 0 ;
15839 char *kwnames
[] = {
15840 (char *) "self",(char *) "dc", NULL
15843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
15844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15847 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15849 if (arg2
== NULL
) {
15850 PyErr_SetString(PyExc_TypeError
,"null reference");
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 (arg1
)->base_OnErase(*arg2
);
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15860 Py_INCREF(Py_None
); resultobj
= Py_None
;
15867 static PyObject
*_wrap_PyDrawnShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15868 PyObject
*resultobj
;
15869 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15871 PyObject
* obj0
= 0 ;
15872 PyObject
* obj1
= 0 ;
15873 char *kwnames
[] = {
15874 (char *) "self",(char *) "dc", NULL
15877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15883 if (arg2
== NULL
) {
15884 PyErr_SetString(PyExc_TypeError
,"null reference");
15888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15889 (arg1
)->base_OnEraseContents(*arg2
);
15891 wxPyEndAllowThreads(__tstate
);
15892 if (PyErr_Occurred()) SWIG_fail
;
15894 Py_INCREF(Py_None
); resultobj
= Py_None
;
15901 static PyObject
*_wrap_PyDrawnShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15902 PyObject
*resultobj
;
15903 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15905 PyObject
* obj0
= 0 ;
15906 PyObject
* obj1
= 0 ;
15907 char *kwnames
[] = {
15908 (char *) "self",(char *) "dc", NULL
15911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
15912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15917 if (arg2
== NULL
) {
15918 PyErr_SetString(PyExc_TypeError
,"null reference");
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 (arg1
)->base_OnHighlight(*arg2
);
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15928 Py_INCREF(Py_None
); resultobj
= Py_None
;
15935 static PyObject
*_wrap_PyDrawnShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15936 PyObject
*resultobj
;
15937 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15940 int arg4
= (int) 0 ;
15941 int arg5
= (int) 0 ;
15942 PyObject
* obj0
= 0 ;
15943 PyObject
* obj1
= 0 ;
15944 PyObject
* obj2
= 0 ;
15945 PyObject
* obj3
= 0 ;
15946 PyObject
* obj4
= 0 ;
15947 char *kwnames
[] = {
15948 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15954 arg2
= (double) SWIG_AsDouble(obj1
);
15955 if (PyErr_Occurred()) SWIG_fail
;
15956 arg3
= (double) SWIG_AsDouble(obj2
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15959 arg4
= (int) SWIG_AsInt(obj3
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15963 arg5
= (int) SWIG_AsInt(obj4
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15968 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15973 Py_INCREF(Py_None
); resultobj
= Py_None
;
15980 static PyObject
*_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15981 PyObject
*resultobj
;
15982 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15985 int arg4
= (int) 0 ;
15986 int arg5
= (int) 0 ;
15987 PyObject
* obj0
= 0 ;
15988 PyObject
* obj1
= 0 ;
15989 PyObject
* obj2
= 0 ;
15990 PyObject
* obj3
= 0 ;
15991 PyObject
* obj4
= 0 ;
15992 char *kwnames
[] = {
15993 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15999 arg2
= (double) SWIG_AsDouble(obj1
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16001 arg3
= (double) SWIG_AsDouble(obj2
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16004 arg4
= (int) SWIG_AsInt(obj3
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16008 arg5
= (int) SWIG_AsInt(obj4
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16013 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
16015 wxPyEndAllowThreads(__tstate
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16018 Py_INCREF(Py_None
); resultobj
= Py_None
;
16025 static PyObject
*_wrap_PyDrawnShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16026 PyObject
*resultobj
;
16027 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16030 int arg4
= (int) 0 ;
16031 int arg5
= (int) 0 ;
16032 PyObject
* obj0
= 0 ;
16033 PyObject
* obj1
= 0 ;
16034 PyObject
* obj2
= 0 ;
16035 PyObject
* obj3
= 0 ;
16036 PyObject
* obj4
= 0 ;
16037 char *kwnames
[] = {
16038 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16044 arg2
= (double) SWIG_AsDouble(obj1
);
16045 if (PyErr_Occurred()) SWIG_fail
;
16046 arg3
= (double) SWIG_AsDouble(obj2
);
16047 if (PyErr_Occurred()) SWIG_fail
;
16049 arg4
= (int) SWIG_AsInt(obj3
);
16050 if (PyErr_Occurred()) SWIG_fail
;
16053 arg5
= (int) SWIG_AsInt(obj4
);
16054 if (PyErr_Occurred()) SWIG_fail
;
16057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16058 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
16060 wxPyEndAllowThreads(__tstate
);
16061 if (PyErr_Occurred()) SWIG_fail
;
16063 Py_INCREF(Py_None
); resultobj
= Py_None
;
16070 static PyObject
*_wrap_PyDrawnShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16071 PyObject
*resultobj
;
16072 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16075 PyObject
* obj0
= 0 ;
16076 PyObject
* obj1
= 0 ;
16077 PyObject
* obj2
= 0 ;
16078 char *kwnames
[] = {
16079 (char *) "self",(char *) "x",(char *) "y", NULL
16082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16085 arg2
= (double) SWIG_AsDouble(obj1
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16087 arg3
= (double) SWIG_AsDouble(obj2
);
16088 if (PyErr_Occurred()) SWIG_fail
;
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 (arg1
)->base_OnSize(arg2
,arg3
);
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16096 Py_INCREF(Py_None
); resultobj
= Py_None
;
16103 static PyObject
*_wrap_PyDrawnShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16104 PyObject
*resultobj
;
16105 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16111 bool arg7
= (bool) True
;
16113 PyObject
* obj0
= 0 ;
16114 PyObject
* obj1
= 0 ;
16115 PyObject
* obj2
= 0 ;
16116 PyObject
* obj3
= 0 ;
16117 PyObject
* obj4
= 0 ;
16118 PyObject
* obj5
= 0 ;
16119 PyObject
* obj6
= 0 ;
16120 char *kwnames
[] = {
16121 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16128 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16130 if (arg2
== NULL
) {
16131 PyErr_SetString(PyExc_TypeError
,"null reference");
16134 arg3
= (double) SWIG_AsDouble(obj2
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16136 arg4
= (double) SWIG_AsDouble(obj3
);
16137 if (PyErr_Occurred()) SWIG_fail
;
16138 arg5
= (double) SWIG_AsDouble(obj4
);
16139 if (PyErr_Occurred()) SWIG_fail
;
16140 arg6
= (double) SWIG_AsDouble(obj5
);
16141 if (PyErr_Occurred()) SWIG_fail
;
16143 arg7
= (bool) SWIG_AsBool(obj6
);
16144 if (PyErr_Occurred()) SWIG_fail
;
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16150 wxPyEndAllowThreads(__tstate
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16160 static PyObject
*_wrap_PyDrawnShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16161 PyObject
*resultobj
;
16162 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16168 bool arg7
= (bool) True
;
16169 PyObject
* obj0
= 0 ;
16170 PyObject
* obj1
= 0 ;
16171 PyObject
* obj2
= 0 ;
16172 PyObject
* obj3
= 0 ;
16173 PyObject
* obj4
= 0 ;
16174 PyObject
* obj5
= 0 ;
16175 PyObject
* obj6
= 0 ;
16176 char *kwnames
[] = {
16177 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16184 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16186 if (arg2
== NULL
) {
16187 PyErr_SetString(PyExc_TypeError
,"null reference");
16190 arg3
= (double) SWIG_AsDouble(obj2
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16192 arg4
= (double) SWIG_AsDouble(obj3
);
16193 if (PyErr_Occurred()) SWIG_fail
;
16194 arg5
= (double) SWIG_AsDouble(obj4
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16196 arg6
= (double) SWIG_AsDouble(obj5
);
16197 if (PyErr_Occurred()) SWIG_fail
;
16199 arg7
= (bool) SWIG_AsBool(obj6
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16204 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16206 wxPyEndAllowThreads(__tstate
);
16207 if (PyErr_Occurred()) SWIG_fail
;
16209 Py_INCREF(Py_None
); resultobj
= Py_None
;
16216 static PyObject
*_wrap_PyDrawnShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16217 PyObject
*resultobj
;
16218 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16222 int arg5
= (int) 0 ;
16223 int arg6
= (int) 0 ;
16224 PyObject
* obj0
= 0 ;
16225 PyObject
* obj1
= 0 ;
16226 PyObject
* obj2
= 0 ;
16227 PyObject
* obj3
= 0 ;
16228 PyObject
* obj4
= 0 ;
16229 PyObject
* obj5
= 0 ;
16230 char *kwnames
[] = {
16231 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16237 arg2
= (bool) SWIG_AsBool(obj1
);
16238 if (PyErr_Occurred()) SWIG_fail
;
16239 arg3
= (double) SWIG_AsDouble(obj2
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16241 arg4
= (double) SWIG_AsDouble(obj3
);
16242 if (PyErr_Occurred()) SWIG_fail
;
16244 arg5
= (int) SWIG_AsInt(obj4
);
16245 if (PyErr_Occurred()) SWIG_fail
;
16248 arg6
= (int) SWIG_AsInt(obj5
);
16249 if (PyErr_Occurred()) SWIG_fail
;
16252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16253 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16255 wxPyEndAllowThreads(__tstate
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16258 Py_INCREF(Py_None
); resultobj
= Py_None
;
16265 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16266 PyObject
*resultobj
;
16267 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16270 int arg4
= (int) 0 ;
16271 int arg5
= (int) 0 ;
16272 PyObject
* obj0
= 0 ;
16273 PyObject
* obj1
= 0 ;
16274 PyObject
* obj2
= 0 ;
16275 PyObject
* obj3
= 0 ;
16276 PyObject
* obj4
= 0 ;
16277 char *kwnames
[] = {
16278 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16284 arg2
= (double) SWIG_AsDouble(obj1
);
16285 if (PyErr_Occurred()) SWIG_fail
;
16286 arg3
= (double) SWIG_AsDouble(obj2
);
16287 if (PyErr_Occurred()) SWIG_fail
;
16289 arg4
= (int) SWIG_AsInt(obj3
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16293 arg5
= (int) SWIG_AsInt(obj4
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16298 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16303 Py_INCREF(Py_None
); resultobj
= Py_None
;
16310 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
;
16312 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16315 int arg4
= (int) 0 ;
16316 int arg5
= (int) 0 ;
16317 PyObject
* obj0
= 0 ;
16318 PyObject
* obj1
= 0 ;
16319 PyObject
* obj2
= 0 ;
16320 PyObject
* obj3
= 0 ;
16321 PyObject
* obj4
= 0 ;
16322 char *kwnames
[] = {
16323 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16329 arg2
= (double) SWIG_AsDouble(obj1
);
16330 if (PyErr_Occurred()) SWIG_fail
;
16331 arg3
= (double) SWIG_AsDouble(obj2
);
16332 if (PyErr_Occurred()) SWIG_fail
;
16334 arg4
= (int) SWIG_AsInt(obj3
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16338 arg5
= (int) SWIG_AsInt(obj4
);
16339 if (PyErr_Occurred()) SWIG_fail
;
16342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16348 Py_INCREF(Py_None
); resultobj
= Py_None
;
16355 static PyObject
*_wrap_PyDrawnShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16356 PyObject
*resultobj
;
16357 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16361 int arg5
= (int) 0 ;
16362 int arg6
= (int) 0 ;
16363 PyObject
* obj0
= 0 ;
16364 PyObject
* obj1
= 0 ;
16365 PyObject
* obj2
= 0 ;
16366 PyObject
* obj3
= 0 ;
16367 PyObject
* obj4
= 0 ;
16368 PyObject
* obj5
= 0 ;
16369 char *kwnames
[] = {
16370 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16376 arg2
= (bool) SWIG_AsBool(obj1
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16378 arg3
= (double) SWIG_AsDouble(obj2
);
16379 if (PyErr_Occurred()) SWIG_fail
;
16380 arg4
= (double) SWIG_AsDouble(obj3
);
16381 if (PyErr_Occurred()) SWIG_fail
;
16383 arg5
= (int) SWIG_AsInt(obj4
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16387 arg6
= (int) SWIG_AsInt(obj5
);
16388 if (PyErr_Occurred()) SWIG_fail
;
16391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16392 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
16394 wxPyEndAllowThreads(__tstate
);
16395 if (PyErr_Occurred()) SWIG_fail
;
16397 Py_INCREF(Py_None
); resultobj
= Py_None
;
16404 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16405 PyObject
*resultobj
;
16406 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16409 int arg4
= (int) 0 ;
16410 int arg5
= (int) 0 ;
16411 PyObject
* obj0
= 0 ;
16412 PyObject
* obj1
= 0 ;
16413 PyObject
* obj2
= 0 ;
16414 PyObject
* obj3
= 0 ;
16415 PyObject
* obj4
= 0 ;
16416 char *kwnames
[] = {
16417 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16423 arg2
= (double) SWIG_AsDouble(obj1
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16425 arg3
= (double) SWIG_AsDouble(obj2
);
16426 if (PyErr_Occurred()) SWIG_fail
;
16428 arg4
= (int) SWIG_AsInt(obj3
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16432 arg5
= (int) SWIG_AsInt(obj4
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16437 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16442 Py_INCREF(Py_None
); resultobj
= Py_None
;
16449 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16450 PyObject
*resultobj
;
16451 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16454 int arg4
= (int) 0 ;
16455 int arg5
= (int) 0 ;
16456 PyObject
* obj0
= 0 ;
16457 PyObject
* obj1
= 0 ;
16458 PyObject
* obj2
= 0 ;
16459 PyObject
* obj3
= 0 ;
16460 PyObject
* obj4
= 0 ;
16461 char *kwnames
[] = {
16462 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16468 arg2
= (double) SWIG_AsDouble(obj1
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16470 arg3
= (double) SWIG_AsDouble(obj2
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16473 arg4
= (int) SWIG_AsInt(obj3
);
16474 if (PyErr_Occurred()) SWIG_fail
;
16477 arg5
= (int) SWIG_AsInt(obj4
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16482 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16487 Py_INCREF(Py_None
); resultobj
= Py_None
;
16494 static PyObject
*_wrap_PyDrawnShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16495 PyObject
*resultobj
;
16496 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16502 PyObject
* obj0
= 0 ;
16503 PyObject
* obj1
= 0 ;
16504 PyObject
* obj2
= 0 ;
16505 PyObject
* obj3
= 0 ;
16506 PyObject
* obj4
= 0 ;
16507 PyObject
* obj5
= 0 ;
16508 char *kwnames
[] = {
16509 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDrawnShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16515 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16516 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16518 if (arg2
== NULL
) {
16519 PyErr_SetString(PyExc_TypeError
,"null reference");
16522 arg3
= (double) SWIG_AsDouble(obj2
);
16523 if (PyErr_Occurred()) SWIG_fail
;
16524 arg4
= (double) SWIG_AsDouble(obj3
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16526 arg5
= (double) SWIG_AsDouble(obj4
);
16527 if (PyErr_Occurred()) SWIG_fail
;
16528 arg6
= (double) SWIG_AsDouble(obj5
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16532 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
16534 wxPyEndAllowThreads(__tstate
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16537 Py_INCREF(Py_None
); resultobj
= Py_None
;
16544 static PyObject
*_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16545 PyObject
*resultobj
;
16546 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16548 PyObject
* obj0
= 0 ;
16549 PyObject
* obj1
= 0 ;
16550 char *kwnames
[] = {
16551 (char *) "self",(char *) "dc", NULL
16554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16560 if (arg2
== NULL
) {
16561 PyErr_SetString(PyExc_TypeError
,"null reference");
16565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16566 (arg1
)->base_OnDrawControlPoints(*arg2
);
16568 wxPyEndAllowThreads(__tstate
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16571 Py_INCREF(Py_None
); resultobj
= Py_None
;
16578 static PyObject
*_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
;
16580 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16582 PyObject
* obj0
= 0 ;
16583 PyObject
* obj1
= 0 ;
16584 char *kwnames
[] = {
16585 (char *) "self",(char *) "dc", NULL
16588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16592 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16594 if (arg2
== NULL
) {
16595 PyErr_SetString(PyExc_TypeError
,"null reference");
16599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16600 (arg1
)->base_OnEraseControlPoints(*arg2
);
16602 wxPyEndAllowThreads(__tstate
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16605 Py_INCREF(Py_None
); resultobj
= Py_None
;
16612 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16613 PyObject
*resultobj
;
16614 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16616 bool arg3
= (bool) True
;
16617 PyObject
* obj0
= 0 ;
16618 PyObject
* obj1
= 0 ;
16619 PyObject
* obj2
= 0 ;
16620 char *kwnames
[] = {
16621 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16628 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16630 if (arg2
== NULL
) {
16631 PyErr_SetString(PyExc_TypeError
,"null reference");
16635 arg3
= (bool) SWIG_AsBool(obj2
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16640 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
16642 wxPyEndAllowThreads(__tstate
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16645 Py_INCREF(Py_None
); resultobj
= Py_None
;
16652 static PyObject
*_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16653 PyObject
*resultobj
;
16654 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16655 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16659 int arg6
= (int) 0 ;
16660 int arg7
= (int) 0 ;
16661 PyObject
* obj0
= 0 ;
16662 PyObject
* obj1
= 0 ;
16663 PyObject
* obj2
= 0 ;
16664 PyObject
* obj3
= 0 ;
16665 PyObject
* obj4
= 0 ;
16666 PyObject
* obj5
= 0 ;
16667 PyObject
* obj6
= 0 ;
16668 char *kwnames
[] = {
16669 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDrawnShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16677 arg3
= (bool) SWIG_AsBool(obj2
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16679 arg4
= (double) SWIG_AsDouble(obj3
);
16680 if (PyErr_Occurred()) SWIG_fail
;
16681 arg5
= (double) SWIG_AsDouble(obj4
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16684 arg6
= (int) SWIG_AsInt(obj5
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16688 arg7
= (int) SWIG_AsInt(obj6
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16693 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16695 wxPyEndAllowThreads(__tstate
);
16696 if (PyErr_Occurred()) SWIG_fail
;
16698 Py_INCREF(Py_None
); resultobj
= Py_None
;
16705 static PyObject
*_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16706 PyObject
*resultobj
;
16707 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16708 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16711 int arg5
= (int) 0 ;
16712 int arg6
= (int) 0 ;
16713 PyObject
* obj0
= 0 ;
16714 PyObject
* obj1
= 0 ;
16715 PyObject
* obj2
= 0 ;
16716 PyObject
* obj3
= 0 ;
16717 PyObject
* obj4
= 0 ;
16718 PyObject
* obj5
= 0 ;
16719 char *kwnames
[] = {
16720 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16728 arg3
= (double) SWIG_AsDouble(obj2
);
16729 if (PyErr_Occurred()) SWIG_fail
;
16730 arg4
= (double) SWIG_AsDouble(obj3
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16733 arg5
= (int) SWIG_AsInt(obj4
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16737 arg6
= (int) SWIG_AsInt(obj5
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16742 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16744 wxPyEndAllowThreads(__tstate
);
16745 if (PyErr_Occurred()) SWIG_fail
;
16747 Py_INCREF(Py_None
); resultobj
= Py_None
;
16754 static PyObject
*_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16755 PyObject
*resultobj
;
16756 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16757 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16760 int arg5
= (int) 0 ;
16761 int arg6
= (int) 0 ;
16762 PyObject
* obj0
= 0 ;
16763 PyObject
* obj1
= 0 ;
16764 PyObject
* obj2
= 0 ;
16765 PyObject
* obj3
= 0 ;
16766 PyObject
* obj4
= 0 ;
16767 PyObject
* obj5
= 0 ;
16768 char *kwnames
[] = {
16769 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16775 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16777 arg3
= (double) SWIG_AsDouble(obj2
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16779 arg4
= (double) SWIG_AsDouble(obj3
);
16780 if (PyErr_Occurred()) SWIG_fail
;
16782 arg5
= (int) SWIG_AsInt(obj4
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16786 arg6
= (int) SWIG_AsInt(obj5
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16796 Py_INCREF(Py_None
); resultobj
= Py_None
;
16803 static PyObject
*_wrap_PyDrawnShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16804 PyObject
*resultobj
;
16805 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16808 PyObject
* obj0
= 0 ;
16809 PyObject
* obj1
= 0 ;
16810 PyObject
* obj2
= 0 ;
16811 char *kwnames
[] = {
16812 (char *) "self",(char *) "w",(char *) "h", NULL
16815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16818 arg2
= (double) SWIG_AsDouble(obj1
);
16819 if (PyErr_Occurred()) SWIG_fail
;
16820 arg3
= (double) SWIG_AsDouble(obj2
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16824 (arg1
)->base_OnBeginSize(arg2
,arg3
);
16826 wxPyEndAllowThreads(__tstate
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16829 Py_INCREF(Py_None
); resultobj
= Py_None
;
16836 static PyObject
*_wrap_PyDrawnShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16837 PyObject
*resultobj
;
16838 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16841 PyObject
* obj0
= 0 ;
16842 PyObject
* obj1
= 0 ;
16843 PyObject
* obj2
= 0 ;
16844 char *kwnames
[] = {
16845 (char *) "self",(char *) "w",(char *) "h", NULL
16848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16851 arg2
= (double) SWIG_AsDouble(obj1
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16853 arg3
= (double) SWIG_AsDouble(obj2
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 (arg1
)->base_OnEndSize(arg2
,arg3
);
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16862 Py_INCREF(Py_None
); resultobj
= Py_None
;
16869 static PyObject
* PyDrawnShape_swigregister(PyObject
*, PyObject
*args
) {
16871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16872 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape
, obj
);
16874 return Py_BuildValue((char *)"");
16876 static PyObject
*_wrap_new_OGLConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16877 PyObject
*resultobj
;
16879 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
16880 PyObject
*arg3
= (PyObject
*) 0 ;
16881 wxOGLConstraint
*result
;
16882 PyObject
* obj0
= 0 ;
16883 PyObject
* obj1
= 0 ;
16884 PyObject
* obj2
= 0 ;
16885 char *kwnames
[] = {
16886 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
16889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_OGLConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16890 arg1
= (int) SWIG_AsInt(obj0
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
16893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16897 result
= (wxOGLConstraint
*)new_wxOGLConstraint(arg1
,arg2
,arg3
);
16899 wxPyEndAllowThreads(__tstate
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16903 resultobj
= wxPyMake_wxObject(result
);
16911 static PyObject
*_wrap_OGLConstraint_Evaluate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16912 PyObject
*resultobj
;
16913 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
16915 PyObject
* obj0
= 0 ;
16916 char *kwnames
[] = {
16917 (char *) "self", NULL
16920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:OGLConstraint_Evaluate",kwnames
,&obj0
)) goto fail
;
16921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
16922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16925 result
= (bool)(arg1
)->Evaluate();
16927 wxPyEndAllowThreads(__tstate
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16937 static PyObject
*_wrap_OGLConstraint_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16938 PyObject
*resultobj
;
16939 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
16942 PyObject
* obj0
= 0 ;
16943 PyObject
* obj1
= 0 ;
16944 PyObject
* obj2
= 0 ;
16945 char *kwnames
[] = {
16946 (char *) "self",(char *) "x",(char *) "y", NULL
16949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:OGLConstraint_SetSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
16951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16952 arg2
= (double) SWIG_AsDouble(obj1
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16954 arg3
= (double) SWIG_AsDouble(obj2
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16958 (arg1
)->SetSpacing(arg2
,arg3
);
16960 wxPyEndAllowThreads(__tstate
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16963 Py_INCREF(Py_None
); resultobj
= Py_None
;
16970 static PyObject
*_wrap_OGLConstraint_Equals(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16971 PyObject
*resultobj
;
16972 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
16976 PyObject
* obj0
= 0 ;
16977 PyObject
* obj1
= 0 ;
16978 PyObject
* obj2
= 0 ;
16979 char *kwnames
[] = {
16980 (char *) "self",(char *) "a",(char *) "b", NULL
16983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:OGLConstraint_Equals",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
16985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16986 arg2
= (double) SWIG_AsDouble(obj1
);
16987 if (PyErr_Occurred()) SWIG_fail
;
16988 arg3
= (double) SWIG_AsDouble(obj2
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16992 result
= (bool)(arg1
)->Equals(arg2
,arg3
);
16994 wxPyEndAllowThreads(__tstate
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17004 static PyObject
* OGLConstraint_swigregister(PyObject
*, PyObject
*args
) {
17006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17007 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint
, obj
);
17009 return Py_BuildValue((char *)"");
17011 static PyObject
*_wrap_new_PyCompositeShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17012 PyObject
*resultobj
;
17013 wxPyCompositeShape
*result
;
17014 char *kwnames
[] = {
17018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyCompositeShape",kwnames
)) goto fail
;
17020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 result
= (wxPyCompositeShape
*)new wxPyCompositeShape();
17023 wxPyEndAllowThreads(__tstate
);
17024 if (PyErr_Occurred()) SWIG_fail
;
17026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCompositeShape
, 1);
17033 static PyObject
*_wrap_PyCompositeShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17034 PyObject
*resultobj
;
17035 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17036 PyObject
*arg2
= (PyObject
*) 0 ;
17037 PyObject
*arg3
= (PyObject
*) 0 ;
17038 PyObject
* obj0
= 0 ;
17039 PyObject
* obj1
= 0 ;
17040 PyObject
* obj2
= 0 ;
17041 char *kwnames
[] = {
17042 (char *) "self",(char *) "self",(char *) "_class", NULL
17045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17054 wxPyEndAllowThreads(__tstate
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17057 Py_INCREF(Py_None
); resultobj
= Py_None
;
17064 static PyObject
*_wrap_PyCompositeShape_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
;
17066 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17067 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17068 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
17069 PyObject
* obj0
= 0 ;
17070 PyObject
* obj1
= 0 ;
17071 PyObject
* obj2
= 0 ;
17072 char *kwnames
[] = {
17073 (char *) "self",(char *) "child",(char *) "addAfter", NULL
17076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_AddChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17082 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17087 (arg1
)->AddChild(arg2
,arg3
);
17089 wxPyEndAllowThreads(__tstate
);
17090 if (PyErr_Occurred()) SWIG_fail
;
17092 Py_INCREF(Py_None
); resultobj
= Py_None
;
17099 static PyObject
*_wrap_PyCompositeShape_AddConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17100 PyObject
*resultobj
;
17101 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17102 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
17103 wxOGLConstraint
*result
;
17104 PyObject
* obj0
= 0 ;
17105 PyObject
* obj1
= 0 ;
17106 char *kwnames
[] = {
17107 (char *) "self",(char *) "constraint", NULL
17110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_AddConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
17111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOGLConstraint
,
17114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17117 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
);
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17123 resultobj
= wxPyMake_wxObject(result
);
17131 static PyObject
*_wrap_PyCompositeShape_AddConstrainedShapes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17132 PyObject
*resultobj
;
17133 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17135 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
17136 PyObject
*arg4
= (PyObject
*) 0 ;
17137 wxOGLConstraint
*result
;
17138 PyObject
* obj0
= 0 ;
17139 PyObject
* obj1
= 0 ;
17140 PyObject
* obj2
= 0 ;
17141 PyObject
* obj3
= 0 ;
17142 char *kwnames
[] = {
17143 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyCompositeShape_AddConstrainedShapes",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17149 arg2
= (int) SWIG_AsInt(obj1
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17151 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17156 result
= (wxOGLConstraint
*)wxPyCompositeShape_AddConstrainedShapes(arg1
,arg2
,arg3
,arg4
);
17158 wxPyEndAllowThreads(__tstate
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17162 resultobj
= wxPyMake_wxObject(result
);
17170 static PyObject
*_wrap_PyCompositeShape_AddSimpleConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17171 PyObject
*resultobj
;
17172 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17174 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
17175 wxPyShape
*arg4
= (wxPyShape
*) 0 ;
17176 wxOGLConstraint
*result
;
17177 PyObject
* obj0
= 0 ;
17178 PyObject
* obj1
= 0 ;
17179 PyObject
* obj2
= 0 ;
17180 PyObject
* obj3
= 0 ;
17181 char *kwnames
[] = {
17182 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyCompositeShape_AddSimpleConstraint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17188 arg2
= (int) SWIG_AsInt(obj1
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17190 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17192 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPyShape
,
17193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17196 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
,arg3
,arg4
);
17198 wxPyEndAllowThreads(__tstate
);
17199 if (PyErr_Occurred()) SWIG_fail
;
17202 resultobj
= wxPyMake_wxObject(result
);
17210 static PyObject
*_wrap_PyCompositeShape_CalculateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17211 PyObject
*resultobj
;
17212 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17213 PyObject
* obj0
= 0 ;
17214 char *kwnames
[] = {
17215 (char *) "self", NULL
17218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
17219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17223 (arg1
)->CalculateSize();
17225 wxPyEndAllowThreads(__tstate
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17228 Py_INCREF(Py_None
); resultobj
= Py_None
;
17235 static PyObject
*_wrap_PyCompositeShape_ContainsDivision(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
;
17237 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17238 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
17240 PyObject
* obj0
= 0 ;
17241 PyObject
* obj1
= 0 ;
17242 char *kwnames
[] = {
17243 (char *) "self",(char *) "division", NULL
17246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames
,&obj0
,&obj1
)) goto fail
;
17247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
17250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17253 result
= (bool)(arg1
)->ContainsDivision(arg2
);
17255 wxPyEndAllowThreads(__tstate
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17265 static PyObject
*_wrap_PyCompositeShape_DeleteConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17266 PyObject
*resultobj
;
17267 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17268 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
17269 PyObject
* obj0
= 0 ;
17270 PyObject
* obj1
= 0 ;
17271 char *kwnames
[] = {
17272 (char *) "self",(char *) "constraint", NULL
17275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
17276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOGLConstraint
,
17279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17282 (arg1
)->DeleteConstraint(arg2
);
17284 wxPyEndAllowThreads(__tstate
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17287 Py_INCREF(Py_None
); resultobj
= Py_None
;
17294 static PyObject
*_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17295 PyObject
*resultobj
;
17296 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17297 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17298 PyObject
* obj0
= 0 ;
17299 PyObject
* obj1
= 0 ;
17300 char *kwnames
[] = {
17301 (char *) "self",(char *) "child", NULL
17304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17311 (arg1
)->DeleteConstraintsInvolvingChild(arg2
);
17313 wxPyEndAllowThreads(__tstate
);
17314 if (PyErr_Occurred()) SWIG_fail
;
17316 Py_INCREF(Py_None
); resultobj
= Py_None
;
17323 static PyObject
*_wrap_PyCompositeShape_FindContainerImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17324 PyObject
*resultobj
;
17325 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17327 PyObject
* obj0
= 0 ;
17328 char *kwnames
[] = {
17329 (char *) "self", NULL
17332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_FindContainerImage",kwnames
,&obj0
)) goto fail
;
17333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17337 result
= (wxPyShape
*)(arg1
)->FindContainerImage();
17339 wxPyEndAllowThreads(__tstate
);
17340 if (PyErr_Occurred()) SWIG_fail
;
17343 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
17351 static PyObject
*_wrap_PyCompositeShape_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17352 PyObject
*resultobj
;
17353 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17355 PyObject
* obj0
= 0 ;
17356 char *kwnames
[] = {
17357 (char *) "self", NULL
17360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetConstraints",kwnames
,&obj0
)) goto fail
;
17361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 result
= (PyObject
*)wxPyCompositeShape_GetConstraints(arg1
);
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17370 resultobj
= result
;
17377 static PyObject
*_wrap_PyCompositeShape_GetDivisions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17378 PyObject
*resultobj
;
17379 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17381 PyObject
* obj0
= 0 ;
17382 char *kwnames
[] = {
17383 (char *) "self", NULL
17386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetDivisions",kwnames
,&obj0
)) goto fail
;
17387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17391 result
= (PyObject
*)wxPyCompositeShape_GetDivisions(arg1
);
17393 wxPyEndAllowThreads(__tstate
);
17394 if (PyErr_Occurred()) SWIG_fail
;
17396 resultobj
= result
;
17403 static PyObject
*_wrap_PyCompositeShape_MakeContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17404 PyObject
*resultobj
;
17405 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17406 PyObject
* obj0
= 0 ;
17407 char *kwnames
[] = {
17408 (char *) "self", NULL
17411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_MakeContainer",kwnames
,&obj0
)) goto fail
;
17412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17416 (arg1
)->MakeContainer();
17418 wxPyEndAllowThreads(__tstate
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17421 Py_INCREF(Py_None
); resultobj
= Py_None
;
17428 static PyObject
*_wrap_PyCompositeShape_Recompute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
;
17430 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17432 PyObject
* obj0
= 0 ;
17433 char *kwnames
[] = {
17434 (char *) "self", NULL
17437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_Recompute",kwnames
,&obj0
)) goto fail
;
17438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17442 result
= (bool)(arg1
)->Recompute();
17444 wxPyEndAllowThreads(__tstate
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17454 static PyObject
*_wrap_PyCompositeShape_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17455 PyObject
*resultobj
;
17456 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17457 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17458 PyObject
* obj0
= 0 ;
17459 PyObject
* obj1
= 0 ;
17460 char *kwnames
[] = {
17461 (char *) "self",(char *) "child", NULL
17464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 (arg1
)->RemoveChild(arg2
);
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17476 Py_INCREF(Py_None
); resultobj
= Py_None
;
17483 static PyObject
*_wrap_PyCompositeShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
;
17485 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17486 PyObject
* obj0
= 0 ;
17487 char *kwnames
[] = {
17488 (char *) "self", NULL
17491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
17492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17496 (arg1
)->base_OnDelete();
17498 wxPyEndAllowThreads(__tstate
);
17499 if (PyErr_Occurred()) SWIG_fail
;
17501 Py_INCREF(Py_None
); resultobj
= Py_None
;
17508 static PyObject
*_wrap_PyCompositeShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17509 PyObject
*resultobj
;
17510 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17512 PyObject
* obj0
= 0 ;
17513 PyObject
* obj1
= 0 ;
17514 char *kwnames
[] = {
17515 (char *) "self",(char *) "dc", NULL
17518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
17519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17521 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17522 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17524 if (arg2
== NULL
) {
17525 PyErr_SetString(PyExc_TypeError
,"null reference");
17529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17530 (arg1
)->base_OnDraw(*arg2
);
17532 wxPyEndAllowThreads(__tstate
);
17533 if (PyErr_Occurred()) SWIG_fail
;
17535 Py_INCREF(Py_None
); resultobj
= Py_None
;
17542 static PyObject
*_wrap_PyCompositeShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17543 PyObject
*resultobj
;
17544 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17546 PyObject
* obj0
= 0 ;
17547 PyObject
* obj1
= 0 ;
17548 char *kwnames
[] = {
17549 (char *) "self",(char *) "dc", NULL
17552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17555 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17556 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17558 if (arg2
== NULL
) {
17559 PyErr_SetString(PyExc_TypeError
,"null reference");
17563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17564 (arg1
)->base_OnDrawContents(*arg2
);
17566 wxPyEndAllowThreads(__tstate
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17569 Py_INCREF(Py_None
); resultobj
= Py_None
;
17576 static PyObject
*_wrap_PyCompositeShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17577 PyObject
*resultobj
;
17578 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17580 bool arg3
= (bool) FALSE
;
17581 PyObject
* obj0
= 0 ;
17582 PyObject
* obj1
= 0 ;
17583 PyObject
* obj2
= 0 ;
17584 char *kwnames
[] = {
17585 (char *) "self",(char *) "dc",(char *) "erase", NULL
17588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17592 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17594 if (arg2
== NULL
) {
17595 PyErr_SetString(PyExc_TypeError
,"null reference");
17599 arg3
= (bool) SWIG_AsBool(obj2
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17604 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
17606 wxPyEndAllowThreads(__tstate
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17609 Py_INCREF(Py_None
); resultobj
= Py_None
;
17616 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17617 PyObject
*resultobj
;
17618 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17620 PyObject
* obj0
= 0 ;
17621 PyObject
* obj1
= 0 ;
17622 char *kwnames
[] = {
17623 (char *) "self",(char *) "dc", NULL
17626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
17627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17632 if (arg2
== NULL
) {
17633 PyErr_SetString(PyExc_TypeError
,"null reference");
17637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17638 (arg1
)->base_OnMoveLinks(*arg2
);
17640 wxPyEndAllowThreads(__tstate
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17643 Py_INCREF(Py_None
); resultobj
= Py_None
;
17650 static PyObject
*_wrap_PyCompositeShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17651 PyObject
*resultobj
;
17652 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17654 PyObject
* obj0
= 0 ;
17655 PyObject
* obj1
= 0 ;
17656 char *kwnames
[] = {
17657 (char *) "self",(char *) "dc", NULL
17660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
17661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17664 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17666 if (arg2
== NULL
) {
17667 PyErr_SetString(PyExc_TypeError
,"null reference");
17671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17672 (arg1
)->base_OnErase(*arg2
);
17674 wxPyEndAllowThreads(__tstate
);
17675 if (PyErr_Occurred()) SWIG_fail
;
17677 Py_INCREF(Py_None
); resultobj
= Py_None
;
17684 static PyObject
*_wrap_PyCompositeShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17685 PyObject
*resultobj
;
17686 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17688 PyObject
* obj0
= 0 ;
17689 PyObject
* obj1
= 0 ;
17690 char *kwnames
[] = {
17691 (char *) "self",(char *) "dc", NULL
17694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17700 if (arg2
== NULL
) {
17701 PyErr_SetString(PyExc_TypeError
,"null reference");
17705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17706 (arg1
)->base_OnEraseContents(*arg2
);
17708 wxPyEndAllowThreads(__tstate
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17711 Py_INCREF(Py_None
); resultobj
= Py_None
;
17718 static PyObject
*_wrap_PyCompositeShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17719 PyObject
*resultobj
;
17720 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17722 PyObject
* obj0
= 0 ;
17723 PyObject
* obj1
= 0 ;
17724 char *kwnames
[] = {
17725 (char *) "self",(char *) "dc", NULL
17728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
17729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17732 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17734 if (arg2
== NULL
) {
17735 PyErr_SetString(PyExc_TypeError
,"null reference");
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 (arg1
)->base_OnHighlight(*arg2
);
17742 wxPyEndAllowThreads(__tstate
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17745 Py_INCREF(Py_None
); resultobj
= Py_None
;
17752 static PyObject
*_wrap_PyCompositeShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17753 PyObject
*resultobj
;
17754 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17757 int arg4
= (int) 0 ;
17758 int arg5
= (int) 0 ;
17759 PyObject
* obj0
= 0 ;
17760 PyObject
* obj1
= 0 ;
17761 PyObject
* obj2
= 0 ;
17762 PyObject
* obj3
= 0 ;
17763 PyObject
* obj4
= 0 ;
17764 char *kwnames
[] = {
17765 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17771 arg2
= (double) SWIG_AsDouble(obj1
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17773 arg3
= (double) SWIG_AsDouble(obj2
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17776 arg4
= (int) SWIG_AsInt(obj3
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17780 arg5
= (int) SWIG_AsInt(obj4
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17785 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
17787 wxPyEndAllowThreads(__tstate
);
17788 if (PyErr_Occurred()) SWIG_fail
;
17790 Py_INCREF(Py_None
); resultobj
= Py_None
;
17797 static PyObject
*_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17798 PyObject
*resultobj
;
17799 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17802 int arg4
= (int) 0 ;
17803 int arg5
= (int) 0 ;
17804 PyObject
* obj0
= 0 ;
17805 PyObject
* obj1
= 0 ;
17806 PyObject
* obj2
= 0 ;
17807 PyObject
* obj3
= 0 ;
17808 PyObject
* obj4
= 0 ;
17809 char *kwnames
[] = {
17810 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17816 arg2
= (double) SWIG_AsDouble(obj1
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17818 arg3
= (double) SWIG_AsDouble(obj2
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 arg4
= (int) SWIG_AsInt(obj3
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17825 arg5
= (int) SWIG_AsInt(obj4
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17830 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
17832 wxPyEndAllowThreads(__tstate
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17835 Py_INCREF(Py_None
); resultobj
= Py_None
;
17842 static PyObject
*_wrap_PyCompositeShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
;
17844 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17847 int arg4
= (int) 0 ;
17848 int arg5
= (int) 0 ;
17849 PyObject
* obj0
= 0 ;
17850 PyObject
* obj1
= 0 ;
17851 PyObject
* obj2
= 0 ;
17852 PyObject
* obj3
= 0 ;
17853 PyObject
* obj4
= 0 ;
17854 char *kwnames
[] = {
17855 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17861 arg2
= (double) SWIG_AsDouble(obj1
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17863 arg3
= (double) SWIG_AsDouble(obj2
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17866 arg4
= (int) SWIG_AsInt(obj3
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17870 arg5
= (int) SWIG_AsInt(obj4
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17875 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
17877 wxPyEndAllowThreads(__tstate
);
17878 if (PyErr_Occurred()) SWIG_fail
;
17880 Py_INCREF(Py_None
); resultobj
= Py_None
;
17887 static PyObject
*_wrap_PyCompositeShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17888 PyObject
*resultobj
;
17889 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17892 PyObject
* obj0
= 0 ;
17893 PyObject
* obj1
= 0 ;
17894 PyObject
* obj2
= 0 ;
17895 char *kwnames
[] = {
17896 (char *) "self",(char *) "x",(char *) "y", NULL
17899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17902 arg2
= (double) SWIG_AsDouble(obj1
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17904 arg3
= (double) SWIG_AsDouble(obj2
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17908 (arg1
)->base_OnSize(arg2
,arg3
);
17910 wxPyEndAllowThreads(__tstate
);
17911 if (PyErr_Occurred()) SWIG_fail
;
17913 Py_INCREF(Py_None
); resultobj
= Py_None
;
17920 static PyObject
*_wrap_PyCompositeShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17921 PyObject
*resultobj
;
17922 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17928 bool arg7
= (bool) True
;
17930 PyObject
* obj0
= 0 ;
17931 PyObject
* obj1
= 0 ;
17932 PyObject
* obj2
= 0 ;
17933 PyObject
* obj3
= 0 ;
17934 PyObject
* obj4
= 0 ;
17935 PyObject
* obj5
= 0 ;
17936 PyObject
* obj6
= 0 ;
17937 char *kwnames
[] = {
17938 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17945 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17947 if (arg2
== NULL
) {
17948 PyErr_SetString(PyExc_TypeError
,"null reference");
17951 arg3
= (double) SWIG_AsDouble(obj2
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17953 arg4
= (double) SWIG_AsDouble(obj3
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17955 arg5
= (double) SWIG_AsDouble(obj4
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17957 arg6
= (double) SWIG_AsDouble(obj5
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17960 arg7
= (bool) SWIG_AsBool(obj6
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17977 static PyObject
*_wrap_PyCompositeShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17978 PyObject
*resultobj
;
17979 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17985 bool arg7
= (bool) True
;
17986 PyObject
* obj0
= 0 ;
17987 PyObject
* obj1
= 0 ;
17988 PyObject
* obj2
= 0 ;
17989 PyObject
* obj3
= 0 ;
17990 PyObject
* obj4
= 0 ;
17991 PyObject
* obj5
= 0 ;
17992 PyObject
* obj6
= 0 ;
17993 char *kwnames
[] = {
17994 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18001 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18003 if (arg2
== NULL
) {
18004 PyErr_SetString(PyExc_TypeError
,"null reference");
18007 arg3
= (double) SWIG_AsDouble(obj2
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18009 arg4
= (double) SWIG_AsDouble(obj3
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18011 arg5
= (double) SWIG_AsDouble(obj4
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18013 arg6
= (double) SWIG_AsDouble(obj5
);
18014 if (PyErr_Occurred()) SWIG_fail
;
18016 arg7
= (bool) SWIG_AsBool(obj6
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18026 Py_INCREF(Py_None
); resultobj
= Py_None
;
18033 static PyObject
*_wrap_PyCompositeShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
;
18035 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18039 int arg5
= (int) 0 ;
18040 int arg6
= (int) 0 ;
18041 PyObject
* obj0
= 0 ;
18042 PyObject
* obj1
= 0 ;
18043 PyObject
* obj2
= 0 ;
18044 PyObject
* obj3
= 0 ;
18045 PyObject
* obj4
= 0 ;
18046 PyObject
* obj5
= 0 ;
18047 char *kwnames
[] = {
18048 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18054 arg2
= (bool) SWIG_AsBool(obj1
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18056 arg3
= (double) SWIG_AsDouble(obj2
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18058 arg4
= (double) SWIG_AsDouble(obj3
);
18059 if (PyErr_Occurred()) SWIG_fail
;
18061 arg5
= (int) SWIG_AsInt(obj4
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18065 arg6
= (int) SWIG_AsInt(obj5
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18072 wxPyEndAllowThreads(__tstate
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18075 Py_INCREF(Py_None
); resultobj
= Py_None
;
18082 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18083 PyObject
*resultobj
;
18084 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18087 int arg4
= (int) 0 ;
18088 int arg5
= (int) 0 ;
18089 PyObject
* obj0
= 0 ;
18090 PyObject
* obj1
= 0 ;
18091 PyObject
* obj2
= 0 ;
18092 PyObject
* obj3
= 0 ;
18093 PyObject
* obj4
= 0 ;
18094 char *kwnames
[] = {
18095 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18101 arg2
= (double) SWIG_AsDouble(obj1
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18103 arg3
= (double) SWIG_AsDouble(obj2
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18106 arg4
= (int) SWIG_AsInt(obj3
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18110 arg5
= (int) SWIG_AsInt(obj4
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
18117 wxPyEndAllowThreads(__tstate
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18120 Py_INCREF(Py_None
); resultobj
= Py_None
;
18127 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
;
18129 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18132 int arg4
= (int) 0 ;
18133 int arg5
= (int) 0 ;
18134 PyObject
* obj0
= 0 ;
18135 PyObject
* obj1
= 0 ;
18136 PyObject
* obj2
= 0 ;
18137 PyObject
* obj3
= 0 ;
18138 PyObject
* obj4
= 0 ;
18139 char *kwnames
[] = {
18140 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18146 arg2
= (double) SWIG_AsDouble(obj1
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18148 arg3
= (double) SWIG_AsDouble(obj2
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18151 arg4
= (int) SWIG_AsInt(obj3
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18155 arg5
= (int) SWIG_AsInt(obj4
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18160 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
18162 wxPyEndAllowThreads(__tstate
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18165 Py_INCREF(Py_None
); resultobj
= Py_None
;
18172 static PyObject
*_wrap_PyCompositeShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18173 PyObject
*resultobj
;
18174 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18178 int arg5
= (int) 0 ;
18179 int arg6
= (int) 0 ;
18180 PyObject
* obj0
= 0 ;
18181 PyObject
* obj1
= 0 ;
18182 PyObject
* obj2
= 0 ;
18183 PyObject
* obj3
= 0 ;
18184 PyObject
* obj4
= 0 ;
18185 PyObject
* obj5
= 0 ;
18186 char *kwnames
[] = {
18187 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18193 arg2
= (bool) SWIG_AsBool(obj1
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18195 arg3
= (double) SWIG_AsDouble(obj2
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18197 arg4
= (double) SWIG_AsDouble(obj3
);
18198 if (PyErr_Occurred()) SWIG_fail
;
18200 arg5
= (int) SWIG_AsInt(obj4
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18204 arg6
= (int) SWIG_AsInt(obj5
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18209 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18214 Py_INCREF(Py_None
); resultobj
= Py_None
;
18221 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18222 PyObject
*resultobj
;
18223 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18226 int arg4
= (int) 0 ;
18227 int arg5
= (int) 0 ;
18228 PyObject
* obj0
= 0 ;
18229 PyObject
* obj1
= 0 ;
18230 PyObject
* obj2
= 0 ;
18231 PyObject
* obj3
= 0 ;
18232 PyObject
* obj4
= 0 ;
18233 char *kwnames
[] = {
18234 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18240 arg2
= (double) SWIG_AsDouble(obj1
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18242 arg3
= (double) SWIG_AsDouble(obj2
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18245 arg4
= (int) SWIG_AsInt(obj3
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18249 arg5
= (int) SWIG_AsInt(obj4
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18259 Py_INCREF(Py_None
); resultobj
= Py_None
;
18266 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18267 PyObject
*resultobj
;
18268 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18271 int arg4
= (int) 0 ;
18272 int arg5
= (int) 0 ;
18273 PyObject
* obj0
= 0 ;
18274 PyObject
* obj1
= 0 ;
18275 PyObject
* obj2
= 0 ;
18276 PyObject
* obj3
= 0 ;
18277 PyObject
* obj4
= 0 ;
18278 char *kwnames
[] = {
18279 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18285 arg2
= (double) SWIG_AsDouble(obj1
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18287 arg3
= (double) SWIG_AsDouble(obj2
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18290 arg4
= (int) SWIG_AsInt(obj3
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18294 arg5
= (int) SWIG_AsInt(obj4
);
18295 if (PyErr_Occurred()) SWIG_fail
;
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18304 Py_INCREF(Py_None
); resultobj
= Py_None
;
18311 static PyObject
*_wrap_PyCompositeShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18312 PyObject
*resultobj
;
18313 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18319 PyObject
* obj0
= 0 ;
18320 PyObject
* obj1
= 0 ;
18321 PyObject
* obj2
= 0 ;
18322 PyObject
* obj3
= 0 ;
18323 PyObject
* obj4
= 0 ;
18324 PyObject
* obj5
= 0 ;
18325 char *kwnames
[] = {
18326 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyCompositeShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18332 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18333 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18335 if (arg2
== NULL
) {
18336 PyErr_SetString(PyExc_TypeError
,"null reference");
18339 arg3
= (double) SWIG_AsDouble(obj2
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18341 arg4
= (double) SWIG_AsDouble(obj3
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18343 arg5
= (double) SWIG_AsDouble(obj4
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18345 arg6
= (double) SWIG_AsDouble(obj5
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18354 Py_INCREF(Py_None
); resultobj
= Py_None
;
18361 static PyObject
*_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18362 PyObject
*resultobj
;
18363 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18365 PyObject
* obj0
= 0 ;
18366 PyObject
* obj1
= 0 ;
18367 char *kwnames
[] = {
18368 (char *) "self",(char *) "dc", NULL
18371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18375 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18377 if (arg2
== NULL
) {
18378 PyErr_SetString(PyExc_TypeError
,"null reference");
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 (arg1
)->base_OnDrawControlPoints(*arg2
);
18385 wxPyEndAllowThreads(__tstate
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18388 Py_INCREF(Py_None
); resultobj
= Py_None
;
18395 static PyObject
*_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
;
18397 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18399 PyObject
* obj0
= 0 ;
18400 PyObject
* obj1
= 0 ;
18401 char *kwnames
[] = {
18402 (char *) "self",(char *) "dc", NULL
18405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18409 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18411 if (arg2
== NULL
) {
18412 PyErr_SetString(PyExc_TypeError
,"null reference");
18416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18417 (arg1
)->base_OnEraseControlPoints(*arg2
);
18419 wxPyEndAllowThreads(__tstate
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18422 Py_INCREF(Py_None
); resultobj
= Py_None
;
18429 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18430 PyObject
*resultobj
;
18431 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18433 bool arg3
= (bool) True
;
18434 PyObject
* obj0
= 0 ;
18435 PyObject
* obj1
= 0 ;
18436 PyObject
* obj2
= 0 ;
18437 char *kwnames
[] = {
18438 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18445 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18447 if (arg2
== NULL
) {
18448 PyErr_SetString(PyExc_TypeError
,"null reference");
18452 arg3
= (bool) SWIG_AsBool(obj2
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18457 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
18459 wxPyEndAllowThreads(__tstate
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18462 Py_INCREF(Py_None
); resultobj
= Py_None
;
18469 static PyObject
*_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18470 PyObject
*resultobj
;
18471 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18472 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18476 int arg6
= (int) 0 ;
18477 int arg7
= (int) 0 ;
18478 PyObject
* obj0
= 0 ;
18479 PyObject
* obj1
= 0 ;
18480 PyObject
* obj2
= 0 ;
18481 PyObject
* obj3
= 0 ;
18482 PyObject
* obj4
= 0 ;
18483 PyObject
* obj5
= 0 ;
18484 PyObject
* obj6
= 0 ;
18485 char *kwnames
[] = {
18486 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyCompositeShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18492 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18494 arg3
= (bool) SWIG_AsBool(obj2
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18496 arg4
= (double) SWIG_AsDouble(obj3
);
18497 if (PyErr_Occurred()) SWIG_fail
;
18498 arg5
= (double) SWIG_AsDouble(obj4
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18501 arg6
= (int) SWIG_AsInt(obj5
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18505 arg7
= (int) SWIG_AsInt(obj6
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18510 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18512 wxPyEndAllowThreads(__tstate
);
18513 if (PyErr_Occurred()) SWIG_fail
;
18515 Py_INCREF(Py_None
); resultobj
= Py_None
;
18522 static PyObject
*_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18523 PyObject
*resultobj
;
18524 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18525 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18528 int arg5
= (int) 0 ;
18529 int arg6
= (int) 0 ;
18530 PyObject
* obj0
= 0 ;
18531 PyObject
* obj1
= 0 ;
18532 PyObject
* obj2
= 0 ;
18533 PyObject
* obj3
= 0 ;
18534 PyObject
* obj4
= 0 ;
18535 PyObject
* obj5
= 0 ;
18536 char *kwnames
[] = {
18537 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18545 arg3
= (double) SWIG_AsDouble(obj2
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18547 arg4
= (double) SWIG_AsDouble(obj3
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18550 arg5
= (int) SWIG_AsInt(obj4
);
18551 if (PyErr_Occurred()) SWIG_fail
;
18554 arg6
= (int) SWIG_AsInt(obj5
);
18555 if (PyErr_Occurred()) SWIG_fail
;
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18561 wxPyEndAllowThreads(__tstate
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18564 Py_INCREF(Py_None
); resultobj
= Py_None
;
18571 static PyObject
*_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18572 PyObject
*resultobj
;
18573 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18574 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18577 int arg5
= (int) 0 ;
18578 int arg6
= (int) 0 ;
18579 PyObject
* obj0
= 0 ;
18580 PyObject
* obj1
= 0 ;
18581 PyObject
* obj2
= 0 ;
18582 PyObject
* obj3
= 0 ;
18583 PyObject
* obj4
= 0 ;
18584 PyObject
* obj5
= 0 ;
18585 char *kwnames
[] = {
18586 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18594 arg3
= (double) SWIG_AsDouble(obj2
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18596 arg4
= (double) SWIG_AsDouble(obj3
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18599 arg5
= (int) SWIG_AsInt(obj4
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18603 arg6
= (int) SWIG_AsInt(obj5
);
18604 if (PyErr_Occurred()) SWIG_fail
;
18607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18608 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18610 wxPyEndAllowThreads(__tstate
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18613 Py_INCREF(Py_None
); resultobj
= Py_None
;
18620 static PyObject
*_wrap_PyCompositeShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18621 PyObject
*resultobj
;
18622 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18625 PyObject
* obj0
= 0 ;
18626 PyObject
* obj1
= 0 ;
18627 PyObject
* obj2
= 0 ;
18628 char *kwnames
[] = {
18629 (char *) "self",(char *) "w",(char *) "h", NULL
18632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18635 arg2
= (double) SWIG_AsDouble(obj1
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18637 arg3
= (double) SWIG_AsDouble(obj2
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18641 (arg1
)->base_OnBeginSize(arg2
,arg3
);
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18646 Py_INCREF(Py_None
); resultobj
= Py_None
;
18653 static PyObject
*_wrap_PyCompositeShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
;
18655 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18658 PyObject
* obj0
= 0 ;
18659 PyObject
* obj1
= 0 ;
18660 PyObject
* obj2
= 0 ;
18661 char *kwnames
[] = {
18662 (char *) "self",(char *) "w",(char *) "h", NULL
18665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18668 arg2
= (double) SWIG_AsDouble(obj1
);
18669 if (PyErr_Occurred()) SWIG_fail
;
18670 arg3
= (double) SWIG_AsDouble(obj2
);
18671 if (PyErr_Occurred()) SWIG_fail
;
18673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18674 (arg1
)->base_OnEndSize(arg2
,arg3
);
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18679 Py_INCREF(Py_None
); resultobj
= Py_None
;
18686 static PyObject
* PyCompositeShape_swigregister(PyObject
*, PyObject
*args
) {
18688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18689 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape
, obj
);
18691 return Py_BuildValue((char *)"");
18693 static PyObject
*_wrap_new_PyDividedShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18694 PyObject
*resultobj
;
18695 double arg1
= (double) 0.0 ;
18696 double arg2
= (double) 0.0 ;
18697 wxPyDividedShape
*result
;
18698 PyObject
* obj0
= 0 ;
18699 PyObject
* obj1
= 0 ;
18700 char *kwnames
[] = {
18701 (char *) "width",(char *) "height", NULL
18704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyDividedShape",kwnames
,&obj0
,&obj1
)) goto fail
;
18706 arg1
= (double) SWIG_AsDouble(obj0
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18710 arg2
= (double) SWIG_AsDouble(obj1
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18715 result
= (wxPyDividedShape
*)new wxPyDividedShape(arg1
,arg2
);
18717 wxPyEndAllowThreads(__tstate
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDividedShape
, 1);
18727 static PyObject
*_wrap_PyDividedShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18728 PyObject
*resultobj
;
18729 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18730 PyObject
*arg2
= (PyObject
*) 0 ;
18731 PyObject
*arg3
= (PyObject
*) 0 ;
18732 PyObject
* obj0
= 0 ;
18733 PyObject
* obj1
= 0 ;
18734 PyObject
* obj2
= 0 ;
18735 char *kwnames
[] = {
18736 (char *) "self",(char *) "self",(char *) "_class", NULL
18739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18746 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18748 wxPyEndAllowThreads(__tstate
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18751 Py_INCREF(Py_None
); resultobj
= Py_None
;
18758 static PyObject
*_wrap_PyDividedShape_EditRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18759 PyObject
*resultobj
;
18760 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18761 PyObject
* obj0
= 0 ;
18762 char *kwnames
[] = {
18763 (char *) "self", NULL
18766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_EditRegions",kwnames
,&obj0
)) goto fail
;
18767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18771 (arg1
)->EditRegions();
18773 wxPyEndAllowThreads(__tstate
);
18774 if (PyErr_Occurred()) SWIG_fail
;
18776 Py_INCREF(Py_None
); resultobj
= Py_None
;
18783 static PyObject
*_wrap_PyDividedShape_SetRegionSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18784 PyObject
*resultobj
;
18785 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18786 PyObject
* obj0
= 0 ;
18787 char *kwnames
[] = {
18788 (char *) "self", NULL
18791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_SetRegionSizes",kwnames
,&obj0
)) goto fail
;
18792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18796 (arg1
)->SetRegionSizes();
18798 wxPyEndAllowThreads(__tstate
);
18799 if (PyErr_Occurred()) SWIG_fail
;
18801 Py_INCREF(Py_None
); resultobj
= Py_None
;
18808 static PyObject
*_wrap_PyDividedShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18809 PyObject
*resultobj
;
18810 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18811 PyObject
* obj0
= 0 ;
18812 char *kwnames
[] = {
18813 (char *) "self", NULL
18816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
18817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18821 (arg1
)->base_OnDelete();
18823 wxPyEndAllowThreads(__tstate
);
18824 if (PyErr_Occurred()) SWIG_fail
;
18826 Py_INCREF(Py_None
); resultobj
= Py_None
;
18833 static PyObject
*_wrap_PyDividedShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18834 PyObject
*resultobj
;
18835 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18837 PyObject
* obj0
= 0 ;
18838 PyObject
* obj1
= 0 ;
18839 char *kwnames
[] = {
18840 (char *) "self",(char *) "dc", NULL
18843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
18844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18847 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18849 if (arg2
== NULL
) {
18850 PyErr_SetString(PyExc_TypeError
,"null reference");
18854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18855 (arg1
)->base_OnDraw(*arg2
);
18857 wxPyEndAllowThreads(__tstate
);
18858 if (PyErr_Occurred()) SWIG_fail
;
18860 Py_INCREF(Py_None
); resultobj
= Py_None
;
18867 static PyObject
*_wrap_PyDividedShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18868 PyObject
*resultobj
;
18869 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18871 PyObject
* obj0
= 0 ;
18872 PyObject
* obj1
= 0 ;
18873 char *kwnames
[] = {
18874 (char *) "self",(char *) "dc", NULL
18877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
18878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18883 if (arg2
== NULL
) {
18884 PyErr_SetString(PyExc_TypeError
,"null reference");
18888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18889 (arg1
)->base_OnDrawContents(*arg2
);
18891 wxPyEndAllowThreads(__tstate
);
18892 if (PyErr_Occurred()) SWIG_fail
;
18894 Py_INCREF(Py_None
); resultobj
= Py_None
;
18901 static PyObject
*_wrap_PyDividedShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
;
18903 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18905 bool arg3
= (bool) FALSE
;
18906 PyObject
* obj0
= 0 ;
18907 PyObject
* obj1
= 0 ;
18908 PyObject
* obj2
= 0 ;
18909 char *kwnames
[] = {
18910 (char *) "self",(char *) "dc",(char *) "erase", NULL
18913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18917 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18919 if (arg2
== NULL
) {
18920 PyErr_SetString(PyExc_TypeError
,"null reference");
18924 arg3
= (bool) SWIG_AsBool(obj2
);
18925 if (PyErr_Occurred()) SWIG_fail
;
18928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18929 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
18931 wxPyEndAllowThreads(__tstate
);
18932 if (PyErr_Occurred()) SWIG_fail
;
18934 Py_INCREF(Py_None
); resultobj
= Py_None
;
18941 static PyObject
*_wrap_PyDividedShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18942 PyObject
*resultobj
;
18943 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18945 PyObject
* obj0
= 0 ;
18946 PyObject
* obj1
= 0 ;
18947 char *kwnames
[] = {
18948 (char *) "self",(char *) "dc", NULL
18951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
18952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18955 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18957 if (arg2
== NULL
) {
18958 PyErr_SetString(PyExc_TypeError
,"null reference");
18962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18963 (arg1
)->base_OnMoveLinks(*arg2
);
18965 wxPyEndAllowThreads(__tstate
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18968 Py_INCREF(Py_None
); resultobj
= Py_None
;
18975 static PyObject
*_wrap_PyDividedShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
;
18977 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18979 PyObject
* obj0
= 0 ;
18980 PyObject
* obj1
= 0 ;
18981 char *kwnames
[] = {
18982 (char *) "self",(char *) "dc", NULL
18985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
18986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18988 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18989 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18991 if (arg2
== NULL
) {
18992 PyErr_SetString(PyExc_TypeError
,"null reference");
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 (arg1
)->base_OnErase(*arg2
);
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19002 Py_INCREF(Py_None
); resultobj
= Py_None
;
19009 static PyObject
*_wrap_PyDividedShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19010 PyObject
*resultobj
;
19011 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19013 PyObject
* obj0
= 0 ;
19014 PyObject
* obj1
= 0 ;
19015 char *kwnames
[] = {
19016 (char *) "self",(char *) "dc", NULL
19019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
19020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19025 if (arg2
== NULL
) {
19026 PyErr_SetString(PyExc_TypeError
,"null reference");
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 (arg1
)->base_OnEraseContents(*arg2
);
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19036 Py_INCREF(Py_None
); resultobj
= Py_None
;
19043 static PyObject
*_wrap_PyDividedShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19044 PyObject
*resultobj
;
19045 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19047 PyObject
* obj0
= 0 ;
19048 PyObject
* obj1
= 0 ;
19049 char *kwnames
[] = {
19050 (char *) "self",(char *) "dc", NULL
19053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
19054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19057 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19059 if (arg2
== NULL
) {
19060 PyErr_SetString(PyExc_TypeError
,"null reference");
19064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19065 (arg1
)->base_OnHighlight(*arg2
);
19067 wxPyEndAllowThreads(__tstate
);
19068 if (PyErr_Occurred()) SWIG_fail
;
19070 Py_INCREF(Py_None
); resultobj
= Py_None
;
19077 static PyObject
*_wrap_PyDividedShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19078 PyObject
*resultobj
;
19079 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19082 int arg4
= (int) 0 ;
19083 int arg5
= (int) 0 ;
19084 PyObject
* obj0
= 0 ;
19085 PyObject
* obj1
= 0 ;
19086 PyObject
* obj2
= 0 ;
19087 PyObject
* obj3
= 0 ;
19088 PyObject
* obj4
= 0 ;
19089 char *kwnames
[] = {
19090 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19096 arg2
= (double) SWIG_AsDouble(obj1
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19098 arg3
= (double) SWIG_AsDouble(obj2
);
19099 if (PyErr_Occurred()) SWIG_fail
;
19101 arg4
= (int) SWIG_AsInt(obj3
);
19102 if (PyErr_Occurred()) SWIG_fail
;
19105 arg5
= (int) SWIG_AsInt(obj4
);
19106 if (PyErr_Occurred()) SWIG_fail
;
19109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19110 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
19112 wxPyEndAllowThreads(__tstate
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19115 Py_INCREF(Py_None
); resultobj
= Py_None
;
19122 static PyObject
*_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19123 PyObject
*resultobj
;
19124 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19127 int arg4
= (int) 0 ;
19128 int arg5
= (int) 0 ;
19129 PyObject
* obj0
= 0 ;
19130 PyObject
* obj1
= 0 ;
19131 PyObject
* obj2
= 0 ;
19132 PyObject
* obj3
= 0 ;
19133 PyObject
* obj4
= 0 ;
19134 char *kwnames
[] = {
19135 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19141 arg2
= (double) SWIG_AsDouble(obj1
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19143 arg3
= (double) SWIG_AsDouble(obj2
);
19144 if (PyErr_Occurred()) SWIG_fail
;
19146 arg4
= (int) SWIG_AsInt(obj3
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19150 arg5
= (int) SWIG_AsInt(obj4
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19155 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
19157 wxPyEndAllowThreads(__tstate
);
19158 if (PyErr_Occurred()) SWIG_fail
;
19160 Py_INCREF(Py_None
); resultobj
= Py_None
;
19167 static PyObject
*_wrap_PyDividedShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19168 PyObject
*resultobj
;
19169 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19172 int arg4
= (int) 0 ;
19173 int arg5
= (int) 0 ;
19174 PyObject
* obj0
= 0 ;
19175 PyObject
* obj1
= 0 ;
19176 PyObject
* obj2
= 0 ;
19177 PyObject
* obj3
= 0 ;
19178 PyObject
* obj4
= 0 ;
19179 char *kwnames
[] = {
19180 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19186 arg2
= (double) SWIG_AsDouble(obj1
);
19187 if (PyErr_Occurred()) SWIG_fail
;
19188 arg3
= (double) SWIG_AsDouble(obj2
);
19189 if (PyErr_Occurred()) SWIG_fail
;
19191 arg4
= (int) SWIG_AsInt(obj3
);
19192 if (PyErr_Occurred()) SWIG_fail
;
19195 arg5
= (int) SWIG_AsInt(obj4
);
19196 if (PyErr_Occurred()) SWIG_fail
;
19199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19200 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
19202 wxPyEndAllowThreads(__tstate
);
19203 if (PyErr_Occurred()) SWIG_fail
;
19205 Py_INCREF(Py_None
); resultobj
= Py_None
;
19212 static PyObject
*_wrap_PyDividedShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19213 PyObject
*resultobj
;
19214 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19217 PyObject
* obj0
= 0 ;
19218 PyObject
* obj1
= 0 ;
19219 PyObject
* obj2
= 0 ;
19220 char *kwnames
[] = {
19221 (char *) "self",(char *) "x",(char *) "y", NULL
19224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19227 arg2
= (double) SWIG_AsDouble(obj1
);
19228 if (PyErr_Occurred()) SWIG_fail
;
19229 arg3
= (double) SWIG_AsDouble(obj2
);
19230 if (PyErr_Occurred()) SWIG_fail
;
19232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19233 (arg1
)->base_OnSize(arg2
,arg3
);
19235 wxPyEndAllowThreads(__tstate
);
19236 if (PyErr_Occurred()) SWIG_fail
;
19238 Py_INCREF(Py_None
); resultobj
= Py_None
;
19245 static PyObject
*_wrap_PyDividedShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19246 PyObject
*resultobj
;
19247 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19253 bool arg7
= (bool) True
;
19255 PyObject
* obj0
= 0 ;
19256 PyObject
* obj1
= 0 ;
19257 PyObject
* obj2
= 0 ;
19258 PyObject
* obj3
= 0 ;
19259 PyObject
* obj4
= 0 ;
19260 PyObject
* obj5
= 0 ;
19261 PyObject
* obj6
= 0 ;
19262 char *kwnames
[] = {
19263 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19270 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19272 if (arg2
== NULL
) {
19273 PyErr_SetString(PyExc_TypeError
,"null reference");
19276 arg3
= (double) SWIG_AsDouble(obj2
);
19277 if (PyErr_Occurred()) SWIG_fail
;
19278 arg4
= (double) SWIG_AsDouble(obj3
);
19279 if (PyErr_Occurred()) SWIG_fail
;
19280 arg5
= (double) SWIG_AsDouble(obj4
);
19281 if (PyErr_Occurred()) SWIG_fail
;
19282 arg6
= (double) SWIG_AsDouble(obj5
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19285 arg7
= (bool) SWIG_AsBool(obj6
);
19286 if (PyErr_Occurred()) SWIG_fail
;
19289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19290 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19292 wxPyEndAllowThreads(__tstate
);
19293 if (PyErr_Occurred()) SWIG_fail
;
19295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19302 static PyObject
*_wrap_PyDividedShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19303 PyObject
*resultobj
;
19304 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19310 bool arg7
= (bool) True
;
19311 PyObject
* obj0
= 0 ;
19312 PyObject
* obj1
= 0 ;
19313 PyObject
* obj2
= 0 ;
19314 PyObject
* obj3
= 0 ;
19315 PyObject
* obj4
= 0 ;
19316 PyObject
* obj5
= 0 ;
19317 PyObject
* obj6
= 0 ;
19318 char *kwnames
[] = {
19319 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19326 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19328 if (arg2
== NULL
) {
19329 PyErr_SetString(PyExc_TypeError
,"null reference");
19332 arg3
= (double) SWIG_AsDouble(obj2
);
19333 if (PyErr_Occurred()) SWIG_fail
;
19334 arg4
= (double) SWIG_AsDouble(obj3
);
19335 if (PyErr_Occurred()) SWIG_fail
;
19336 arg5
= (double) SWIG_AsDouble(obj4
);
19337 if (PyErr_Occurred()) SWIG_fail
;
19338 arg6
= (double) SWIG_AsDouble(obj5
);
19339 if (PyErr_Occurred()) SWIG_fail
;
19341 arg7
= (bool) SWIG_AsBool(obj6
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19346 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19348 wxPyEndAllowThreads(__tstate
);
19349 if (PyErr_Occurred()) SWIG_fail
;
19351 Py_INCREF(Py_None
); resultobj
= Py_None
;
19358 static PyObject
*_wrap_PyDividedShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19359 PyObject
*resultobj
;
19360 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19364 int arg5
= (int) 0 ;
19365 int arg6
= (int) 0 ;
19366 PyObject
* obj0
= 0 ;
19367 PyObject
* obj1
= 0 ;
19368 PyObject
* obj2
= 0 ;
19369 PyObject
* obj3
= 0 ;
19370 PyObject
* obj4
= 0 ;
19371 PyObject
* obj5
= 0 ;
19372 char *kwnames
[] = {
19373 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19379 arg2
= (bool) SWIG_AsBool(obj1
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19381 arg3
= (double) SWIG_AsDouble(obj2
);
19382 if (PyErr_Occurred()) SWIG_fail
;
19383 arg4
= (double) SWIG_AsDouble(obj3
);
19384 if (PyErr_Occurred()) SWIG_fail
;
19386 arg5
= (int) SWIG_AsInt(obj4
);
19387 if (PyErr_Occurred()) SWIG_fail
;
19390 arg6
= (int) SWIG_AsInt(obj5
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19395 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19397 wxPyEndAllowThreads(__tstate
);
19398 if (PyErr_Occurred()) SWIG_fail
;
19400 Py_INCREF(Py_None
); resultobj
= Py_None
;
19407 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19408 PyObject
*resultobj
;
19409 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19412 int arg4
= (int) 0 ;
19413 int arg5
= (int) 0 ;
19414 PyObject
* obj0
= 0 ;
19415 PyObject
* obj1
= 0 ;
19416 PyObject
* obj2
= 0 ;
19417 PyObject
* obj3
= 0 ;
19418 PyObject
* obj4
= 0 ;
19419 char *kwnames
[] = {
19420 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19426 arg2
= (double) SWIG_AsDouble(obj1
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19428 arg3
= (double) SWIG_AsDouble(obj2
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19431 arg4
= (int) SWIG_AsInt(obj3
);
19432 if (PyErr_Occurred()) SWIG_fail
;
19435 arg5
= (int) SWIG_AsInt(obj4
);
19436 if (PyErr_Occurred()) SWIG_fail
;
19439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19440 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
19442 wxPyEndAllowThreads(__tstate
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19445 Py_INCREF(Py_None
); resultobj
= Py_None
;
19452 static PyObject
*_wrap_PyDividedShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19453 PyObject
*resultobj
;
19454 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19457 int arg4
= (int) 0 ;
19458 int arg5
= (int) 0 ;
19459 PyObject
* obj0
= 0 ;
19460 PyObject
* obj1
= 0 ;
19461 PyObject
* obj2
= 0 ;
19462 PyObject
* obj3
= 0 ;
19463 PyObject
* obj4
= 0 ;
19464 char *kwnames
[] = {
19465 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19471 arg2
= (double) SWIG_AsDouble(obj1
);
19472 if (PyErr_Occurred()) SWIG_fail
;
19473 arg3
= (double) SWIG_AsDouble(obj2
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19476 arg4
= (int) SWIG_AsInt(obj3
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19480 arg5
= (int) SWIG_AsInt(obj4
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19485 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
19487 wxPyEndAllowThreads(__tstate
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19490 Py_INCREF(Py_None
); resultobj
= Py_None
;
19497 static PyObject
*_wrap_PyDividedShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19498 PyObject
*resultobj
;
19499 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19503 int arg5
= (int) 0 ;
19504 int arg6
= (int) 0 ;
19505 PyObject
* obj0
= 0 ;
19506 PyObject
* obj1
= 0 ;
19507 PyObject
* obj2
= 0 ;
19508 PyObject
* obj3
= 0 ;
19509 PyObject
* obj4
= 0 ;
19510 PyObject
* obj5
= 0 ;
19511 char *kwnames
[] = {
19512 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19518 arg2
= (bool) SWIG_AsBool(obj1
);
19519 if (PyErr_Occurred()) SWIG_fail
;
19520 arg3
= (double) SWIG_AsDouble(obj2
);
19521 if (PyErr_Occurred()) SWIG_fail
;
19522 arg4
= (double) SWIG_AsDouble(obj3
);
19523 if (PyErr_Occurred()) SWIG_fail
;
19525 arg5
= (int) SWIG_AsInt(obj4
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19529 arg6
= (int) SWIG_AsInt(obj5
);
19530 if (PyErr_Occurred()) SWIG_fail
;
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19534 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
19536 wxPyEndAllowThreads(__tstate
);
19537 if (PyErr_Occurred()) SWIG_fail
;
19539 Py_INCREF(Py_None
); resultobj
= Py_None
;
19546 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19547 PyObject
*resultobj
;
19548 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19551 int arg4
= (int) 0 ;
19552 int arg5
= (int) 0 ;
19553 PyObject
* obj0
= 0 ;
19554 PyObject
* obj1
= 0 ;
19555 PyObject
* obj2
= 0 ;
19556 PyObject
* obj3
= 0 ;
19557 PyObject
* obj4
= 0 ;
19558 char *kwnames
[] = {
19559 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19565 arg2
= (double) SWIG_AsDouble(obj1
);
19566 if (PyErr_Occurred()) SWIG_fail
;
19567 arg3
= (double) SWIG_AsDouble(obj2
);
19568 if (PyErr_Occurred()) SWIG_fail
;
19570 arg4
= (int) SWIG_AsInt(obj3
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19574 arg5
= (int) SWIG_AsInt(obj4
);
19575 if (PyErr_Occurred()) SWIG_fail
;
19578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19579 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
19581 wxPyEndAllowThreads(__tstate
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19584 Py_INCREF(Py_None
); resultobj
= Py_None
;
19591 static PyObject
*_wrap_PyDividedShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19592 PyObject
*resultobj
;
19593 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19596 int arg4
= (int) 0 ;
19597 int arg5
= (int) 0 ;
19598 PyObject
* obj0
= 0 ;
19599 PyObject
* obj1
= 0 ;
19600 PyObject
* obj2
= 0 ;
19601 PyObject
* obj3
= 0 ;
19602 PyObject
* obj4
= 0 ;
19603 char *kwnames
[] = {
19604 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19610 arg2
= (double) SWIG_AsDouble(obj1
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19612 arg3
= (double) SWIG_AsDouble(obj2
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19615 arg4
= (int) SWIG_AsInt(obj3
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19619 arg5
= (int) SWIG_AsInt(obj4
);
19620 if (PyErr_Occurred()) SWIG_fail
;
19623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19624 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
19626 wxPyEndAllowThreads(__tstate
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19629 Py_INCREF(Py_None
); resultobj
= Py_None
;
19636 static PyObject
*_wrap_PyDividedShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19637 PyObject
*resultobj
;
19638 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19644 PyObject
* obj0
= 0 ;
19645 PyObject
* obj1
= 0 ;
19646 PyObject
* obj2
= 0 ;
19647 PyObject
* obj3
= 0 ;
19648 PyObject
* obj4
= 0 ;
19649 PyObject
* obj5
= 0 ;
19650 char *kwnames
[] = {
19651 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDividedShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19658 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19660 if (arg2
== NULL
) {
19661 PyErr_SetString(PyExc_TypeError
,"null reference");
19664 arg3
= (double) SWIG_AsDouble(obj2
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19666 arg4
= (double) SWIG_AsDouble(obj3
);
19667 if (PyErr_Occurred()) SWIG_fail
;
19668 arg5
= (double) SWIG_AsDouble(obj4
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19670 arg6
= (double) SWIG_AsDouble(obj5
);
19671 if (PyErr_Occurred()) SWIG_fail
;
19673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19674 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
19676 wxPyEndAllowThreads(__tstate
);
19677 if (PyErr_Occurred()) SWIG_fail
;
19679 Py_INCREF(Py_None
); resultobj
= Py_None
;
19686 static PyObject
*_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19687 PyObject
*resultobj
;
19688 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19690 PyObject
* obj0
= 0 ;
19691 PyObject
* obj1
= 0 ;
19692 char *kwnames
[] = {
19693 (char *) "self",(char *) "dc", NULL
19696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19702 if (arg2
== NULL
) {
19703 PyErr_SetString(PyExc_TypeError
,"null reference");
19707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19708 (arg1
)->base_OnDrawControlPoints(*arg2
);
19710 wxPyEndAllowThreads(__tstate
);
19711 if (PyErr_Occurred()) SWIG_fail
;
19713 Py_INCREF(Py_None
); resultobj
= Py_None
;
19720 static PyObject
*_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19721 PyObject
*resultobj
;
19722 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19724 PyObject
* obj0
= 0 ;
19725 PyObject
* obj1
= 0 ;
19726 char *kwnames
[] = {
19727 (char *) "self",(char *) "dc", NULL
19730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19734 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19736 if (arg2
== NULL
) {
19737 PyErr_SetString(PyExc_TypeError
,"null reference");
19741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19742 (arg1
)->base_OnEraseControlPoints(*arg2
);
19744 wxPyEndAllowThreads(__tstate
);
19745 if (PyErr_Occurred()) SWIG_fail
;
19747 Py_INCREF(Py_None
); resultobj
= Py_None
;
19754 static PyObject
*_wrap_PyDividedShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19755 PyObject
*resultobj
;
19756 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19758 bool arg3
= (bool) True
;
19759 PyObject
* obj0
= 0 ;
19760 PyObject
* obj1
= 0 ;
19761 PyObject
* obj2
= 0 ;
19762 char *kwnames
[] = {
19763 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19772 if (arg2
== NULL
) {
19773 PyErr_SetString(PyExc_TypeError
,"null reference");
19777 arg3
= (bool) SWIG_AsBool(obj2
);
19778 if (PyErr_Occurred()) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19787 Py_INCREF(Py_None
); resultobj
= Py_None
;
19794 static PyObject
*_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19795 PyObject
*resultobj
;
19796 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19797 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19801 int arg6
= (int) 0 ;
19802 int arg7
= (int) 0 ;
19803 PyObject
* obj0
= 0 ;
19804 PyObject
* obj1
= 0 ;
19805 PyObject
* obj2
= 0 ;
19806 PyObject
* obj3
= 0 ;
19807 PyObject
* obj4
= 0 ;
19808 PyObject
* obj5
= 0 ;
19809 PyObject
* obj6
= 0 ;
19810 char *kwnames
[] = {
19811 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDividedShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
19818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19819 arg3
= (bool) SWIG_AsBool(obj2
);
19820 if (PyErr_Occurred()) SWIG_fail
;
19821 arg4
= (double) SWIG_AsDouble(obj3
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19823 arg5
= (double) SWIG_AsDouble(obj4
);
19824 if (PyErr_Occurred()) SWIG_fail
;
19826 arg6
= (int) SWIG_AsInt(obj5
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19830 arg7
= (int) SWIG_AsInt(obj6
);
19831 if (PyErr_Occurred()) SWIG_fail
;
19834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19837 wxPyEndAllowThreads(__tstate
);
19838 if (PyErr_Occurred()) SWIG_fail
;
19840 Py_INCREF(Py_None
); resultobj
= Py_None
;
19847 static PyObject
*_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19848 PyObject
*resultobj
;
19849 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19850 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19853 int arg5
= (int) 0 ;
19854 int arg6
= (int) 0 ;
19855 PyObject
* obj0
= 0 ;
19856 PyObject
* obj1
= 0 ;
19857 PyObject
* obj2
= 0 ;
19858 PyObject
* obj3
= 0 ;
19859 PyObject
* obj4
= 0 ;
19860 PyObject
* obj5
= 0 ;
19861 char *kwnames
[] = {
19862 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
19869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19870 arg3
= (double) SWIG_AsDouble(obj2
);
19871 if (PyErr_Occurred()) SWIG_fail
;
19872 arg4
= (double) SWIG_AsDouble(obj3
);
19873 if (PyErr_Occurred()) SWIG_fail
;
19875 arg5
= (int) SWIG_AsInt(obj4
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19879 arg6
= (int) SWIG_AsInt(obj5
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19886 wxPyEndAllowThreads(__tstate
);
19887 if (PyErr_Occurred()) SWIG_fail
;
19889 Py_INCREF(Py_None
); resultobj
= Py_None
;
19896 static PyObject
*_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19897 PyObject
*resultobj
;
19898 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19899 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19902 int arg5
= (int) 0 ;
19903 int arg6
= (int) 0 ;
19904 PyObject
* obj0
= 0 ;
19905 PyObject
* obj1
= 0 ;
19906 PyObject
* obj2
= 0 ;
19907 PyObject
* obj3
= 0 ;
19908 PyObject
* obj4
= 0 ;
19909 PyObject
* obj5
= 0 ;
19910 char *kwnames
[] = {
19911 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
19918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19919 arg3
= (double) SWIG_AsDouble(obj2
);
19920 if (PyErr_Occurred()) SWIG_fail
;
19921 arg4
= (double) SWIG_AsDouble(obj3
);
19922 if (PyErr_Occurred()) SWIG_fail
;
19924 arg5
= (int) SWIG_AsInt(obj4
);
19925 if (PyErr_Occurred()) SWIG_fail
;
19928 arg6
= (int) SWIG_AsInt(obj5
);
19929 if (PyErr_Occurred()) SWIG_fail
;
19932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19933 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19935 wxPyEndAllowThreads(__tstate
);
19936 if (PyErr_Occurred()) SWIG_fail
;
19938 Py_INCREF(Py_None
); resultobj
= Py_None
;
19945 static PyObject
*_wrap_PyDividedShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19946 PyObject
*resultobj
;
19947 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19950 PyObject
* obj0
= 0 ;
19951 PyObject
* obj1
= 0 ;
19952 PyObject
* obj2
= 0 ;
19953 char *kwnames
[] = {
19954 (char *) "self",(char *) "w",(char *) "h", NULL
19957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19960 arg2
= (double) SWIG_AsDouble(obj1
);
19961 if (PyErr_Occurred()) SWIG_fail
;
19962 arg3
= (double) SWIG_AsDouble(obj2
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19966 (arg1
)->base_OnBeginSize(arg2
,arg3
);
19968 wxPyEndAllowThreads(__tstate
);
19969 if (PyErr_Occurred()) SWIG_fail
;
19971 Py_INCREF(Py_None
); resultobj
= Py_None
;
19978 static PyObject
*_wrap_PyDividedShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19979 PyObject
*resultobj
;
19980 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19983 PyObject
* obj0
= 0 ;
19984 PyObject
* obj1
= 0 ;
19985 PyObject
* obj2
= 0 ;
19986 char *kwnames
[] = {
19987 (char *) "self",(char *) "w",(char *) "h", NULL
19990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19993 arg2
= (double) SWIG_AsDouble(obj1
);
19994 if (PyErr_Occurred()) SWIG_fail
;
19995 arg3
= (double) SWIG_AsDouble(obj2
);
19996 if (PyErr_Occurred()) SWIG_fail
;
19998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19999 (arg1
)->base_OnEndSize(arg2
,arg3
);
20001 wxPyEndAllowThreads(__tstate
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20004 Py_INCREF(Py_None
); resultobj
= Py_None
;
20011 static PyObject
* PyDividedShape_swigregister(PyObject
*, PyObject
*args
) {
20013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20014 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape
, obj
);
20016 return Py_BuildValue((char *)"");
20018 static PyObject
*_wrap_new_PyDivisionShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20019 PyObject
*resultobj
;
20020 wxPyDivisionShape
*result
;
20021 char *kwnames
[] = {
20025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDivisionShape",kwnames
)) goto fail
;
20027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20028 result
= (wxPyDivisionShape
*)new wxPyDivisionShape();
20030 wxPyEndAllowThreads(__tstate
);
20031 if (PyErr_Occurred()) SWIG_fail
;
20034 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20042 static PyObject
*_wrap_PyDivisionShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20043 PyObject
*resultobj
;
20044 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20045 PyObject
*arg2
= (PyObject
*) 0 ;
20046 PyObject
*arg3
= (PyObject
*) 0 ;
20047 PyObject
* obj0
= 0 ;
20048 PyObject
* obj1
= 0 ;
20049 PyObject
* obj2
= 0 ;
20050 char *kwnames
[] = {
20051 (char *) "self",(char *) "self",(char *) "_class", NULL
20054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20061 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20063 wxPyEndAllowThreads(__tstate
);
20064 if (PyErr_Occurred()) SWIG_fail
;
20066 Py_INCREF(Py_None
); resultobj
= Py_None
;
20073 static PyObject
*_wrap_PyDivisionShape_AdjustBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20074 PyObject
*resultobj
;
20075 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20078 PyObject
* obj0
= 0 ;
20079 PyObject
* obj1
= 0 ;
20080 PyObject
* obj2
= 0 ;
20081 char *kwnames
[] = {
20082 (char *) "self",(char *) "bottom",(char *) "test", NULL
20085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustBottom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20088 arg2
= (double) SWIG_AsDouble(obj1
);
20089 if (PyErr_Occurred()) SWIG_fail
;
20090 arg3
= (bool) SWIG_AsBool(obj2
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20094 (arg1
)->AdjustBottom(arg2
,arg3
);
20096 wxPyEndAllowThreads(__tstate
);
20097 if (PyErr_Occurred()) SWIG_fail
;
20099 Py_INCREF(Py_None
); resultobj
= Py_None
;
20106 static PyObject
*_wrap_PyDivisionShape_AdjustLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20107 PyObject
*resultobj
;
20108 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20111 PyObject
* obj0
= 0 ;
20112 PyObject
* obj1
= 0 ;
20113 PyObject
* obj2
= 0 ;
20114 char *kwnames
[] = {
20115 (char *) "self",(char *) "left",(char *) "test", NULL
20118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustLeft",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20121 arg2
= (double) SWIG_AsDouble(obj1
);
20122 if (PyErr_Occurred()) SWIG_fail
;
20123 arg3
= (bool) SWIG_AsBool(obj2
);
20124 if (PyErr_Occurred()) SWIG_fail
;
20126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20127 (arg1
)->AdjustLeft(arg2
,arg3
);
20129 wxPyEndAllowThreads(__tstate
);
20130 if (PyErr_Occurred()) SWIG_fail
;
20132 Py_INCREF(Py_None
); resultobj
= Py_None
;
20139 static PyObject
*_wrap_PyDivisionShape_AdjustRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20140 PyObject
*resultobj
;
20141 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20144 PyObject
* obj0
= 0 ;
20145 PyObject
* obj1
= 0 ;
20146 PyObject
* obj2
= 0 ;
20147 char *kwnames
[] = {
20148 (char *) "self",(char *) "right",(char *) "test", NULL
20151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustRight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20154 arg2
= (double) SWIG_AsDouble(obj1
);
20155 if (PyErr_Occurred()) SWIG_fail
;
20156 arg3
= (bool) SWIG_AsBool(obj2
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20160 (arg1
)->AdjustRight(arg2
,arg3
);
20162 wxPyEndAllowThreads(__tstate
);
20163 if (PyErr_Occurred()) SWIG_fail
;
20165 Py_INCREF(Py_None
); resultobj
= Py_None
;
20172 static PyObject
*_wrap_PyDivisionShape_AdjustTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20173 PyObject
*resultobj
;
20174 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20177 PyObject
* obj0
= 0 ;
20178 PyObject
* obj1
= 0 ;
20179 PyObject
* obj2
= 0 ;
20180 char *kwnames
[] = {
20181 (char *) "self",(char *) "top",(char *) "test", NULL
20184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20187 arg2
= (double) SWIG_AsDouble(obj1
);
20188 if (PyErr_Occurred()) SWIG_fail
;
20189 arg3
= (bool) SWIG_AsBool(obj2
);
20190 if (PyErr_Occurred()) SWIG_fail
;
20192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20193 (arg1
)->AdjustTop(arg2
,arg3
);
20195 wxPyEndAllowThreads(__tstate
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20198 Py_INCREF(Py_None
); resultobj
= Py_None
;
20205 static PyObject
*_wrap_PyDivisionShape_Divide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20206 PyObject
*resultobj
;
20207 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20209 PyObject
* obj0
= 0 ;
20210 PyObject
* obj1
= 0 ;
20211 char *kwnames
[] = {
20212 (char *) "self",(char *) "direction", NULL
20215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_Divide",kwnames
,&obj0
,&obj1
)) goto fail
;
20216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20218 arg2
= (int) SWIG_AsInt(obj1
);
20219 if (PyErr_Occurred()) SWIG_fail
;
20221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20222 (arg1
)->Divide(arg2
);
20224 wxPyEndAllowThreads(__tstate
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20227 Py_INCREF(Py_None
); resultobj
= Py_None
;
20234 static PyObject
*_wrap_PyDivisionShape_EditEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20235 PyObject
*resultobj
;
20236 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20238 PyObject
* obj0
= 0 ;
20239 PyObject
* obj1
= 0 ;
20240 char *kwnames
[] = {
20241 (char *) "self",(char *) "side", NULL
20244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_EditEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
20245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20247 arg2
= (int) SWIG_AsInt(obj1
);
20248 if (PyErr_Occurred()) SWIG_fail
;
20250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20251 (arg1
)->EditEdge(arg2
);
20253 wxPyEndAllowThreads(__tstate
);
20254 if (PyErr_Occurred()) SWIG_fail
;
20256 Py_INCREF(Py_None
); resultobj
= Py_None
;
20263 static PyObject
*_wrap_PyDivisionShape_GetBottomSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20264 PyObject
*resultobj
;
20265 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20266 wxPyDivisionShape
*result
;
20267 PyObject
* obj0
= 0 ;
20268 char *kwnames
[] = {
20269 (char *) "self", NULL
20272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetBottomSide",kwnames
,&obj0
)) goto fail
;
20273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20277 result
= (wxPyDivisionShape
*)(arg1
)->GetBottomSide();
20279 wxPyEndAllowThreads(__tstate
);
20280 if (PyErr_Occurred()) SWIG_fail
;
20283 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20291 static PyObject
*_wrap_PyDivisionShape_GetHandleSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20292 PyObject
*resultobj
;
20293 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20295 PyObject
* obj0
= 0 ;
20296 char *kwnames
[] = {
20297 (char *) "self", NULL
20300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetHandleSide",kwnames
,&obj0
)) goto fail
;
20301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20305 result
= (int)(arg1
)->GetHandleSide();
20307 wxPyEndAllowThreads(__tstate
);
20308 if (PyErr_Occurred()) SWIG_fail
;
20310 resultobj
= SWIG_FromInt((int)result
);
20317 static PyObject
*_wrap_PyDivisionShape_GetLeftSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20318 PyObject
*resultobj
;
20319 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20320 wxPyDivisionShape
*result
;
20321 PyObject
* obj0
= 0 ;
20322 char *kwnames
[] = {
20323 (char *) "self", NULL
20326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSide",kwnames
,&obj0
)) goto fail
;
20327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20331 result
= (wxPyDivisionShape
*)(arg1
)->GetLeftSide();
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20337 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20345 static PyObject
*_wrap_PyDivisionShape_GetLeftSideColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
;
20347 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20349 PyObject
* obj0
= 0 ;
20350 char *kwnames
[] = {
20351 (char *) "self", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames
,&obj0
)) goto fail
;
20355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20359 result
= (arg1
)->GetLeftSideColour();
20361 wxPyEndAllowThreads(__tstate
);
20362 if (PyErr_Occurred()) SWIG_fail
;
20366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20377 static PyObject
*_wrap_PyDivisionShape_GetLeftSidePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20378 PyObject
*resultobj
;
20379 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20381 PyObject
* obj0
= 0 ;
20382 char *kwnames
[] = {
20383 (char *) "self", NULL
20386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames
,&obj0
)) goto fail
;
20387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20391 result
= (wxPen
*)(arg1
)->GetLeftSidePen();
20393 wxPyEndAllowThreads(__tstate
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
20403 static PyObject
*_wrap_PyDivisionShape_GetRightSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20404 PyObject
*resultobj
;
20405 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20406 wxPyDivisionShape
*result
;
20407 PyObject
* obj0
= 0 ;
20408 char *kwnames
[] = {
20409 (char *) "self", NULL
20412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetRightSide",kwnames
,&obj0
)) goto fail
;
20413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 result
= (wxPyDivisionShape
*)(arg1
)->GetRightSide();
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20423 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20431 static PyObject
*_wrap_PyDivisionShape_GetTopSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20432 PyObject
*resultobj
;
20433 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20434 wxPyDivisionShape
*result
;
20435 PyObject
* obj0
= 0 ;
20436 char *kwnames
[] = {
20437 (char *) "self", NULL
20440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSide",kwnames
,&obj0
)) goto fail
;
20441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20445 result
= (wxPyDivisionShape
*)(arg1
)->GetTopSide();
20447 wxPyEndAllowThreads(__tstate
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20451 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20459 static PyObject
*_wrap_PyDivisionShape_GetTopSidePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20460 PyObject
*resultobj
;
20461 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20463 PyObject
* obj0
= 0 ;
20464 char *kwnames
[] = {
20465 (char *) "self", NULL
20468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames
,&obj0
)) goto fail
;
20469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20473 result
= (wxPen
*)(arg1
)->GetTopSidePen();
20475 wxPyEndAllowThreads(__tstate
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
20485 static PyObject
*_wrap_PyDivisionShape_ResizeAdjoining(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20486 PyObject
*resultobj
;
20487 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20491 PyObject
* obj0
= 0 ;
20492 PyObject
* obj1
= 0 ;
20493 PyObject
* obj2
= 0 ;
20494 PyObject
* obj3
= 0 ;
20495 char *kwnames
[] = {
20496 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
20499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDivisionShape_ResizeAdjoining",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20502 arg2
= (int) SWIG_AsInt(obj1
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20504 arg3
= (double) SWIG_AsDouble(obj2
);
20505 if (PyErr_Occurred()) SWIG_fail
;
20506 arg4
= (bool) SWIG_AsBool(obj3
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20510 (arg1
)->ResizeAdjoining(arg2
,arg3
,arg4
);
20512 wxPyEndAllowThreads(__tstate
);
20513 if (PyErr_Occurred()) SWIG_fail
;
20515 Py_INCREF(Py_None
); resultobj
= Py_None
;
20522 static PyObject
*_wrap_PyDivisionShape_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20523 PyObject
*resultobj
;
20524 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20527 PyObject
* obj0
= 0 ;
20528 PyObject
* obj1
= 0 ;
20529 PyObject
* obj2
= 0 ;
20530 char *kwnames
[] = {
20531 (char *) "self",(char *) "x",(char *) "y", NULL
20534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20537 arg2
= (double) SWIG_AsDouble(obj1
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20539 arg3
= (double) SWIG_AsDouble(obj2
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20543 (arg1
)->PopupMenu(arg2
,arg3
);
20545 wxPyEndAllowThreads(__tstate
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20548 Py_INCREF(Py_None
); resultobj
= Py_None
;
20555 static PyObject
*_wrap_PyDivisionShape_SetBottomSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20556 PyObject
*resultobj
;
20557 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20558 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20559 PyObject
* obj0
= 0 ;
20560 PyObject
* obj1
= 0 ;
20561 char *kwnames
[] = {
20562 (char *) "self",(char *) "shape", NULL
20565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20572 (arg1
)->SetBottomSide(arg2
);
20574 wxPyEndAllowThreads(__tstate
);
20575 if (PyErr_Occurred()) SWIG_fail
;
20577 Py_INCREF(Py_None
); resultobj
= Py_None
;
20584 static PyObject
*_wrap_PyDivisionShape_SetHandleSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20585 PyObject
*resultobj
;
20586 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20588 PyObject
* obj0
= 0 ;
20589 PyObject
* obj1
= 0 ;
20590 char *kwnames
[] = {
20591 (char *) "self",(char *) "side", NULL
20594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetHandleSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20597 arg2
= (int) SWIG_AsInt(obj1
);
20598 if (PyErr_Occurred()) SWIG_fail
;
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 (arg1
)->SetHandleSide(arg2
);
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20606 Py_INCREF(Py_None
); resultobj
= Py_None
;
20613 static PyObject
*_wrap_PyDivisionShape_SetLeftSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20614 PyObject
*resultobj
;
20615 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20616 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20617 PyObject
* obj0
= 0 ;
20618 PyObject
* obj1
= 0 ;
20619 char *kwnames
[] = {
20620 (char *) "self",(char *) "shape", NULL
20623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20630 (arg1
)->SetLeftSide(arg2
);
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20635 Py_INCREF(Py_None
); resultobj
= Py_None
;
20642 static PyObject
*_wrap_PyDivisionShape_SetLeftSideColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20643 PyObject
*resultobj
;
20644 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20645 wxString
*arg2
= 0 ;
20646 bool temp2
= False
;
20647 PyObject
* obj0
= 0 ;
20648 PyObject
* obj1
= 0 ;
20649 char *kwnames
[] = {
20650 (char *) "self",(char *) "colour", NULL
20653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20657 arg2
= wxString_in_helper(obj1
);
20658 if (arg2
== NULL
) SWIG_fail
;
20662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20663 (arg1
)->SetLeftSideColour((wxString
const &)*arg2
);
20665 wxPyEndAllowThreads(__tstate
);
20666 if (PyErr_Occurred()) SWIG_fail
;
20668 Py_INCREF(Py_None
); resultobj
= Py_None
;
20683 static PyObject
*_wrap_PyDivisionShape_SetLeftSidePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20684 PyObject
*resultobj
;
20685 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20686 wxPen
*arg2
= (wxPen
*) 0 ;
20687 PyObject
* obj0
= 0 ;
20688 PyObject
* obj1
= 0 ;
20689 char *kwnames
[] = {
20690 (char *) "self",(char *) "pen", NULL
20693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
20694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20699 if (obj1
== Py_None
) {
20702 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
20703 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
20708 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
20715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20716 (arg1
)->SetLeftSidePen(arg2
);
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20721 Py_INCREF(Py_None
); resultobj
= Py_None
;
20728 static PyObject
*_wrap_PyDivisionShape_SetRightSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20729 PyObject
*resultobj
;
20730 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20731 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20732 PyObject
* obj0
= 0 ;
20733 PyObject
* obj1
= 0 ;
20734 char *kwnames
[] = {
20735 (char *) "self",(char *) "shape", NULL
20738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetRightSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 (arg1
)->SetRightSide(arg2
);
20747 wxPyEndAllowThreads(__tstate
);
20748 if (PyErr_Occurred()) SWIG_fail
;
20750 Py_INCREF(Py_None
); resultobj
= Py_None
;
20757 static PyObject
*_wrap_PyDivisionShape_SetTopSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20758 PyObject
*resultobj
;
20759 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20760 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20761 PyObject
* obj0
= 0 ;
20762 PyObject
* obj1
= 0 ;
20763 char *kwnames
[] = {
20764 (char *) "self",(char *) "shape", NULL
20767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20774 (arg1
)->SetTopSide(arg2
);
20776 wxPyEndAllowThreads(__tstate
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20779 Py_INCREF(Py_None
); resultobj
= Py_None
;
20786 static PyObject
*_wrap_PyDivisionShape_SetTopSideColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20787 PyObject
*resultobj
;
20788 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20789 wxString
*arg2
= 0 ;
20790 bool temp2
= False
;
20791 PyObject
* obj0
= 0 ;
20792 PyObject
* obj1
= 0 ;
20793 char *kwnames
[] = {
20794 (char *) "self",(char *) "colour", NULL
20797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20801 arg2
= wxString_in_helper(obj1
);
20802 if (arg2
== NULL
) SWIG_fail
;
20806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20807 (arg1
)->SetTopSideColour((wxString
const &)*arg2
);
20809 wxPyEndAllowThreads(__tstate
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20812 Py_INCREF(Py_None
); resultobj
= Py_None
;
20827 static PyObject
*_wrap_PyDivisionShape_SetTopSidePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20828 PyObject
*resultobj
;
20829 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20830 wxPen
*arg2
= (wxPen
*) 0 ;
20831 PyObject
* obj0
= 0 ;
20832 PyObject
* obj1
= 0 ;
20833 char *kwnames
[] = {
20834 (char *) "self",(char *) "pen", NULL
20837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
20838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20843 if (obj1
== Py_None
) {
20846 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
20847 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
20852 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
20859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20860 (arg1
)->SetTopSidePen(arg2
);
20862 wxPyEndAllowThreads(__tstate
);
20863 if (PyErr_Occurred()) SWIG_fail
;
20865 Py_INCREF(Py_None
); resultobj
= Py_None
;
20872 static PyObject
*_wrap_PyDivisionShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20873 PyObject
*resultobj
;
20874 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20875 PyObject
* obj0
= 0 ;
20876 char *kwnames
[] = {
20877 (char *) "self", NULL
20880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
20881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20885 (arg1
)->base_OnDelete();
20887 wxPyEndAllowThreads(__tstate
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20890 Py_INCREF(Py_None
); resultobj
= Py_None
;
20897 static PyObject
*_wrap_PyDivisionShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20898 PyObject
*resultobj
;
20899 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20901 PyObject
* obj0
= 0 ;
20902 PyObject
* obj1
= 0 ;
20903 char *kwnames
[] = {
20904 (char *) "self",(char *) "dc", NULL
20907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
20908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
20911 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20913 if (arg2
== NULL
) {
20914 PyErr_SetString(PyExc_TypeError
,"null reference");
20918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20919 (arg1
)->base_OnDraw(*arg2
);
20921 wxPyEndAllowThreads(__tstate
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20924 Py_INCREF(Py_None
); resultobj
= Py_None
;
20931 static PyObject
*_wrap_PyDivisionShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20932 PyObject
*resultobj
;
20933 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20935 PyObject
* obj0
= 0 ;
20936 PyObject
* obj1
= 0 ;
20937 char *kwnames
[] = {
20938 (char *) "self",(char *) "dc", NULL
20941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
20942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
20945 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20947 if (arg2
== NULL
) {
20948 PyErr_SetString(PyExc_TypeError
,"null reference");
20952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20953 (arg1
)->base_OnDrawContents(*arg2
);
20955 wxPyEndAllowThreads(__tstate
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20958 Py_INCREF(Py_None
); resultobj
= Py_None
;
20965 static PyObject
*_wrap_PyDivisionShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20966 PyObject
*resultobj
;
20967 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20969 bool arg3
= (bool) FALSE
;
20970 PyObject
* obj0
= 0 ;
20971 PyObject
* obj1
= 0 ;
20972 PyObject
* obj2
= 0 ;
20973 char *kwnames
[] = {
20974 (char *) "self",(char *) "dc",(char *) "erase", NULL
20977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
20981 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20983 if (arg2
== NULL
) {
20984 PyErr_SetString(PyExc_TypeError
,"null reference");
20988 arg3
= (bool) SWIG_AsBool(obj2
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
20995 wxPyEndAllowThreads(__tstate
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20998 Py_INCREF(Py_None
); resultobj
= Py_None
;
21005 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21006 PyObject
*resultobj
;
21007 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21009 PyObject
* obj0
= 0 ;
21010 PyObject
* obj1
= 0 ;
21011 char *kwnames
[] = {
21012 (char *) "self",(char *) "dc", NULL
21015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
21016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21021 if (arg2
== NULL
) {
21022 PyErr_SetString(PyExc_TypeError
,"null reference");
21026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21027 (arg1
)->base_OnMoveLinks(*arg2
);
21029 wxPyEndAllowThreads(__tstate
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21032 Py_INCREF(Py_None
); resultobj
= Py_None
;
21039 static PyObject
*_wrap_PyDivisionShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21040 PyObject
*resultobj
;
21041 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21043 PyObject
* obj0
= 0 ;
21044 PyObject
* obj1
= 0 ;
21045 char *kwnames
[] = {
21046 (char *) "self",(char *) "dc", NULL
21049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
21050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21053 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21055 if (arg2
== NULL
) {
21056 PyErr_SetString(PyExc_TypeError
,"null reference");
21060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21061 (arg1
)->base_OnErase(*arg2
);
21063 wxPyEndAllowThreads(__tstate
);
21064 if (PyErr_Occurred()) SWIG_fail
;
21066 Py_INCREF(Py_None
); resultobj
= Py_None
;
21073 static PyObject
*_wrap_PyDivisionShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21074 PyObject
*resultobj
;
21075 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21077 PyObject
* obj0
= 0 ;
21078 PyObject
* obj1
= 0 ;
21079 char *kwnames
[] = {
21080 (char *) "self",(char *) "dc", NULL
21083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21087 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21089 if (arg2
== NULL
) {
21090 PyErr_SetString(PyExc_TypeError
,"null reference");
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 (arg1
)->base_OnEraseContents(*arg2
);
21097 wxPyEndAllowThreads(__tstate
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21100 Py_INCREF(Py_None
); resultobj
= Py_None
;
21107 static PyObject
*_wrap_PyDivisionShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21108 PyObject
*resultobj
;
21109 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21111 PyObject
* obj0
= 0 ;
21112 PyObject
* obj1
= 0 ;
21113 char *kwnames
[] = {
21114 (char *) "self",(char *) "dc", NULL
21117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
21118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21121 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21123 if (arg2
== NULL
) {
21124 PyErr_SetString(PyExc_TypeError
,"null reference");
21128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21129 (arg1
)->base_OnHighlight(*arg2
);
21131 wxPyEndAllowThreads(__tstate
);
21132 if (PyErr_Occurred()) SWIG_fail
;
21134 Py_INCREF(Py_None
); resultobj
= Py_None
;
21141 static PyObject
*_wrap_PyDivisionShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21142 PyObject
*resultobj
;
21143 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21146 int arg4
= (int) 0 ;
21147 int arg5
= (int) 0 ;
21148 PyObject
* obj0
= 0 ;
21149 PyObject
* obj1
= 0 ;
21150 PyObject
* obj2
= 0 ;
21151 PyObject
* obj3
= 0 ;
21152 PyObject
* obj4
= 0 ;
21153 char *kwnames
[] = {
21154 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21160 arg2
= (double) SWIG_AsDouble(obj1
);
21161 if (PyErr_Occurred()) SWIG_fail
;
21162 arg3
= (double) SWIG_AsDouble(obj2
);
21163 if (PyErr_Occurred()) SWIG_fail
;
21165 arg4
= (int) SWIG_AsInt(obj3
);
21166 if (PyErr_Occurred()) SWIG_fail
;
21169 arg5
= (int) SWIG_AsInt(obj4
);
21170 if (PyErr_Occurred()) SWIG_fail
;
21173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21174 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
21176 wxPyEndAllowThreads(__tstate
);
21177 if (PyErr_Occurred()) SWIG_fail
;
21179 Py_INCREF(Py_None
); resultobj
= Py_None
;
21186 static PyObject
*_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21187 PyObject
*resultobj
;
21188 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21191 int arg4
= (int) 0 ;
21192 int arg5
= (int) 0 ;
21193 PyObject
* obj0
= 0 ;
21194 PyObject
* obj1
= 0 ;
21195 PyObject
* obj2
= 0 ;
21196 PyObject
* obj3
= 0 ;
21197 PyObject
* obj4
= 0 ;
21198 char *kwnames
[] = {
21199 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21205 arg2
= (double) SWIG_AsDouble(obj1
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21207 arg3
= (double) SWIG_AsDouble(obj2
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21210 arg4
= (int) SWIG_AsInt(obj3
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21214 arg5
= (int) SWIG_AsInt(obj4
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21219 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
21221 wxPyEndAllowThreads(__tstate
);
21222 if (PyErr_Occurred()) SWIG_fail
;
21224 Py_INCREF(Py_None
); resultobj
= Py_None
;
21231 static PyObject
*_wrap_PyDivisionShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21232 PyObject
*resultobj
;
21233 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21236 int arg4
= (int) 0 ;
21237 int arg5
= (int) 0 ;
21238 PyObject
* obj0
= 0 ;
21239 PyObject
* obj1
= 0 ;
21240 PyObject
* obj2
= 0 ;
21241 PyObject
* obj3
= 0 ;
21242 PyObject
* obj4
= 0 ;
21243 char *kwnames
[] = {
21244 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21250 arg2
= (double) SWIG_AsDouble(obj1
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21252 arg3
= (double) SWIG_AsDouble(obj2
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21255 arg4
= (int) SWIG_AsInt(obj3
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21259 arg5
= (int) SWIG_AsInt(obj4
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21264 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
21266 wxPyEndAllowThreads(__tstate
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21269 Py_INCREF(Py_None
); resultobj
= Py_None
;
21276 static PyObject
*_wrap_PyDivisionShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21277 PyObject
*resultobj
;
21278 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21281 PyObject
* obj0
= 0 ;
21282 PyObject
* obj1
= 0 ;
21283 PyObject
* obj2
= 0 ;
21284 char *kwnames
[] = {
21285 (char *) "self",(char *) "x",(char *) "y", NULL
21288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21291 arg2
= (double) SWIG_AsDouble(obj1
);
21292 if (PyErr_Occurred()) SWIG_fail
;
21293 arg3
= (double) SWIG_AsDouble(obj2
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21297 (arg1
)->base_OnSize(arg2
,arg3
);
21299 wxPyEndAllowThreads(__tstate
);
21300 if (PyErr_Occurred()) SWIG_fail
;
21302 Py_INCREF(Py_None
); resultobj
= Py_None
;
21309 static PyObject
*_wrap_PyDivisionShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21310 PyObject
*resultobj
;
21311 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21317 bool arg7
= (bool) True
;
21319 PyObject
* obj0
= 0 ;
21320 PyObject
* obj1
= 0 ;
21321 PyObject
* obj2
= 0 ;
21322 PyObject
* obj3
= 0 ;
21323 PyObject
* obj4
= 0 ;
21324 PyObject
* obj5
= 0 ;
21325 PyObject
* obj6
= 0 ;
21326 char *kwnames
[] = {
21327 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21333 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21334 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21336 if (arg2
== NULL
) {
21337 PyErr_SetString(PyExc_TypeError
,"null reference");
21340 arg3
= (double) SWIG_AsDouble(obj2
);
21341 if (PyErr_Occurred()) SWIG_fail
;
21342 arg4
= (double) SWIG_AsDouble(obj3
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21344 arg5
= (double) SWIG_AsDouble(obj4
);
21345 if (PyErr_Occurred()) SWIG_fail
;
21346 arg6
= (double) SWIG_AsDouble(obj5
);
21347 if (PyErr_Occurred()) SWIG_fail
;
21349 arg7
= (bool) SWIG_AsBool(obj6
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21354 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21356 wxPyEndAllowThreads(__tstate
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21366 static PyObject
*_wrap_PyDivisionShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
;
21368 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21374 bool arg7
= (bool) True
;
21375 PyObject
* obj0
= 0 ;
21376 PyObject
* obj1
= 0 ;
21377 PyObject
* obj2
= 0 ;
21378 PyObject
* obj3
= 0 ;
21379 PyObject
* obj4
= 0 ;
21380 PyObject
* obj5
= 0 ;
21381 PyObject
* obj6
= 0 ;
21382 char *kwnames
[] = {
21383 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21390 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21392 if (arg2
== NULL
) {
21393 PyErr_SetString(PyExc_TypeError
,"null reference");
21396 arg3
= (double) SWIG_AsDouble(obj2
);
21397 if (PyErr_Occurred()) SWIG_fail
;
21398 arg4
= (double) SWIG_AsDouble(obj3
);
21399 if (PyErr_Occurred()) SWIG_fail
;
21400 arg5
= (double) SWIG_AsDouble(obj4
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21402 arg6
= (double) SWIG_AsDouble(obj5
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21405 arg7
= (bool) SWIG_AsBool(obj6
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21410 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21412 wxPyEndAllowThreads(__tstate
);
21413 if (PyErr_Occurred()) SWIG_fail
;
21415 Py_INCREF(Py_None
); resultobj
= Py_None
;
21422 static PyObject
*_wrap_PyDivisionShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21423 PyObject
*resultobj
;
21424 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21428 int arg5
= (int) 0 ;
21429 int arg6
= (int) 0 ;
21430 PyObject
* obj0
= 0 ;
21431 PyObject
* obj1
= 0 ;
21432 PyObject
* obj2
= 0 ;
21433 PyObject
* obj3
= 0 ;
21434 PyObject
* obj4
= 0 ;
21435 PyObject
* obj5
= 0 ;
21436 char *kwnames
[] = {
21437 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21443 arg2
= (bool) SWIG_AsBool(obj1
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21445 arg3
= (double) SWIG_AsDouble(obj2
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21447 arg4
= (double) SWIG_AsDouble(obj3
);
21448 if (PyErr_Occurred()) SWIG_fail
;
21450 arg5
= (int) SWIG_AsInt(obj4
);
21451 if (PyErr_Occurred()) SWIG_fail
;
21454 arg6
= (int) SWIG_AsInt(obj5
);
21455 if (PyErr_Occurred()) SWIG_fail
;
21458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21459 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
21461 wxPyEndAllowThreads(__tstate
);
21462 if (PyErr_Occurred()) SWIG_fail
;
21464 Py_INCREF(Py_None
); resultobj
= Py_None
;
21471 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21472 PyObject
*resultobj
;
21473 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21476 int arg4
= (int) 0 ;
21477 int arg5
= (int) 0 ;
21478 PyObject
* obj0
= 0 ;
21479 PyObject
* obj1
= 0 ;
21480 PyObject
* obj2
= 0 ;
21481 PyObject
* obj3
= 0 ;
21482 PyObject
* obj4
= 0 ;
21483 char *kwnames
[] = {
21484 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21490 arg2
= (double) SWIG_AsDouble(obj1
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21492 arg3
= (double) SWIG_AsDouble(obj2
);
21493 if (PyErr_Occurred()) SWIG_fail
;
21495 arg4
= (int) SWIG_AsInt(obj3
);
21496 if (PyErr_Occurred()) SWIG_fail
;
21499 arg5
= (int) SWIG_AsInt(obj4
);
21500 if (PyErr_Occurred()) SWIG_fail
;
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21509 Py_INCREF(Py_None
); resultobj
= Py_None
;
21516 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21517 PyObject
*resultobj
;
21518 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21521 int arg4
= (int) 0 ;
21522 int arg5
= (int) 0 ;
21523 PyObject
* obj0
= 0 ;
21524 PyObject
* obj1
= 0 ;
21525 PyObject
* obj2
= 0 ;
21526 PyObject
* obj3
= 0 ;
21527 PyObject
* obj4
= 0 ;
21528 char *kwnames
[] = {
21529 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21535 arg2
= (double) SWIG_AsDouble(obj1
);
21536 if (PyErr_Occurred()) SWIG_fail
;
21537 arg3
= (double) SWIG_AsDouble(obj2
);
21538 if (PyErr_Occurred()) SWIG_fail
;
21540 arg4
= (int) SWIG_AsInt(obj3
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21544 arg5
= (int) SWIG_AsInt(obj4
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21549 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
21551 wxPyEndAllowThreads(__tstate
);
21552 if (PyErr_Occurred()) SWIG_fail
;
21554 Py_INCREF(Py_None
); resultobj
= Py_None
;
21561 static PyObject
*_wrap_PyDivisionShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21562 PyObject
*resultobj
;
21563 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21567 int arg5
= (int) 0 ;
21568 int arg6
= (int) 0 ;
21569 PyObject
* obj0
= 0 ;
21570 PyObject
* obj1
= 0 ;
21571 PyObject
* obj2
= 0 ;
21572 PyObject
* obj3
= 0 ;
21573 PyObject
* obj4
= 0 ;
21574 PyObject
* obj5
= 0 ;
21575 char *kwnames
[] = {
21576 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21582 arg2
= (bool) SWIG_AsBool(obj1
);
21583 if (PyErr_Occurred()) SWIG_fail
;
21584 arg3
= (double) SWIG_AsDouble(obj2
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21586 arg4
= (double) SWIG_AsDouble(obj3
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21589 arg5
= (int) SWIG_AsInt(obj4
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21593 arg6
= (int) SWIG_AsInt(obj5
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21598 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21603 Py_INCREF(Py_None
); resultobj
= Py_None
;
21610 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
;
21612 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21615 int arg4
= (int) 0 ;
21616 int arg5
= (int) 0 ;
21617 PyObject
* obj0
= 0 ;
21618 PyObject
* obj1
= 0 ;
21619 PyObject
* obj2
= 0 ;
21620 PyObject
* obj3
= 0 ;
21621 PyObject
* obj4
= 0 ;
21622 char *kwnames
[] = {
21623 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21629 arg2
= (double) SWIG_AsDouble(obj1
);
21630 if (PyErr_Occurred()) SWIG_fail
;
21631 arg3
= (double) SWIG_AsDouble(obj2
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21634 arg4
= (int) SWIG_AsInt(obj3
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21638 arg5
= (int) SWIG_AsInt(obj4
);
21639 if (PyErr_Occurred()) SWIG_fail
;
21642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21643 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
21645 wxPyEndAllowThreads(__tstate
);
21646 if (PyErr_Occurred()) SWIG_fail
;
21648 Py_INCREF(Py_None
); resultobj
= Py_None
;
21655 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21656 PyObject
*resultobj
;
21657 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21660 int arg4
= (int) 0 ;
21661 int arg5
= (int) 0 ;
21662 PyObject
* obj0
= 0 ;
21663 PyObject
* obj1
= 0 ;
21664 PyObject
* obj2
= 0 ;
21665 PyObject
* obj3
= 0 ;
21666 PyObject
* obj4
= 0 ;
21667 char *kwnames
[] = {
21668 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21674 arg2
= (double) SWIG_AsDouble(obj1
);
21675 if (PyErr_Occurred()) SWIG_fail
;
21676 arg3
= (double) SWIG_AsDouble(obj2
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21679 arg4
= (int) SWIG_AsInt(obj3
);
21680 if (PyErr_Occurred()) SWIG_fail
;
21683 arg5
= (int) SWIG_AsInt(obj4
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 Py_INCREF(Py_None
); resultobj
= Py_None
;
21700 static PyObject
*_wrap_PyDivisionShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21701 PyObject
*resultobj
;
21702 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21708 PyObject
* obj0
= 0 ;
21709 PyObject
* obj1
= 0 ;
21710 PyObject
* obj2
= 0 ;
21711 PyObject
* obj3
= 0 ;
21712 PyObject
* obj4
= 0 ;
21713 PyObject
* obj5
= 0 ;
21714 char *kwnames
[] = {
21715 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
21718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDivisionShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21724 if (arg2
== NULL
) {
21725 PyErr_SetString(PyExc_TypeError
,"null reference");
21728 arg3
= (double) SWIG_AsDouble(obj2
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21730 arg4
= (double) SWIG_AsDouble(obj3
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21732 arg5
= (double) SWIG_AsDouble(obj4
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21734 arg6
= (double) SWIG_AsDouble(obj5
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21738 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
21740 wxPyEndAllowThreads(__tstate
);
21741 if (PyErr_Occurred()) SWIG_fail
;
21743 Py_INCREF(Py_None
); resultobj
= Py_None
;
21750 static PyObject
*_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21751 PyObject
*resultobj
;
21752 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21754 PyObject
* obj0
= 0 ;
21755 PyObject
* obj1
= 0 ;
21756 char *kwnames
[] = {
21757 (char *) "self",(char *) "dc", NULL
21760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
21761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21764 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21766 if (arg2
== NULL
) {
21767 PyErr_SetString(PyExc_TypeError
,"null reference");
21771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21772 (arg1
)->base_OnDrawControlPoints(*arg2
);
21774 wxPyEndAllowThreads(__tstate
);
21775 if (PyErr_Occurred()) SWIG_fail
;
21777 Py_INCREF(Py_None
); resultobj
= Py_None
;
21784 static PyObject
*_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21785 PyObject
*resultobj
;
21786 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21788 PyObject
* obj0
= 0 ;
21789 PyObject
* obj1
= 0 ;
21790 char *kwnames
[] = {
21791 (char *) "self",(char *) "dc", NULL
21794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
21795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21800 if (arg2
== NULL
) {
21801 PyErr_SetString(PyExc_TypeError
,"null reference");
21805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21806 (arg1
)->base_OnEraseControlPoints(*arg2
);
21808 wxPyEndAllowThreads(__tstate
);
21809 if (PyErr_Occurred()) SWIG_fail
;
21811 Py_INCREF(Py_None
); resultobj
= Py_None
;
21818 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21819 PyObject
*resultobj
;
21820 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21822 bool arg3
= (bool) True
;
21823 PyObject
* obj0
= 0 ;
21824 PyObject
* obj1
= 0 ;
21825 PyObject
* obj2
= 0 ;
21826 char *kwnames
[] = {
21827 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
21830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21834 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21836 if (arg2
== NULL
) {
21837 PyErr_SetString(PyExc_TypeError
,"null reference");
21841 arg3
= (bool) SWIG_AsBool(obj2
);
21842 if (PyErr_Occurred()) SWIG_fail
;
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21851 Py_INCREF(Py_None
); resultobj
= Py_None
;
21858 static PyObject
*_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21859 PyObject
*resultobj
;
21860 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21861 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
21865 int arg6
= (int) 0 ;
21866 int arg7
= (int) 0 ;
21867 PyObject
* obj0
= 0 ;
21868 PyObject
* obj1
= 0 ;
21869 PyObject
* obj2
= 0 ;
21870 PyObject
* obj3
= 0 ;
21871 PyObject
* obj4
= 0 ;
21872 PyObject
* obj5
= 0 ;
21873 PyObject
* obj6
= 0 ;
21874 char *kwnames
[] = {
21875 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDivisionShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21881 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
21882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21883 arg3
= (bool) SWIG_AsBool(obj2
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21885 arg4
= (double) SWIG_AsDouble(obj3
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21887 arg5
= (double) SWIG_AsDouble(obj4
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21890 arg6
= (int) SWIG_AsInt(obj5
);
21891 if (PyErr_Occurred()) SWIG_fail
;
21894 arg7
= (int) SWIG_AsInt(obj6
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21899 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21901 wxPyEndAllowThreads(__tstate
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21904 Py_INCREF(Py_None
); resultobj
= Py_None
;
21911 static PyObject
*_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21912 PyObject
*resultobj
;
21913 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21914 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
21917 int arg5
= (int) 0 ;
21918 int arg6
= (int) 0 ;
21919 PyObject
* obj0
= 0 ;
21920 PyObject
* obj1
= 0 ;
21921 PyObject
* obj2
= 0 ;
21922 PyObject
* obj3
= 0 ;
21923 PyObject
* obj4
= 0 ;
21924 PyObject
* obj5
= 0 ;
21925 char *kwnames
[] = {
21926 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
21933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21934 arg3
= (double) SWIG_AsDouble(obj2
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21936 arg4
= (double) SWIG_AsDouble(obj3
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21939 arg5
= (int) SWIG_AsInt(obj4
);
21940 if (PyErr_Occurred()) SWIG_fail
;
21943 arg6
= (int) SWIG_AsInt(obj5
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21948 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
21950 wxPyEndAllowThreads(__tstate
);
21951 if (PyErr_Occurred()) SWIG_fail
;
21953 Py_INCREF(Py_None
); resultobj
= Py_None
;
21960 static PyObject
*_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21961 PyObject
*resultobj
;
21962 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21963 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
21966 int arg5
= (int) 0 ;
21967 int arg6
= (int) 0 ;
21968 PyObject
* obj0
= 0 ;
21969 PyObject
* obj1
= 0 ;
21970 PyObject
* obj2
= 0 ;
21971 PyObject
* obj3
= 0 ;
21972 PyObject
* obj4
= 0 ;
21973 PyObject
* obj5
= 0 ;
21974 char *kwnames
[] = {
21975 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21981 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
21982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21983 arg3
= (double) SWIG_AsDouble(obj2
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21985 arg4
= (double) SWIG_AsDouble(obj3
);
21986 if (PyErr_Occurred()) SWIG_fail
;
21988 arg5
= (int) SWIG_AsInt(obj4
);
21989 if (PyErr_Occurred()) SWIG_fail
;
21992 arg6
= (int) SWIG_AsInt(obj5
);
21993 if (PyErr_Occurred()) SWIG_fail
;
21996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21997 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
21999 wxPyEndAllowThreads(__tstate
);
22000 if (PyErr_Occurred()) SWIG_fail
;
22002 Py_INCREF(Py_None
); resultobj
= Py_None
;
22009 static PyObject
*_wrap_PyDivisionShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22010 PyObject
*resultobj
;
22011 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22014 PyObject
* obj0
= 0 ;
22015 PyObject
* obj1
= 0 ;
22016 PyObject
* obj2
= 0 ;
22017 char *kwnames
[] = {
22018 (char *) "self",(char *) "w",(char *) "h", NULL
22021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22024 arg2
= (double) SWIG_AsDouble(obj1
);
22025 if (PyErr_Occurred()) SWIG_fail
;
22026 arg3
= (double) SWIG_AsDouble(obj2
);
22027 if (PyErr_Occurred()) SWIG_fail
;
22029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22030 (arg1
)->base_OnBeginSize(arg2
,arg3
);
22032 wxPyEndAllowThreads(__tstate
);
22033 if (PyErr_Occurred()) SWIG_fail
;
22035 Py_INCREF(Py_None
); resultobj
= Py_None
;
22042 static PyObject
*_wrap_PyDivisionShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22043 PyObject
*resultobj
;
22044 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22047 PyObject
* obj0
= 0 ;
22048 PyObject
* obj1
= 0 ;
22049 PyObject
* obj2
= 0 ;
22050 char *kwnames
[] = {
22051 (char *) "self",(char *) "w",(char *) "h", NULL
22054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22057 arg2
= (double) SWIG_AsDouble(obj1
);
22058 if (PyErr_Occurred()) SWIG_fail
;
22059 arg3
= (double) SWIG_AsDouble(obj2
);
22060 if (PyErr_Occurred()) SWIG_fail
;
22062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22063 (arg1
)->base_OnEndSize(arg2
,arg3
);
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22068 Py_INCREF(Py_None
); resultobj
= Py_None
;
22075 static PyObject
* PyDivisionShape_swigregister(PyObject
*, PyObject
*args
) {
22077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22078 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape
, obj
);
22080 return Py_BuildValue((char *)"");
22082 static PyObject
*_wrap_new_PyEllipseShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22083 PyObject
*resultobj
;
22084 double arg1
= (double) 0.0 ;
22085 double arg2
= (double) 0.0 ;
22086 wxPyEllipseShape
*result
;
22087 PyObject
* obj0
= 0 ;
22088 PyObject
* obj1
= 0 ;
22089 char *kwnames
[] = {
22090 (char *) "width",(char *) "height", NULL
22093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEllipseShape",kwnames
,&obj0
,&obj1
)) goto fail
;
22095 arg1
= (double) SWIG_AsDouble(obj0
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22099 arg2
= (double) SWIG_AsDouble(obj1
);
22100 if (PyErr_Occurred()) SWIG_fail
;
22103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22104 result
= (wxPyEllipseShape
*)new wxPyEllipseShape(arg1
,arg2
);
22106 wxPyEndAllowThreads(__tstate
);
22107 if (PyErr_Occurred()) SWIG_fail
;
22109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEllipseShape
, 1);
22116 static PyObject
*_wrap_PyEllipseShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22117 PyObject
*resultobj
;
22118 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22119 PyObject
*arg2
= (PyObject
*) 0 ;
22120 PyObject
*arg3
= (PyObject
*) 0 ;
22121 PyObject
* obj0
= 0 ;
22122 PyObject
* obj1
= 0 ;
22123 PyObject
* obj2
= 0 ;
22124 char *kwnames
[] = {
22125 (char *) "self",(char *) "self",(char *) "_class", NULL
22128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22135 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22137 wxPyEndAllowThreads(__tstate
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22140 Py_INCREF(Py_None
); resultobj
= Py_None
;
22147 static PyObject
*_wrap_PyEllipseShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
;
22149 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22151 PyObject
* obj0
= 0 ;
22152 PyObject
* obj1
= 0 ;
22153 char *kwnames
[] = {
22154 (char *) "self",(char *) "dc", NULL
22157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
22158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22160 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22161 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22163 if (arg2
== NULL
) {
22164 PyErr_SetString(PyExc_TypeError
,"null reference");
22168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22169 (arg1
)->base_OnDraw(*arg2
);
22171 wxPyEndAllowThreads(__tstate
);
22172 if (PyErr_Occurred()) SWIG_fail
;
22174 Py_INCREF(Py_None
); resultobj
= Py_None
;
22181 static PyObject
*_wrap_PyEllipseShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22182 PyObject
*resultobj
;
22183 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22185 PyObject
* obj0
= 0 ;
22186 PyObject
* obj1
= 0 ;
22187 char *kwnames
[] = {
22188 (char *) "self",(char *) "dc", NULL
22191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22195 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22197 if (arg2
== NULL
) {
22198 PyErr_SetString(PyExc_TypeError
,"null reference");
22202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22203 (arg1
)->base_OnDrawContents(*arg2
);
22205 wxPyEndAllowThreads(__tstate
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22208 Py_INCREF(Py_None
); resultobj
= Py_None
;
22215 static PyObject
*_wrap_PyEllipseShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22216 PyObject
*resultobj
;
22217 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22219 bool arg3
= (bool) FALSE
;
22220 PyObject
* obj0
= 0 ;
22221 PyObject
* obj1
= 0 ;
22222 PyObject
* obj2
= 0 ;
22223 char *kwnames
[] = {
22224 (char *) "self",(char *) "dc",(char *) "erase", NULL
22227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22231 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22233 if (arg2
== NULL
) {
22234 PyErr_SetString(PyExc_TypeError
,"null reference");
22238 arg3
= (bool) SWIG_AsBool(obj2
);
22239 if (PyErr_Occurred()) SWIG_fail
;
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22248 Py_INCREF(Py_None
); resultobj
= Py_None
;
22255 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22256 PyObject
*resultobj
;
22257 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22259 PyObject
* obj0
= 0 ;
22260 PyObject
* obj1
= 0 ;
22261 char *kwnames
[] = {
22262 (char *) "self",(char *) "dc", NULL
22265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
22266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22269 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22271 if (arg2
== NULL
) {
22272 PyErr_SetString(PyExc_TypeError
,"null reference");
22276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22277 (arg1
)->base_OnMoveLinks(*arg2
);
22279 wxPyEndAllowThreads(__tstate
);
22280 if (PyErr_Occurred()) SWIG_fail
;
22282 Py_INCREF(Py_None
); resultobj
= Py_None
;
22289 static PyObject
*_wrap_PyEllipseShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22290 PyObject
*resultobj
;
22291 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22293 PyObject
* obj0
= 0 ;
22294 PyObject
* obj1
= 0 ;
22295 char *kwnames
[] = {
22296 (char *) "self",(char *) "dc", NULL
22299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
22300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22302 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22303 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22305 if (arg2
== NULL
) {
22306 PyErr_SetString(PyExc_TypeError
,"null reference");
22310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22311 (arg1
)->base_OnErase(*arg2
);
22313 wxPyEndAllowThreads(__tstate
);
22314 if (PyErr_Occurred()) SWIG_fail
;
22316 Py_INCREF(Py_None
); resultobj
= Py_None
;
22323 static PyObject
*_wrap_PyEllipseShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22324 PyObject
*resultobj
;
22325 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22327 PyObject
* obj0
= 0 ;
22328 PyObject
* obj1
= 0 ;
22329 char *kwnames
[] = {
22330 (char *) "self",(char *) "dc", NULL
22333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22336 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22337 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22339 if (arg2
== NULL
) {
22340 PyErr_SetString(PyExc_TypeError
,"null reference");
22344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22345 (arg1
)->base_OnEraseContents(*arg2
);
22347 wxPyEndAllowThreads(__tstate
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22350 Py_INCREF(Py_None
); resultobj
= Py_None
;
22357 static PyObject
*_wrap_PyEllipseShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22358 PyObject
*resultobj
;
22359 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22361 PyObject
* obj0
= 0 ;
22362 PyObject
* obj1
= 0 ;
22363 char *kwnames
[] = {
22364 (char *) "self",(char *) "dc", NULL
22367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
22368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22371 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22373 if (arg2
== NULL
) {
22374 PyErr_SetString(PyExc_TypeError
,"null reference");
22378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22379 (arg1
)->base_OnHighlight(*arg2
);
22381 wxPyEndAllowThreads(__tstate
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22384 Py_INCREF(Py_None
); resultobj
= Py_None
;
22391 static PyObject
*_wrap_PyEllipseShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22392 PyObject
*resultobj
;
22393 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22396 int arg4
= (int) 0 ;
22397 int arg5
= (int) 0 ;
22398 PyObject
* obj0
= 0 ;
22399 PyObject
* obj1
= 0 ;
22400 PyObject
* obj2
= 0 ;
22401 PyObject
* obj3
= 0 ;
22402 PyObject
* obj4
= 0 ;
22403 char *kwnames
[] = {
22404 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22410 arg2
= (double) SWIG_AsDouble(obj1
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22412 arg3
= (double) SWIG_AsDouble(obj2
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22415 arg4
= (int) SWIG_AsInt(obj3
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22419 arg5
= (int) SWIG_AsInt(obj4
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22424 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
22426 wxPyEndAllowThreads(__tstate
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22429 Py_INCREF(Py_None
); resultobj
= Py_None
;
22436 static PyObject
*_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22437 PyObject
*resultobj
;
22438 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22441 int arg4
= (int) 0 ;
22442 int arg5
= (int) 0 ;
22443 PyObject
* obj0
= 0 ;
22444 PyObject
* obj1
= 0 ;
22445 PyObject
* obj2
= 0 ;
22446 PyObject
* obj3
= 0 ;
22447 PyObject
* obj4
= 0 ;
22448 char *kwnames
[] = {
22449 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22455 arg2
= (double) SWIG_AsDouble(obj1
);
22456 if (PyErr_Occurred()) SWIG_fail
;
22457 arg3
= (double) SWIG_AsDouble(obj2
);
22458 if (PyErr_Occurred()) SWIG_fail
;
22460 arg4
= (int) SWIG_AsInt(obj3
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22464 arg5
= (int) SWIG_AsInt(obj4
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22469 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22474 Py_INCREF(Py_None
); resultobj
= Py_None
;
22481 static PyObject
*_wrap_PyEllipseShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22482 PyObject
*resultobj
;
22483 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22486 int arg4
= (int) 0 ;
22487 int arg5
= (int) 0 ;
22488 PyObject
* obj0
= 0 ;
22489 PyObject
* obj1
= 0 ;
22490 PyObject
* obj2
= 0 ;
22491 PyObject
* obj3
= 0 ;
22492 PyObject
* obj4
= 0 ;
22493 char *kwnames
[] = {
22494 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22500 arg2
= (double) SWIG_AsDouble(obj1
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22502 arg3
= (double) SWIG_AsDouble(obj2
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22505 arg4
= (int) SWIG_AsInt(obj3
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22509 arg5
= (int) SWIG_AsInt(obj4
);
22510 if (PyErr_Occurred()) SWIG_fail
;
22513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22514 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
22516 wxPyEndAllowThreads(__tstate
);
22517 if (PyErr_Occurred()) SWIG_fail
;
22519 Py_INCREF(Py_None
); resultobj
= Py_None
;
22526 static PyObject
*_wrap_PyEllipseShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22527 PyObject
*resultobj
;
22528 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22531 PyObject
* obj0
= 0 ;
22532 PyObject
* obj1
= 0 ;
22533 PyObject
* obj2
= 0 ;
22534 char *kwnames
[] = {
22535 (char *) "self",(char *) "x",(char *) "y", NULL
22538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22541 arg2
= (double) SWIG_AsDouble(obj1
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22543 arg3
= (double) SWIG_AsDouble(obj2
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22547 (arg1
)->base_OnSize(arg2
,arg3
);
22549 wxPyEndAllowThreads(__tstate
);
22550 if (PyErr_Occurred()) SWIG_fail
;
22552 Py_INCREF(Py_None
); resultobj
= Py_None
;
22559 static PyObject
*_wrap_PyEllipseShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22560 PyObject
*resultobj
;
22561 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22567 bool arg7
= (bool) True
;
22569 PyObject
* obj0
= 0 ;
22570 PyObject
* obj1
= 0 ;
22571 PyObject
* obj2
= 0 ;
22572 PyObject
* obj3
= 0 ;
22573 PyObject
* obj4
= 0 ;
22574 PyObject
* obj5
= 0 ;
22575 PyObject
* obj6
= 0 ;
22576 char *kwnames
[] = {
22577 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22584 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22586 if (arg2
== NULL
) {
22587 PyErr_SetString(PyExc_TypeError
,"null reference");
22590 arg3
= (double) SWIG_AsDouble(obj2
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22592 arg4
= (double) SWIG_AsDouble(obj3
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22594 arg5
= (double) SWIG_AsDouble(obj4
);
22595 if (PyErr_Occurred()) SWIG_fail
;
22596 arg6
= (double) SWIG_AsDouble(obj5
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22599 arg7
= (bool) SWIG_AsBool(obj6
);
22600 if (PyErr_Occurred()) SWIG_fail
;
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22604 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22606 wxPyEndAllowThreads(__tstate
);
22607 if (PyErr_Occurred()) SWIG_fail
;
22609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22616 static PyObject
*_wrap_PyEllipseShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22617 PyObject
*resultobj
;
22618 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22624 bool arg7
= (bool) True
;
22625 PyObject
* obj0
= 0 ;
22626 PyObject
* obj1
= 0 ;
22627 PyObject
* obj2
= 0 ;
22628 PyObject
* obj3
= 0 ;
22629 PyObject
* obj4
= 0 ;
22630 PyObject
* obj5
= 0 ;
22631 PyObject
* obj6
= 0 ;
22632 char *kwnames
[] = {
22633 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22640 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22642 if (arg2
== NULL
) {
22643 PyErr_SetString(PyExc_TypeError
,"null reference");
22646 arg3
= (double) SWIG_AsDouble(obj2
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22648 arg4
= (double) SWIG_AsDouble(obj3
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22650 arg5
= (double) SWIG_AsDouble(obj4
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22652 arg6
= (double) SWIG_AsDouble(obj5
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 arg7
= (bool) SWIG_AsBool(obj6
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22660 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22662 wxPyEndAllowThreads(__tstate
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22665 Py_INCREF(Py_None
); resultobj
= Py_None
;
22672 static PyObject
*_wrap_PyEllipseShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22673 PyObject
*resultobj
;
22674 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22678 int arg5
= (int) 0 ;
22679 int arg6
= (int) 0 ;
22680 PyObject
* obj0
= 0 ;
22681 PyObject
* obj1
= 0 ;
22682 PyObject
* obj2
= 0 ;
22683 PyObject
* obj3
= 0 ;
22684 PyObject
* obj4
= 0 ;
22685 PyObject
* obj5
= 0 ;
22686 char *kwnames
[] = {
22687 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22693 arg2
= (bool) SWIG_AsBool(obj1
);
22694 if (PyErr_Occurred()) SWIG_fail
;
22695 arg3
= (double) SWIG_AsDouble(obj2
);
22696 if (PyErr_Occurred()) SWIG_fail
;
22697 arg4
= (double) SWIG_AsDouble(obj3
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22700 arg5
= (int) SWIG_AsInt(obj4
);
22701 if (PyErr_Occurred()) SWIG_fail
;
22704 arg6
= (int) SWIG_AsInt(obj5
);
22705 if (PyErr_Occurred()) SWIG_fail
;
22708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22709 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22711 wxPyEndAllowThreads(__tstate
);
22712 if (PyErr_Occurred()) SWIG_fail
;
22714 Py_INCREF(Py_None
); resultobj
= Py_None
;
22721 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22722 PyObject
*resultobj
;
22723 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22726 int arg4
= (int) 0 ;
22727 int arg5
= (int) 0 ;
22728 PyObject
* obj0
= 0 ;
22729 PyObject
* obj1
= 0 ;
22730 PyObject
* obj2
= 0 ;
22731 PyObject
* obj3
= 0 ;
22732 PyObject
* obj4
= 0 ;
22733 char *kwnames
[] = {
22734 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22740 arg2
= (double) SWIG_AsDouble(obj1
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22742 arg3
= (double) SWIG_AsDouble(obj2
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22745 arg4
= (int) SWIG_AsInt(obj3
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22749 arg5
= (int) SWIG_AsInt(obj4
);
22750 if (PyErr_Occurred()) SWIG_fail
;
22753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22754 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
22756 wxPyEndAllowThreads(__tstate
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22759 Py_INCREF(Py_None
); resultobj
= Py_None
;
22766 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22767 PyObject
*resultobj
;
22768 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22771 int arg4
= (int) 0 ;
22772 int arg5
= (int) 0 ;
22773 PyObject
* obj0
= 0 ;
22774 PyObject
* obj1
= 0 ;
22775 PyObject
* obj2
= 0 ;
22776 PyObject
* obj3
= 0 ;
22777 PyObject
* obj4
= 0 ;
22778 char *kwnames
[] = {
22779 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22785 arg2
= (double) SWIG_AsDouble(obj1
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22787 arg3
= (double) SWIG_AsDouble(obj2
);
22788 if (PyErr_Occurred()) SWIG_fail
;
22790 arg4
= (int) SWIG_AsInt(obj3
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22794 arg5
= (int) SWIG_AsInt(obj4
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
22801 wxPyEndAllowThreads(__tstate
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22804 Py_INCREF(Py_None
); resultobj
= Py_None
;
22811 static PyObject
*_wrap_PyEllipseShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22812 PyObject
*resultobj
;
22813 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22817 int arg5
= (int) 0 ;
22818 int arg6
= (int) 0 ;
22819 PyObject
* obj0
= 0 ;
22820 PyObject
* obj1
= 0 ;
22821 PyObject
* obj2
= 0 ;
22822 PyObject
* obj3
= 0 ;
22823 PyObject
* obj4
= 0 ;
22824 PyObject
* obj5
= 0 ;
22825 char *kwnames
[] = {
22826 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22832 arg2
= (bool) SWIG_AsBool(obj1
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22834 arg3
= (double) SWIG_AsDouble(obj2
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22836 arg4
= (double) SWIG_AsDouble(obj3
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22839 arg5
= (int) SWIG_AsInt(obj4
);
22840 if (PyErr_Occurred()) SWIG_fail
;
22843 arg6
= (int) SWIG_AsInt(obj5
);
22844 if (PyErr_Occurred()) SWIG_fail
;
22847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22848 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
22850 wxPyEndAllowThreads(__tstate
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22853 Py_INCREF(Py_None
); resultobj
= Py_None
;
22860 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22861 PyObject
*resultobj
;
22862 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22865 int arg4
= (int) 0 ;
22866 int arg5
= (int) 0 ;
22867 PyObject
* obj0
= 0 ;
22868 PyObject
* obj1
= 0 ;
22869 PyObject
* obj2
= 0 ;
22870 PyObject
* obj3
= 0 ;
22871 PyObject
* obj4
= 0 ;
22872 char *kwnames
[] = {
22873 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22879 arg2
= (double) SWIG_AsDouble(obj1
);
22880 if (PyErr_Occurred()) SWIG_fail
;
22881 arg3
= (double) SWIG_AsDouble(obj2
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22884 arg4
= (int) SWIG_AsInt(obj3
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22888 arg5
= (int) SWIG_AsInt(obj4
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22893 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
22895 wxPyEndAllowThreads(__tstate
);
22896 if (PyErr_Occurred()) SWIG_fail
;
22898 Py_INCREF(Py_None
); resultobj
= Py_None
;
22905 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22906 PyObject
*resultobj
;
22907 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22910 int arg4
= (int) 0 ;
22911 int arg5
= (int) 0 ;
22912 PyObject
* obj0
= 0 ;
22913 PyObject
* obj1
= 0 ;
22914 PyObject
* obj2
= 0 ;
22915 PyObject
* obj3
= 0 ;
22916 PyObject
* obj4
= 0 ;
22917 char *kwnames
[] = {
22918 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22924 arg2
= (double) SWIG_AsDouble(obj1
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22926 arg3
= (double) SWIG_AsDouble(obj2
);
22927 if (PyErr_Occurred()) SWIG_fail
;
22929 arg4
= (int) SWIG_AsInt(obj3
);
22930 if (PyErr_Occurred()) SWIG_fail
;
22933 arg5
= (int) SWIG_AsInt(obj4
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22943 Py_INCREF(Py_None
); resultobj
= Py_None
;
22950 static PyObject
*_wrap_PyEllipseShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22951 PyObject
*resultobj
;
22952 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22958 PyObject
* obj0
= 0 ;
22959 PyObject
* obj1
= 0 ;
22960 PyObject
* obj2
= 0 ;
22961 PyObject
* obj3
= 0 ;
22962 PyObject
* obj4
= 0 ;
22963 PyObject
* obj5
= 0 ;
22964 char *kwnames
[] = {
22965 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyEllipseShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22971 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22972 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22974 if (arg2
== NULL
) {
22975 PyErr_SetString(PyExc_TypeError
,"null reference");
22978 arg3
= (double) SWIG_AsDouble(obj2
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22980 arg4
= (double) SWIG_AsDouble(obj3
);
22981 if (PyErr_Occurred()) SWIG_fail
;
22982 arg5
= (double) SWIG_AsDouble(obj4
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22984 arg6
= (double) SWIG_AsDouble(obj5
);
22985 if (PyErr_Occurred()) SWIG_fail
;
22987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22988 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
22990 wxPyEndAllowThreads(__tstate
);
22991 if (PyErr_Occurred()) SWIG_fail
;
22993 Py_INCREF(Py_None
); resultobj
= Py_None
;
23000 static PyObject
*_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23001 PyObject
*resultobj
;
23002 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23004 PyObject
* obj0
= 0 ;
23005 PyObject
* obj1
= 0 ;
23006 char *kwnames
[] = {
23007 (char *) "self",(char *) "dc", NULL
23010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23016 if (arg2
== NULL
) {
23017 PyErr_SetString(PyExc_TypeError
,"null reference");
23021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 (arg1
)->base_OnDrawControlPoints(*arg2
);
23024 wxPyEndAllowThreads(__tstate
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23027 Py_INCREF(Py_None
); resultobj
= Py_None
;
23034 static PyObject
*_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23035 PyObject
*resultobj
;
23036 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23038 PyObject
* obj0
= 0 ;
23039 PyObject
* obj1
= 0 ;
23040 char *kwnames
[] = {
23041 (char *) "self",(char *) "dc", NULL
23044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23048 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23050 if (arg2
== NULL
) {
23051 PyErr_SetString(PyExc_TypeError
,"null reference");
23055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23056 (arg1
)->base_OnEraseControlPoints(*arg2
);
23058 wxPyEndAllowThreads(__tstate
);
23059 if (PyErr_Occurred()) SWIG_fail
;
23061 Py_INCREF(Py_None
); resultobj
= Py_None
;
23068 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23069 PyObject
*resultobj
;
23070 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23072 bool arg3
= (bool) True
;
23073 PyObject
* obj0
= 0 ;
23074 PyObject
* obj1
= 0 ;
23075 PyObject
* obj2
= 0 ;
23076 char *kwnames
[] = {
23077 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23084 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23086 if (arg2
== NULL
) {
23087 PyErr_SetString(PyExc_TypeError
,"null reference");
23091 arg3
= (bool) SWIG_AsBool(obj2
);
23092 if (PyErr_Occurred()) SWIG_fail
;
23095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
23098 wxPyEndAllowThreads(__tstate
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23101 Py_INCREF(Py_None
); resultobj
= Py_None
;
23108 static PyObject
*_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23109 PyObject
*resultobj
;
23110 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23111 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23115 int arg6
= (int) 0 ;
23116 int arg7
= (int) 0 ;
23117 PyObject
* obj0
= 0 ;
23118 PyObject
* obj1
= 0 ;
23119 PyObject
* obj2
= 0 ;
23120 PyObject
* obj3
= 0 ;
23121 PyObject
* obj4
= 0 ;
23122 PyObject
* obj5
= 0 ;
23123 PyObject
* obj6
= 0 ;
23124 char *kwnames
[] = {
23125 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyEllipseShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23131 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23133 arg3
= (bool) SWIG_AsBool(obj2
);
23134 if (PyErr_Occurred()) SWIG_fail
;
23135 arg4
= (double) SWIG_AsDouble(obj3
);
23136 if (PyErr_Occurred()) SWIG_fail
;
23137 arg5
= (double) SWIG_AsDouble(obj4
);
23138 if (PyErr_Occurred()) SWIG_fail
;
23140 arg6
= (int) SWIG_AsInt(obj5
);
23141 if (PyErr_Occurred()) SWIG_fail
;
23144 arg7
= (int) SWIG_AsInt(obj6
);
23145 if (PyErr_Occurred()) SWIG_fail
;
23148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23149 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23151 wxPyEndAllowThreads(__tstate
);
23152 if (PyErr_Occurred()) SWIG_fail
;
23154 Py_INCREF(Py_None
); resultobj
= Py_None
;
23161 static PyObject
*_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23162 PyObject
*resultobj
;
23163 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23164 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23167 int arg5
= (int) 0 ;
23168 int arg6
= (int) 0 ;
23169 PyObject
* obj0
= 0 ;
23170 PyObject
* obj1
= 0 ;
23171 PyObject
* obj2
= 0 ;
23172 PyObject
* obj3
= 0 ;
23173 PyObject
* obj4
= 0 ;
23174 PyObject
* obj5
= 0 ;
23175 char *kwnames
[] = {
23176 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23184 arg3
= (double) SWIG_AsDouble(obj2
);
23185 if (PyErr_Occurred()) SWIG_fail
;
23186 arg4
= (double) SWIG_AsDouble(obj3
);
23187 if (PyErr_Occurred()) SWIG_fail
;
23189 arg5
= (int) SWIG_AsInt(obj4
);
23190 if (PyErr_Occurred()) SWIG_fail
;
23193 arg6
= (int) SWIG_AsInt(obj5
);
23194 if (PyErr_Occurred()) SWIG_fail
;
23197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23198 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23200 wxPyEndAllowThreads(__tstate
);
23201 if (PyErr_Occurred()) SWIG_fail
;
23203 Py_INCREF(Py_None
); resultobj
= Py_None
;
23210 static PyObject
*_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23211 PyObject
*resultobj
;
23212 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23213 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23216 int arg5
= (int) 0 ;
23217 int arg6
= (int) 0 ;
23218 PyObject
* obj0
= 0 ;
23219 PyObject
* obj1
= 0 ;
23220 PyObject
* obj2
= 0 ;
23221 PyObject
* obj3
= 0 ;
23222 PyObject
* obj4
= 0 ;
23223 PyObject
* obj5
= 0 ;
23224 char *kwnames
[] = {
23225 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23233 arg3
= (double) SWIG_AsDouble(obj2
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23235 arg4
= (double) SWIG_AsDouble(obj3
);
23236 if (PyErr_Occurred()) SWIG_fail
;
23238 arg5
= (int) SWIG_AsInt(obj4
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23242 arg6
= (int) SWIG_AsInt(obj5
);
23243 if (PyErr_Occurred()) SWIG_fail
;
23246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23249 wxPyEndAllowThreads(__tstate
);
23250 if (PyErr_Occurred()) SWIG_fail
;
23252 Py_INCREF(Py_None
); resultobj
= Py_None
;
23259 static PyObject
*_wrap_PyEllipseShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23260 PyObject
*resultobj
;
23261 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23264 PyObject
* obj0
= 0 ;
23265 PyObject
* obj1
= 0 ;
23266 PyObject
* obj2
= 0 ;
23267 char *kwnames
[] = {
23268 (char *) "self",(char *) "w",(char *) "h", NULL
23271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23274 arg2
= (double) SWIG_AsDouble(obj1
);
23275 if (PyErr_Occurred()) SWIG_fail
;
23276 arg3
= (double) SWIG_AsDouble(obj2
);
23277 if (PyErr_Occurred()) SWIG_fail
;
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 (arg1
)->base_OnBeginSize(arg2
,arg3
);
23282 wxPyEndAllowThreads(__tstate
);
23283 if (PyErr_Occurred()) SWIG_fail
;
23285 Py_INCREF(Py_None
); resultobj
= Py_None
;
23292 static PyObject
*_wrap_PyEllipseShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23293 PyObject
*resultobj
;
23294 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23297 PyObject
* obj0
= 0 ;
23298 PyObject
* obj1
= 0 ;
23299 PyObject
* obj2
= 0 ;
23300 char *kwnames
[] = {
23301 (char *) "self",(char *) "w",(char *) "h", NULL
23304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23307 arg2
= (double) SWIG_AsDouble(obj1
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23309 arg3
= (double) SWIG_AsDouble(obj2
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23313 (arg1
)->base_OnEndSize(arg2
,arg3
);
23315 wxPyEndAllowThreads(__tstate
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23318 Py_INCREF(Py_None
); resultobj
= Py_None
;
23325 static PyObject
* PyEllipseShape_swigregister(PyObject
*, PyObject
*args
) {
23327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23328 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape
, obj
);
23330 return Py_BuildValue((char *)"");
23332 static PyObject
*_wrap_new_PyCircleShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23333 PyObject
*resultobj
;
23334 double arg1
= (double) 0.0 ;
23335 wxPyCircleShape
*result
;
23336 PyObject
* obj0
= 0 ;
23337 char *kwnames
[] = {
23338 (char *) "width", NULL
23341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyCircleShape",kwnames
,&obj0
)) goto fail
;
23343 arg1
= (double) SWIG_AsDouble(obj0
);
23344 if (PyErr_Occurred()) SWIG_fail
;
23347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23348 result
= (wxPyCircleShape
*)new wxPyCircleShape(arg1
);
23350 wxPyEndAllowThreads(__tstate
);
23351 if (PyErr_Occurred()) SWIG_fail
;
23353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCircleShape
, 1);
23360 static PyObject
*_wrap_PyCircleShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23361 PyObject
*resultobj
;
23362 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23363 PyObject
*arg2
= (PyObject
*) 0 ;
23364 PyObject
*arg3
= (PyObject
*) 0 ;
23365 PyObject
* obj0
= 0 ;
23366 PyObject
* obj1
= 0 ;
23367 PyObject
* obj2
= 0 ;
23368 char *kwnames
[] = {
23369 (char *) "self",(char *) "self",(char *) "_class", NULL
23372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23379 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23384 Py_INCREF(Py_None
); resultobj
= Py_None
;
23391 static PyObject
*_wrap_PyCircleShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23392 PyObject
*resultobj
;
23393 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23395 PyObject
* obj0
= 0 ;
23396 PyObject
* obj1
= 0 ;
23397 char *kwnames
[] = {
23398 (char *) "self",(char *) "dc", NULL
23401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
23402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23405 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23407 if (arg2
== NULL
) {
23408 PyErr_SetString(PyExc_TypeError
,"null reference");
23412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23413 (arg1
)->base_OnDraw(*arg2
);
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23418 Py_INCREF(Py_None
); resultobj
= Py_None
;
23425 static PyObject
*_wrap_PyCircleShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23426 PyObject
*resultobj
;
23427 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23429 PyObject
* obj0
= 0 ;
23430 PyObject
* obj1
= 0 ;
23431 char *kwnames
[] = {
23432 (char *) "self",(char *) "dc", NULL
23435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23439 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23441 if (arg2
== NULL
) {
23442 PyErr_SetString(PyExc_TypeError
,"null reference");
23446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23447 (arg1
)->base_OnDrawContents(*arg2
);
23449 wxPyEndAllowThreads(__tstate
);
23450 if (PyErr_Occurred()) SWIG_fail
;
23452 Py_INCREF(Py_None
); resultobj
= Py_None
;
23459 static PyObject
*_wrap_PyCircleShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23460 PyObject
*resultobj
;
23461 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23463 bool arg3
= (bool) FALSE
;
23464 PyObject
* obj0
= 0 ;
23465 PyObject
* obj1
= 0 ;
23466 PyObject
* obj2
= 0 ;
23467 char *kwnames
[] = {
23468 (char *) "self",(char *) "dc",(char *) "erase", NULL
23471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23475 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23477 if (arg2
== NULL
) {
23478 PyErr_SetString(PyExc_TypeError
,"null reference");
23482 arg3
= (bool) SWIG_AsBool(obj2
);
23483 if (PyErr_Occurred()) SWIG_fail
;
23486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23487 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
23489 wxPyEndAllowThreads(__tstate
);
23490 if (PyErr_Occurred()) SWIG_fail
;
23492 Py_INCREF(Py_None
); resultobj
= Py_None
;
23499 static PyObject
*_wrap_PyCircleShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23500 PyObject
*resultobj
;
23501 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23503 PyObject
* obj0
= 0 ;
23504 PyObject
* obj1
= 0 ;
23505 char *kwnames
[] = {
23506 (char *) "self",(char *) "dc", NULL
23509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
23510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23513 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23515 if (arg2
== NULL
) {
23516 PyErr_SetString(PyExc_TypeError
,"null reference");
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 (arg1
)->base_OnMoveLinks(*arg2
);
23523 wxPyEndAllowThreads(__tstate
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23526 Py_INCREF(Py_None
); resultobj
= Py_None
;
23533 static PyObject
*_wrap_PyCircleShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23534 PyObject
*resultobj
;
23535 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23537 PyObject
* obj0
= 0 ;
23538 PyObject
* obj1
= 0 ;
23539 char *kwnames
[] = {
23540 (char *) "self",(char *) "dc", NULL
23543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
23544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23547 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23549 if (arg2
== NULL
) {
23550 PyErr_SetString(PyExc_TypeError
,"null reference");
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 (arg1
)->base_OnErase(*arg2
);
23557 wxPyEndAllowThreads(__tstate
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23560 Py_INCREF(Py_None
); resultobj
= Py_None
;
23567 static PyObject
*_wrap_PyCircleShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23568 PyObject
*resultobj
;
23569 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23571 PyObject
* obj0
= 0 ;
23572 PyObject
* obj1
= 0 ;
23573 char *kwnames
[] = {
23574 (char *) "self",(char *) "dc", NULL
23577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23581 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23583 if (arg2
== NULL
) {
23584 PyErr_SetString(PyExc_TypeError
,"null reference");
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 (arg1
)->base_OnEraseContents(*arg2
);
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23594 Py_INCREF(Py_None
); resultobj
= Py_None
;
23601 static PyObject
*_wrap_PyCircleShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23602 PyObject
*resultobj
;
23603 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23605 PyObject
* obj0
= 0 ;
23606 PyObject
* obj1
= 0 ;
23607 char *kwnames
[] = {
23608 (char *) "self",(char *) "dc", NULL
23611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
23612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23615 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23617 if (arg2
== NULL
) {
23618 PyErr_SetString(PyExc_TypeError
,"null reference");
23622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23623 (arg1
)->base_OnHighlight(*arg2
);
23625 wxPyEndAllowThreads(__tstate
);
23626 if (PyErr_Occurred()) SWIG_fail
;
23628 Py_INCREF(Py_None
); resultobj
= Py_None
;
23635 static PyObject
*_wrap_PyCircleShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23636 PyObject
*resultobj
;
23637 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23640 int arg4
= (int) 0 ;
23641 int arg5
= (int) 0 ;
23642 PyObject
* obj0
= 0 ;
23643 PyObject
* obj1
= 0 ;
23644 PyObject
* obj2
= 0 ;
23645 PyObject
* obj3
= 0 ;
23646 PyObject
* obj4
= 0 ;
23647 char *kwnames
[] = {
23648 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23654 arg2
= (double) SWIG_AsDouble(obj1
);
23655 if (PyErr_Occurred()) SWIG_fail
;
23656 arg3
= (double) SWIG_AsDouble(obj2
);
23657 if (PyErr_Occurred()) SWIG_fail
;
23659 arg4
= (int) SWIG_AsInt(obj3
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23663 arg5
= (int) SWIG_AsInt(obj4
);
23664 if (PyErr_Occurred()) SWIG_fail
;
23667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23668 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23673 Py_INCREF(Py_None
); resultobj
= Py_None
;
23680 static PyObject
*_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23681 PyObject
*resultobj
;
23682 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23685 int arg4
= (int) 0 ;
23686 int arg5
= (int) 0 ;
23687 PyObject
* obj0
= 0 ;
23688 PyObject
* obj1
= 0 ;
23689 PyObject
* obj2
= 0 ;
23690 PyObject
* obj3
= 0 ;
23691 PyObject
* obj4
= 0 ;
23692 char *kwnames
[] = {
23693 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23699 arg2
= (double) SWIG_AsDouble(obj1
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23701 arg3
= (double) SWIG_AsDouble(obj2
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23704 arg4
= (int) SWIG_AsInt(obj3
);
23705 if (PyErr_Occurred()) SWIG_fail
;
23708 arg5
= (int) SWIG_AsInt(obj4
);
23709 if (PyErr_Occurred()) SWIG_fail
;
23712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23713 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
23715 wxPyEndAllowThreads(__tstate
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23718 Py_INCREF(Py_None
); resultobj
= Py_None
;
23725 static PyObject
*_wrap_PyCircleShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23726 PyObject
*resultobj
;
23727 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23730 int arg4
= (int) 0 ;
23731 int arg5
= (int) 0 ;
23732 PyObject
* obj0
= 0 ;
23733 PyObject
* obj1
= 0 ;
23734 PyObject
* obj2
= 0 ;
23735 PyObject
* obj3
= 0 ;
23736 PyObject
* obj4
= 0 ;
23737 char *kwnames
[] = {
23738 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23744 arg2
= (double) SWIG_AsDouble(obj1
);
23745 if (PyErr_Occurred()) SWIG_fail
;
23746 arg3
= (double) SWIG_AsDouble(obj2
);
23747 if (PyErr_Occurred()) SWIG_fail
;
23749 arg4
= (int) SWIG_AsInt(obj3
);
23750 if (PyErr_Occurred()) SWIG_fail
;
23753 arg5
= (int) SWIG_AsInt(obj4
);
23754 if (PyErr_Occurred()) SWIG_fail
;
23757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23758 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
23760 wxPyEndAllowThreads(__tstate
);
23761 if (PyErr_Occurred()) SWIG_fail
;
23763 Py_INCREF(Py_None
); resultobj
= Py_None
;
23770 static PyObject
*_wrap_PyCircleShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23771 PyObject
*resultobj
;
23772 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23775 PyObject
* obj0
= 0 ;
23776 PyObject
* obj1
= 0 ;
23777 PyObject
* obj2
= 0 ;
23778 char *kwnames
[] = {
23779 (char *) "self",(char *) "x",(char *) "y", NULL
23782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23785 arg2
= (double) SWIG_AsDouble(obj1
);
23786 if (PyErr_Occurred()) SWIG_fail
;
23787 arg3
= (double) SWIG_AsDouble(obj2
);
23788 if (PyErr_Occurred()) SWIG_fail
;
23790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23791 (arg1
)->base_OnSize(arg2
,arg3
);
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23796 Py_INCREF(Py_None
); resultobj
= Py_None
;
23803 static PyObject
*_wrap_PyCircleShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23804 PyObject
*resultobj
;
23805 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23811 bool arg7
= (bool) True
;
23813 PyObject
* obj0
= 0 ;
23814 PyObject
* obj1
= 0 ;
23815 PyObject
* obj2
= 0 ;
23816 PyObject
* obj3
= 0 ;
23817 PyObject
* obj4
= 0 ;
23818 PyObject
* obj5
= 0 ;
23819 PyObject
* obj6
= 0 ;
23820 char *kwnames
[] = {
23821 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23828 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23830 if (arg2
== NULL
) {
23831 PyErr_SetString(PyExc_TypeError
,"null reference");
23834 arg3
= (double) SWIG_AsDouble(obj2
);
23835 if (PyErr_Occurred()) SWIG_fail
;
23836 arg4
= (double) SWIG_AsDouble(obj3
);
23837 if (PyErr_Occurred()) SWIG_fail
;
23838 arg5
= (double) SWIG_AsDouble(obj4
);
23839 if (PyErr_Occurred()) SWIG_fail
;
23840 arg6
= (double) SWIG_AsDouble(obj5
);
23841 if (PyErr_Occurred()) SWIG_fail
;
23843 arg7
= (bool) SWIG_AsBool(obj6
);
23844 if (PyErr_Occurred()) SWIG_fail
;
23847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23848 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23850 wxPyEndAllowThreads(__tstate
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23860 static PyObject
*_wrap_PyCircleShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23861 PyObject
*resultobj
;
23862 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23868 bool arg7
= (bool) True
;
23869 PyObject
* obj0
= 0 ;
23870 PyObject
* obj1
= 0 ;
23871 PyObject
* obj2
= 0 ;
23872 PyObject
* obj3
= 0 ;
23873 PyObject
* obj4
= 0 ;
23874 PyObject
* obj5
= 0 ;
23875 PyObject
* obj6
= 0 ;
23876 char *kwnames
[] = {
23877 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23886 if (arg2
== NULL
) {
23887 PyErr_SetString(PyExc_TypeError
,"null reference");
23890 arg3
= (double) SWIG_AsDouble(obj2
);
23891 if (PyErr_Occurred()) SWIG_fail
;
23892 arg4
= (double) SWIG_AsDouble(obj3
);
23893 if (PyErr_Occurred()) SWIG_fail
;
23894 arg5
= (double) SWIG_AsDouble(obj4
);
23895 if (PyErr_Occurred()) SWIG_fail
;
23896 arg6
= (double) SWIG_AsDouble(obj5
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23899 arg7
= (bool) SWIG_AsBool(obj6
);
23900 if (PyErr_Occurred()) SWIG_fail
;
23903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23904 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23906 wxPyEndAllowThreads(__tstate
);
23907 if (PyErr_Occurred()) SWIG_fail
;
23909 Py_INCREF(Py_None
); resultobj
= Py_None
;
23916 static PyObject
*_wrap_PyCircleShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23917 PyObject
*resultobj
;
23918 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23922 int arg5
= (int) 0 ;
23923 int arg6
= (int) 0 ;
23924 PyObject
* obj0
= 0 ;
23925 PyObject
* obj1
= 0 ;
23926 PyObject
* obj2
= 0 ;
23927 PyObject
* obj3
= 0 ;
23928 PyObject
* obj4
= 0 ;
23929 PyObject
* obj5
= 0 ;
23930 char *kwnames
[] = {
23931 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23937 arg2
= (bool) SWIG_AsBool(obj1
);
23938 if (PyErr_Occurred()) SWIG_fail
;
23939 arg3
= (double) SWIG_AsDouble(obj2
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23941 arg4
= (double) SWIG_AsDouble(obj3
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23944 arg5
= (int) SWIG_AsInt(obj4
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23948 arg6
= (int) SWIG_AsInt(obj5
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23955 wxPyEndAllowThreads(__tstate
);
23956 if (PyErr_Occurred()) SWIG_fail
;
23958 Py_INCREF(Py_None
); resultobj
= Py_None
;
23965 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23966 PyObject
*resultobj
;
23967 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23970 int arg4
= (int) 0 ;
23971 int arg5
= (int) 0 ;
23972 PyObject
* obj0
= 0 ;
23973 PyObject
* obj1
= 0 ;
23974 PyObject
* obj2
= 0 ;
23975 PyObject
* obj3
= 0 ;
23976 PyObject
* obj4
= 0 ;
23977 char *kwnames
[] = {
23978 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23984 arg2
= (double) SWIG_AsDouble(obj1
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23986 arg3
= (double) SWIG_AsDouble(obj2
);
23987 if (PyErr_Occurred()) SWIG_fail
;
23989 arg4
= (int) SWIG_AsInt(obj3
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23993 arg5
= (int) SWIG_AsInt(obj4
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23998 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
24000 wxPyEndAllowThreads(__tstate
);
24001 if (PyErr_Occurred()) SWIG_fail
;
24003 Py_INCREF(Py_None
); resultobj
= Py_None
;
24010 static PyObject
*_wrap_PyCircleShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24011 PyObject
*resultobj
;
24012 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24015 int arg4
= (int) 0 ;
24016 int arg5
= (int) 0 ;
24017 PyObject
* obj0
= 0 ;
24018 PyObject
* obj1
= 0 ;
24019 PyObject
* obj2
= 0 ;
24020 PyObject
* obj3
= 0 ;
24021 PyObject
* obj4
= 0 ;
24022 char *kwnames
[] = {
24023 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24029 arg2
= (double) SWIG_AsDouble(obj1
);
24030 if (PyErr_Occurred()) SWIG_fail
;
24031 arg3
= (double) SWIG_AsDouble(obj2
);
24032 if (PyErr_Occurred()) SWIG_fail
;
24034 arg4
= (int) SWIG_AsInt(obj3
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24038 arg5
= (int) SWIG_AsInt(obj4
);
24039 if (PyErr_Occurred()) SWIG_fail
;
24042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24043 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
24045 wxPyEndAllowThreads(__tstate
);
24046 if (PyErr_Occurred()) SWIG_fail
;
24048 Py_INCREF(Py_None
); resultobj
= Py_None
;
24055 static PyObject
*_wrap_PyCircleShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24056 PyObject
*resultobj
;
24057 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24061 int arg5
= (int) 0 ;
24062 int arg6
= (int) 0 ;
24063 PyObject
* obj0
= 0 ;
24064 PyObject
* obj1
= 0 ;
24065 PyObject
* obj2
= 0 ;
24066 PyObject
* obj3
= 0 ;
24067 PyObject
* obj4
= 0 ;
24068 PyObject
* obj5
= 0 ;
24069 char *kwnames
[] = {
24070 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24076 arg2
= (bool) SWIG_AsBool(obj1
);
24077 if (PyErr_Occurred()) SWIG_fail
;
24078 arg3
= (double) SWIG_AsDouble(obj2
);
24079 if (PyErr_Occurred()) SWIG_fail
;
24080 arg4
= (double) SWIG_AsDouble(obj3
);
24081 if (PyErr_Occurred()) SWIG_fail
;
24083 arg5
= (int) SWIG_AsInt(obj4
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24087 arg6
= (int) SWIG_AsInt(obj5
);
24088 if (PyErr_Occurred()) SWIG_fail
;
24091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24092 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
24094 wxPyEndAllowThreads(__tstate
);
24095 if (PyErr_Occurred()) SWIG_fail
;
24097 Py_INCREF(Py_None
); resultobj
= Py_None
;
24104 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24105 PyObject
*resultobj
;
24106 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24109 int arg4
= (int) 0 ;
24110 int arg5
= (int) 0 ;
24111 PyObject
* obj0
= 0 ;
24112 PyObject
* obj1
= 0 ;
24113 PyObject
* obj2
= 0 ;
24114 PyObject
* obj3
= 0 ;
24115 PyObject
* obj4
= 0 ;
24116 char *kwnames
[] = {
24117 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24123 arg2
= (double) SWIG_AsDouble(obj1
);
24124 if (PyErr_Occurred()) SWIG_fail
;
24125 arg3
= (double) SWIG_AsDouble(obj2
);
24126 if (PyErr_Occurred()) SWIG_fail
;
24128 arg4
= (int) SWIG_AsInt(obj3
);
24129 if (PyErr_Occurred()) SWIG_fail
;
24132 arg5
= (int) SWIG_AsInt(obj4
);
24133 if (PyErr_Occurred()) SWIG_fail
;
24136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24137 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
24139 wxPyEndAllowThreads(__tstate
);
24140 if (PyErr_Occurred()) SWIG_fail
;
24142 Py_INCREF(Py_None
); resultobj
= Py_None
;
24149 static PyObject
*_wrap_PyCircleShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24150 PyObject
*resultobj
;
24151 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24154 int arg4
= (int) 0 ;
24155 int arg5
= (int) 0 ;
24156 PyObject
* obj0
= 0 ;
24157 PyObject
* obj1
= 0 ;
24158 PyObject
* obj2
= 0 ;
24159 PyObject
* obj3
= 0 ;
24160 PyObject
* obj4
= 0 ;
24161 char *kwnames
[] = {
24162 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24168 arg2
= (double) SWIG_AsDouble(obj1
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24170 arg3
= (double) SWIG_AsDouble(obj2
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24173 arg4
= (int) SWIG_AsInt(obj3
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24177 arg5
= (int) SWIG_AsInt(obj4
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24182 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
24184 wxPyEndAllowThreads(__tstate
);
24185 if (PyErr_Occurred()) SWIG_fail
;
24187 Py_INCREF(Py_None
); resultobj
= Py_None
;
24194 static PyObject
*_wrap_PyCircleShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24195 PyObject
*resultobj
;
24196 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24202 PyObject
* obj0
= 0 ;
24203 PyObject
* obj1
= 0 ;
24204 PyObject
* obj2
= 0 ;
24205 PyObject
* obj3
= 0 ;
24206 PyObject
* obj4
= 0 ;
24207 PyObject
* obj5
= 0 ;
24208 char *kwnames
[] = {
24209 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyCircleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24216 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24218 if (arg2
== NULL
) {
24219 PyErr_SetString(PyExc_TypeError
,"null reference");
24222 arg3
= (double) SWIG_AsDouble(obj2
);
24223 if (PyErr_Occurred()) SWIG_fail
;
24224 arg4
= (double) SWIG_AsDouble(obj3
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24226 arg5
= (double) SWIG_AsDouble(obj4
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24228 arg6
= (double) SWIG_AsDouble(obj5
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24232 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
24234 wxPyEndAllowThreads(__tstate
);
24235 if (PyErr_Occurred()) SWIG_fail
;
24237 Py_INCREF(Py_None
); resultobj
= Py_None
;
24244 static PyObject
*_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24245 PyObject
*resultobj
;
24246 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24248 PyObject
* obj0
= 0 ;
24249 PyObject
* obj1
= 0 ;
24250 char *kwnames
[] = {
24251 (char *) "self",(char *) "dc", NULL
24254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24260 if (arg2
== NULL
) {
24261 PyErr_SetString(PyExc_TypeError
,"null reference");
24265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24266 (arg1
)->base_OnDrawControlPoints(*arg2
);
24268 wxPyEndAllowThreads(__tstate
);
24269 if (PyErr_Occurred()) SWIG_fail
;
24271 Py_INCREF(Py_None
); resultobj
= Py_None
;
24278 static PyObject
*_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24279 PyObject
*resultobj
;
24280 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24282 PyObject
* obj0
= 0 ;
24283 PyObject
* obj1
= 0 ;
24284 char *kwnames
[] = {
24285 (char *) "self",(char *) "dc", NULL
24288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24292 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24294 if (arg2
== NULL
) {
24295 PyErr_SetString(PyExc_TypeError
,"null reference");
24299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24300 (arg1
)->base_OnEraseControlPoints(*arg2
);
24302 wxPyEndAllowThreads(__tstate
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24305 Py_INCREF(Py_None
); resultobj
= Py_None
;
24312 static PyObject
*_wrap_PyCircleShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24313 PyObject
*resultobj
;
24314 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24316 bool arg3
= (bool) True
;
24317 PyObject
* obj0
= 0 ;
24318 PyObject
* obj1
= 0 ;
24319 PyObject
* obj2
= 0 ;
24320 char *kwnames
[] = {
24321 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24327 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24328 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24330 if (arg2
== NULL
) {
24331 PyErr_SetString(PyExc_TypeError
,"null reference");
24335 arg3
= (bool) SWIG_AsBool(obj2
);
24336 if (PyErr_Occurred()) SWIG_fail
;
24339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24340 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
24342 wxPyEndAllowThreads(__tstate
);
24343 if (PyErr_Occurred()) SWIG_fail
;
24345 Py_INCREF(Py_None
); resultobj
= Py_None
;
24352 static PyObject
*_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24353 PyObject
*resultobj
;
24354 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24355 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24359 int arg6
= (int) 0 ;
24360 int arg7
= (int) 0 ;
24361 PyObject
* obj0
= 0 ;
24362 PyObject
* obj1
= 0 ;
24363 PyObject
* obj2
= 0 ;
24364 PyObject
* obj3
= 0 ;
24365 PyObject
* obj4
= 0 ;
24366 PyObject
* obj5
= 0 ;
24367 PyObject
* obj6
= 0 ;
24368 char *kwnames
[] = {
24369 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyCircleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24377 arg3
= (bool) SWIG_AsBool(obj2
);
24378 if (PyErr_Occurred()) SWIG_fail
;
24379 arg4
= (double) SWIG_AsDouble(obj3
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24381 arg5
= (double) SWIG_AsDouble(obj4
);
24382 if (PyErr_Occurred()) SWIG_fail
;
24384 arg6
= (int) SWIG_AsInt(obj5
);
24385 if (PyErr_Occurred()) SWIG_fail
;
24388 arg7
= (int) SWIG_AsInt(obj6
);
24389 if (PyErr_Occurred()) SWIG_fail
;
24392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24393 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24395 wxPyEndAllowThreads(__tstate
);
24396 if (PyErr_Occurred()) SWIG_fail
;
24398 Py_INCREF(Py_None
); resultobj
= Py_None
;
24405 static PyObject
*_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24406 PyObject
*resultobj
;
24407 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24408 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24411 int arg5
= (int) 0 ;
24412 int arg6
= (int) 0 ;
24413 PyObject
* obj0
= 0 ;
24414 PyObject
* obj1
= 0 ;
24415 PyObject
* obj2
= 0 ;
24416 PyObject
* obj3
= 0 ;
24417 PyObject
* obj4
= 0 ;
24418 PyObject
* obj5
= 0 ;
24419 char *kwnames
[] = {
24420 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24428 arg3
= (double) SWIG_AsDouble(obj2
);
24429 if (PyErr_Occurred()) SWIG_fail
;
24430 arg4
= (double) SWIG_AsDouble(obj3
);
24431 if (PyErr_Occurred()) SWIG_fail
;
24433 arg5
= (int) SWIG_AsInt(obj4
);
24434 if (PyErr_Occurred()) SWIG_fail
;
24437 arg6
= (int) SWIG_AsInt(obj5
);
24438 if (PyErr_Occurred()) SWIG_fail
;
24441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24442 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24444 wxPyEndAllowThreads(__tstate
);
24445 if (PyErr_Occurred()) SWIG_fail
;
24447 Py_INCREF(Py_None
); resultobj
= Py_None
;
24454 static PyObject
*_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24455 PyObject
*resultobj
;
24456 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24457 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24460 int arg5
= (int) 0 ;
24461 int arg6
= (int) 0 ;
24462 PyObject
* obj0
= 0 ;
24463 PyObject
* obj1
= 0 ;
24464 PyObject
* obj2
= 0 ;
24465 PyObject
* obj3
= 0 ;
24466 PyObject
* obj4
= 0 ;
24467 PyObject
* obj5
= 0 ;
24468 char *kwnames
[] = {
24469 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24477 arg3
= (double) SWIG_AsDouble(obj2
);
24478 if (PyErr_Occurred()) SWIG_fail
;
24479 arg4
= (double) SWIG_AsDouble(obj3
);
24480 if (PyErr_Occurred()) SWIG_fail
;
24482 arg5
= (int) SWIG_AsInt(obj4
);
24483 if (PyErr_Occurred()) SWIG_fail
;
24486 arg6
= (int) SWIG_AsInt(obj5
);
24487 if (PyErr_Occurred()) SWIG_fail
;
24490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24491 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24493 wxPyEndAllowThreads(__tstate
);
24494 if (PyErr_Occurred()) SWIG_fail
;
24496 Py_INCREF(Py_None
); resultobj
= Py_None
;
24503 static PyObject
*_wrap_PyCircleShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24504 PyObject
*resultobj
;
24505 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24508 PyObject
* obj0
= 0 ;
24509 PyObject
* obj1
= 0 ;
24510 PyObject
* obj2
= 0 ;
24511 char *kwnames
[] = {
24512 (char *) "self",(char *) "w",(char *) "h", NULL
24515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24518 arg2
= (double) SWIG_AsDouble(obj1
);
24519 if (PyErr_Occurred()) SWIG_fail
;
24520 arg3
= (double) SWIG_AsDouble(obj2
);
24521 if (PyErr_Occurred()) SWIG_fail
;
24523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24524 (arg1
)->base_OnBeginSize(arg2
,arg3
);
24526 wxPyEndAllowThreads(__tstate
);
24527 if (PyErr_Occurred()) SWIG_fail
;
24529 Py_INCREF(Py_None
); resultobj
= Py_None
;
24536 static PyObject
*_wrap_PyCircleShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24537 PyObject
*resultobj
;
24538 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24541 PyObject
* obj0
= 0 ;
24542 PyObject
* obj1
= 0 ;
24543 PyObject
* obj2
= 0 ;
24544 char *kwnames
[] = {
24545 (char *) "self",(char *) "w",(char *) "h", NULL
24548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24551 arg2
= (double) SWIG_AsDouble(obj1
);
24552 if (PyErr_Occurred()) SWIG_fail
;
24553 arg3
= (double) SWIG_AsDouble(obj2
);
24554 if (PyErr_Occurred()) SWIG_fail
;
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 (arg1
)->base_OnEndSize(arg2
,arg3
);
24559 wxPyEndAllowThreads(__tstate
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24562 Py_INCREF(Py_None
); resultobj
= Py_None
;
24569 static PyObject
* PyCircleShape_swigregister(PyObject
*, PyObject
*args
) {
24571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24572 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape
, obj
);
24574 return Py_BuildValue((char *)"");
24576 static PyObject
*_wrap_new_ArrowHead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24577 PyObject
*resultobj
;
24578 int arg1
= (int) 0 ;
24579 int arg2
= (int) 0 ;
24580 double arg3
= (double) 0.0 ;
24581 double arg4
= (double) 0.0 ;
24582 wxString
const &arg5_defvalue
= wxPyEmptyString
;
24583 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
24584 wxPseudoMetaFile
*arg6
= (wxPseudoMetaFile
*) NULL
;
24585 long arg7
= (long) -1 ;
24586 wxArrowHead
*result
;
24587 bool temp5
= False
;
24588 PyObject
* obj0
= 0 ;
24589 PyObject
* obj1
= 0 ;
24590 PyObject
* obj2
= 0 ;
24591 PyObject
* obj3
= 0 ;
24592 PyObject
* obj4
= 0 ;
24593 PyObject
* obj5
= 0 ;
24594 PyObject
* obj6
= 0 ;
24595 char *kwnames
[] = {
24596 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
24599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOO:new_ArrowHead",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24601 arg1
= (int) SWIG_AsInt(obj0
);
24602 if (PyErr_Occurred()) SWIG_fail
;
24605 arg2
= (int) SWIG_AsInt(obj1
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24609 arg3
= (double) SWIG_AsDouble(obj2
);
24610 if (PyErr_Occurred()) SWIG_fail
;
24613 arg4
= (double) SWIG_AsDouble(obj3
);
24614 if (PyErr_Occurred()) SWIG_fail
;
24618 arg5
= wxString_in_helper(obj4
);
24619 if (arg5
== NULL
) SWIG_fail
;
24624 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPseudoMetaFile
,
24625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24628 arg7
= (long) SWIG_AsLong(obj6
);
24629 if (PyErr_Occurred()) SWIG_fail
;
24632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 result
= (wxArrowHead
*)new wxArrowHead(arg1
,arg2
,arg3
,arg4
,(wxString
const &)*arg5
,arg6
,arg7
);
24635 wxPyEndAllowThreads(__tstate
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24639 resultobj
= wxPyMake_wxObject(result
);
24655 static PyObject
*_wrap_delete_ArrowHead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24656 PyObject
*resultobj
;
24657 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24658 PyObject
* obj0
= 0 ;
24659 char *kwnames
[] = {
24660 (char *) "self", NULL
24663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArrowHead",kwnames
,&obj0
)) goto fail
;
24664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24670 wxPyEndAllowThreads(__tstate
);
24671 if (PyErr_Occurred()) SWIG_fail
;
24673 Py_INCREF(Py_None
); resultobj
= Py_None
;
24680 static PyObject
*_wrap_ArrowHead__GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24681 PyObject
*resultobj
;
24682 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24684 PyObject
* obj0
= 0 ;
24685 char *kwnames
[] = {
24686 (char *) "self", NULL
24689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead__GetType",kwnames
,&obj0
)) goto fail
;
24690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24694 result
= (int)(arg1
)->_GetType();
24696 wxPyEndAllowThreads(__tstate
);
24697 if (PyErr_Occurred()) SWIG_fail
;
24699 resultobj
= SWIG_FromInt((int)result
);
24706 static PyObject
*_wrap_ArrowHead_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24707 PyObject
*resultobj
;
24708 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24710 PyObject
* obj0
= 0 ;
24711 char *kwnames
[] = {
24712 (char *) "self", NULL
24715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetPosition",kwnames
,&obj0
)) goto fail
;
24716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24720 result
= (int)(arg1
)->GetPosition();
24722 wxPyEndAllowThreads(__tstate
);
24723 if (PyErr_Occurred()) SWIG_fail
;
24725 resultobj
= SWIG_FromInt((int)result
);
24732 static PyObject
*_wrap_ArrowHead_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24733 PyObject
*resultobj
;
24734 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24736 PyObject
* obj0
= 0 ;
24737 PyObject
* obj1
= 0 ;
24738 char *kwnames
[] = {
24739 (char *) "self",(char *) "pos", NULL
24742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24745 arg2
= (int) SWIG_AsInt(obj1
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24749 (arg1
)->SetPosition(arg2
);
24751 wxPyEndAllowThreads(__tstate
);
24752 if (PyErr_Occurred()) SWIG_fail
;
24754 Py_INCREF(Py_None
); resultobj
= Py_None
;
24761 static PyObject
*_wrap_ArrowHead_GetXOffset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24762 PyObject
*resultobj
;
24763 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24765 PyObject
* obj0
= 0 ;
24766 char *kwnames
[] = {
24767 (char *) "self", NULL
24770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetXOffset",kwnames
,&obj0
)) goto fail
;
24771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24775 result
= (double)(arg1
)->GetXOffset();
24777 wxPyEndAllowThreads(__tstate
);
24778 if (PyErr_Occurred()) SWIG_fail
;
24780 resultobj
= SWIG_FromDouble((double)result
);
24787 static PyObject
*_wrap_ArrowHead_GetYOffset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24788 PyObject
*resultobj
;
24789 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24791 PyObject
* obj0
= 0 ;
24792 char *kwnames
[] = {
24793 (char *) "self", NULL
24796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetYOffset",kwnames
,&obj0
)) goto fail
;
24797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24801 result
= (double)(arg1
)->GetYOffset();
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24806 resultobj
= SWIG_FromDouble((double)result
);
24813 static PyObject
*_wrap_ArrowHead_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24814 PyObject
*resultobj
;
24815 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24817 PyObject
* obj0
= 0 ;
24818 char *kwnames
[] = {
24819 (char *) "self", NULL
24822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSpacing",kwnames
,&obj0
)) goto fail
;
24823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24827 result
= (double)(arg1
)->GetSpacing();
24829 wxPyEndAllowThreads(__tstate
);
24830 if (PyErr_Occurred()) SWIG_fail
;
24832 resultobj
= SWIG_FromDouble((double)result
);
24839 static PyObject
*_wrap_ArrowHead_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
;
24841 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24843 PyObject
* obj0
= 0 ;
24844 char *kwnames
[] = {
24845 (char *) "self", NULL
24848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSize",kwnames
,&obj0
)) goto fail
;
24849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24853 result
= (double)(arg1
)->GetSize();
24855 wxPyEndAllowThreads(__tstate
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24858 resultobj
= SWIG_FromDouble((double)result
);
24865 static PyObject
*_wrap_ArrowHead_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24866 PyObject
*resultobj
;
24867 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24869 PyObject
* obj0
= 0 ;
24870 char *kwnames
[] = {
24871 (char *) "self", NULL
24874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetName",kwnames
,&obj0
)) goto fail
;
24875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 result
= (arg1
)->GetName();
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24886 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24888 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24897 static PyObject
*_wrap_ArrowHead_SetXOffset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24898 PyObject
*resultobj
;
24899 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24901 PyObject
* obj0
= 0 ;
24902 PyObject
* obj1
= 0 ;
24903 char *kwnames
[] = {
24904 (char *) "self",(char *) "x", NULL
24907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetXOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
24908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24910 arg2
= (double) SWIG_AsDouble(obj1
);
24911 if (PyErr_Occurred()) SWIG_fail
;
24913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24914 (arg1
)->SetXOffset(arg2
);
24916 wxPyEndAllowThreads(__tstate
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24919 Py_INCREF(Py_None
); resultobj
= Py_None
;
24926 static PyObject
*_wrap_ArrowHead_SetYOffset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24927 PyObject
*resultobj
;
24928 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24930 PyObject
* obj0
= 0 ;
24931 PyObject
* obj1
= 0 ;
24932 char *kwnames
[] = {
24933 (char *) "self",(char *) "y", NULL
24936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetYOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
24937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24939 arg2
= (double) SWIG_AsDouble(obj1
);
24940 if (PyErr_Occurred()) SWIG_fail
;
24942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 (arg1
)->SetYOffset(arg2
);
24945 wxPyEndAllowThreads(__tstate
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24948 Py_INCREF(Py_None
); resultobj
= Py_None
;
24955 static PyObject
*_wrap_ArrowHead_GetMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24956 PyObject
*resultobj
;
24957 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24958 wxPseudoMetaFile
*result
;
24959 PyObject
* obj0
= 0 ;
24960 char *kwnames
[] = {
24961 (char *) "self", NULL
24964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetMetaFile",kwnames
,&obj0
)) goto fail
;
24965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24969 result
= (wxPseudoMetaFile
*)(arg1
)->GetMetaFile();
24971 wxPyEndAllowThreads(__tstate
);
24972 if (PyErr_Occurred()) SWIG_fail
;
24975 resultobj
= wxPyMake_wxObject(result
);
24983 static PyObject
*_wrap_ArrowHead_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24984 PyObject
*resultobj
;
24985 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24987 PyObject
* obj0
= 0 ;
24988 char *kwnames
[] = {
24989 (char *) "self", NULL
24992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetId",kwnames
,&obj0
)) goto fail
;
24993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 result
= (long)(arg1
)->GetId();
24999 wxPyEndAllowThreads(__tstate
);
25000 if (PyErr_Occurred()) SWIG_fail
;
25002 resultobj
= SWIG_FromLong((long)result
);
25009 static PyObject
*_wrap_ArrowHead_GetArrowEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25010 PyObject
*resultobj
;
25011 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25013 PyObject
* obj0
= 0 ;
25014 char *kwnames
[] = {
25015 (char *) "self", NULL
25018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowEnd",kwnames
,&obj0
)) goto fail
;
25019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25023 result
= (int)(arg1
)->GetArrowEnd();
25025 wxPyEndAllowThreads(__tstate
);
25026 if (PyErr_Occurred()) SWIG_fail
;
25028 resultobj
= SWIG_FromInt((int)result
);
25035 static PyObject
*_wrap_ArrowHead_GetArrowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25036 PyObject
*resultobj
;
25037 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25039 PyObject
* obj0
= 0 ;
25040 char *kwnames
[] = {
25041 (char *) "self", NULL
25044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowSize",kwnames
,&obj0
)) goto fail
;
25045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 result
= (double)(arg1
)->GetArrowSize();
25051 wxPyEndAllowThreads(__tstate
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25054 resultobj
= SWIG_FromDouble((double)result
);
25061 static PyObject
*_wrap_ArrowHead_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25062 PyObject
*resultobj
;
25063 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25065 PyObject
* obj0
= 0 ;
25066 PyObject
* obj1
= 0 ;
25067 char *kwnames
[] = {
25068 (char *) "self",(char *) "size", NULL
25071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25074 arg2
= (double) SWIG_AsDouble(obj1
);
25075 if (PyErr_Occurred()) SWIG_fail
;
25077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25078 (arg1
)->SetSize(arg2
);
25080 wxPyEndAllowThreads(__tstate
);
25081 if (PyErr_Occurred()) SWIG_fail
;
25083 Py_INCREF(Py_None
); resultobj
= Py_None
;
25090 static PyObject
*_wrap_ArrowHead_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25091 PyObject
*resultobj
;
25092 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25094 PyObject
* obj0
= 0 ;
25095 PyObject
* obj1
= 0 ;
25096 char *kwnames
[] = {
25097 (char *) "self",(char *) "sp", NULL
25100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25103 arg2
= (double) SWIG_AsDouble(obj1
);
25104 if (PyErr_Occurred()) SWIG_fail
;
25106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25107 (arg1
)->SetSpacing(arg2
);
25109 wxPyEndAllowThreads(__tstate
);
25110 if (PyErr_Occurred()) SWIG_fail
;
25112 Py_INCREF(Py_None
); resultobj
= Py_None
;
25119 static PyObject
* ArrowHead_swigregister(PyObject
*, PyObject
*args
) {
25121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25122 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead
, obj
);
25124 return Py_BuildValue((char *)"");
25126 static PyObject
*_wrap_new_PyLineShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25127 PyObject
*resultobj
;
25128 wxPyLineShape
*result
;
25129 char *kwnames
[] = {
25133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLineShape",kwnames
)) goto fail
;
25135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25136 result
= (wxPyLineShape
*)new wxPyLineShape();
25138 wxPyEndAllowThreads(__tstate
);
25139 if (PyErr_Occurred()) SWIG_fail
;
25141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLineShape
, 1);
25148 static PyObject
*_wrap_PyLineShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25149 PyObject
*resultobj
;
25150 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25151 PyObject
*arg2
= (PyObject
*) 0 ;
25152 PyObject
*arg3
= (PyObject
*) 0 ;
25153 PyObject
* obj0
= 0 ;
25154 PyObject
* obj1
= 0 ;
25155 PyObject
* obj2
= 0 ;
25156 char *kwnames
[] = {
25157 (char *) "self",(char *) "self",(char *) "_class", NULL
25160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25167 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25169 wxPyEndAllowThreads(__tstate
);
25170 if (PyErr_Occurred()) SWIG_fail
;
25172 Py_INCREF(Py_None
); resultobj
= Py_None
;
25179 static PyObject
*_wrap_PyLineShape_AddArrow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25180 PyObject
*resultobj
;
25181 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25183 int arg3
= (int) ARROW_POSITION_END
;
25184 double arg4
= (double) 10.0 ;
25185 double arg5
= (double) 0.0 ;
25186 wxString
const &arg6_defvalue
= wxPyEmptyString
;
25187 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25188 wxPseudoMetaFile
*arg7
= (wxPseudoMetaFile
*) NULL
;
25189 long arg8
= (long) -1 ;
25190 bool temp6
= False
;
25191 PyObject
* obj0
= 0 ;
25192 PyObject
* obj1
= 0 ;
25193 PyObject
* obj2
= 0 ;
25194 PyObject
* obj3
= 0 ;
25195 PyObject
* obj4
= 0 ;
25196 PyObject
* obj5
= 0 ;
25197 PyObject
* obj6
= 0 ;
25198 PyObject
* obj7
= 0 ;
25199 char *kwnames
[] = {
25200 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:PyLineShape_AddArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25206 arg2
= (int) SWIG_AsInt(obj1
);
25207 if (PyErr_Occurred()) SWIG_fail
;
25209 arg3
= (int) SWIG_AsInt(obj2
);
25210 if (PyErr_Occurred()) SWIG_fail
;
25213 arg4
= (double) SWIG_AsDouble(obj3
);
25214 if (PyErr_Occurred()) SWIG_fail
;
25217 arg5
= (double) SWIG_AsDouble(obj4
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25222 arg6
= wxString_in_helper(obj5
);
25223 if (arg6
== NULL
) SWIG_fail
;
25228 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPseudoMetaFile
,
25229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25232 arg8
= (long) SWIG_AsLong(obj7
);
25233 if (PyErr_Occurred()) SWIG_fail
;
25236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25237 (arg1
)->AddArrow(arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
,arg8
);
25239 wxPyEndAllowThreads(__tstate
);
25240 if (PyErr_Occurred()) SWIG_fail
;
25242 Py_INCREF(Py_None
); resultobj
= Py_None
;
25257 static PyObject
*_wrap_PyLineShape_AddArrowOrdered(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25258 PyObject
*resultobj
;
25259 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25260 wxArrowHead
*arg2
= (wxArrowHead
*) 0 ;
25261 PyObject
*arg3
= (PyObject
*) 0 ;
25263 PyObject
* obj0
= 0 ;
25264 PyObject
* obj1
= 0 ;
25265 PyObject
* obj2
= 0 ;
25266 PyObject
* obj3
= 0 ;
25267 char *kwnames
[] = {
25268 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
25271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyLineShape_AddArrowOrdered",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxArrowHead
,
25275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25277 arg4
= (int) SWIG_AsInt(obj3
);
25278 if (PyErr_Occurred()) SWIG_fail
;
25280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25281 wxPyLineShape_AddArrowOrdered(arg1
,arg2
,arg3
,arg4
);
25283 wxPyEndAllowThreads(__tstate
);
25284 if (PyErr_Occurred()) SWIG_fail
;
25286 Py_INCREF(Py_None
); resultobj
= Py_None
;
25293 static PyObject
*_wrap_PyLineShape_ClearArrow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25294 PyObject
*resultobj
;
25295 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25296 wxString
*arg2
= 0 ;
25298 bool temp2
= False
;
25299 PyObject
* obj0
= 0 ;
25300 PyObject
* obj1
= 0 ;
25301 char *kwnames
[] = {
25302 (char *) "self",(char *) "name", NULL
25305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_ClearArrow",kwnames
,&obj0
,&obj1
)) goto fail
;
25306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25309 arg2
= wxString_in_helper(obj1
);
25310 if (arg2
== NULL
) SWIG_fail
;
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 result
= (bool)(arg1
)->ClearArrow((wxString
const &)*arg2
);
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25335 static PyObject
*_wrap_PyLineShape_ClearArrowsAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25336 PyObject
*resultobj
;
25337 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25338 int arg2
= (int) -1 ;
25339 PyObject
* obj0
= 0 ;
25340 PyObject
* obj1
= 0 ;
25341 char *kwnames
[] = {
25342 (char *) "self",(char *) "position", NULL
25345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_ClearArrowsAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25349 arg2
= (int) SWIG_AsInt(obj1
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25354 (arg1
)->ClearArrowsAtPosition(arg2
);
25356 wxPyEndAllowThreads(__tstate
);
25357 if (PyErr_Occurred()) SWIG_fail
;
25359 Py_INCREF(Py_None
); resultobj
= Py_None
;
25366 static PyObject
*_wrap_PyLineShape_DrawArrow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25367 PyObject
*resultobj
;
25368 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25370 wxArrowHead
*arg3
= (wxArrowHead
*) 0 ;
25373 PyObject
* obj0
= 0 ;
25374 PyObject
* obj1
= 0 ;
25375 PyObject
* obj2
= 0 ;
25376 PyObject
* obj3
= 0 ;
25377 PyObject
* obj4
= 0 ;
25378 char *kwnames
[] = {
25379 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
25382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_DrawArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25385 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25386 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25388 if (arg2
== NULL
) {
25389 PyErr_SetString(PyExc_TypeError
,"null reference");
25392 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxArrowHead
,
25393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25394 arg4
= (double) SWIG_AsDouble(obj3
);
25395 if (PyErr_Occurred()) SWIG_fail
;
25396 arg5
= (bool) SWIG_AsBool(obj4
);
25397 if (PyErr_Occurred()) SWIG_fail
;
25399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25400 (arg1
)->DrawArrow(*arg2
,arg3
,arg4
,arg5
);
25402 wxPyEndAllowThreads(__tstate
);
25403 if (PyErr_Occurred()) SWIG_fail
;
25405 Py_INCREF(Py_None
); resultobj
= Py_None
;
25412 static PyObject
*_wrap_PyLineShape_DeleteArrowHeadId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25413 PyObject
*resultobj
;
25414 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25417 PyObject
* obj0
= 0 ;
25418 PyObject
* obj1
= 0 ;
25419 char *kwnames
[] = {
25420 (char *) "self",(char *) "arrowId", NULL
25423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DeleteArrowHeadId",kwnames
,&obj0
,&obj1
)) goto fail
;
25424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25426 arg2
= (long) SWIG_AsLong(obj1
);
25427 if (PyErr_Occurred()) SWIG_fail
;
25429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25430 result
= (bool)(arg1
)->DeleteArrowHead(arg2
);
25432 wxPyEndAllowThreads(__tstate
);
25433 if (PyErr_Occurred()) SWIG_fail
;
25435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25442 static PyObject
*_wrap_PyLineShape_DeleteArrowHead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25443 PyObject
*resultobj
;
25444 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25446 wxString
*arg3
= 0 ;
25448 bool temp3
= False
;
25449 PyObject
* obj0
= 0 ;
25450 PyObject
* obj1
= 0 ;
25451 PyObject
* obj2
= 0 ;
25452 char *kwnames
[] = {
25453 (char *) "self",(char *) "position",(char *) "name", NULL
25456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_DeleteArrowHead",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25459 arg2
= (int) SWIG_AsInt(obj1
);
25460 if (PyErr_Occurred()) SWIG_fail
;
25462 arg3
= wxString_in_helper(obj2
);
25463 if (arg3
== NULL
) SWIG_fail
;
25467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25468 result
= (bool)(arg1
)->DeleteArrowHead(arg2
,(wxString
const &)*arg3
);
25470 wxPyEndAllowThreads(__tstate
);
25471 if (PyErr_Occurred()) SWIG_fail
;
25473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25488 static PyObject
*_wrap_PyLineShape_DeleteLineControlPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25489 PyObject
*resultobj
;
25490 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25492 PyObject
* obj0
= 0 ;
25493 char *kwnames
[] = {
25494 (char *) "self", NULL
25497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames
,&obj0
)) goto fail
;
25498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25502 result
= (bool)(arg1
)->DeleteLineControlPoint();
25504 wxPyEndAllowThreads(__tstate
);
25505 if (PyErr_Occurred()) SWIG_fail
;
25507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25514 static PyObject
*_wrap_PyLineShape_DrawArrows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25515 PyObject
*resultobj
;
25516 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25518 PyObject
* obj0
= 0 ;
25519 PyObject
* obj1
= 0 ;
25520 char *kwnames
[] = {
25521 (char *) "self",(char *) "dc", NULL
25524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DrawArrows",kwnames
,&obj0
,&obj1
)) goto fail
;
25525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25527 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25528 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25530 if (arg2
== NULL
) {
25531 PyErr_SetString(PyExc_TypeError
,"null reference");
25535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25536 (arg1
)->DrawArrows(*arg2
);
25538 wxPyEndAllowThreads(__tstate
);
25539 if (PyErr_Occurred()) SWIG_fail
;
25541 Py_INCREF(Py_None
); resultobj
= Py_None
;
25548 static PyObject
*_wrap_PyLineShape_DrawRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25549 PyObject
*resultobj
;
25550 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25552 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
25555 PyObject
* obj0
= 0 ;
25556 PyObject
* obj1
= 0 ;
25557 PyObject
* obj2
= 0 ;
25558 PyObject
* obj3
= 0 ;
25559 PyObject
* obj4
= 0 ;
25560 char *kwnames
[] = {
25561 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_DrawRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25568 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25570 if (arg2
== NULL
) {
25571 PyErr_SetString(PyExc_TypeError
,"null reference");
25574 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxShapeRegion
,
25575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25576 arg4
= (double) SWIG_AsDouble(obj3
);
25577 if (PyErr_Occurred()) SWIG_fail
;
25578 arg5
= (double) SWIG_AsDouble(obj4
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25582 (arg1
)->DrawRegion(*arg2
,arg3
,arg4
,arg5
);
25584 wxPyEndAllowThreads(__tstate
);
25585 if (PyErr_Occurred()) SWIG_fail
;
25587 Py_INCREF(Py_None
); resultobj
= Py_None
;
25594 static PyObject
*_wrap_PyLineShape_EraseRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25595 PyObject
*resultobj
;
25596 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25598 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
25601 PyObject
* obj0
= 0 ;
25602 PyObject
* obj1
= 0 ;
25603 PyObject
* obj2
= 0 ;
25604 PyObject
* obj3
= 0 ;
25605 PyObject
* obj4
= 0 ;
25606 char *kwnames
[] = {
25607 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_EraseRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25614 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25616 if (arg2
== NULL
) {
25617 PyErr_SetString(PyExc_TypeError
,"null reference");
25620 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxShapeRegion
,
25621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25622 arg4
= (double) SWIG_AsDouble(obj3
);
25623 if (PyErr_Occurred()) SWIG_fail
;
25624 arg5
= (double) SWIG_AsDouble(obj4
);
25625 if (PyErr_Occurred()) SWIG_fail
;
25627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25628 (arg1
)->EraseRegion(*arg2
,arg3
,arg4
,arg5
);
25630 wxPyEndAllowThreads(__tstate
);
25631 if (PyErr_Occurred()) SWIG_fail
;
25633 Py_INCREF(Py_None
); resultobj
= Py_None
;
25640 static PyObject
*_wrap_PyLineShape_FindArrowHeadId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25641 PyObject
*resultobj
;
25642 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25644 wxArrowHead
*result
;
25645 PyObject
* obj0
= 0 ;
25646 PyObject
* obj1
= 0 ;
25647 char *kwnames
[] = {
25648 (char *) "self",(char *) "arrowId", NULL
25651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_FindArrowHeadId",kwnames
,&obj0
,&obj1
)) goto fail
;
25652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25654 arg2
= (long) SWIG_AsLong(obj1
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25658 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
);
25660 wxPyEndAllowThreads(__tstate
);
25661 if (PyErr_Occurred()) SWIG_fail
;
25664 resultobj
= wxPyMake_wxObject(result
);
25672 static PyObject
*_wrap_PyLineShape_FindArrowHead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25673 PyObject
*resultobj
;
25674 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25676 wxString
*arg3
= 0 ;
25677 wxArrowHead
*result
;
25678 bool temp3
= False
;
25679 PyObject
* obj0
= 0 ;
25680 PyObject
* obj1
= 0 ;
25681 PyObject
* obj2
= 0 ;
25682 char *kwnames
[] = {
25683 (char *) "self",(char *) "position",(char *) "name", NULL
25686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindArrowHead",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25689 arg2
= (int) SWIG_AsInt(obj1
);
25690 if (PyErr_Occurred()) SWIG_fail
;
25692 arg3
= wxString_in_helper(obj2
);
25693 if (arg3
== NULL
) SWIG_fail
;
25697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25698 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
,(wxString
const &)*arg3
);
25700 wxPyEndAllowThreads(__tstate
);
25701 if (PyErr_Occurred()) SWIG_fail
;
25704 resultobj
= wxPyMake_wxObject(result
);
25720 static PyObject
*_wrap_PyLineShape_FindLineEndPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25721 PyObject
*resultobj
;
25722 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25723 double *arg2
= (double *) 0 ;
25724 double *arg3
= (double *) 0 ;
25725 double *arg4
= (double *) 0 ;
25726 double *arg5
= (double *) 0 ;
25731 PyObject
* obj0
= 0 ;
25732 char *kwnames
[] = {
25733 (char *) "self", NULL
25740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindLineEndPoints",kwnames
,&obj0
)) goto fail
;
25741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25745 (arg1
)->FindLineEndPoints(arg2
,arg3
,arg4
,arg5
);
25747 wxPyEndAllowThreads(__tstate
);
25748 if (PyErr_Occurred()) SWIG_fail
;
25750 Py_INCREF(Py_None
); resultobj
= Py_None
;
25752 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
25753 resultobj
= t_output_helper(resultobj
,o
);
25756 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
25757 resultobj
= t_output_helper(resultobj
,o
);
25760 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
25761 resultobj
= t_output_helper(resultobj
,o
);
25764 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
25765 resultobj
= t_output_helper(resultobj
,o
);
25773 static PyObject
*_wrap_PyLineShape_FindLinePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25774 PyObject
*resultobj
;
25775 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25779 PyObject
* obj0
= 0 ;
25780 PyObject
* obj1
= 0 ;
25781 PyObject
* obj2
= 0 ;
25782 char *kwnames
[] = {
25783 (char *) "self",(char *) "x",(char *) "y", NULL
25786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindLinePosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25789 arg2
= (double) SWIG_AsDouble(obj1
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25791 arg3
= (double) SWIG_AsDouble(obj2
);
25792 if (PyErr_Occurred()) SWIG_fail
;
25794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25795 result
= (int)(arg1
)->FindLinePosition(arg2
,arg3
);
25797 wxPyEndAllowThreads(__tstate
);
25798 if (PyErr_Occurred()) SWIG_fail
;
25800 resultobj
= SWIG_FromInt((int)result
);
25807 static PyObject
*_wrap_PyLineShape_FindMinimumWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25808 PyObject
*resultobj
;
25809 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25811 PyObject
* obj0
= 0 ;
25812 char *kwnames
[] = {
25813 (char *) "self", NULL
25816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindMinimumWidth",kwnames
,&obj0
)) goto fail
;
25817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25821 result
= (double)(arg1
)->FindMinimumWidth();
25823 wxPyEndAllowThreads(__tstate
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25826 resultobj
= SWIG_FromDouble((double)result
);
25833 static PyObject
*_wrap_PyLineShape_FindNth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25834 PyObject
*resultobj
;
25835 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25836 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
25837 int *arg3
= (int *) 0 ;
25838 int *arg4
= (int *) 0 ;
25842 PyObject
* obj0
= 0 ;
25843 PyObject
* obj1
= 0 ;
25844 PyObject
* obj2
= 0 ;
25845 char *kwnames
[] = {
25846 (char *) "self",(char *) "image",(char *) "incoming", NULL
25851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindNth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
25855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25856 arg5
= (bool) SWIG_AsBool(obj2
);
25857 if (PyErr_Occurred()) SWIG_fail
;
25859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25860 (arg1
)->FindNth(arg2
,arg3
,arg4
,arg5
);
25862 wxPyEndAllowThreads(__tstate
);
25863 if (PyErr_Occurred()) SWIG_fail
;
25865 Py_INCREF(Py_None
); resultobj
= Py_None
;
25867 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25868 resultobj
= t_output_helper(resultobj
,o
);
25871 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25872 resultobj
= t_output_helper(resultobj
,o
);
25880 static PyObject
*_wrap_PyLineShape_GetAttachmentFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25881 PyObject
*resultobj
;
25882 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25884 PyObject
* obj0
= 0 ;
25885 char *kwnames
[] = {
25886 (char *) "self", NULL
25889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames
,&obj0
)) goto fail
;
25890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25894 result
= (int)(arg1
)->GetAttachmentFrom();
25896 wxPyEndAllowThreads(__tstate
);
25897 if (PyErr_Occurred()) SWIG_fail
;
25899 resultobj
= SWIG_FromInt((int)result
);
25906 static PyObject
*_wrap_PyLineShape_GetAttachmentTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25907 PyObject
*resultobj
;
25908 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25910 PyObject
* obj0
= 0 ;
25911 char *kwnames
[] = {
25912 (char *) "self", NULL
25915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentTo",kwnames
,&obj0
)) goto fail
;
25916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25920 result
= (int)(arg1
)->GetAttachmentTo();
25922 wxPyEndAllowThreads(__tstate
);
25923 if (PyErr_Occurred()) SWIG_fail
;
25925 resultobj
= SWIG_FromInt((int)result
);
25932 static PyObject
*_wrap_PyLineShape_GetEnds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25933 PyObject
*resultobj
;
25934 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25935 double *arg2
= (double *) 0 ;
25936 double *arg3
= (double *) 0 ;
25937 double *arg4
= (double *) 0 ;
25938 double *arg5
= (double *) 0 ;
25943 PyObject
* obj0
= 0 ;
25944 char *kwnames
[] = {
25945 (char *) "self", NULL
25952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetEnds",kwnames
,&obj0
)) goto fail
;
25953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25957 (arg1
)->GetEnds(arg2
,arg3
,arg4
,arg5
);
25959 wxPyEndAllowThreads(__tstate
);
25960 if (PyErr_Occurred()) SWIG_fail
;
25962 Py_INCREF(Py_None
); resultobj
= Py_None
;
25964 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
25965 resultobj
= t_output_helper(resultobj
,o
);
25968 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
25969 resultobj
= t_output_helper(resultobj
,o
);
25972 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
25973 resultobj
= t_output_helper(resultobj
,o
);
25976 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
25977 resultobj
= t_output_helper(resultobj
,o
);
25985 static PyObject
*_wrap_PyLineShape_GetFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25986 PyObject
*resultobj
;
25987 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25989 PyObject
* obj0
= 0 ;
25990 char *kwnames
[] = {
25991 (char *) "self", NULL
25994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetFrom",kwnames
,&obj0
)) goto fail
;
25995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25999 result
= (wxPyShape
*)(arg1
)->GetFrom();
26001 wxPyEndAllowThreads(__tstate
);
26002 if (PyErr_Occurred()) SWIG_fail
;
26005 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
26013 static PyObject
*_wrap_PyLineShape_GetLabelPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26014 PyObject
*resultobj
;
26015 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26017 double *arg3
= (double *) 0 ;
26018 double *arg4
= (double *) 0 ;
26021 PyObject
* obj0
= 0 ;
26022 PyObject
* obj1
= 0 ;
26023 char *kwnames
[] = {
26024 (char *) "self",(char *) "position", NULL
26029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetLabelPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
26030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26032 arg2
= (int) SWIG_AsInt(obj1
);
26033 if (PyErr_Occurred()) SWIG_fail
;
26035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26036 (arg1
)->GetLabelPosition(arg2
,arg3
,arg4
);
26038 wxPyEndAllowThreads(__tstate
);
26039 if (PyErr_Occurred()) SWIG_fail
;
26041 Py_INCREF(Py_None
); resultobj
= Py_None
;
26043 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
26044 resultobj
= t_output_helper(resultobj
,o
);
26047 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
26048 resultobj
= t_output_helper(resultobj
,o
);
26056 static PyObject
*_wrap_PyLineShape_GetNextControlPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26057 PyObject
*resultobj
;
26058 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26059 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26060 wxRealPoint
*result
;
26061 PyObject
* obj0
= 0 ;
26062 PyObject
* obj1
= 0 ;
26063 char *kwnames
[] = {
26064 (char *) "self",(char *) "shape", NULL
26067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26070 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26074 result
= (wxRealPoint
*)(arg1
)->GetNextControlPoint(arg2
);
26076 wxPyEndAllowThreads(__tstate
);
26077 if (PyErr_Occurred()) SWIG_fail
;
26079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 0);
26086 static PyObject
*_wrap_PyLineShape_GetTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26087 PyObject
*resultobj
;
26088 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26090 PyObject
* obj0
= 0 ;
26091 char *kwnames
[] = {
26092 (char *) "self", NULL
26095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetTo",kwnames
,&obj0
)) goto fail
;
26096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26100 result
= (wxPyShape
*)(arg1
)->GetTo();
26102 wxPyEndAllowThreads(__tstate
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26106 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
26114 static PyObject
*_wrap_PyLineShape_Initialise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26115 PyObject
*resultobj
;
26116 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26117 PyObject
* obj0
= 0 ;
26118 char *kwnames
[] = {
26119 (char *) "self", NULL
26122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Initialise",kwnames
,&obj0
)) goto fail
;
26123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26127 (arg1
)->Initialise();
26129 wxPyEndAllowThreads(__tstate
);
26130 if (PyErr_Occurred()) SWIG_fail
;
26132 Py_INCREF(Py_None
); resultobj
= Py_None
;
26139 static PyObject
*_wrap_PyLineShape_InsertLineControlPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26140 PyObject
*resultobj
;
26141 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26142 wxDC
*arg2
= (wxDC
*) 0 ;
26143 PyObject
* obj0
= 0 ;
26144 PyObject
* obj1
= 0 ;
26145 char *kwnames
[] = {
26146 (char *) "self",(char *) "dc", NULL
26149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26156 (arg1
)->InsertLineControlPoint(arg2
);
26158 wxPyEndAllowThreads(__tstate
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26161 Py_INCREF(Py_None
); resultobj
= Py_None
;
26168 static PyObject
*_wrap_PyLineShape_IsEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26169 PyObject
*resultobj
;
26170 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26171 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26173 PyObject
* obj0
= 0 ;
26174 PyObject
* obj1
= 0 ;
26175 char *kwnames
[] = {
26176 (char *) "self",(char *) "shape", NULL
26179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_IsEnd",kwnames
,&obj0
,&obj1
)) goto fail
;
26180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26186 result
= (bool)(arg1
)->IsEnd(arg2
);
26188 wxPyEndAllowThreads(__tstate
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26198 static PyObject
*_wrap_PyLineShape_IsSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26199 PyObject
*resultobj
;
26200 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26202 PyObject
* obj0
= 0 ;
26203 char *kwnames
[] = {
26204 (char *) "self", NULL
26207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_IsSpline",kwnames
,&obj0
)) goto fail
;
26208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26212 result
= (bool)(arg1
)->IsSpline();
26214 wxPyEndAllowThreads(__tstate
);
26215 if (PyErr_Occurred()) SWIG_fail
;
26217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26224 static PyObject
*_wrap_PyLineShape_MakeLineControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26225 PyObject
*resultobj
;
26226 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26228 PyObject
* obj0
= 0 ;
26229 PyObject
* obj1
= 0 ;
26230 char *kwnames
[] = {
26231 (char *) "self",(char *) "n", NULL
26234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_MakeLineControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
26235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26237 arg2
= (int) SWIG_AsInt(obj1
);
26238 if (PyErr_Occurred()) SWIG_fail
;
26240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26241 (arg1
)->MakeLineControlPoints(arg2
);
26243 wxPyEndAllowThreads(__tstate
);
26244 if (PyErr_Occurred()) SWIG_fail
;
26246 Py_INCREF(Py_None
); resultobj
= Py_None
;
26253 static PyObject
*_wrap_PyLineShape_GetLineControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26254 PyObject
*resultobj
;
26255 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26257 PyObject
* obj0
= 0 ;
26258 char *kwnames
[] = {
26259 (char *) "self", NULL
26262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetLineControlPoints",kwnames
,&obj0
)) goto fail
;
26263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26267 result
= (PyObject
*)wxPyLineShape_GetLineControlPoints(arg1
);
26269 wxPyEndAllowThreads(__tstate
);
26270 if (PyErr_Occurred()) SWIG_fail
;
26272 resultobj
= result
;
26279 static PyObject
*_wrap_PyLineShape_SetAttachmentFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26280 PyObject
*resultobj
;
26281 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26283 PyObject
* obj0
= 0 ;
26284 PyObject
* obj1
= 0 ;
26285 char *kwnames
[] = {
26286 (char *) "self",(char *) "fromAttach", NULL
26289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetAttachmentFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
26290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26292 arg2
= (int) SWIG_AsInt(obj1
);
26293 if (PyErr_Occurred()) SWIG_fail
;
26295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26296 (arg1
)->SetAttachmentFrom(arg2
);
26298 wxPyEndAllowThreads(__tstate
);
26299 if (PyErr_Occurred()) SWIG_fail
;
26301 Py_INCREF(Py_None
); resultobj
= Py_None
;
26308 static PyObject
*_wrap_PyLineShape_SetAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26309 PyObject
*resultobj
;
26310 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26313 PyObject
* obj0
= 0 ;
26314 PyObject
* obj1
= 0 ;
26315 PyObject
* obj2
= 0 ;
26316 char *kwnames
[] = {
26317 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
26320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAttachments",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26323 arg2
= (int) SWIG_AsInt(obj1
);
26324 if (PyErr_Occurred()) SWIG_fail
;
26325 arg3
= (int) SWIG_AsInt(obj2
);
26326 if (PyErr_Occurred()) SWIG_fail
;
26328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26329 (arg1
)->SetAttachments(arg2
,arg3
);
26331 wxPyEndAllowThreads(__tstate
);
26332 if (PyErr_Occurred()) SWIG_fail
;
26334 Py_INCREF(Py_None
); resultobj
= Py_None
;
26341 static PyObject
*_wrap_PyLineShape_SetAttachmentTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26342 PyObject
*resultobj
;
26343 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26345 PyObject
* obj0
= 0 ;
26346 PyObject
* obj1
= 0 ;
26347 char *kwnames
[] = {
26348 (char *) "self",(char *) "toAttach", NULL
26351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetAttachmentTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26354 arg2
= (int) SWIG_AsInt(obj1
);
26355 if (PyErr_Occurred()) SWIG_fail
;
26357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26358 (arg1
)->SetAttachmentTo(arg2
);
26360 wxPyEndAllowThreads(__tstate
);
26361 if (PyErr_Occurred()) SWIG_fail
;
26363 Py_INCREF(Py_None
); resultobj
= Py_None
;
26370 static PyObject
*_wrap_PyLineShape_SetEnds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26371 PyObject
*resultobj
;
26372 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26377 PyObject
* obj0
= 0 ;
26378 PyObject
* obj1
= 0 ;
26379 PyObject
* obj2
= 0 ;
26380 PyObject
* obj3
= 0 ;
26381 PyObject
* obj4
= 0 ;
26382 char *kwnames
[] = {
26383 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_SetEnds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26389 arg2
= (double) SWIG_AsDouble(obj1
);
26390 if (PyErr_Occurred()) SWIG_fail
;
26391 arg3
= (double) SWIG_AsDouble(obj2
);
26392 if (PyErr_Occurred()) SWIG_fail
;
26393 arg4
= (double) SWIG_AsDouble(obj3
);
26394 if (PyErr_Occurred()) SWIG_fail
;
26395 arg5
= (double) SWIG_AsDouble(obj4
);
26396 if (PyErr_Occurred()) SWIG_fail
;
26398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26399 (arg1
)->SetEnds(arg2
,arg3
,arg4
,arg5
);
26401 wxPyEndAllowThreads(__tstate
);
26402 if (PyErr_Occurred()) SWIG_fail
;
26404 Py_INCREF(Py_None
); resultobj
= Py_None
;
26411 static PyObject
*_wrap_PyLineShape_SetFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26412 PyObject
*resultobj
;
26413 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26414 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26415 PyObject
* obj0
= 0 ;
26416 PyObject
* obj1
= 0 ;
26417 char *kwnames
[] = {
26418 (char *) "self",(char *) "object", NULL
26421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
26422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26428 (arg1
)->SetFrom(arg2
);
26430 wxPyEndAllowThreads(__tstate
);
26431 if (PyErr_Occurred()) SWIG_fail
;
26433 Py_INCREF(Py_None
); resultobj
= Py_None
;
26440 static PyObject
*_wrap_PyLineShape_SetIgnoreOffsets(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26441 PyObject
*resultobj
;
26442 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26444 PyObject
* obj0
= 0 ;
26445 PyObject
* obj1
= 0 ;
26446 char *kwnames
[] = {
26447 (char *) "self",(char *) "ignore", NULL
26450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames
,&obj0
,&obj1
)) goto fail
;
26451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26453 arg2
= (bool) SWIG_AsBool(obj1
);
26454 if (PyErr_Occurred()) SWIG_fail
;
26456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26457 (arg1
)->SetIgnoreOffsets(arg2
);
26459 wxPyEndAllowThreads(__tstate
);
26460 if (PyErr_Occurred()) SWIG_fail
;
26462 Py_INCREF(Py_None
); resultobj
= Py_None
;
26469 static PyObject
*_wrap_PyLineShape_SetSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26470 PyObject
*resultobj
;
26471 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26473 PyObject
* obj0
= 0 ;
26474 PyObject
* obj1
= 0 ;
26475 char *kwnames
[] = {
26476 (char *) "self",(char *) "spline", NULL
26479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
26480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26482 arg2
= (bool) SWIG_AsBool(obj1
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26486 (arg1
)->SetSpline(arg2
);
26488 wxPyEndAllowThreads(__tstate
);
26489 if (PyErr_Occurred()) SWIG_fail
;
26491 Py_INCREF(Py_None
); resultobj
= Py_None
;
26498 static PyObject
*_wrap_PyLineShape_SetTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26499 PyObject
*resultobj
;
26500 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26501 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26502 PyObject
* obj0
= 0 ;
26503 PyObject
* obj1
= 0 ;
26504 char *kwnames
[] = {
26505 (char *) "self",(char *) "object", NULL
26508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26511 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26515 (arg1
)->SetTo(arg2
);
26517 wxPyEndAllowThreads(__tstate
);
26518 if (PyErr_Occurred()) SWIG_fail
;
26520 Py_INCREF(Py_None
); resultobj
= Py_None
;
26527 static PyObject
*_wrap_PyLineShape_Straighten(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26528 PyObject
*resultobj
;
26529 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26530 wxDC
*arg2
= (wxDC
*) NULL
;
26531 PyObject
* obj0
= 0 ;
26532 PyObject
* obj1
= 0 ;
26533 char *kwnames
[] = {
26534 (char *) "self",(char *) "dc", NULL
26537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_Straighten",kwnames
,&obj0
,&obj1
)) goto fail
;
26538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26546 (arg1
)->Straighten(arg2
);
26548 wxPyEndAllowThreads(__tstate
);
26549 if (PyErr_Occurred()) SWIG_fail
;
26551 Py_INCREF(Py_None
); resultobj
= Py_None
;
26558 static PyObject
*_wrap_PyLineShape_Unlink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26559 PyObject
*resultobj
;
26560 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26561 PyObject
* obj0
= 0 ;
26562 char *kwnames
[] = {
26563 (char *) "self", NULL
26566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Unlink",kwnames
,&obj0
)) goto fail
;
26567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26573 wxPyEndAllowThreads(__tstate
);
26574 if (PyErr_Occurred()) SWIG_fail
;
26576 Py_INCREF(Py_None
); resultobj
= Py_None
;
26583 static PyObject
*_wrap_PyLineShape_SetAlignmentOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26584 PyObject
*resultobj
;
26585 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26588 PyObject
* obj0
= 0 ;
26589 PyObject
* obj1
= 0 ;
26590 PyObject
* obj2
= 0 ;
26591 char *kwnames
[] = {
26592 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
26595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26598 arg2
= (bool) SWIG_AsBool(obj1
);
26599 if (PyErr_Occurred()) SWIG_fail
;
26600 arg3
= (bool) SWIG_AsBool(obj2
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26604 (arg1
)->SetAlignmentOrientation(arg2
,arg3
);
26606 wxPyEndAllowThreads(__tstate
);
26607 if (PyErr_Occurred()) SWIG_fail
;
26609 Py_INCREF(Py_None
); resultobj
= Py_None
;
26616 static PyObject
*_wrap_PyLineShape_SetAlignmentType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26617 PyObject
*resultobj
;
26618 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26621 PyObject
* obj0
= 0 ;
26622 PyObject
* obj1
= 0 ;
26623 PyObject
* obj2
= 0 ;
26624 char *kwnames
[] = {
26625 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
26628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentType",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26631 arg2
= (bool) SWIG_AsBool(obj1
);
26632 if (PyErr_Occurred()) SWIG_fail
;
26633 arg3
= (int) SWIG_AsInt(obj2
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26637 (arg1
)->SetAlignmentType(arg2
,arg3
);
26639 wxPyEndAllowThreads(__tstate
);
26640 if (PyErr_Occurred()) SWIG_fail
;
26642 Py_INCREF(Py_None
); resultobj
= Py_None
;
26649 static PyObject
*_wrap_PyLineShape_GetAlignmentOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26650 PyObject
*resultobj
;
26651 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26654 PyObject
* obj0
= 0 ;
26655 PyObject
* obj1
= 0 ;
26656 char *kwnames
[] = {
26657 (char *) "self",(char *) "isEnd", NULL
26660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
26661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26663 arg2
= (bool) SWIG_AsBool(obj1
);
26664 if (PyErr_Occurred()) SWIG_fail
;
26666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26667 result
= (bool)(arg1
)->GetAlignmentOrientation(arg2
);
26669 wxPyEndAllowThreads(__tstate
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26679 static PyObject
*_wrap_PyLineShape_GetAlignmentType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26680 PyObject
*resultobj
;
26681 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26684 PyObject
* obj0
= 0 ;
26685 PyObject
* obj1
= 0 ;
26686 char *kwnames
[] = {
26687 (char *) "self",(char *) "isEnd", NULL
26690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentType",kwnames
,&obj0
,&obj1
)) goto fail
;
26691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26693 arg2
= (bool) SWIG_AsBool(obj1
);
26694 if (PyErr_Occurred()) SWIG_fail
;
26696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26697 result
= (int)(arg1
)->GetAlignmentType(arg2
);
26699 wxPyEndAllowThreads(__tstate
);
26700 if (PyErr_Occurred()) SWIG_fail
;
26702 resultobj
= SWIG_FromInt((int)result
);
26709 static PyObject
*_wrap_PyLineShape_GetAlignmentStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26710 PyObject
*resultobj
;
26711 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26713 PyObject
* obj0
= 0 ;
26714 char *kwnames
[] = {
26715 (char *) "self", NULL
26718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentStart",kwnames
,&obj0
)) goto fail
;
26719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26723 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentStart();
26725 wxPyEndAllowThreads(__tstate
);
26726 if (PyErr_Occurred()) SWIG_fail
;
26728 resultobj
= SWIG_FromInt((int)result
);
26735 static PyObject
*_wrap_PyLineShape_GetAlignmentEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26736 PyObject
*resultobj
;
26737 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26739 PyObject
* obj0
= 0 ;
26740 char *kwnames
[] = {
26741 (char *) "self", NULL
26744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames
,&obj0
)) goto fail
;
26745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26749 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentEnd();
26751 wxPyEndAllowThreads(__tstate
);
26752 if (PyErr_Occurred()) SWIG_fail
;
26754 resultobj
= SWIG_FromInt((int)result
);
26761 static PyObject
*_wrap_PyLineShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26762 PyObject
*resultobj
;
26763 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26765 PyObject
* obj0
= 0 ;
26766 PyObject
* obj1
= 0 ;
26767 char *kwnames
[] = {
26768 (char *) "self",(char *) "dc", NULL
26771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
26772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26775 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26777 if (arg2
== NULL
) {
26778 PyErr_SetString(PyExc_TypeError
,"null reference");
26782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26783 (arg1
)->base_OnDraw(*arg2
);
26785 wxPyEndAllowThreads(__tstate
);
26786 if (PyErr_Occurred()) SWIG_fail
;
26788 Py_INCREF(Py_None
); resultobj
= Py_None
;
26795 static PyObject
*_wrap_PyLineShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26796 PyObject
*resultobj
;
26797 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26799 PyObject
* obj0
= 0 ;
26800 PyObject
* obj1
= 0 ;
26801 char *kwnames
[] = {
26802 (char *) "self",(char *) "dc", NULL
26805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
26806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26809 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26811 if (arg2
== NULL
) {
26812 PyErr_SetString(PyExc_TypeError
,"null reference");
26816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26817 (arg1
)->base_OnDrawContents(*arg2
);
26819 wxPyEndAllowThreads(__tstate
);
26820 if (PyErr_Occurred()) SWIG_fail
;
26822 Py_INCREF(Py_None
); resultobj
= Py_None
;
26829 static PyObject
*_wrap_PyLineShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26830 PyObject
*resultobj
;
26831 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26833 bool arg3
= (bool) FALSE
;
26834 PyObject
* obj0
= 0 ;
26835 PyObject
* obj1
= 0 ;
26836 PyObject
* obj2
= 0 ;
26837 char *kwnames
[] = {
26838 (char *) "self",(char *) "dc",(char *) "erase", NULL
26841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26845 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26847 if (arg2
== NULL
) {
26848 PyErr_SetString(PyExc_TypeError
,"null reference");
26852 arg3
= (bool) SWIG_AsBool(obj2
);
26853 if (PyErr_Occurred()) SWIG_fail
;
26856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26857 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
26859 wxPyEndAllowThreads(__tstate
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26862 Py_INCREF(Py_None
); resultobj
= Py_None
;
26869 static PyObject
*_wrap_PyLineShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26870 PyObject
*resultobj
;
26871 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26873 PyObject
* obj0
= 0 ;
26874 PyObject
* obj1
= 0 ;
26875 char *kwnames
[] = {
26876 (char *) "self",(char *) "dc", NULL
26879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
26880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26883 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26885 if (arg2
== NULL
) {
26886 PyErr_SetString(PyExc_TypeError
,"null reference");
26890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26891 (arg1
)->base_OnMoveLinks(*arg2
);
26893 wxPyEndAllowThreads(__tstate
);
26894 if (PyErr_Occurred()) SWIG_fail
;
26896 Py_INCREF(Py_None
); resultobj
= Py_None
;
26903 static PyObject
*_wrap_PyLineShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26904 PyObject
*resultobj
;
26905 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26907 PyObject
* obj0
= 0 ;
26908 PyObject
* obj1
= 0 ;
26909 char *kwnames
[] = {
26910 (char *) "self",(char *) "dc", NULL
26913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
26914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26917 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26919 if (arg2
== NULL
) {
26920 PyErr_SetString(PyExc_TypeError
,"null reference");
26924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26925 (arg1
)->base_OnErase(*arg2
);
26927 wxPyEndAllowThreads(__tstate
);
26928 if (PyErr_Occurred()) SWIG_fail
;
26930 Py_INCREF(Py_None
); resultobj
= Py_None
;
26937 static PyObject
*_wrap_PyLineShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26938 PyObject
*resultobj
;
26939 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26941 PyObject
* obj0
= 0 ;
26942 PyObject
* obj1
= 0 ;
26943 char *kwnames
[] = {
26944 (char *) "self",(char *) "dc", NULL
26947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
26948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26951 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26953 if (arg2
== NULL
) {
26954 PyErr_SetString(PyExc_TypeError
,"null reference");
26958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26959 (arg1
)->base_OnEraseContents(*arg2
);
26961 wxPyEndAllowThreads(__tstate
);
26962 if (PyErr_Occurred()) SWIG_fail
;
26964 Py_INCREF(Py_None
); resultobj
= Py_None
;
26971 static PyObject
*_wrap_PyLineShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26972 PyObject
*resultobj
;
26973 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26975 PyObject
* obj0
= 0 ;
26976 PyObject
* obj1
= 0 ;
26977 char *kwnames
[] = {
26978 (char *) "self",(char *) "dc", NULL
26981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
26982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26984 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26985 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26987 if (arg2
== NULL
) {
26988 PyErr_SetString(PyExc_TypeError
,"null reference");
26992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26993 (arg1
)->base_OnHighlight(*arg2
);
26995 wxPyEndAllowThreads(__tstate
);
26996 if (PyErr_Occurred()) SWIG_fail
;
26998 Py_INCREF(Py_None
); resultobj
= Py_None
;
27005 static PyObject
*_wrap_PyLineShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27006 PyObject
*resultobj
;
27007 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27010 int arg4
= (int) 0 ;
27011 int arg5
= (int) 0 ;
27012 PyObject
* obj0
= 0 ;
27013 PyObject
* obj1
= 0 ;
27014 PyObject
* obj2
= 0 ;
27015 PyObject
* obj3
= 0 ;
27016 PyObject
* obj4
= 0 ;
27017 char *kwnames
[] = {
27018 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27024 arg2
= (double) SWIG_AsDouble(obj1
);
27025 if (PyErr_Occurred()) SWIG_fail
;
27026 arg3
= (double) SWIG_AsDouble(obj2
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27029 arg4
= (int) SWIG_AsInt(obj3
);
27030 if (PyErr_Occurred()) SWIG_fail
;
27033 arg5
= (int) SWIG_AsInt(obj4
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27038 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
27040 wxPyEndAllowThreads(__tstate
);
27041 if (PyErr_Occurred()) SWIG_fail
;
27043 Py_INCREF(Py_None
); resultobj
= Py_None
;
27050 static PyObject
*_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27051 PyObject
*resultobj
;
27052 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27055 int arg4
= (int) 0 ;
27056 int arg5
= (int) 0 ;
27057 PyObject
* obj0
= 0 ;
27058 PyObject
* obj1
= 0 ;
27059 PyObject
* obj2
= 0 ;
27060 PyObject
* obj3
= 0 ;
27061 PyObject
* obj4
= 0 ;
27062 char *kwnames
[] = {
27063 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27069 arg2
= (double) SWIG_AsDouble(obj1
);
27070 if (PyErr_Occurred()) SWIG_fail
;
27071 arg3
= (double) SWIG_AsDouble(obj2
);
27072 if (PyErr_Occurred()) SWIG_fail
;
27074 arg4
= (int) SWIG_AsInt(obj3
);
27075 if (PyErr_Occurred()) SWIG_fail
;
27078 arg5
= (int) SWIG_AsInt(obj4
);
27079 if (PyErr_Occurred()) SWIG_fail
;
27082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27083 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
27085 wxPyEndAllowThreads(__tstate
);
27086 if (PyErr_Occurred()) SWIG_fail
;
27088 Py_INCREF(Py_None
); resultobj
= Py_None
;
27095 static PyObject
*_wrap_PyLineShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27096 PyObject
*resultobj
;
27097 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27100 int arg4
= (int) 0 ;
27101 int arg5
= (int) 0 ;
27102 PyObject
* obj0
= 0 ;
27103 PyObject
* obj1
= 0 ;
27104 PyObject
* obj2
= 0 ;
27105 PyObject
* obj3
= 0 ;
27106 PyObject
* obj4
= 0 ;
27107 char *kwnames
[] = {
27108 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27114 arg2
= (double) SWIG_AsDouble(obj1
);
27115 if (PyErr_Occurred()) SWIG_fail
;
27116 arg3
= (double) SWIG_AsDouble(obj2
);
27117 if (PyErr_Occurred()) SWIG_fail
;
27119 arg4
= (int) SWIG_AsInt(obj3
);
27120 if (PyErr_Occurred()) SWIG_fail
;
27123 arg5
= (int) SWIG_AsInt(obj4
);
27124 if (PyErr_Occurred()) SWIG_fail
;
27127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27128 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
27130 wxPyEndAllowThreads(__tstate
);
27131 if (PyErr_Occurred()) SWIG_fail
;
27133 Py_INCREF(Py_None
); resultobj
= Py_None
;
27140 static PyObject
*_wrap_PyLineShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27141 PyObject
*resultobj
;
27142 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27145 PyObject
* obj0
= 0 ;
27146 PyObject
* obj1
= 0 ;
27147 PyObject
* obj2
= 0 ;
27148 char *kwnames
[] = {
27149 (char *) "self",(char *) "x",(char *) "y", NULL
27152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27155 arg2
= (double) SWIG_AsDouble(obj1
);
27156 if (PyErr_Occurred()) SWIG_fail
;
27157 arg3
= (double) SWIG_AsDouble(obj2
);
27158 if (PyErr_Occurred()) SWIG_fail
;
27160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27161 (arg1
)->base_OnSize(arg2
,arg3
);
27163 wxPyEndAllowThreads(__tstate
);
27164 if (PyErr_Occurred()) SWIG_fail
;
27166 Py_INCREF(Py_None
); resultobj
= Py_None
;
27173 static PyObject
*_wrap_PyLineShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27174 PyObject
*resultobj
;
27175 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27181 bool arg7
= (bool) True
;
27183 PyObject
* obj0
= 0 ;
27184 PyObject
* obj1
= 0 ;
27185 PyObject
* obj2
= 0 ;
27186 PyObject
* obj3
= 0 ;
27187 PyObject
* obj4
= 0 ;
27188 PyObject
* obj5
= 0 ;
27189 PyObject
* obj6
= 0 ;
27190 char *kwnames
[] = {
27191 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyLineShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27198 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27200 if (arg2
== NULL
) {
27201 PyErr_SetString(PyExc_TypeError
,"null reference");
27204 arg3
= (double) SWIG_AsDouble(obj2
);
27205 if (PyErr_Occurred()) SWIG_fail
;
27206 arg4
= (double) SWIG_AsDouble(obj3
);
27207 if (PyErr_Occurred()) SWIG_fail
;
27208 arg5
= (double) SWIG_AsDouble(obj4
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27210 arg6
= (double) SWIG_AsDouble(obj5
);
27211 if (PyErr_Occurred()) SWIG_fail
;
27213 arg7
= (bool) SWIG_AsBool(obj6
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27218 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27220 wxPyEndAllowThreads(__tstate
);
27221 if (PyErr_Occurred()) SWIG_fail
;
27223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27230 static PyObject
*_wrap_PyLineShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27231 PyObject
*resultobj
;
27232 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27238 bool arg7
= (bool) True
;
27239 PyObject
* obj0
= 0 ;
27240 PyObject
* obj1
= 0 ;
27241 PyObject
* obj2
= 0 ;
27242 PyObject
* obj3
= 0 ;
27243 PyObject
* obj4
= 0 ;
27244 PyObject
* obj5
= 0 ;
27245 PyObject
* obj6
= 0 ;
27246 char *kwnames
[] = {
27247 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyLineShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27254 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27256 if (arg2
== NULL
) {
27257 PyErr_SetString(PyExc_TypeError
,"null reference");
27260 arg3
= (double) SWIG_AsDouble(obj2
);
27261 if (PyErr_Occurred()) SWIG_fail
;
27262 arg4
= (double) SWIG_AsDouble(obj3
);
27263 if (PyErr_Occurred()) SWIG_fail
;
27264 arg5
= (double) SWIG_AsDouble(obj4
);
27265 if (PyErr_Occurred()) SWIG_fail
;
27266 arg6
= (double) SWIG_AsDouble(obj5
);
27267 if (PyErr_Occurred()) SWIG_fail
;
27269 arg7
= (bool) SWIG_AsBool(obj6
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27274 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27276 wxPyEndAllowThreads(__tstate
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27279 Py_INCREF(Py_None
); resultobj
= Py_None
;
27286 static PyObject
*_wrap_PyLineShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27287 PyObject
*resultobj
;
27288 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27292 int arg5
= (int) 0 ;
27293 int arg6
= (int) 0 ;
27294 PyObject
* obj0
= 0 ;
27295 PyObject
* obj1
= 0 ;
27296 PyObject
* obj2
= 0 ;
27297 PyObject
* obj3
= 0 ;
27298 PyObject
* obj4
= 0 ;
27299 PyObject
* obj5
= 0 ;
27300 char *kwnames
[] = {
27301 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27307 arg2
= (bool) SWIG_AsBool(obj1
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27309 arg3
= (double) SWIG_AsDouble(obj2
);
27310 if (PyErr_Occurred()) SWIG_fail
;
27311 arg4
= (double) SWIG_AsDouble(obj3
);
27312 if (PyErr_Occurred()) SWIG_fail
;
27314 arg5
= (int) SWIG_AsInt(obj4
);
27315 if (PyErr_Occurred()) SWIG_fail
;
27318 arg6
= (int) SWIG_AsInt(obj5
);
27319 if (PyErr_Occurred()) SWIG_fail
;
27322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27323 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
27325 wxPyEndAllowThreads(__tstate
);
27326 if (PyErr_Occurred()) SWIG_fail
;
27328 Py_INCREF(Py_None
); resultobj
= Py_None
;
27335 static PyObject
*_wrap_PyLineShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27336 PyObject
*resultobj
;
27337 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27340 int arg4
= (int) 0 ;
27341 int arg5
= (int) 0 ;
27342 PyObject
* obj0
= 0 ;
27343 PyObject
* obj1
= 0 ;
27344 PyObject
* obj2
= 0 ;
27345 PyObject
* obj3
= 0 ;
27346 PyObject
* obj4
= 0 ;
27347 char *kwnames
[] = {
27348 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27354 arg2
= (double) SWIG_AsDouble(obj1
);
27355 if (PyErr_Occurred()) SWIG_fail
;
27356 arg3
= (double) SWIG_AsDouble(obj2
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27359 arg4
= (int) SWIG_AsInt(obj3
);
27360 if (PyErr_Occurred()) SWIG_fail
;
27363 arg5
= (int) SWIG_AsInt(obj4
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27368 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
27370 wxPyEndAllowThreads(__tstate
);
27371 if (PyErr_Occurred()) SWIG_fail
;
27373 Py_INCREF(Py_None
); resultobj
= Py_None
;
27380 static PyObject
*_wrap_PyLineShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27381 PyObject
*resultobj
;
27382 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27385 int arg4
= (int) 0 ;
27386 int arg5
= (int) 0 ;
27387 PyObject
* obj0
= 0 ;
27388 PyObject
* obj1
= 0 ;
27389 PyObject
* obj2
= 0 ;
27390 PyObject
* obj3
= 0 ;
27391 PyObject
* obj4
= 0 ;
27392 char *kwnames
[] = {
27393 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27399 arg2
= (double) SWIG_AsDouble(obj1
);
27400 if (PyErr_Occurred()) SWIG_fail
;
27401 arg3
= (double) SWIG_AsDouble(obj2
);
27402 if (PyErr_Occurred()) SWIG_fail
;
27404 arg4
= (int) SWIG_AsInt(obj3
);
27405 if (PyErr_Occurred()) SWIG_fail
;
27408 arg5
= (int) SWIG_AsInt(obj4
);
27409 if (PyErr_Occurred()) SWIG_fail
;
27412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27413 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
27415 wxPyEndAllowThreads(__tstate
);
27416 if (PyErr_Occurred()) SWIG_fail
;
27418 Py_INCREF(Py_None
); resultobj
= Py_None
;
27425 static PyObject
*_wrap_PyLineShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27426 PyObject
*resultobj
;
27427 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27431 int arg5
= (int) 0 ;
27432 int arg6
= (int) 0 ;
27433 PyObject
* obj0
= 0 ;
27434 PyObject
* obj1
= 0 ;
27435 PyObject
* obj2
= 0 ;
27436 PyObject
* obj3
= 0 ;
27437 PyObject
* obj4
= 0 ;
27438 PyObject
* obj5
= 0 ;
27439 char *kwnames
[] = {
27440 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27446 arg2
= (bool) SWIG_AsBool(obj1
);
27447 if (PyErr_Occurred()) SWIG_fail
;
27448 arg3
= (double) SWIG_AsDouble(obj2
);
27449 if (PyErr_Occurred()) SWIG_fail
;
27450 arg4
= (double) SWIG_AsDouble(obj3
);
27451 if (PyErr_Occurred()) SWIG_fail
;
27453 arg5
= (int) SWIG_AsInt(obj4
);
27454 if (PyErr_Occurred()) SWIG_fail
;
27457 arg6
= (int) SWIG_AsInt(obj5
);
27458 if (PyErr_Occurred()) SWIG_fail
;
27461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27462 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
27464 wxPyEndAllowThreads(__tstate
);
27465 if (PyErr_Occurred()) SWIG_fail
;
27467 Py_INCREF(Py_None
); resultobj
= Py_None
;
27474 static PyObject
*_wrap_PyLineShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27475 PyObject
*resultobj
;
27476 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27479 int arg4
= (int) 0 ;
27480 int arg5
= (int) 0 ;
27481 PyObject
* obj0
= 0 ;
27482 PyObject
* obj1
= 0 ;
27483 PyObject
* obj2
= 0 ;
27484 PyObject
* obj3
= 0 ;
27485 PyObject
* obj4
= 0 ;
27486 char *kwnames
[] = {
27487 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27493 arg2
= (double) SWIG_AsDouble(obj1
);
27494 if (PyErr_Occurred()) SWIG_fail
;
27495 arg3
= (double) SWIG_AsDouble(obj2
);
27496 if (PyErr_Occurred()) SWIG_fail
;
27498 arg4
= (int) SWIG_AsInt(obj3
);
27499 if (PyErr_Occurred()) SWIG_fail
;
27502 arg5
= (int) SWIG_AsInt(obj4
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27507 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
27509 wxPyEndAllowThreads(__tstate
);
27510 if (PyErr_Occurred()) SWIG_fail
;
27512 Py_INCREF(Py_None
); resultobj
= Py_None
;
27519 static PyObject
*_wrap_PyLineShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27520 PyObject
*resultobj
;
27521 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27524 int arg4
= (int) 0 ;
27525 int arg5
= (int) 0 ;
27526 PyObject
* obj0
= 0 ;
27527 PyObject
* obj1
= 0 ;
27528 PyObject
* obj2
= 0 ;
27529 PyObject
* obj3
= 0 ;
27530 PyObject
* obj4
= 0 ;
27531 char *kwnames
[] = {
27532 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27538 arg2
= (double) SWIG_AsDouble(obj1
);
27539 if (PyErr_Occurred()) SWIG_fail
;
27540 arg3
= (double) SWIG_AsDouble(obj2
);
27541 if (PyErr_Occurred()) SWIG_fail
;
27543 arg4
= (int) SWIG_AsInt(obj3
);
27544 if (PyErr_Occurred()) SWIG_fail
;
27547 arg5
= (int) SWIG_AsInt(obj4
);
27548 if (PyErr_Occurred()) SWIG_fail
;
27551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27552 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
27554 wxPyEndAllowThreads(__tstate
);
27555 if (PyErr_Occurred()) SWIG_fail
;
27557 Py_INCREF(Py_None
); resultobj
= Py_None
;
27564 static PyObject
*_wrap_PyLineShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27565 PyObject
*resultobj
;
27566 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27572 PyObject
* obj0
= 0 ;
27573 PyObject
* obj1
= 0 ;
27574 PyObject
* obj2
= 0 ;
27575 PyObject
* obj3
= 0 ;
27576 PyObject
* obj4
= 0 ;
27577 PyObject
* obj5
= 0 ;
27578 char *kwnames
[] = {
27579 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyLineShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27586 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27588 if (arg2
== NULL
) {
27589 PyErr_SetString(PyExc_TypeError
,"null reference");
27592 arg3
= (double) SWIG_AsDouble(obj2
);
27593 if (PyErr_Occurred()) SWIG_fail
;
27594 arg4
= (double) SWIG_AsDouble(obj3
);
27595 if (PyErr_Occurred()) SWIG_fail
;
27596 arg5
= (double) SWIG_AsDouble(obj4
);
27597 if (PyErr_Occurred()) SWIG_fail
;
27598 arg6
= (double) SWIG_AsDouble(obj5
);
27599 if (PyErr_Occurred()) SWIG_fail
;
27601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27602 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
27604 wxPyEndAllowThreads(__tstate
);
27605 if (PyErr_Occurred()) SWIG_fail
;
27607 Py_INCREF(Py_None
); resultobj
= Py_None
;
27614 static PyObject
*_wrap_PyLineShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27615 PyObject
*resultobj
;
27616 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27618 PyObject
* obj0
= 0 ;
27619 PyObject
* obj1
= 0 ;
27620 char *kwnames
[] = {
27621 (char *) "self",(char *) "dc", NULL
27624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
27625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27628 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27630 if (arg2
== NULL
) {
27631 PyErr_SetString(PyExc_TypeError
,"null reference");
27635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27636 (arg1
)->base_OnDrawControlPoints(*arg2
);
27638 wxPyEndAllowThreads(__tstate
);
27639 if (PyErr_Occurred()) SWIG_fail
;
27641 Py_INCREF(Py_None
); resultobj
= Py_None
;
27648 static PyObject
*_wrap_PyLineShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27649 PyObject
*resultobj
;
27650 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27652 PyObject
* obj0
= 0 ;
27653 PyObject
* obj1
= 0 ;
27654 char *kwnames
[] = {
27655 (char *) "self",(char *) "dc", NULL
27658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
27659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27662 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27664 if (arg2
== NULL
) {
27665 PyErr_SetString(PyExc_TypeError
,"null reference");
27669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27670 (arg1
)->base_OnEraseControlPoints(*arg2
);
27672 wxPyEndAllowThreads(__tstate
);
27673 if (PyErr_Occurred()) SWIG_fail
;
27675 Py_INCREF(Py_None
); resultobj
= Py_None
;
27682 static PyObject
*_wrap_PyLineShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27683 PyObject
*resultobj
;
27684 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27686 bool arg3
= (bool) True
;
27687 PyObject
* obj0
= 0 ;
27688 PyObject
* obj1
= 0 ;
27689 PyObject
* obj2
= 0 ;
27690 char *kwnames
[] = {
27691 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
27694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27700 if (arg2
== NULL
) {
27701 PyErr_SetString(PyExc_TypeError
,"null reference");
27705 arg3
= (bool) SWIG_AsBool(obj2
);
27706 if (PyErr_Occurred()) SWIG_fail
;
27709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27710 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
27712 wxPyEndAllowThreads(__tstate
);
27713 if (PyErr_Occurred()) SWIG_fail
;
27715 Py_INCREF(Py_None
); resultobj
= Py_None
;
27722 static PyObject
*_wrap_PyLineShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27723 PyObject
*resultobj
;
27724 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27725 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
27729 int arg6
= (int) 0 ;
27730 int arg7
= (int) 0 ;
27731 PyObject
* obj0
= 0 ;
27732 PyObject
* obj1
= 0 ;
27733 PyObject
* obj2
= 0 ;
27734 PyObject
* obj3
= 0 ;
27735 PyObject
* obj4
= 0 ;
27736 PyObject
* obj5
= 0 ;
27737 PyObject
* obj6
= 0 ;
27738 char *kwnames
[] = {
27739 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyLineShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27745 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
27746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27747 arg3
= (bool) SWIG_AsBool(obj2
);
27748 if (PyErr_Occurred()) SWIG_fail
;
27749 arg4
= (double) SWIG_AsDouble(obj3
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27751 arg5
= (double) SWIG_AsDouble(obj4
);
27752 if (PyErr_Occurred()) SWIG_fail
;
27754 arg6
= (int) SWIG_AsInt(obj5
);
27755 if (PyErr_Occurred()) SWIG_fail
;
27758 arg7
= (int) SWIG_AsInt(obj6
);
27759 if (PyErr_Occurred()) SWIG_fail
;
27762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27763 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27765 wxPyEndAllowThreads(__tstate
);
27766 if (PyErr_Occurred()) SWIG_fail
;
27768 Py_INCREF(Py_None
); resultobj
= Py_None
;
27775 static PyObject
*_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27776 PyObject
*resultobj
;
27777 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27778 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
27781 int arg5
= (int) 0 ;
27782 int arg6
= (int) 0 ;
27783 PyObject
* obj0
= 0 ;
27784 PyObject
* obj1
= 0 ;
27785 PyObject
* obj2
= 0 ;
27786 PyObject
* obj3
= 0 ;
27787 PyObject
* obj4
= 0 ;
27788 PyObject
* obj5
= 0 ;
27789 char *kwnames
[] = {
27790 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27796 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
27797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27798 arg3
= (double) SWIG_AsDouble(obj2
);
27799 if (PyErr_Occurred()) SWIG_fail
;
27800 arg4
= (double) SWIG_AsDouble(obj3
);
27801 if (PyErr_Occurred()) SWIG_fail
;
27803 arg5
= (int) SWIG_AsInt(obj4
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27807 arg6
= (int) SWIG_AsInt(obj5
);
27808 if (PyErr_Occurred()) SWIG_fail
;
27811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27812 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
27814 wxPyEndAllowThreads(__tstate
);
27815 if (PyErr_Occurred()) SWIG_fail
;
27817 Py_INCREF(Py_None
); resultobj
= Py_None
;
27824 static PyObject
*_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27825 PyObject
*resultobj
;
27826 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27827 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
27830 int arg5
= (int) 0 ;
27831 int arg6
= (int) 0 ;
27832 PyObject
* obj0
= 0 ;
27833 PyObject
* obj1
= 0 ;
27834 PyObject
* obj2
= 0 ;
27835 PyObject
* obj3
= 0 ;
27836 PyObject
* obj4
= 0 ;
27837 PyObject
* obj5
= 0 ;
27838 char *kwnames
[] = {
27839 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
27846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27847 arg3
= (double) SWIG_AsDouble(obj2
);
27848 if (PyErr_Occurred()) SWIG_fail
;
27849 arg4
= (double) SWIG_AsDouble(obj3
);
27850 if (PyErr_Occurred()) SWIG_fail
;
27852 arg5
= (int) SWIG_AsInt(obj4
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27856 arg6
= (int) SWIG_AsInt(obj5
);
27857 if (PyErr_Occurred()) SWIG_fail
;
27860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27861 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
27863 wxPyEndAllowThreads(__tstate
);
27864 if (PyErr_Occurred()) SWIG_fail
;
27866 Py_INCREF(Py_None
); resultobj
= Py_None
;
27873 static PyObject
*_wrap_PyLineShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27874 PyObject
*resultobj
;
27875 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27878 PyObject
* obj0
= 0 ;
27879 PyObject
* obj1
= 0 ;
27880 PyObject
* obj2
= 0 ;
27881 char *kwnames
[] = {
27882 (char *) "self",(char *) "w",(char *) "h", NULL
27885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27888 arg2
= (double) SWIG_AsDouble(obj1
);
27889 if (PyErr_Occurred()) SWIG_fail
;
27890 arg3
= (double) SWIG_AsDouble(obj2
);
27891 if (PyErr_Occurred()) SWIG_fail
;
27893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27894 (arg1
)->base_OnBeginSize(arg2
,arg3
);
27896 wxPyEndAllowThreads(__tstate
);
27897 if (PyErr_Occurred()) SWIG_fail
;
27899 Py_INCREF(Py_None
); resultobj
= Py_None
;
27906 static PyObject
*_wrap_PyLineShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27907 PyObject
*resultobj
;
27908 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27911 PyObject
* obj0
= 0 ;
27912 PyObject
* obj1
= 0 ;
27913 PyObject
* obj2
= 0 ;
27914 char *kwnames
[] = {
27915 (char *) "self",(char *) "w",(char *) "h", NULL
27918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27921 arg2
= (double) SWIG_AsDouble(obj1
);
27922 if (PyErr_Occurred()) SWIG_fail
;
27923 arg3
= (double) SWIG_AsDouble(obj2
);
27924 if (PyErr_Occurred()) SWIG_fail
;
27926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27927 (arg1
)->base_OnEndSize(arg2
,arg3
);
27929 wxPyEndAllowThreads(__tstate
);
27930 if (PyErr_Occurred()) SWIG_fail
;
27932 Py_INCREF(Py_None
); resultobj
= Py_None
;
27939 static PyObject
* PyLineShape_swigregister(PyObject
*, PyObject
*args
) {
27941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27942 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape
, obj
);
27944 return Py_BuildValue((char *)"");
27946 static PyObject
*_wrap_new_PyPolygonShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27947 PyObject
*resultobj
;
27948 wxPyPolygonShape
*result
;
27949 char *kwnames
[] = {
27953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyPolygonShape",kwnames
)) goto fail
;
27955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27956 result
= (wxPyPolygonShape
*)new wxPyPolygonShape();
27958 wxPyEndAllowThreads(__tstate
);
27959 if (PyErr_Occurred()) SWIG_fail
;
27961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPolygonShape
, 1);
27968 static PyObject
*_wrap_PyPolygonShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27969 PyObject
*resultobj
;
27970 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
27971 PyObject
*arg2
= (PyObject
*) 0 ;
27972 PyObject
*arg3
= (PyObject
*) 0 ;
27973 PyObject
* obj0
= 0 ;
27974 PyObject
* obj1
= 0 ;
27975 PyObject
* obj2
= 0 ;
27976 char *kwnames
[] = {
27977 (char *) "self",(char *) "self",(char *) "_class", NULL
27980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
27982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27987 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27989 wxPyEndAllowThreads(__tstate
);
27990 if (PyErr_Occurred()) SWIG_fail
;
27992 Py_INCREF(Py_None
); resultobj
= Py_None
;
27999 static PyObject
*_wrap_PyPolygonShape_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28000 PyObject
*resultobj
;
28001 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28002 PyObject
*arg2
= (PyObject
*) 0 ;
28004 PyObject
* obj0
= 0 ;
28005 PyObject
* obj1
= 0 ;
28006 char *kwnames
[] = {
28007 (char *) "self",(char *) "points", NULL
28010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
28011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28016 result
= (PyObject
*)wxPyPolygonShape_Create(arg1
,arg2
);
28018 wxPyEndAllowThreads(__tstate
);
28019 if (PyErr_Occurred()) SWIG_fail
;
28021 resultobj
= result
;
28028 static PyObject
*_wrap_PyPolygonShape_AddPolygonPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28029 PyObject
*resultobj
;
28030 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28031 int arg2
= (int) 0 ;
28032 PyObject
* obj0
= 0 ;
28033 PyObject
* obj1
= 0 ;
28034 char *kwnames
[] = {
28035 (char *) "self",(char *) "pos", NULL
28038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyPolygonShape_AddPolygonPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28042 arg2
= (int) SWIG_AsInt(obj1
);
28043 if (PyErr_Occurred()) SWIG_fail
;
28046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28047 (arg1
)->AddPolygonPoint(arg2
);
28049 wxPyEndAllowThreads(__tstate
);
28050 if (PyErr_Occurred()) SWIG_fail
;
28052 Py_INCREF(Py_None
); resultobj
= Py_None
;
28059 static PyObject
*_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28060 PyObject
*resultobj
;
28061 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28062 PyObject
* obj0
= 0 ;
28063 char *kwnames
[] = {
28064 (char *) "self", NULL
28067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames
,&obj0
)) goto fail
;
28068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28072 (arg1
)->CalculatePolygonCentre();
28074 wxPyEndAllowThreads(__tstate
);
28075 if (PyErr_Occurred()) SWIG_fail
;
28077 Py_INCREF(Py_None
); resultobj
= Py_None
;
28084 static PyObject
*_wrap_PyPolygonShape_DeletePolygonPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28085 PyObject
*resultobj
;
28086 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28087 int arg2
= (int) 0 ;
28088 PyObject
* obj0
= 0 ;
28089 PyObject
* obj1
= 0 ;
28090 char *kwnames
[] = {
28091 (char *) "self",(char *) "pos", NULL
28094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyPolygonShape_DeletePolygonPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28098 arg2
= (int) SWIG_AsInt(obj1
);
28099 if (PyErr_Occurred()) SWIG_fail
;
28102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28103 (arg1
)->DeletePolygonPoint(arg2
);
28105 wxPyEndAllowThreads(__tstate
);
28106 if (PyErr_Occurred()) SWIG_fail
;
28108 Py_INCREF(Py_None
); resultobj
= Py_None
;
28115 static PyObject
*_wrap_PyPolygonShape_GetPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28116 PyObject
*resultobj
;
28117 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28119 PyObject
* obj0
= 0 ;
28120 char *kwnames
[] = {
28121 (char *) "self", NULL
28124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetPoints",kwnames
,&obj0
)) goto fail
;
28125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28129 result
= (PyObject
*)wxPyPolygonShape_GetPoints(arg1
);
28131 wxPyEndAllowThreads(__tstate
);
28132 if (PyErr_Occurred()) SWIG_fail
;
28134 resultobj
= result
;
28141 static PyObject
*_wrap_PyPolygonShape_GetOriginalPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28142 PyObject
*resultobj
;
28143 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28145 PyObject
* obj0
= 0 ;
28146 char *kwnames
[] = {
28147 (char *) "self", NULL
28150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames
,&obj0
)) goto fail
;
28151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28155 result
= (PyObject
*)wxPyPolygonShape_GetOriginalPoints(arg1
);
28157 wxPyEndAllowThreads(__tstate
);
28158 if (PyErr_Occurred()) SWIG_fail
;
28160 resultobj
= result
;
28167 static PyObject
*_wrap_PyPolygonShape_GetOriginalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28168 PyObject
*resultobj
;
28169 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28171 PyObject
* obj0
= 0 ;
28172 char *kwnames
[] = {
28173 (char *) "self", NULL
28176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames
,&obj0
)) goto fail
;
28177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28181 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalWidth();
28183 wxPyEndAllowThreads(__tstate
);
28184 if (PyErr_Occurred()) SWIG_fail
;
28186 resultobj
= SWIG_FromDouble((double)result
);
28193 static PyObject
*_wrap_PyPolygonShape_GetOriginalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28194 PyObject
*resultobj
;
28195 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28197 PyObject
* obj0
= 0 ;
28198 char *kwnames
[] = {
28199 (char *) "self", NULL
28202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames
,&obj0
)) goto fail
;
28203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28207 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalHeight();
28209 wxPyEndAllowThreads(__tstate
);
28210 if (PyErr_Occurred()) SWIG_fail
;
28212 resultobj
= SWIG_FromDouble((double)result
);
28219 static PyObject
*_wrap_PyPolygonShape_SetOriginalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28220 PyObject
*resultobj
;
28221 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28223 PyObject
* obj0
= 0 ;
28224 PyObject
* obj1
= 0 ;
28225 char *kwnames
[] = {
28226 (char *) "self",(char *) "w", NULL
28229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_SetOriginalWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
28230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28232 arg2
= (double) SWIG_AsDouble(obj1
);
28233 if (PyErr_Occurred()) SWIG_fail
;
28235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28236 (arg1
)->SetOriginalWidth(arg2
);
28238 wxPyEndAllowThreads(__tstate
);
28239 if (PyErr_Occurred()) SWIG_fail
;
28241 Py_INCREF(Py_None
); resultobj
= Py_None
;
28248 static PyObject
*_wrap_PyPolygonShape_SetOriginalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28249 PyObject
*resultobj
;
28250 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28252 PyObject
* obj0
= 0 ;
28253 PyObject
* obj1
= 0 ;
28254 char *kwnames
[] = {
28255 (char *) "self",(char *) "h", NULL
28258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_SetOriginalHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
28259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28261 arg2
= (double) SWIG_AsDouble(obj1
);
28262 if (PyErr_Occurred()) SWIG_fail
;
28264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28265 (arg1
)->SetOriginalHeight(arg2
);
28267 wxPyEndAllowThreads(__tstate
);
28268 if (PyErr_Occurred()) SWIG_fail
;
28270 Py_INCREF(Py_None
); resultobj
= Py_None
;
28277 static PyObject
*_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28278 PyObject
*resultobj
;
28279 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28280 PyObject
* obj0
= 0 ;
28281 char *kwnames
[] = {
28282 (char *) "self", NULL
28285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames
,&obj0
)) goto fail
;
28286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28290 (arg1
)->UpdateOriginalPoints();
28292 wxPyEndAllowThreads(__tstate
);
28293 if (PyErr_Occurred()) SWIG_fail
;
28295 Py_INCREF(Py_None
); resultobj
= Py_None
;
28302 static PyObject
*_wrap_PyPolygonShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28303 PyObject
*resultobj
;
28304 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28306 PyObject
* obj0
= 0 ;
28307 PyObject
* obj1
= 0 ;
28308 char *kwnames
[] = {
28309 (char *) "self",(char *) "dc", NULL
28312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
28313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28318 if (arg2
== NULL
) {
28319 PyErr_SetString(PyExc_TypeError
,"null reference");
28323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28324 (arg1
)->base_OnDraw(*arg2
);
28326 wxPyEndAllowThreads(__tstate
);
28327 if (PyErr_Occurred()) SWIG_fail
;
28329 Py_INCREF(Py_None
); resultobj
= Py_None
;
28336 static PyObject
*_wrap_PyPolygonShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28337 PyObject
*resultobj
;
28338 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28340 PyObject
* obj0
= 0 ;
28341 PyObject
* obj1
= 0 ;
28342 char *kwnames
[] = {
28343 (char *) "self",(char *) "dc", NULL
28346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
28347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28350 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28352 if (arg2
== NULL
) {
28353 PyErr_SetString(PyExc_TypeError
,"null reference");
28357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28358 (arg1
)->base_OnDrawContents(*arg2
);
28360 wxPyEndAllowThreads(__tstate
);
28361 if (PyErr_Occurred()) SWIG_fail
;
28363 Py_INCREF(Py_None
); resultobj
= Py_None
;
28370 static PyObject
*_wrap_PyPolygonShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28371 PyObject
*resultobj
;
28372 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28374 bool arg3
= (bool) FALSE
;
28375 PyObject
* obj0
= 0 ;
28376 PyObject
* obj1
= 0 ;
28377 PyObject
* obj2
= 0 ;
28378 char *kwnames
[] = {
28379 (char *) "self",(char *) "dc",(char *) "erase", NULL
28382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28385 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28386 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28388 if (arg2
== NULL
) {
28389 PyErr_SetString(PyExc_TypeError
,"null reference");
28393 arg3
= (bool) SWIG_AsBool(obj2
);
28394 if (PyErr_Occurred()) SWIG_fail
;
28397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28398 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
28400 wxPyEndAllowThreads(__tstate
);
28401 if (PyErr_Occurred()) SWIG_fail
;
28403 Py_INCREF(Py_None
); resultobj
= Py_None
;
28410 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28411 PyObject
*resultobj
;
28412 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28414 PyObject
* obj0
= 0 ;
28415 PyObject
* obj1
= 0 ;
28416 char *kwnames
[] = {
28417 (char *) "self",(char *) "dc", NULL
28420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
28421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28424 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28426 if (arg2
== NULL
) {
28427 PyErr_SetString(PyExc_TypeError
,"null reference");
28431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28432 (arg1
)->base_OnMoveLinks(*arg2
);
28434 wxPyEndAllowThreads(__tstate
);
28435 if (PyErr_Occurred()) SWIG_fail
;
28437 Py_INCREF(Py_None
); resultobj
= Py_None
;
28444 static PyObject
*_wrap_PyPolygonShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28445 PyObject
*resultobj
;
28446 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28448 PyObject
* obj0
= 0 ;
28449 PyObject
* obj1
= 0 ;
28450 char *kwnames
[] = {
28451 (char *) "self",(char *) "dc", NULL
28454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
28455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28458 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28460 if (arg2
== NULL
) {
28461 PyErr_SetString(PyExc_TypeError
,"null reference");
28465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28466 (arg1
)->base_OnErase(*arg2
);
28468 wxPyEndAllowThreads(__tstate
);
28469 if (PyErr_Occurred()) SWIG_fail
;
28471 Py_INCREF(Py_None
); resultobj
= Py_None
;
28478 static PyObject
*_wrap_PyPolygonShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28479 PyObject
*resultobj
;
28480 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28482 PyObject
* obj0
= 0 ;
28483 PyObject
* obj1
= 0 ;
28484 char *kwnames
[] = {
28485 (char *) "self",(char *) "dc", NULL
28488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
28489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28492 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28494 if (arg2
== NULL
) {
28495 PyErr_SetString(PyExc_TypeError
,"null reference");
28499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28500 (arg1
)->base_OnEraseContents(*arg2
);
28502 wxPyEndAllowThreads(__tstate
);
28503 if (PyErr_Occurred()) SWIG_fail
;
28505 Py_INCREF(Py_None
); resultobj
= Py_None
;
28512 static PyObject
*_wrap_PyPolygonShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28513 PyObject
*resultobj
;
28514 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28516 PyObject
* obj0
= 0 ;
28517 PyObject
* obj1
= 0 ;
28518 char *kwnames
[] = {
28519 (char *) "self",(char *) "dc", NULL
28522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
28523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28528 if (arg2
== NULL
) {
28529 PyErr_SetString(PyExc_TypeError
,"null reference");
28533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28534 (arg1
)->base_OnHighlight(*arg2
);
28536 wxPyEndAllowThreads(__tstate
);
28537 if (PyErr_Occurred()) SWIG_fail
;
28539 Py_INCREF(Py_None
); resultobj
= Py_None
;
28546 static PyObject
*_wrap_PyPolygonShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28547 PyObject
*resultobj
;
28548 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28551 int arg4
= (int) 0 ;
28552 int arg5
= (int) 0 ;
28553 PyObject
* obj0
= 0 ;
28554 PyObject
* obj1
= 0 ;
28555 PyObject
* obj2
= 0 ;
28556 PyObject
* obj3
= 0 ;
28557 PyObject
* obj4
= 0 ;
28558 char *kwnames
[] = {
28559 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28565 arg2
= (double) SWIG_AsDouble(obj1
);
28566 if (PyErr_Occurred()) SWIG_fail
;
28567 arg3
= (double) SWIG_AsDouble(obj2
);
28568 if (PyErr_Occurred()) SWIG_fail
;
28570 arg4
= (int) SWIG_AsInt(obj3
);
28571 if (PyErr_Occurred()) SWIG_fail
;
28574 arg5
= (int) SWIG_AsInt(obj4
);
28575 if (PyErr_Occurred()) SWIG_fail
;
28578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28579 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
28581 wxPyEndAllowThreads(__tstate
);
28582 if (PyErr_Occurred()) SWIG_fail
;
28584 Py_INCREF(Py_None
); resultobj
= Py_None
;
28591 static PyObject
*_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28592 PyObject
*resultobj
;
28593 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28596 int arg4
= (int) 0 ;
28597 int arg5
= (int) 0 ;
28598 PyObject
* obj0
= 0 ;
28599 PyObject
* obj1
= 0 ;
28600 PyObject
* obj2
= 0 ;
28601 PyObject
* obj3
= 0 ;
28602 PyObject
* obj4
= 0 ;
28603 char *kwnames
[] = {
28604 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28610 arg2
= (double) SWIG_AsDouble(obj1
);
28611 if (PyErr_Occurred()) SWIG_fail
;
28612 arg3
= (double) SWIG_AsDouble(obj2
);
28613 if (PyErr_Occurred()) SWIG_fail
;
28615 arg4
= (int) SWIG_AsInt(obj3
);
28616 if (PyErr_Occurred()) SWIG_fail
;
28619 arg5
= (int) SWIG_AsInt(obj4
);
28620 if (PyErr_Occurred()) SWIG_fail
;
28623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28624 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
28626 wxPyEndAllowThreads(__tstate
);
28627 if (PyErr_Occurred()) SWIG_fail
;
28629 Py_INCREF(Py_None
); resultobj
= Py_None
;
28636 static PyObject
*_wrap_PyPolygonShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28637 PyObject
*resultobj
;
28638 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28641 int arg4
= (int) 0 ;
28642 int arg5
= (int) 0 ;
28643 PyObject
* obj0
= 0 ;
28644 PyObject
* obj1
= 0 ;
28645 PyObject
* obj2
= 0 ;
28646 PyObject
* obj3
= 0 ;
28647 PyObject
* obj4
= 0 ;
28648 char *kwnames
[] = {
28649 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28655 arg2
= (double) SWIG_AsDouble(obj1
);
28656 if (PyErr_Occurred()) SWIG_fail
;
28657 arg3
= (double) SWIG_AsDouble(obj2
);
28658 if (PyErr_Occurred()) SWIG_fail
;
28660 arg4
= (int) SWIG_AsInt(obj3
);
28661 if (PyErr_Occurred()) SWIG_fail
;
28664 arg5
= (int) SWIG_AsInt(obj4
);
28665 if (PyErr_Occurred()) SWIG_fail
;
28668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28669 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
28671 wxPyEndAllowThreads(__tstate
);
28672 if (PyErr_Occurred()) SWIG_fail
;
28674 Py_INCREF(Py_None
); resultobj
= Py_None
;
28681 static PyObject
*_wrap_PyPolygonShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28682 PyObject
*resultobj
;
28683 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28686 PyObject
* obj0
= 0 ;
28687 PyObject
* obj1
= 0 ;
28688 PyObject
* obj2
= 0 ;
28689 char *kwnames
[] = {
28690 (char *) "self",(char *) "x",(char *) "y", NULL
28693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28696 arg2
= (double) SWIG_AsDouble(obj1
);
28697 if (PyErr_Occurred()) SWIG_fail
;
28698 arg3
= (double) SWIG_AsDouble(obj2
);
28699 if (PyErr_Occurred()) SWIG_fail
;
28701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28702 (arg1
)->base_OnSize(arg2
,arg3
);
28704 wxPyEndAllowThreads(__tstate
);
28705 if (PyErr_Occurred()) SWIG_fail
;
28707 Py_INCREF(Py_None
); resultobj
= Py_None
;
28714 static PyObject
*_wrap_PyPolygonShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28715 PyObject
*resultobj
;
28716 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28722 bool arg7
= (bool) True
;
28724 PyObject
* obj0
= 0 ;
28725 PyObject
* obj1
= 0 ;
28726 PyObject
* obj2
= 0 ;
28727 PyObject
* obj3
= 0 ;
28728 PyObject
* obj4
= 0 ;
28729 PyObject
* obj5
= 0 ;
28730 PyObject
* obj6
= 0 ;
28731 char *kwnames
[] = {
28732 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28739 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28741 if (arg2
== NULL
) {
28742 PyErr_SetString(PyExc_TypeError
,"null reference");
28745 arg3
= (double) SWIG_AsDouble(obj2
);
28746 if (PyErr_Occurred()) SWIG_fail
;
28747 arg4
= (double) SWIG_AsDouble(obj3
);
28748 if (PyErr_Occurred()) SWIG_fail
;
28749 arg5
= (double) SWIG_AsDouble(obj4
);
28750 if (PyErr_Occurred()) SWIG_fail
;
28751 arg6
= (double) SWIG_AsDouble(obj5
);
28752 if (PyErr_Occurred()) SWIG_fail
;
28754 arg7
= (bool) SWIG_AsBool(obj6
);
28755 if (PyErr_Occurred()) SWIG_fail
;
28758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28759 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28761 wxPyEndAllowThreads(__tstate
);
28762 if (PyErr_Occurred()) SWIG_fail
;
28764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28771 static PyObject
*_wrap_PyPolygonShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28772 PyObject
*resultobj
;
28773 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28779 bool arg7
= (bool) True
;
28780 PyObject
* obj0
= 0 ;
28781 PyObject
* obj1
= 0 ;
28782 PyObject
* obj2
= 0 ;
28783 PyObject
* obj3
= 0 ;
28784 PyObject
* obj4
= 0 ;
28785 PyObject
* obj5
= 0 ;
28786 PyObject
* obj6
= 0 ;
28787 char *kwnames
[] = {
28788 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28794 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28795 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28797 if (arg2
== NULL
) {
28798 PyErr_SetString(PyExc_TypeError
,"null reference");
28801 arg3
= (double) SWIG_AsDouble(obj2
);
28802 if (PyErr_Occurred()) SWIG_fail
;
28803 arg4
= (double) SWIG_AsDouble(obj3
);
28804 if (PyErr_Occurred()) SWIG_fail
;
28805 arg5
= (double) SWIG_AsDouble(obj4
);
28806 if (PyErr_Occurred()) SWIG_fail
;
28807 arg6
= (double) SWIG_AsDouble(obj5
);
28808 if (PyErr_Occurred()) SWIG_fail
;
28810 arg7
= (bool) SWIG_AsBool(obj6
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28815 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28817 wxPyEndAllowThreads(__tstate
);
28818 if (PyErr_Occurred()) SWIG_fail
;
28820 Py_INCREF(Py_None
); resultobj
= Py_None
;
28827 static PyObject
*_wrap_PyPolygonShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28828 PyObject
*resultobj
;
28829 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28833 int arg5
= (int) 0 ;
28834 int arg6
= (int) 0 ;
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 char *kwnames
[] = {
28842 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28848 arg2
= (bool) SWIG_AsBool(obj1
);
28849 if (PyErr_Occurred()) SWIG_fail
;
28850 arg3
= (double) SWIG_AsDouble(obj2
);
28851 if (PyErr_Occurred()) SWIG_fail
;
28852 arg4
= (double) SWIG_AsDouble(obj3
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28855 arg5
= (int) SWIG_AsInt(obj4
);
28856 if (PyErr_Occurred()) SWIG_fail
;
28859 arg6
= (int) SWIG_AsInt(obj5
);
28860 if (PyErr_Occurred()) SWIG_fail
;
28863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28864 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
28866 wxPyEndAllowThreads(__tstate
);
28867 if (PyErr_Occurred()) SWIG_fail
;
28869 Py_INCREF(Py_None
); resultobj
= Py_None
;
28876 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28877 PyObject
*resultobj
;
28878 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28881 int arg4
= (int) 0 ;
28882 int arg5
= (int) 0 ;
28883 PyObject
* obj0
= 0 ;
28884 PyObject
* obj1
= 0 ;
28885 PyObject
* obj2
= 0 ;
28886 PyObject
* obj3
= 0 ;
28887 PyObject
* obj4
= 0 ;
28888 char *kwnames
[] = {
28889 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28895 arg2
= (double) SWIG_AsDouble(obj1
);
28896 if (PyErr_Occurred()) SWIG_fail
;
28897 arg3
= (double) SWIG_AsDouble(obj2
);
28898 if (PyErr_Occurred()) SWIG_fail
;
28900 arg4
= (int) SWIG_AsInt(obj3
);
28901 if (PyErr_Occurred()) SWIG_fail
;
28904 arg5
= (int) SWIG_AsInt(obj4
);
28905 if (PyErr_Occurred()) SWIG_fail
;
28908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28909 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
28911 wxPyEndAllowThreads(__tstate
);
28912 if (PyErr_Occurred()) SWIG_fail
;
28914 Py_INCREF(Py_None
); resultobj
= Py_None
;
28921 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28922 PyObject
*resultobj
;
28923 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28926 int arg4
= (int) 0 ;
28927 int arg5
= (int) 0 ;
28928 PyObject
* obj0
= 0 ;
28929 PyObject
* obj1
= 0 ;
28930 PyObject
* obj2
= 0 ;
28931 PyObject
* obj3
= 0 ;
28932 PyObject
* obj4
= 0 ;
28933 char *kwnames
[] = {
28934 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28940 arg2
= (double) SWIG_AsDouble(obj1
);
28941 if (PyErr_Occurred()) SWIG_fail
;
28942 arg3
= (double) SWIG_AsDouble(obj2
);
28943 if (PyErr_Occurred()) SWIG_fail
;
28945 arg4
= (int) SWIG_AsInt(obj3
);
28946 if (PyErr_Occurred()) SWIG_fail
;
28949 arg5
= (int) SWIG_AsInt(obj4
);
28950 if (PyErr_Occurred()) SWIG_fail
;
28953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28954 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
28956 wxPyEndAllowThreads(__tstate
);
28957 if (PyErr_Occurred()) SWIG_fail
;
28959 Py_INCREF(Py_None
); resultobj
= Py_None
;
28966 static PyObject
*_wrap_PyPolygonShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28967 PyObject
*resultobj
;
28968 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28972 int arg5
= (int) 0 ;
28973 int arg6
= (int) 0 ;
28974 PyObject
* obj0
= 0 ;
28975 PyObject
* obj1
= 0 ;
28976 PyObject
* obj2
= 0 ;
28977 PyObject
* obj3
= 0 ;
28978 PyObject
* obj4
= 0 ;
28979 PyObject
* obj5
= 0 ;
28980 char *kwnames
[] = {
28981 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28987 arg2
= (bool) SWIG_AsBool(obj1
);
28988 if (PyErr_Occurred()) SWIG_fail
;
28989 arg3
= (double) SWIG_AsDouble(obj2
);
28990 if (PyErr_Occurred()) SWIG_fail
;
28991 arg4
= (double) SWIG_AsDouble(obj3
);
28992 if (PyErr_Occurred()) SWIG_fail
;
28994 arg5
= (int) SWIG_AsInt(obj4
);
28995 if (PyErr_Occurred()) SWIG_fail
;
28998 arg6
= (int) SWIG_AsInt(obj5
);
28999 if (PyErr_Occurred()) SWIG_fail
;
29002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29003 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
29005 wxPyEndAllowThreads(__tstate
);
29006 if (PyErr_Occurred()) SWIG_fail
;
29008 Py_INCREF(Py_None
); resultobj
= Py_None
;
29015 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29016 PyObject
*resultobj
;
29017 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29020 int arg4
= (int) 0 ;
29021 int arg5
= (int) 0 ;
29022 PyObject
* obj0
= 0 ;
29023 PyObject
* obj1
= 0 ;
29024 PyObject
* obj2
= 0 ;
29025 PyObject
* obj3
= 0 ;
29026 PyObject
* obj4
= 0 ;
29027 char *kwnames
[] = {
29028 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29034 arg2
= (double) SWIG_AsDouble(obj1
);
29035 if (PyErr_Occurred()) SWIG_fail
;
29036 arg3
= (double) SWIG_AsDouble(obj2
);
29037 if (PyErr_Occurred()) SWIG_fail
;
29039 arg4
= (int) SWIG_AsInt(obj3
);
29040 if (PyErr_Occurred()) SWIG_fail
;
29043 arg5
= (int) SWIG_AsInt(obj4
);
29044 if (PyErr_Occurred()) SWIG_fail
;
29047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29048 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
29050 wxPyEndAllowThreads(__tstate
);
29051 if (PyErr_Occurred()) SWIG_fail
;
29053 Py_INCREF(Py_None
); resultobj
= Py_None
;
29060 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29061 PyObject
*resultobj
;
29062 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29065 int arg4
= (int) 0 ;
29066 int arg5
= (int) 0 ;
29067 PyObject
* obj0
= 0 ;
29068 PyObject
* obj1
= 0 ;
29069 PyObject
* obj2
= 0 ;
29070 PyObject
* obj3
= 0 ;
29071 PyObject
* obj4
= 0 ;
29072 char *kwnames
[] = {
29073 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29079 arg2
= (double) SWIG_AsDouble(obj1
);
29080 if (PyErr_Occurred()) SWIG_fail
;
29081 arg3
= (double) SWIG_AsDouble(obj2
);
29082 if (PyErr_Occurred()) SWIG_fail
;
29084 arg4
= (int) SWIG_AsInt(obj3
);
29085 if (PyErr_Occurred()) SWIG_fail
;
29088 arg5
= (int) SWIG_AsInt(obj4
);
29089 if (PyErr_Occurred()) SWIG_fail
;
29092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29093 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
29095 wxPyEndAllowThreads(__tstate
);
29096 if (PyErr_Occurred()) SWIG_fail
;
29098 Py_INCREF(Py_None
); resultobj
= Py_None
;
29105 static PyObject
*_wrap_PyPolygonShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29106 PyObject
*resultobj
;
29107 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29113 PyObject
* obj0
= 0 ;
29114 PyObject
* obj1
= 0 ;
29115 PyObject
* obj2
= 0 ;
29116 PyObject
* obj3
= 0 ;
29117 PyObject
* obj4
= 0 ;
29118 PyObject
* obj5
= 0 ;
29119 char *kwnames
[] = {
29120 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyPolygonShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29129 if (arg2
== NULL
) {
29130 PyErr_SetString(PyExc_TypeError
,"null reference");
29133 arg3
= (double) SWIG_AsDouble(obj2
);
29134 if (PyErr_Occurred()) SWIG_fail
;
29135 arg4
= (double) SWIG_AsDouble(obj3
);
29136 if (PyErr_Occurred()) SWIG_fail
;
29137 arg5
= (double) SWIG_AsDouble(obj4
);
29138 if (PyErr_Occurred()) SWIG_fail
;
29139 arg6
= (double) SWIG_AsDouble(obj5
);
29140 if (PyErr_Occurred()) SWIG_fail
;
29142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29143 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
29145 wxPyEndAllowThreads(__tstate
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29148 Py_INCREF(Py_None
); resultobj
= Py_None
;
29155 static PyObject
*_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29156 PyObject
*resultobj
;
29157 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29159 PyObject
* obj0
= 0 ;
29160 PyObject
* obj1
= 0 ;
29161 char *kwnames
[] = {
29162 (char *) "self",(char *) "dc", NULL
29165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
29166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29169 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29171 if (arg2
== NULL
) {
29172 PyErr_SetString(PyExc_TypeError
,"null reference");
29176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29177 (arg1
)->base_OnDrawControlPoints(*arg2
);
29179 wxPyEndAllowThreads(__tstate
);
29180 if (PyErr_Occurred()) SWIG_fail
;
29182 Py_INCREF(Py_None
); resultobj
= Py_None
;
29189 static PyObject
*_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29190 PyObject
*resultobj
;
29191 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29193 PyObject
* obj0
= 0 ;
29194 PyObject
* obj1
= 0 ;
29195 char *kwnames
[] = {
29196 (char *) "self",(char *) "dc", NULL
29199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
29200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29203 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29205 if (arg2
== NULL
) {
29206 PyErr_SetString(PyExc_TypeError
,"null reference");
29210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29211 (arg1
)->base_OnEraseControlPoints(*arg2
);
29213 wxPyEndAllowThreads(__tstate
);
29214 if (PyErr_Occurred()) SWIG_fail
;
29216 Py_INCREF(Py_None
); resultobj
= Py_None
;
29223 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29224 PyObject
*resultobj
;
29225 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29227 bool arg3
= (bool) True
;
29228 PyObject
* obj0
= 0 ;
29229 PyObject
* obj1
= 0 ;
29230 PyObject
* obj2
= 0 ;
29231 char *kwnames
[] = {
29232 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
29235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29241 if (arg2
== NULL
) {
29242 PyErr_SetString(PyExc_TypeError
,"null reference");
29246 arg3
= (bool) SWIG_AsBool(obj2
);
29247 if (PyErr_Occurred()) SWIG_fail
;
29250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29251 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
29253 wxPyEndAllowThreads(__tstate
);
29254 if (PyErr_Occurred()) SWIG_fail
;
29256 Py_INCREF(Py_None
); resultobj
= Py_None
;
29263 static PyObject
*_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29264 PyObject
*resultobj
;
29265 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29266 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29270 int arg6
= (int) 0 ;
29271 int arg7
= (int) 0 ;
29272 PyObject
* obj0
= 0 ;
29273 PyObject
* obj1
= 0 ;
29274 PyObject
* obj2
= 0 ;
29275 PyObject
* obj3
= 0 ;
29276 PyObject
* obj4
= 0 ;
29277 PyObject
* obj5
= 0 ;
29278 PyObject
* obj6
= 0 ;
29279 char *kwnames
[] = {
29280 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyPolygonShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29288 arg3
= (bool) SWIG_AsBool(obj2
);
29289 if (PyErr_Occurred()) SWIG_fail
;
29290 arg4
= (double) SWIG_AsDouble(obj3
);
29291 if (PyErr_Occurred()) SWIG_fail
;
29292 arg5
= (double) SWIG_AsDouble(obj4
);
29293 if (PyErr_Occurred()) SWIG_fail
;
29295 arg6
= (int) SWIG_AsInt(obj5
);
29296 if (PyErr_Occurred()) SWIG_fail
;
29299 arg7
= (int) SWIG_AsInt(obj6
);
29300 if (PyErr_Occurred()) SWIG_fail
;
29303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29304 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29306 wxPyEndAllowThreads(__tstate
);
29307 if (PyErr_Occurred()) SWIG_fail
;
29309 Py_INCREF(Py_None
); resultobj
= Py_None
;
29316 static PyObject
*_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29317 PyObject
*resultobj
;
29318 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29319 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29322 int arg5
= (int) 0 ;
29323 int arg6
= (int) 0 ;
29324 PyObject
* obj0
= 0 ;
29325 PyObject
* obj1
= 0 ;
29326 PyObject
* obj2
= 0 ;
29327 PyObject
* obj3
= 0 ;
29328 PyObject
* obj4
= 0 ;
29329 PyObject
* obj5
= 0 ;
29330 char *kwnames
[] = {
29331 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29339 arg3
= (double) SWIG_AsDouble(obj2
);
29340 if (PyErr_Occurred()) SWIG_fail
;
29341 arg4
= (double) SWIG_AsDouble(obj3
);
29342 if (PyErr_Occurred()) SWIG_fail
;
29344 arg5
= (int) SWIG_AsInt(obj4
);
29345 if (PyErr_Occurred()) SWIG_fail
;
29348 arg6
= (int) SWIG_AsInt(obj5
);
29349 if (PyErr_Occurred()) SWIG_fail
;
29352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29353 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29355 wxPyEndAllowThreads(__tstate
);
29356 if (PyErr_Occurred()) SWIG_fail
;
29358 Py_INCREF(Py_None
); resultobj
= Py_None
;
29365 static PyObject
*_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29366 PyObject
*resultobj
;
29367 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29368 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29371 int arg5
= (int) 0 ;
29372 int arg6
= (int) 0 ;
29373 PyObject
* obj0
= 0 ;
29374 PyObject
* obj1
= 0 ;
29375 PyObject
* obj2
= 0 ;
29376 PyObject
* obj3
= 0 ;
29377 PyObject
* obj4
= 0 ;
29378 PyObject
* obj5
= 0 ;
29379 char *kwnames
[] = {
29380 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29388 arg3
= (double) SWIG_AsDouble(obj2
);
29389 if (PyErr_Occurred()) SWIG_fail
;
29390 arg4
= (double) SWIG_AsDouble(obj3
);
29391 if (PyErr_Occurred()) SWIG_fail
;
29393 arg5
= (int) SWIG_AsInt(obj4
);
29394 if (PyErr_Occurred()) SWIG_fail
;
29397 arg6
= (int) SWIG_AsInt(obj5
);
29398 if (PyErr_Occurred()) SWIG_fail
;
29401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29402 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29404 wxPyEndAllowThreads(__tstate
);
29405 if (PyErr_Occurred()) SWIG_fail
;
29407 Py_INCREF(Py_None
); resultobj
= Py_None
;
29414 static PyObject
*_wrap_PyPolygonShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29415 PyObject
*resultobj
;
29416 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29419 PyObject
* obj0
= 0 ;
29420 PyObject
* obj1
= 0 ;
29421 PyObject
* obj2
= 0 ;
29422 char *kwnames
[] = {
29423 (char *) "self",(char *) "w",(char *) "h", NULL
29426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29429 arg2
= (double) SWIG_AsDouble(obj1
);
29430 if (PyErr_Occurred()) SWIG_fail
;
29431 arg3
= (double) SWIG_AsDouble(obj2
);
29432 if (PyErr_Occurred()) SWIG_fail
;
29434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29435 (arg1
)->base_OnBeginSize(arg2
,arg3
);
29437 wxPyEndAllowThreads(__tstate
);
29438 if (PyErr_Occurred()) SWIG_fail
;
29440 Py_INCREF(Py_None
); resultobj
= Py_None
;
29447 static PyObject
*_wrap_PyPolygonShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29448 PyObject
*resultobj
;
29449 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29452 PyObject
* obj0
= 0 ;
29453 PyObject
* obj1
= 0 ;
29454 PyObject
* obj2
= 0 ;
29455 char *kwnames
[] = {
29456 (char *) "self",(char *) "w",(char *) "h", NULL
29459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29462 arg2
= (double) SWIG_AsDouble(obj1
);
29463 if (PyErr_Occurred()) SWIG_fail
;
29464 arg3
= (double) SWIG_AsDouble(obj2
);
29465 if (PyErr_Occurred()) SWIG_fail
;
29467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29468 (arg1
)->base_OnEndSize(arg2
,arg3
);
29470 wxPyEndAllowThreads(__tstate
);
29471 if (PyErr_Occurred()) SWIG_fail
;
29473 Py_INCREF(Py_None
); resultobj
= Py_None
;
29480 static PyObject
* PyPolygonShape_swigregister(PyObject
*, PyObject
*args
) {
29482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29483 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape
, obj
);
29485 return Py_BuildValue((char *)"");
29487 static PyObject
*_wrap_new_PyTextShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29488 PyObject
*resultobj
;
29489 double arg1
= (double) 0.0 ;
29490 double arg2
= (double) 0.0 ;
29491 wxPyTextShape
*result
;
29492 PyObject
* obj0
= 0 ;
29493 PyObject
* obj1
= 0 ;
29494 char *kwnames
[] = {
29495 (char *) "width",(char *) "height", NULL
29498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyTextShape",kwnames
,&obj0
,&obj1
)) goto fail
;
29500 arg1
= (double) SWIG_AsDouble(obj0
);
29501 if (PyErr_Occurred()) SWIG_fail
;
29504 arg2
= (double) SWIG_AsDouble(obj1
);
29505 if (PyErr_Occurred()) SWIG_fail
;
29508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29509 result
= (wxPyTextShape
*)new wxPyTextShape(arg1
,arg2
);
29511 wxPyEndAllowThreads(__tstate
);
29512 if (PyErr_Occurred()) SWIG_fail
;
29514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextShape
, 1);
29521 static PyObject
*_wrap_PyTextShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29522 PyObject
*resultobj
;
29523 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29524 PyObject
*arg2
= (PyObject
*) 0 ;
29525 PyObject
*arg3
= (PyObject
*) 0 ;
29526 PyObject
* obj0
= 0 ;
29527 PyObject
* obj1
= 0 ;
29528 PyObject
* obj2
= 0 ;
29529 char *kwnames
[] = {
29530 (char *) "self",(char *) "self",(char *) "_class", NULL
29533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29540 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29542 wxPyEndAllowThreads(__tstate
);
29543 if (PyErr_Occurred()) SWIG_fail
;
29545 Py_INCREF(Py_None
); resultobj
= Py_None
;
29552 static PyObject
*_wrap_PyTextShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29553 PyObject
*resultobj
;
29554 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29555 PyObject
* obj0
= 0 ;
29556 char *kwnames
[] = {
29557 (char *) "self", NULL
29560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyTextShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
29561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29565 (arg1
)->base_OnDelete();
29567 wxPyEndAllowThreads(__tstate
);
29568 if (PyErr_Occurred()) SWIG_fail
;
29570 Py_INCREF(Py_None
); resultobj
= Py_None
;
29577 static PyObject
*_wrap_PyTextShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29578 PyObject
*resultobj
;
29579 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29581 PyObject
* obj0
= 0 ;
29582 PyObject
* obj1
= 0 ;
29583 char *kwnames
[] = {
29584 (char *) "self",(char *) "dc", NULL
29587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
29588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29591 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29593 if (arg2
== NULL
) {
29594 PyErr_SetString(PyExc_TypeError
,"null reference");
29598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29599 (arg1
)->base_OnDraw(*arg2
);
29601 wxPyEndAllowThreads(__tstate
);
29602 if (PyErr_Occurred()) SWIG_fail
;
29604 Py_INCREF(Py_None
); resultobj
= Py_None
;
29611 static PyObject
*_wrap_PyTextShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29612 PyObject
*resultobj
;
29613 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29615 PyObject
* obj0
= 0 ;
29616 PyObject
* obj1
= 0 ;
29617 char *kwnames
[] = {
29618 (char *) "self",(char *) "dc", NULL
29621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
29622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29627 if (arg2
== NULL
) {
29628 PyErr_SetString(PyExc_TypeError
,"null reference");
29632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29633 (arg1
)->base_OnDrawContents(*arg2
);
29635 wxPyEndAllowThreads(__tstate
);
29636 if (PyErr_Occurred()) SWIG_fail
;
29638 Py_INCREF(Py_None
); resultobj
= Py_None
;
29645 static PyObject
*_wrap_PyTextShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29646 PyObject
*resultobj
;
29647 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29649 bool arg3
= (bool) FALSE
;
29650 PyObject
* obj0
= 0 ;
29651 PyObject
* obj1
= 0 ;
29652 PyObject
* obj2
= 0 ;
29653 char *kwnames
[] = {
29654 (char *) "self",(char *) "dc",(char *) "erase", NULL
29657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29663 if (arg2
== NULL
) {
29664 PyErr_SetString(PyExc_TypeError
,"null reference");
29668 arg3
= (bool) SWIG_AsBool(obj2
);
29669 if (PyErr_Occurred()) SWIG_fail
;
29672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29673 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
29675 wxPyEndAllowThreads(__tstate
);
29676 if (PyErr_Occurred()) SWIG_fail
;
29678 Py_INCREF(Py_None
); resultobj
= Py_None
;
29685 static PyObject
*_wrap_PyTextShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29686 PyObject
*resultobj
;
29687 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29689 PyObject
* obj0
= 0 ;
29690 PyObject
* obj1
= 0 ;
29691 char *kwnames
[] = {
29692 (char *) "self",(char *) "dc", NULL
29695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
29696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29699 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29701 if (arg2
== NULL
) {
29702 PyErr_SetString(PyExc_TypeError
,"null reference");
29706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29707 (arg1
)->base_OnMoveLinks(*arg2
);
29709 wxPyEndAllowThreads(__tstate
);
29710 if (PyErr_Occurred()) SWIG_fail
;
29712 Py_INCREF(Py_None
); resultobj
= Py_None
;
29719 static PyObject
*_wrap_PyTextShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29720 PyObject
*resultobj
;
29721 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29723 PyObject
* obj0
= 0 ;
29724 PyObject
* obj1
= 0 ;
29725 char *kwnames
[] = {
29726 (char *) "self",(char *) "dc", NULL
29729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
29730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29733 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29735 if (arg2
== NULL
) {
29736 PyErr_SetString(PyExc_TypeError
,"null reference");
29740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29741 (arg1
)->base_OnErase(*arg2
);
29743 wxPyEndAllowThreads(__tstate
);
29744 if (PyErr_Occurred()) SWIG_fail
;
29746 Py_INCREF(Py_None
); resultobj
= Py_None
;
29753 static PyObject
*_wrap_PyTextShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29754 PyObject
*resultobj
;
29755 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29757 PyObject
* obj0
= 0 ;
29758 PyObject
* obj1
= 0 ;
29759 char *kwnames
[] = {
29760 (char *) "self",(char *) "dc", NULL
29763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
29764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29767 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29769 if (arg2
== NULL
) {
29770 PyErr_SetString(PyExc_TypeError
,"null reference");
29774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29775 (arg1
)->base_OnEraseContents(*arg2
);
29777 wxPyEndAllowThreads(__tstate
);
29778 if (PyErr_Occurred()) SWIG_fail
;
29780 Py_INCREF(Py_None
); resultobj
= Py_None
;
29787 static PyObject
*_wrap_PyTextShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29788 PyObject
*resultobj
;
29789 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29791 PyObject
* obj0
= 0 ;
29792 PyObject
* obj1
= 0 ;
29793 char *kwnames
[] = {
29794 (char *) "self",(char *) "dc", NULL
29797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
29798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29801 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29803 if (arg2
== NULL
) {
29804 PyErr_SetString(PyExc_TypeError
,"null reference");
29808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29809 (arg1
)->base_OnHighlight(*arg2
);
29811 wxPyEndAllowThreads(__tstate
);
29812 if (PyErr_Occurred()) SWIG_fail
;
29814 Py_INCREF(Py_None
); resultobj
= Py_None
;
29821 static PyObject
*_wrap_PyTextShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29822 PyObject
*resultobj
;
29823 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29826 int arg4
= (int) 0 ;
29827 int arg5
= (int) 0 ;
29828 PyObject
* obj0
= 0 ;
29829 PyObject
* obj1
= 0 ;
29830 PyObject
* obj2
= 0 ;
29831 PyObject
* obj3
= 0 ;
29832 PyObject
* obj4
= 0 ;
29833 char *kwnames
[] = {
29834 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29840 arg2
= (double) SWIG_AsDouble(obj1
);
29841 if (PyErr_Occurred()) SWIG_fail
;
29842 arg3
= (double) SWIG_AsDouble(obj2
);
29843 if (PyErr_Occurred()) SWIG_fail
;
29845 arg4
= (int) SWIG_AsInt(obj3
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29849 arg5
= (int) SWIG_AsInt(obj4
);
29850 if (PyErr_Occurred()) SWIG_fail
;
29853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29854 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
29856 wxPyEndAllowThreads(__tstate
);
29857 if (PyErr_Occurred()) SWIG_fail
;
29859 Py_INCREF(Py_None
); resultobj
= Py_None
;
29866 static PyObject
*_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29867 PyObject
*resultobj
;
29868 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29871 int arg4
= (int) 0 ;
29872 int arg5
= (int) 0 ;
29873 PyObject
* obj0
= 0 ;
29874 PyObject
* obj1
= 0 ;
29875 PyObject
* obj2
= 0 ;
29876 PyObject
* obj3
= 0 ;
29877 PyObject
* obj4
= 0 ;
29878 char *kwnames
[] = {
29879 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29885 arg2
= (double) SWIG_AsDouble(obj1
);
29886 if (PyErr_Occurred()) SWIG_fail
;
29887 arg3
= (double) SWIG_AsDouble(obj2
);
29888 if (PyErr_Occurred()) SWIG_fail
;
29890 arg4
= (int) SWIG_AsInt(obj3
);
29891 if (PyErr_Occurred()) SWIG_fail
;
29894 arg5
= (int) SWIG_AsInt(obj4
);
29895 if (PyErr_Occurred()) SWIG_fail
;
29898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29899 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
29901 wxPyEndAllowThreads(__tstate
);
29902 if (PyErr_Occurred()) SWIG_fail
;
29904 Py_INCREF(Py_None
); resultobj
= Py_None
;
29911 static PyObject
*_wrap_PyTextShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29912 PyObject
*resultobj
;
29913 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29916 int arg4
= (int) 0 ;
29917 int arg5
= (int) 0 ;
29918 PyObject
* obj0
= 0 ;
29919 PyObject
* obj1
= 0 ;
29920 PyObject
* obj2
= 0 ;
29921 PyObject
* obj3
= 0 ;
29922 PyObject
* obj4
= 0 ;
29923 char *kwnames
[] = {
29924 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29930 arg2
= (double) SWIG_AsDouble(obj1
);
29931 if (PyErr_Occurred()) SWIG_fail
;
29932 arg3
= (double) SWIG_AsDouble(obj2
);
29933 if (PyErr_Occurred()) SWIG_fail
;
29935 arg4
= (int) SWIG_AsInt(obj3
);
29936 if (PyErr_Occurred()) SWIG_fail
;
29939 arg5
= (int) SWIG_AsInt(obj4
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29944 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
29946 wxPyEndAllowThreads(__tstate
);
29947 if (PyErr_Occurred()) SWIG_fail
;
29949 Py_INCREF(Py_None
); resultobj
= Py_None
;
29956 static PyObject
*_wrap_PyTextShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29957 PyObject
*resultobj
;
29958 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29961 PyObject
* obj0
= 0 ;
29962 PyObject
* obj1
= 0 ;
29963 PyObject
* obj2
= 0 ;
29964 char *kwnames
[] = {
29965 (char *) "self",(char *) "x",(char *) "y", NULL
29968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29971 arg2
= (double) SWIG_AsDouble(obj1
);
29972 if (PyErr_Occurred()) SWIG_fail
;
29973 arg3
= (double) SWIG_AsDouble(obj2
);
29974 if (PyErr_Occurred()) SWIG_fail
;
29976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29977 (arg1
)->base_OnSize(arg2
,arg3
);
29979 wxPyEndAllowThreads(__tstate
);
29980 if (PyErr_Occurred()) SWIG_fail
;
29982 Py_INCREF(Py_None
); resultobj
= Py_None
;
29989 static PyObject
*_wrap_PyTextShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29990 PyObject
*resultobj
;
29991 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29997 bool arg7
= (bool) True
;
29999 PyObject
* obj0
= 0 ;
30000 PyObject
* obj1
= 0 ;
30001 PyObject
* obj2
= 0 ;
30002 PyObject
* obj3
= 0 ;
30003 PyObject
* obj4
= 0 ;
30004 PyObject
* obj5
= 0 ;
30005 PyObject
* obj6
= 0 ;
30006 char *kwnames
[] = {
30007 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyTextShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30016 if (arg2
== NULL
) {
30017 PyErr_SetString(PyExc_TypeError
,"null reference");
30020 arg3
= (double) SWIG_AsDouble(obj2
);
30021 if (PyErr_Occurred()) SWIG_fail
;
30022 arg4
= (double) SWIG_AsDouble(obj3
);
30023 if (PyErr_Occurred()) SWIG_fail
;
30024 arg5
= (double) SWIG_AsDouble(obj4
);
30025 if (PyErr_Occurred()) SWIG_fail
;
30026 arg6
= (double) SWIG_AsDouble(obj5
);
30027 if (PyErr_Occurred()) SWIG_fail
;
30029 arg7
= (bool) SWIG_AsBool(obj6
);
30030 if (PyErr_Occurred()) SWIG_fail
;
30033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30034 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30036 wxPyEndAllowThreads(__tstate
);
30037 if (PyErr_Occurred()) SWIG_fail
;
30039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30046 static PyObject
*_wrap_PyTextShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30047 PyObject
*resultobj
;
30048 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30054 bool arg7
= (bool) True
;
30055 PyObject
* obj0
= 0 ;
30056 PyObject
* obj1
= 0 ;
30057 PyObject
* obj2
= 0 ;
30058 PyObject
* obj3
= 0 ;
30059 PyObject
* obj4
= 0 ;
30060 PyObject
* obj5
= 0 ;
30061 PyObject
* obj6
= 0 ;
30062 char *kwnames
[] = {
30063 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyTextShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30069 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30070 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30072 if (arg2
== NULL
) {
30073 PyErr_SetString(PyExc_TypeError
,"null reference");
30076 arg3
= (double) SWIG_AsDouble(obj2
);
30077 if (PyErr_Occurred()) SWIG_fail
;
30078 arg4
= (double) SWIG_AsDouble(obj3
);
30079 if (PyErr_Occurred()) SWIG_fail
;
30080 arg5
= (double) SWIG_AsDouble(obj4
);
30081 if (PyErr_Occurred()) SWIG_fail
;
30082 arg6
= (double) SWIG_AsDouble(obj5
);
30083 if (PyErr_Occurred()) SWIG_fail
;
30085 arg7
= (bool) SWIG_AsBool(obj6
);
30086 if (PyErr_Occurred()) SWIG_fail
;
30089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30090 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30092 wxPyEndAllowThreads(__tstate
);
30093 if (PyErr_Occurred()) SWIG_fail
;
30095 Py_INCREF(Py_None
); resultobj
= Py_None
;
30102 static PyObject
*_wrap_PyTextShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30103 PyObject
*resultobj
;
30104 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30108 int arg5
= (int) 0 ;
30109 int arg6
= (int) 0 ;
30110 PyObject
* obj0
= 0 ;
30111 PyObject
* obj1
= 0 ;
30112 PyObject
* obj2
= 0 ;
30113 PyObject
* obj3
= 0 ;
30114 PyObject
* obj4
= 0 ;
30115 PyObject
* obj5
= 0 ;
30116 char *kwnames
[] = {
30117 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30123 arg2
= (bool) SWIG_AsBool(obj1
);
30124 if (PyErr_Occurred()) SWIG_fail
;
30125 arg3
= (double) SWIG_AsDouble(obj2
);
30126 if (PyErr_Occurred()) SWIG_fail
;
30127 arg4
= (double) SWIG_AsDouble(obj3
);
30128 if (PyErr_Occurred()) SWIG_fail
;
30130 arg5
= (int) SWIG_AsInt(obj4
);
30131 if (PyErr_Occurred()) SWIG_fail
;
30134 arg6
= (int) SWIG_AsInt(obj5
);
30135 if (PyErr_Occurred()) SWIG_fail
;
30138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30139 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30141 wxPyEndAllowThreads(__tstate
);
30142 if (PyErr_Occurred()) SWIG_fail
;
30144 Py_INCREF(Py_None
); resultobj
= Py_None
;
30151 static PyObject
*_wrap_PyTextShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30152 PyObject
*resultobj
;
30153 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30156 int arg4
= (int) 0 ;
30157 int arg5
= (int) 0 ;
30158 PyObject
* obj0
= 0 ;
30159 PyObject
* obj1
= 0 ;
30160 PyObject
* obj2
= 0 ;
30161 PyObject
* obj3
= 0 ;
30162 PyObject
* obj4
= 0 ;
30163 char *kwnames
[] = {
30164 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30170 arg2
= (double) SWIG_AsDouble(obj1
);
30171 if (PyErr_Occurred()) SWIG_fail
;
30172 arg3
= (double) SWIG_AsDouble(obj2
);
30173 if (PyErr_Occurred()) SWIG_fail
;
30175 arg4
= (int) SWIG_AsInt(obj3
);
30176 if (PyErr_Occurred()) SWIG_fail
;
30179 arg5
= (int) SWIG_AsInt(obj4
);
30180 if (PyErr_Occurred()) SWIG_fail
;
30183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30184 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
30186 wxPyEndAllowThreads(__tstate
);
30187 if (PyErr_Occurred()) SWIG_fail
;
30189 Py_INCREF(Py_None
); resultobj
= Py_None
;
30196 static PyObject
*_wrap_PyTextShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30197 PyObject
*resultobj
;
30198 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30201 int arg4
= (int) 0 ;
30202 int arg5
= (int) 0 ;
30203 PyObject
* obj0
= 0 ;
30204 PyObject
* obj1
= 0 ;
30205 PyObject
* obj2
= 0 ;
30206 PyObject
* obj3
= 0 ;
30207 PyObject
* obj4
= 0 ;
30208 char *kwnames
[] = {
30209 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30215 arg2
= (double) SWIG_AsDouble(obj1
);
30216 if (PyErr_Occurred()) SWIG_fail
;
30217 arg3
= (double) SWIG_AsDouble(obj2
);
30218 if (PyErr_Occurred()) SWIG_fail
;
30220 arg4
= (int) SWIG_AsInt(obj3
);
30221 if (PyErr_Occurred()) SWIG_fail
;
30224 arg5
= (int) SWIG_AsInt(obj4
);
30225 if (PyErr_Occurred()) SWIG_fail
;
30228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30229 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
30231 wxPyEndAllowThreads(__tstate
);
30232 if (PyErr_Occurred()) SWIG_fail
;
30234 Py_INCREF(Py_None
); resultobj
= Py_None
;
30241 static PyObject
*_wrap_PyTextShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30242 PyObject
*resultobj
;
30243 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30247 int arg5
= (int) 0 ;
30248 int arg6
= (int) 0 ;
30249 PyObject
* obj0
= 0 ;
30250 PyObject
* obj1
= 0 ;
30251 PyObject
* obj2
= 0 ;
30252 PyObject
* obj3
= 0 ;
30253 PyObject
* obj4
= 0 ;
30254 PyObject
* obj5
= 0 ;
30255 char *kwnames
[] = {
30256 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30262 arg2
= (bool) SWIG_AsBool(obj1
);
30263 if (PyErr_Occurred()) SWIG_fail
;
30264 arg3
= (double) SWIG_AsDouble(obj2
);
30265 if (PyErr_Occurred()) SWIG_fail
;
30266 arg4
= (double) SWIG_AsDouble(obj3
);
30267 if (PyErr_Occurred()) SWIG_fail
;
30269 arg5
= (int) SWIG_AsInt(obj4
);
30270 if (PyErr_Occurred()) SWIG_fail
;
30273 arg6
= (int) SWIG_AsInt(obj5
);
30274 if (PyErr_Occurred()) SWIG_fail
;
30277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30278 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
30280 wxPyEndAllowThreads(__tstate
);
30281 if (PyErr_Occurred()) SWIG_fail
;
30283 Py_INCREF(Py_None
); resultobj
= Py_None
;
30290 static PyObject
*_wrap_PyTextShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30291 PyObject
*resultobj
;
30292 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30295 int arg4
= (int) 0 ;
30296 int arg5
= (int) 0 ;
30297 PyObject
* obj0
= 0 ;
30298 PyObject
* obj1
= 0 ;
30299 PyObject
* obj2
= 0 ;
30300 PyObject
* obj3
= 0 ;
30301 PyObject
* obj4
= 0 ;
30302 char *kwnames
[] = {
30303 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30309 arg2
= (double) SWIG_AsDouble(obj1
);
30310 if (PyErr_Occurred()) SWIG_fail
;
30311 arg3
= (double) SWIG_AsDouble(obj2
);
30312 if (PyErr_Occurred()) SWIG_fail
;
30314 arg4
= (int) SWIG_AsInt(obj3
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30318 arg5
= (int) SWIG_AsInt(obj4
);
30319 if (PyErr_Occurred()) SWIG_fail
;
30322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30323 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
30325 wxPyEndAllowThreads(__tstate
);
30326 if (PyErr_Occurred()) SWIG_fail
;
30328 Py_INCREF(Py_None
); resultobj
= Py_None
;
30335 static PyObject
*_wrap_PyTextShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30336 PyObject
*resultobj
;
30337 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30340 int arg4
= (int) 0 ;
30341 int arg5
= (int) 0 ;
30342 PyObject
* obj0
= 0 ;
30343 PyObject
* obj1
= 0 ;
30344 PyObject
* obj2
= 0 ;
30345 PyObject
* obj3
= 0 ;
30346 PyObject
* obj4
= 0 ;
30347 char *kwnames
[] = {
30348 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30354 arg2
= (double) SWIG_AsDouble(obj1
);
30355 if (PyErr_Occurred()) SWIG_fail
;
30356 arg3
= (double) SWIG_AsDouble(obj2
);
30357 if (PyErr_Occurred()) SWIG_fail
;
30359 arg4
= (int) SWIG_AsInt(obj3
);
30360 if (PyErr_Occurred()) SWIG_fail
;
30363 arg5
= (int) SWIG_AsInt(obj4
);
30364 if (PyErr_Occurred()) SWIG_fail
;
30367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30368 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
30370 wxPyEndAllowThreads(__tstate
);
30371 if (PyErr_Occurred()) SWIG_fail
;
30373 Py_INCREF(Py_None
); resultobj
= Py_None
;
30380 static PyObject
*_wrap_PyTextShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30381 PyObject
*resultobj
;
30382 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30388 PyObject
* obj0
= 0 ;
30389 PyObject
* obj1
= 0 ;
30390 PyObject
* obj2
= 0 ;
30391 PyObject
* obj3
= 0 ;
30392 PyObject
* obj4
= 0 ;
30393 PyObject
* obj5
= 0 ;
30394 char *kwnames
[] = {
30395 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyTextShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30402 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30404 if (arg2
== NULL
) {
30405 PyErr_SetString(PyExc_TypeError
,"null reference");
30408 arg3
= (double) SWIG_AsDouble(obj2
);
30409 if (PyErr_Occurred()) SWIG_fail
;
30410 arg4
= (double) SWIG_AsDouble(obj3
);
30411 if (PyErr_Occurred()) SWIG_fail
;
30412 arg5
= (double) SWIG_AsDouble(obj4
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30414 arg6
= (double) SWIG_AsDouble(obj5
);
30415 if (PyErr_Occurred()) SWIG_fail
;
30417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30418 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
30420 wxPyEndAllowThreads(__tstate
);
30421 if (PyErr_Occurred()) SWIG_fail
;
30423 Py_INCREF(Py_None
); resultobj
= Py_None
;
30430 static PyObject
*_wrap_PyTextShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30431 PyObject
*resultobj
;
30432 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30434 PyObject
* obj0
= 0 ;
30435 PyObject
* obj1
= 0 ;
30436 char *kwnames
[] = {
30437 (char *) "self",(char *) "dc", NULL
30440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
30441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30444 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30446 if (arg2
== NULL
) {
30447 PyErr_SetString(PyExc_TypeError
,"null reference");
30451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30452 (arg1
)->base_OnDrawControlPoints(*arg2
);
30454 wxPyEndAllowThreads(__tstate
);
30455 if (PyErr_Occurred()) SWIG_fail
;
30457 Py_INCREF(Py_None
); resultobj
= Py_None
;
30464 static PyObject
*_wrap_PyTextShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30465 PyObject
*resultobj
;
30466 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30468 PyObject
* obj0
= 0 ;
30469 PyObject
* obj1
= 0 ;
30470 char *kwnames
[] = {
30471 (char *) "self",(char *) "dc", NULL
30474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
30475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30478 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30480 if (arg2
== NULL
) {
30481 PyErr_SetString(PyExc_TypeError
,"null reference");
30485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30486 (arg1
)->base_OnEraseControlPoints(*arg2
);
30488 wxPyEndAllowThreads(__tstate
);
30489 if (PyErr_Occurred()) SWIG_fail
;
30491 Py_INCREF(Py_None
); resultobj
= Py_None
;
30498 static PyObject
*_wrap_PyTextShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30499 PyObject
*resultobj
;
30500 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30502 bool arg3
= (bool) True
;
30503 PyObject
* obj0
= 0 ;
30504 PyObject
* obj1
= 0 ;
30505 PyObject
* obj2
= 0 ;
30506 char *kwnames
[] = {
30507 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
30510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30513 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30514 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30516 if (arg2
== NULL
) {
30517 PyErr_SetString(PyExc_TypeError
,"null reference");
30521 arg3
= (bool) SWIG_AsBool(obj2
);
30522 if (PyErr_Occurred()) SWIG_fail
;
30525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30526 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
30528 wxPyEndAllowThreads(__tstate
);
30529 if (PyErr_Occurred()) SWIG_fail
;
30531 Py_INCREF(Py_None
); resultobj
= Py_None
;
30538 static PyObject
*_wrap_PyTextShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30539 PyObject
*resultobj
;
30540 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30541 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30545 int arg6
= (int) 0 ;
30546 int arg7
= (int) 0 ;
30547 PyObject
* obj0
= 0 ;
30548 PyObject
* obj1
= 0 ;
30549 PyObject
* obj2
= 0 ;
30550 PyObject
* obj3
= 0 ;
30551 PyObject
* obj4
= 0 ;
30552 PyObject
* obj5
= 0 ;
30553 PyObject
* obj6
= 0 ;
30554 char *kwnames
[] = {
30555 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyTextShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30563 arg3
= (bool) SWIG_AsBool(obj2
);
30564 if (PyErr_Occurred()) SWIG_fail
;
30565 arg4
= (double) SWIG_AsDouble(obj3
);
30566 if (PyErr_Occurred()) SWIG_fail
;
30567 arg5
= (double) SWIG_AsDouble(obj4
);
30568 if (PyErr_Occurred()) SWIG_fail
;
30570 arg6
= (int) SWIG_AsInt(obj5
);
30571 if (PyErr_Occurred()) SWIG_fail
;
30574 arg7
= (int) SWIG_AsInt(obj6
);
30575 if (PyErr_Occurred()) SWIG_fail
;
30578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30579 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30581 wxPyEndAllowThreads(__tstate
);
30582 if (PyErr_Occurred()) SWIG_fail
;
30584 Py_INCREF(Py_None
); resultobj
= Py_None
;
30591 static PyObject
*_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30592 PyObject
*resultobj
;
30593 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30594 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30597 int arg5
= (int) 0 ;
30598 int arg6
= (int) 0 ;
30599 PyObject
* obj0
= 0 ;
30600 PyObject
* obj1
= 0 ;
30601 PyObject
* obj2
= 0 ;
30602 PyObject
* obj3
= 0 ;
30603 PyObject
* obj4
= 0 ;
30604 PyObject
* obj5
= 0 ;
30605 char *kwnames
[] = {
30606 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30614 arg3
= (double) SWIG_AsDouble(obj2
);
30615 if (PyErr_Occurred()) SWIG_fail
;
30616 arg4
= (double) SWIG_AsDouble(obj3
);
30617 if (PyErr_Occurred()) SWIG_fail
;
30619 arg5
= (int) SWIG_AsInt(obj4
);
30620 if (PyErr_Occurred()) SWIG_fail
;
30623 arg6
= (int) SWIG_AsInt(obj5
);
30624 if (PyErr_Occurred()) SWIG_fail
;
30627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30628 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30630 wxPyEndAllowThreads(__tstate
);
30631 if (PyErr_Occurred()) SWIG_fail
;
30633 Py_INCREF(Py_None
); resultobj
= Py_None
;
30640 static PyObject
*_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30641 PyObject
*resultobj
;
30642 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30643 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30646 int arg5
= (int) 0 ;
30647 int arg6
= (int) 0 ;
30648 PyObject
* obj0
= 0 ;
30649 PyObject
* obj1
= 0 ;
30650 PyObject
* obj2
= 0 ;
30651 PyObject
* obj3
= 0 ;
30652 PyObject
* obj4
= 0 ;
30653 PyObject
* obj5
= 0 ;
30654 char *kwnames
[] = {
30655 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30663 arg3
= (double) SWIG_AsDouble(obj2
);
30664 if (PyErr_Occurred()) SWIG_fail
;
30665 arg4
= (double) SWIG_AsDouble(obj3
);
30666 if (PyErr_Occurred()) SWIG_fail
;
30668 arg5
= (int) SWIG_AsInt(obj4
);
30669 if (PyErr_Occurred()) SWIG_fail
;
30672 arg6
= (int) SWIG_AsInt(obj5
);
30673 if (PyErr_Occurred()) SWIG_fail
;
30676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30677 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30679 wxPyEndAllowThreads(__tstate
);
30680 if (PyErr_Occurred()) SWIG_fail
;
30682 Py_INCREF(Py_None
); resultobj
= Py_None
;
30689 static PyObject
*_wrap_PyTextShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30690 PyObject
*resultobj
;
30691 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30694 PyObject
* obj0
= 0 ;
30695 PyObject
* obj1
= 0 ;
30696 PyObject
* obj2
= 0 ;
30697 char *kwnames
[] = {
30698 (char *) "self",(char *) "w",(char *) "h", NULL
30701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30704 arg2
= (double) SWIG_AsDouble(obj1
);
30705 if (PyErr_Occurred()) SWIG_fail
;
30706 arg3
= (double) SWIG_AsDouble(obj2
);
30707 if (PyErr_Occurred()) SWIG_fail
;
30709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30710 (arg1
)->base_OnBeginSize(arg2
,arg3
);
30712 wxPyEndAllowThreads(__tstate
);
30713 if (PyErr_Occurred()) SWIG_fail
;
30715 Py_INCREF(Py_None
); resultobj
= Py_None
;
30722 static PyObject
*_wrap_PyTextShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30723 PyObject
*resultobj
;
30724 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30727 PyObject
* obj0
= 0 ;
30728 PyObject
* obj1
= 0 ;
30729 PyObject
* obj2
= 0 ;
30730 char *kwnames
[] = {
30731 (char *) "self",(char *) "w",(char *) "h", NULL
30734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30737 arg2
= (double) SWIG_AsDouble(obj1
);
30738 if (PyErr_Occurred()) SWIG_fail
;
30739 arg3
= (double) SWIG_AsDouble(obj2
);
30740 if (PyErr_Occurred()) SWIG_fail
;
30742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30743 (arg1
)->base_OnEndSize(arg2
,arg3
);
30745 wxPyEndAllowThreads(__tstate
);
30746 if (PyErr_Occurred()) SWIG_fail
;
30748 Py_INCREF(Py_None
); resultobj
= Py_None
;
30755 static PyObject
* PyTextShape_swigregister(PyObject
*, PyObject
*args
) {
30757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30758 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape
, obj
);
30760 return Py_BuildValue((char *)"");
30762 static PyObject
*_wrap_new_Diagram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30763 PyObject
*resultobj
;
30765 char *kwnames
[] = {
30769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Diagram",kwnames
)) goto fail
;
30771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30772 result
= (wxDiagram
*)new wxDiagram();
30774 wxPyEndAllowThreads(__tstate
);
30775 if (PyErr_Occurred()) SWIG_fail
;
30778 resultobj
= wxPyMake_wxObject(result
);
30786 static PyObject
*_wrap_Diagram_AddShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30787 PyObject
*resultobj
;
30788 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30789 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
30790 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
30791 PyObject
* obj0
= 0 ;
30792 PyObject
* obj1
= 0 ;
30793 PyObject
* obj2
= 0 ;
30794 char *kwnames
[] = {
30795 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
30798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Diagram_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
30800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
30802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30804 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
30805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30809 (arg1
)->AddShape(arg2
,arg3
);
30811 wxPyEndAllowThreads(__tstate
);
30812 if (PyErr_Occurred()) SWIG_fail
;
30814 Py_INCREF(Py_None
); resultobj
= Py_None
;
30821 static PyObject
*_wrap_Diagram_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30822 PyObject
*resultobj
;
30823 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30825 PyObject
* obj0
= 0 ;
30826 PyObject
* obj1
= 0 ;
30827 char *kwnames
[] = {
30828 (char *) "self",(char *) "dc", NULL
30831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
30832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
30833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30835 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30837 if (arg2
== NULL
) {
30838 PyErr_SetString(PyExc_TypeError
,"null reference");
30842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30843 (arg1
)->Clear(*arg2
);
30845 wxPyEndAllowThreads(__tstate
);
30846 if (PyErr_Occurred()) SWIG_fail
;
30848 Py_INCREF(Py_None
); resultobj
= Py_None
;
30855 static PyObject
*_wrap_Diagram_DeleteAllShapes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30856 PyObject
*resultobj
;
30857 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30858 PyObject
* obj0
= 0 ;
30859 char *kwnames
[] = {
30860 (char *) "self", NULL
30863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_DeleteAllShapes",kwnames
,&obj0
)) goto fail
;
30864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
30865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30868 (arg1
)->DeleteAllShapes();
30870 wxPyEndAllowThreads(__tstate
);
30871 if (PyErr_Occurred()) SWIG_fail
;
30873 Py_INCREF(Py_None
); resultobj
= Py_None
;
30880 static PyObject
*_wrap_Diagram_DrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30881 PyObject
*resultobj
;
30882 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30888 PyObject
* obj0
= 0 ;
30889 PyObject
* obj1
= 0 ;
30890 PyObject
* obj2
= 0 ;
30891 PyObject
* obj3
= 0 ;
30892 PyObject
* obj4
= 0 ;
30893 PyObject
* obj5
= 0 ;
30894 char *kwnames
[] = {
30895 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
30898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Diagram_DrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
30900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30901 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30902 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30904 if (arg2
== NULL
) {
30905 PyErr_SetString(PyExc_TypeError
,"null reference");
30908 arg3
= (double) SWIG_AsDouble(obj2
);
30909 if (PyErr_Occurred()) SWIG_fail
;
30910 arg4
= (double) SWIG_AsDouble(obj3
);
30911 if (PyErr_Occurred()) SWIG_fail
;
30912 arg5
= (double) SWIG_AsDouble(obj4
);
30913 if (PyErr_Occurred()) SWIG_fail
;
30914 arg6
= (double) SWIG_AsDouble(obj5
);
30915 if (PyErr_Occurred()) SWIG_fail
;
30917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30918 (arg1
)->DrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
30920 wxPyEndAllowThreads(__tstate
);
30921 if (PyErr_Occurred()) SWIG_fail
;
30923 Py_INCREF(Py_None
); resultobj
= Py_None
;
30930 static PyObject
*_wrap_Diagram_FindShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30931 PyObject
*resultobj
;
30932 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30935 PyObject
* obj0
= 0 ;
30936 PyObject
* obj1
= 0 ;
30937 char *kwnames
[] = {
30938 (char *) "self",(char *) "id", NULL
30941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_FindShape",kwnames
,&obj0
,&obj1
)) goto fail
;
30942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
30943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30944 arg2
= (long) SWIG_AsLong(obj1
);
30945 if (PyErr_Occurred()) SWIG_fail
;
30947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30948 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
);
30950 wxPyEndAllowThreads(__tstate
);
30951 if (PyErr_Occurred()) SWIG_fail
;
30954 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
30962 static PyObject
*_wrap_Diagram_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30963 PyObject
*resultobj
;
30964 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30965 wxPyShapeCanvas
*result
;
30966 PyObject
* obj0
= 0 ;
30967 char *kwnames
[] = {
30968 (char *) "self", NULL
30971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCanvas",kwnames
,&obj0
)) goto fail
;
30972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
30973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30976 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
30978 wxPyEndAllowThreads(__tstate
);
30979 if (PyErr_Occurred()) SWIG_fail
;
30982 resultobj
= wxPyMake_wxObject(result
);
30990 static PyObject
*_wrap_Diagram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30991 PyObject
*resultobj
;
30992 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30994 PyObject
* obj0
= 0 ;
30995 char *kwnames
[] = {
30996 (char *) "self", NULL
30999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCount",kwnames
,&obj0
)) goto fail
;
31000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31004 result
= (int)(arg1
)->GetCount();
31006 wxPyEndAllowThreads(__tstate
);
31007 if (PyErr_Occurred()) SWIG_fail
;
31009 resultobj
= SWIG_FromInt((int)result
);
31016 static PyObject
*_wrap_Diagram_GetGridSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31017 PyObject
*resultobj
;
31018 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31020 PyObject
* obj0
= 0 ;
31021 char *kwnames
[] = {
31022 (char *) "self", NULL
31025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetGridSpacing",kwnames
,&obj0
)) goto fail
;
31026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31030 result
= (double)(arg1
)->GetGridSpacing();
31032 wxPyEndAllowThreads(__tstate
);
31033 if (PyErr_Occurred()) SWIG_fail
;
31035 resultobj
= SWIG_FromDouble((double)result
);
31042 static PyObject
*_wrap_Diagram_GetMouseTolerance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31043 PyObject
*resultobj
;
31044 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31046 PyObject
* obj0
= 0 ;
31047 char *kwnames
[] = {
31048 (char *) "self", NULL
31051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetMouseTolerance",kwnames
,&obj0
)) goto fail
;
31052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31056 result
= (int)(arg1
)->GetMouseTolerance();
31058 wxPyEndAllowThreads(__tstate
);
31059 if (PyErr_Occurred()) SWIG_fail
;
31061 resultobj
= SWIG_FromInt((int)result
);
31068 static PyObject
*_wrap_Diagram_GetShapeList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31069 PyObject
*resultobj
;
31070 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31072 PyObject
* obj0
= 0 ;
31073 char *kwnames
[] = {
31074 (char *) "self", NULL
31077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetShapeList",kwnames
,&obj0
)) goto fail
;
31078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31082 result
= (PyObject
*)wxDiagram_GetShapeList(arg1
);
31084 wxPyEndAllowThreads(__tstate
);
31085 if (PyErr_Occurred()) SWIG_fail
;
31087 resultobj
= result
;
31094 static PyObject
*_wrap_Diagram_GetQuickEditMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31095 PyObject
*resultobj
;
31096 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31098 PyObject
* obj0
= 0 ;
31099 char *kwnames
[] = {
31100 (char *) "self", NULL
31103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
31104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31108 result
= (bool)(arg1
)->GetQuickEditMode();
31110 wxPyEndAllowThreads(__tstate
);
31111 if (PyErr_Occurred()) SWIG_fail
;
31113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31120 static PyObject
*_wrap_Diagram_GetSnapToGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31121 PyObject
*resultobj
;
31122 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31124 PyObject
* obj0
= 0 ;
31125 char *kwnames
[] = {
31126 (char *) "self", NULL
31129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetSnapToGrid",kwnames
,&obj0
)) goto fail
;
31130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31134 result
= (bool)(arg1
)->GetSnapToGrid();
31136 wxPyEndAllowThreads(__tstate
);
31137 if (PyErr_Occurred()) SWIG_fail
;
31139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31146 static PyObject
*_wrap_Diagram_InsertShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31147 PyObject
*resultobj
;
31148 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31149 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31150 PyObject
* obj0
= 0 ;
31151 PyObject
* obj1
= 0 ;
31152 char *kwnames
[] = {
31153 (char *) "self",(char *) "shape", NULL
31156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31159 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31163 (arg1
)->InsertShape(arg2
);
31165 wxPyEndAllowThreads(__tstate
);
31166 if (PyErr_Occurred()) SWIG_fail
;
31168 Py_INCREF(Py_None
); resultobj
= Py_None
;
31175 static PyObject
*_wrap_Diagram_RecentreAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31176 PyObject
*resultobj
;
31177 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31179 PyObject
* obj0
= 0 ;
31180 PyObject
* obj1
= 0 ;
31181 char *kwnames
[] = {
31182 (char *) "self",(char *) "dc", NULL
31185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RecentreAll",kwnames
,&obj0
,&obj1
)) goto fail
;
31186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31189 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31191 if (arg2
== NULL
) {
31192 PyErr_SetString(PyExc_TypeError
,"null reference");
31196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31197 (arg1
)->RecentreAll(*arg2
);
31199 wxPyEndAllowThreads(__tstate
);
31200 if (PyErr_Occurred()) SWIG_fail
;
31202 Py_INCREF(Py_None
); resultobj
= Py_None
;
31209 static PyObject
*_wrap_Diagram_Redraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31210 PyObject
*resultobj
;
31211 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31213 PyObject
* obj0
= 0 ;
31214 PyObject
* obj1
= 0 ;
31215 char *kwnames
[] = {
31216 (char *) "self",(char *) "dc", NULL
31219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
31220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31223 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31225 if (arg2
== NULL
) {
31226 PyErr_SetString(PyExc_TypeError
,"null reference");
31230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31231 (arg1
)->Redraw(*arg2
);
31233 wxPyEndAllowThreads(__tstate
);
31234 if (PyErr_Occurred()) SWIG_fail
;
31236 Py_INCREF(Py_None
); resultobj
= Py_None
;
31243 static PyObject
*_wrap_Diagram_RemoveAllShapes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31244 PyObject
*resultobj
;
31245 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31246 PyObject
* obj0
= 0 ;
31247 char *kwnames
[] = {
31248 (char *) "self", NULL
31251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_RemoveAllShapes",kwnames
,&obj0
)) goto fail
;
31252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31256 (arg1
)->RemoveAllShapes();
31258 wxPyEndAllowThreads(__tstate
);
31259 if (PyErr_Occurred()) SWIG_fail
;
31261 Py_INCREF(Py_None
); resultobj
= Py_None
;
31268 static PyObject
*_wrap_Diagram_RemoveShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31269 PyObject
*resultobj
;
31270 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31271 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31272 PyObject
* obj0
= 0 ;
31273 PyObject
* obj1
= 0 ;
31274 char *kwnames
[] = {
31275 (char *) "self",(char *) "shape", NULL
31278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31285 (arg1
)->RemoveShape(arg2
);
31287 wxPyEndAllowThreads(__tstate
);
31288 if (PyErr_Occurred()) SWIG_fail
;
31290 Py_INCREF(Py_None
); resultobj
= Py_None
;
31297 static PyObject
*_wrap_Diagram_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31298 PyObject
*resultobj
;
31299 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31300 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
31301 PyObject
* obj0
= 0 ;
31302 PyObject
* obj1
= 0 ;
31303 char *kwnames
[] = {
31304 (char *) "self",(char *) "canvas", NULL
31307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
31308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
31311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31314 (arg1
)->SetCanvas(arg2
);
31316 wxPyEndAllowThreads(__tstate
);
31317 if (PyErr_Occurred()) SWIG_fail
;
31319 Py_INCREF(Py_None
); resultobj
= Py_None
;
31326 static PyObject
*_wrap_Diagram_SetGridSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31327 PyObject
*resultobj
;
31328 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31330 PyObject
* obj0
= 0 ;
31331 PyObject
* obj1
= 0 ;
31332 char *kwnames
[] = {
31333 (char *) "self",(char *) "spacing", NULL
31336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetGridSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
31337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31339 arg2
= (double) SWIG_AsDouble(obj1
);
31340 if (PyErr_Occurred()) SWIG_fail
;
31342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31343 (arg1
)->SetGridSpacing(arg2
);
31345 wxPyEndAllowThreads(__tstate
);
31346 if (PyErr_Occurred()) SWIG_fail
;
31348 Py_INCREF(Py_None
); resultobj
= Py_None
;
31355 static PyObject
*_wrap_Diagram_SetMouseTolerance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31356 PyObject
*resultobj
;
31357 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31359 PyObject
* obj0
= 0 ;
31360 PyObject
* obj1
= 0 ;
31361 char *kwnames
[] = {
31362 (char *) "self",(char *) "tolerance", NULL
31365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetMouseTolerance",kwnames
,&obj0
,&obj1
)) goto fail
;
31366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31368 arg2
= (int) SWIG_AsInt(obj1
);
31369 if (PyErr_Occurred()) SWIG_fail
;
31371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31372 (arg1
)->SetMouseTolerance(arg2
);
31374 wxPyEndAllowThreads(__tstate
);
31375 if (PyErr_Occurred()) SWIG_fail
;
31377 Py_INCREF(Py_None
); resultobj
= Py_None
;
31384 static PyObject
*_wrap_Diagram_SetQuickEditMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31385 PyObject
*resultobj
;
31386 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31388 PyObject
* obj0
= 0 ;
31389 PyObject
* obj1
= 0 ;
31390 char *kwnames
[] = {
31391 (char *) "self",(char *) "mode", NULL
31394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetQuickEditMode",kwnames
,&obj0
,&obj1
)) goto fail
;
31395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31397 arg2
= (bool) SWIG_AsBool(obj1
);
31398 if (PyErr_Occurred()) SWIG_fail
;
31400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31401 (arg1
)->SetQuickEditMode(arg2
);
31403 wxPyEndAllowThreads(__tstate
);
31404 if (PyErr_Occurred()) SWIG_fail
;
31406 Py_INCREF(Py_None
); resultobj
= Py_None
;
31413 static PyObject
*_wrap_Diagram_SetSnapToGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31414 PyObject
*resultobj
;
31415 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31417 PyObject
* obj0
= 0 ;
31418 PyObject
* obj1
= 0 ;
31419 char *kwnames
[] = {
31420 (char *) "self",(char *) "snap", NULL
31423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetSnapToGrid",kwnames
,&obj0
,&obj1
)) goto fail
;
31424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31426 arg2
= (bool) SWIG_AsBool(obj1
);
31427 if (PyErr_Occurred()) SWIG_fail
;
31429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31430 (arg1
)->SetSnapToGrid(arg2
);
31432 wxPyEndAllowThreads(__tstate
);
31433 if (PyErr_Occurred()) SWIG_fail
;
31435 Py_INCREF(Py_None
); resultobj
= Py_None
;
31442 static PyObject
*_wrap_Diagram_ShowAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31443 PyObject
*resultobj
;
31444 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31446 PyObject
* obj0
= 0 ;
31447 PyObject
* obj1
= 0 ;
31448 char *kwnames
[] = {
31449 (char *) "self",(char *) "show", NULL
31452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_ShowAll",kwnames
,&obj0
,&obj1
)) goto fail
;
31453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31455 arg2
= (bool) SWIG_AsBool(obj1
);
31456 if (PyErr_Occurred()) SWIG_fail
;
31458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31459 (arg1
)->ShowAll(arg2
);
31461 wxPyEndAllowThreads(__tstate
);
31462 if (PyErr_Occurred()) SWIG_fail
;
31464 Py_INCREF(Py_None
); resultobj
= Py_None
;
31471 static PyObject
*_wrap_Diagram_Snap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31472 PyObject
*resultobj
;
31473 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31474 double *arg2
= (double *) 0 ;
31475 double *arg3
= (double *) 0 ;
31478 PyObject
* obj0
= 0 ;
31479 PyObject
* obj1
= 0 ;
31480 PyObject
* obj2
= 0 ;
31481 char *kwnames
[] = {
31482 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
31485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Diagram_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31489 temp2
= PyFloat_AsDouble(obj1
);
31490 if (PyErr_Occurred()) SWIG_fail
;
31494 temp3
= PyFloat_AsDouble(obj2
);
31495 if (PyErr_Occurred()) SWIG_fail
;
31499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31500 (arg1
)->Snap(arg2
,arg3
);
31502 wxPyEndAllowThreads(__tstate
);
31503 if (PyErr_Occurred()) SWIG_fail
;
31505 Py_INCREF(Py_None
); resultobj
= Py_None
;
31507 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
31508 resultobj
= t_output_helper(resultobj
,o
);
31511 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
31512 resultobj
= t_output_helper(resultobj
,o
);
31520 static PyObject
* Diagram_swigregister(PyObject
*, PyObject
*args
) {
31522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31523 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram
, obj
);
31525 return Py_BuildValue((char *)"");
31527 static PyObject
*_wrap_new_PyShapeCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31528 PyObject
*resultobj
;
31529 wxWindow
*arg1
= (wxWindow
*) NULL
;
31530 int arg2
= (int) -1 ;
31531 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31532 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31533 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31534 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31535 long arg5
= (long) wxBORDER
;
31536 wxString
const &arg6_defvalue
= wxPyShapeCanvasNameStr
;
31537 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
31538 wxPyShapeCanvas
*result
;
31541 bool temp6
= False
;
31542 PyObject
* obj0
= 0 ;
31543 PyObject
* obj1
= 0 ;
31544 PyObject
* obj2
= 0 ;
31545 PyObject
* obj3
= 0 ;
31546 PyObject
* obj4
= 0 ;
31547 PyObject
* obj5
= 0 ;
31548 char *kwnames
[] = {
31549 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_PyShapeCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
31555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31558 arg2
= (int) SWIG_AsInt(obj1
);
31559 if (PyErr_Occurred()) SWIG_fail
;
31564 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31570 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31574 arg5
= (long) SWIG_AsLong(obj4
);
31575 if (PyErr_Occurred()) SWIG_fail
;
31579 arg6
= wxString_in_helper(obj5
);
31580 if (arg6
== NULL
) SWIG_fail
;
31585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31586 result
= (wxPyShapeCanvas
*)new wxPyShapeCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
31588 wxPyEndAllowThreads(__tstate
);
31589 if (PyErr_Occurred()) SWIG_fail
;
31592 resultobj
= wxPyMake_wxObject(result
);
31608 static PyObject
*_wrap_PyShapeCanvas__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31609 PyObject
*resultobj
;
31610 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31611 PyObject
*arg2
= (PyObject
*) 0 ;
31612 PyObject
*arg3
= (PyObject
*) 0 ;
31613 PyObject
* obj0
= 0 ;
31614 PyObject
* obj1
= 0 ;
31615 PyObject
* obj2
= 0 ;
31616 char *kwnames
[] = {
31617 (char *) "self",(char *) "self",(char *) "_class", NULL
31620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31627 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31629 wxPyEndAllowThreads(__tstate
);
31630 if (PyErr_Occurred()) SWIG_fail
;
31632 Py_INCREF(Py_None
); resultobj
= Py_None
;
31639 static PyObject
*_wrap_PyShapeCanvas_AddShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31640 PyObject
*resultobj
;
31641 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31642 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31643 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
31644 PyObject
* obj0
= 0 ;
31645 PyObject
* obj1
= 0 ;
31646 PyObject
* obj2
= 0 ;
31647 char *kwnames
[] = {
31648 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
31651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31657 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
31658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31662 (arg1
)->AddShape(arg2
,arg3
);
31664 wxPyEndAllowThreads(__tstate
);
31665 if (PyErr_Occurred()) SWIG_fail
;
31667 Py_INCREF(Py_None
); resultobj
= Py_None
;
31674 static PyObject
*_wrap_PyShapeCanvas_FindShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31675 PyObject
*resultobj
;
31676 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31679 int *arg4
= (int *) 0 ;
31680 wxClassInfo
*arg5
= (wxClassInfo
*) NULL
;
31681 wxPyShape
*arg6
= (wxPyShape
*) NULL
;
31684 PyObject
* obj0
= 0 ;
31685 PyObject
* obj1
= 0 ;
31686 PyObject
* obj2
= 0 ;
31687 PyObject
* obj3
= 0 ;
31688 PyObject
* obj4
= 0 ;
31689 char *kwnames
[] = {
31690 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
31694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeCanvas_FindShape",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31697 arg2
= (double) SWIG_AsDouble(obj1
);
31698 if (PyErr_Occurred()) SWIG_fail
;
31699 arg3
= (double) SWIG_AsDouble(obj2
);
31700 if (PyErr_Occurred()) SWIG_fail
;
31702 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxClassInfo
,
31703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31706 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg6
),SWIGTYPE_p_wxPyShape
,
31707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31711 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
,arg3
,arg4
,arg5
,arg6
);
31713 wxPyEndAllowThreads(__tstate
);
31714 if (PyErr_Occurred()) SWIG_fail
;
31717 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
31720 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
31721 resultobj
= t_output_helper(resultobj
,o
);
31729 static PyObject
*_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31730 PyObject
*resultobj
;
31731 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31734 int *arg4
= (int *) 0 ;
31738 PyObject
* obj0
= 0 ;
31739 PyObject
* obj1
= 0 ;
31740 PyObject
* obj2
= 0 ;
31741 PyObject
* obj3
= 0 ;
31742 char *kwnames
[] = {
31743 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
31747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShapeCanvas_FindFirstSensitiveShape",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31750 arg2
= (double) SWIG_AsDouble(obj1
);
31751 if (PyErr_Occurred()) SWIG_fail
;
31752 arg3
= (double) SWIG_AsDouble(obj2
);
31753 if (PyErr_Occurred()) SWIG_fail
;
31754 arg5
= (int) SWIG_AsInt(obj3
);
31755 if (PyErr_Occurred()) SWIG_fail
;
31757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31758 result
= (wxPyShape
*)(arg1
)->FindFirstSensitiveShape(arg2
,arg3
,arg4
,arg5
);
31760 wxPyEndAllowThreads(__tstate
);
31761 if (PyErr_Occurred()) SWIG_fail
;
31764 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
31767 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
31768 resultobj
= t_output_helper(resultobj
,o
);
31776 static PyObject
*_wrap_PyShapeCanvas_GetDiagram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31777 PyObject
*resultobj
;
31778 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31780 PyObject
* obj0
= 0 ;
31781 char *kwnames
[] = {
31782 (char *) "self", NULL
31785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetDiagram",kwnames
,&obj0
)) goto fail
;
31786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31790 result
= (wxDiagram
*)(arg1
)->GetDiagram();
31792 wxPyEndAllowThreads(__tstate
);
31793 if (PyErr_Occurred()) SWIG_fail
;
31796 resultobj
= wxPyMake_wxObject(result
);
31804 static PyObject
*_wrap_PyShapeCanvas_GetQuickEditMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31805 PyObject
*resultobj
;
31806 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31808 PyObject
* obj0
= 0 ;
31809 char *kwnames
[] = {
31810 (char *) "self", NULL
31813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
31814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31818 result
= (bool)(arg1
)->GetQuickEditMode();
31820 wxPyEndAllowThreads(__tstate
);
31821 if (PyErr_Occurred()) SWIG_fail
;
31823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31830 static PyObject
*_wrap_PyShapeCanvas_InsertShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31831 PyObject
*resultobj
;
31832 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31833 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31834 PyObject
* obj0
= 0 ;
31835 PyObject
* obj1
= 0 ;
31836 char *kwnames
[] = {
31837 (char *) "self",(char *) "shape", NULL
31840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31847 (arg1
)->InsertShape(arg2
);
31849 wxPyEndAllowThreads(__tstate
);
31850 if (PyErr_Occurred()) SWIG_fail
;
31852 Py_INCREF(Py_None
); resultobj
= Py_None
;
31859 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31860 PyObject
*resultobj
;
31861 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31864 int arg4
= (int) 0 ;
31865 PyObject
* obj0
= 0 ;
31866 PyObject
* obj1
= 0 ;
31867 PyObject
* obj2
= 0 ;
31868 PyObject
* obj3
= 0 ;
31869 char *kwnames
[] = {
31870 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
31873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31876 arg2
= (double) SWIG_AsDouble(obj1
);
31877 if (PyErr_Occurred()) SWIG_fail
;
31878 arg3
= (double) SWIG_AsDouble(obj2
);
31879 if (PyErr_Occurred()) SWIG_fail
;
31881 arg4
= (int) SWIG_AsInt(obj3
);
31882 if (PyErr_Occurred()) SWIG_fail
;
31885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31886 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
);
31888 wxPyEndAllowThreads(__tstate
);
31889 if (PyErr_Occurred()) SWIG_fail
;
31891 Py_INCREF(Py_None
); resultobj
= Py_None
;
31898 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31899 PyObject
*resultobj
;
31900 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31903 int arg4
= (int) 0 ;
31904 PyObject
* obj0
= 0 ;
31905 PyObject
* obj1
= 0 ;
31906 PyObject
* obj2
= 0 ;
31907 PyObject
* obj3
= 0 ;
31908 char *kwnames
[] = {
31909 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
31912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31915 arg2
= (double) SWIG_AsDouble(obj1
);
31916 if (PyErr_Occurred()) SWIG_fail
;
31917 arg3
= (double) SWIG_AsDouble(obj2
);
31918 if (PyErr_Occurred()) SWIG_fail
;
31920 arg4
= (int) SWIG_AsInt(obj3
);
31921 if (PyErr_Occurred()) SWIG_fail
;
31924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31925 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
);
31927 wxPyEndAllowThreads(__tstate
);
31928 if (PyErr_Occurred()) SWIG_fail
;
31930 Py_INCREF(Py_None
); resultobj
= Py_None
;
31937 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31938 PyObject
*resultobj
;
31939 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31942 int arg4
= (int) 0 ;
31943 PyObject
* obj0
= 0 ;
31944 PyObject
* obj1
= 0 ;
31945 PyObject
* obj2
= 0 ;
31946 PyObject
* obj3
= 0 ;
31947 char *kwnames
[] = {
31948 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
31951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31954 arg2
= (double) SWIG_AsDouble(obj1
);
31955 if (PyErr_Occurred()) SWIG_fail
;
31956 arg3
= (double) SWIG_AsDouble(obj2
);
31957 if (PyErr_Occurred()) SWIG_fail
;
31959 arg4
= (int) SWIG_AsInt(obj3
);
31960 if (PyErr_Occurred()) SWIG_fail
;
31963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31964 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
);
31966 wxPyEndAllowThreads(__tstate
);
31967 if (PyErr_Occurred()) SWIG_fail
;
31969 Py_INCREF(Py_None
); resultobj
= Py_None
;
31976 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31977 PyObject
*resultobj
;
31978 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31981 int arg4
= (int) 0 ;
31982 PyObject
* obj0
= 0 ;
31983 PyObject
* obj1
= 0 ;
31984 PyObject
* obj2
= 0 ;
31985 PyObject
* obj3
= 0 ;
31986 char *kwnames
[] = {
31987 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
31990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31993 arg2
= (double) SWIG_AsDouble(obj1
);
31994 if (PyErr_Occurred()) SWIG_fail
;
31995 arg3
= (double) SWIG_AsDouble(obj2
);
31996 if (PyErr_Occurred()) SWIG_fail
;
31998 arg4
= (int) SWIG_AsInt(obj3
);
31999 if (PyErr_Occurred()) SWIG_fail
;
32002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32003 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
);
32005 wxPyEndAllowThreads(__tstate
);
32006 if (PyErr_Occurred()) SWIG_fail
;
32008 Py_INCREF(Py_None
); resultobj
= Py_None
;
32015 static PyObject
*_wrap_PyShapeCanvas_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32016 PyObject
*resultobj
;
32017 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32021 int arg5
= (int) 0 ;
32022 PyObject
* obj0
= 0 ;
32023 PyObject
* obj1
= 0 ;
32024 PyObject
* obj2
= 0 ;
32025 PyObject
* obj3
= 0 ;
32026 PyObject
* obj4
= 0 ;
32027 char *kwnames
[] = {
32028 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShapeCanvas_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32034 arg2
= (bool) SWIG_AsBool(obj1
);
32035 if (PyErr_Occurred()) SWIG_fail
;
32036 arg3
= (double) SWIG_AsDouble(obj2
);
32037 if (PyErr_Occurred()) SWIG_fail
;
32038 arg4
= (double) SWIG_AsDouble(obj3
);
32039 if (PyErr_Occurred()) SWIG_fail
;
32041 arg5
= (int) SWIG_AsInt(obj4
);
32042 if (PyErr_Occurred()) SWIG_fail
;
32045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32046 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
);
32048 wxPyEndAllowThreads(__tstate
);
32049 if (PyErr_Occurred()) SWIG_fail
;
32051 Py_INCREF(Py_None
); resultobj
= Py_None
;
32058 static PyObject
*_wrap_PyShapeCanvas_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32059 PyObject
*resultobj
;
32060 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32064 int arg5
= (int) 0 ;
32065 PyObject
* obj0
= 0 ;
32066 PyObject
* obj1
= 0 ;
32067 PyObject
* obj2
= 0 ;
32068 PyObject
* obj3
= 0 ;
32069 PyObject
* obj4
= 0 ;
32070 char *kwnames
[] = {
32071 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShapeCanvas_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32077 arg2
= (bool) SWIG_AsBool(obj1
);
32078 if (PyErr_Occurred()) SWIG_fail
;
32079 arg3
= (double) SWIG_AsDouble(obj2
);
32080 if (PyErr_Occurred()) SWIG_fail
;
32081 arg4
= (double) SWIG_AsDouble(obj3
);
32082 if (PyErr_Occurred()) SWIG_fail
;
32084 arg5
= (int) SWIG_AsInt(obj4
);
32085 if (PyErr_Occurred()) SWIG_fail
;
32088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32089 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
);
32091 wxPyEndAllowThreads(__tstate
);
32092 if (PyErr_Occurred()) SWIG_fail
;
32094 Py_INCREF(Py_None
); resultobj
= Py_None
;
32101 static PyObject
*_wrap_PyShapeCanvas_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32102 PyObject
*resultobj
;
32103 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32106 int arg4
= (int) 0 ;
32107 PyObject
* obj0
= 0 ;
32108 PyObject
* obj1
= 0 ;
32109 PyObject
* obj2
= 0 ;
32110 PyObject
* obj3
= 0 ;
32111 char *kwnames
[] = {
32112 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32118 arg2
= (double) SWIG_AsDouble(obj1
);
32119 if (PyErr_Occurred()) SWIG_fail
;
32120 arg3
= (double) SWIG_AsDouble(obj2
);
32121 if (PyErr_Occurred()) SWIG_fail
;
32123 arg4
= (int) SWIG_AsInt(obj3
);
32124 if (PyErr_Occurred()) SWIG_fail
;
32127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32128 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
);
32130 wxPyEndAllowThreads(__tstate
);
32131 if (PyErr_Occurred()) SWIG_fail
;
32133 Py_INCREF(Py_None
); resultobj
= Py_None
;
32140 static PyObject
*_wrap_PyShapeCanvas_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32141 PyObject
*resultobj
;
32142 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32145 int arg4
= (int) 0 ;
32146 PyObject
* obj0
= 0 ;
32147 PyObject
* obj1
= 0 ;
32148 PyObject
* obj2
= 0 ;
32149 PyObject
* obj3
= 0 ;
32150 char *kwnames
[] = {
32151 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32157 arg2
= (double) SWIG_AsDouble(obj1
);
32158 if (PyErr_Occurred()) SWIG_fail
;
32159 arg3
= (double) SWIG_AsDouble(obj2
);
32160 if (PyErr_Occurred()) SWIG_fail
;
32162 arg4
= (int) SWIG_AsInt(obj3
);
32163 if (PyErr_Occurred()) SWIG_fail
;
32166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32167 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
);
32169 wxPyEndAllowThreads(__tstate
);
32170 if (PyErr_Occurred()) SWIG_fail
;
32172 Py_INCREF(Py_None
); resultobj
= Py_None
;
32179 static PyObject
*_wrap_PyShapeCanvas_Redraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32180 PyObject
*resultobj
;
32181 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32183 PyObject
* obj0
= 0 ;
32184 PyObject
* obj1
= 0 ;
32185 char *kwnames
[] = {
32186 (char *) "self",(char *) "dc", NULL
32189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
32190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
32193 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32195 if (arg2
== NULL
) {
32196 PyErr_SetString(PyExc_TypeError
,"null reference");
32200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32201 (arg1
)->Redraw(*arg2
);
32203 wxPyEndAllowThreads(__tstate
);
32204 if (PyErr_Occurred()) SWIG_fail
;
32206 Py_INCREF(Py_None
); resultobj
= Py_None
;
32213 static PyObject
*_wrap_PyShapeCanvas_RemoveShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32214 PyObject
*resultobj
;
32215 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32216 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
32217 PyObject
* obj0
= 0 ;
32218 PyObject
* obj1
= 0 ;
32219 char *kwnames
[] = {
32220 (char *) "self",(char *) "shape", NULL
32223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
32224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32226 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
32227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32230 (arg1
)->RemoveShape(arg2
);
32232 wxPyEndAllowThreads(__tstate
);
32233 if (PyErr_Occurred()) SWIG_fail
;
32235 Py_INCREF(Py_None
); resultobj
= Py_None
;
32242 static PyObject
*_wrap_PyShapeCanvas_SetDiagram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32243 PyObject
*resultobj
;
32244 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32245 wxDiagram
*arg2
= (wxDiagram
*) 0 ;
32246 PyObject
* obj0
= 0 ;
32247 PyObject
* obj1
= 0 ;
32248 char *kwnames
[] = {
32249 (char *) "self",(char *) "diagram", NULL
32252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames
,&obj0
,&obj1
)) goto fail
;
32253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32255 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDiagram
,
32256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32259 (arg1
)->SetDiagram(arg2
);
32261 wxPyEndAllowThreads(__tstate
);
32262 if (PyErr_Occurred()) SWIG_fail
;
32264 Py_INCREF(Py_None
); resultobj
= Py_None
;
32271 static PyObject
*_wrap_PyShapeCanvas_Snap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32272 PyObject
*resultobj
;
32273 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32274 double *arg2
= (double *) 0 ;
32275 double *arg3
= (double *) 0 ;
32278 PyObject
* obj0
= 0 ;
32279 PyObject
* obj1
= 0 ;
32280 PyObject
* obj2
= 0 ;
32281 char *kwnames
[] = {
32282 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
32285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32289 temp2
= PyFloat_AsDouble(obj1
);
32290 if (PyErr_Occurred()) SWIG_fail
;
32294 temp3
= PyFloat_AsDouble(obj2
);
32295 if (PyErr_Occurred()) SWIG_fail
;
32299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32300 (arg1
)->Snap(arg2
,arg3
);
32302 wxPyEndAllowThreads(__tstate
);
32303 if (PyErr_Occurred()) SWIG_fail
;
32305 Py_INCREF(Py_None
); resultobj
= Py_None
;
32307 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
32308 resultobj
= t_output_helper(resultobj
,o
);
32311 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
32312 resultobj
= t_output_helper(resultobj
,o
);
32320 static PyObject
* PyShapeCanvas_swigregister(PyObject
*, PyObject
*args
) {
32322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32323 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas
, obj
);
32325 return Py_BuildValue((char *)"");
32327 static PyObject
*_wrap_OGLInitialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32328 PyObject
*resultobj
;
32329 char *kwnames
[] = {
32333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLInitialize",kwnames
)) goto fail
;
32335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32338 wxPyEndAllowThreads(__tstate
);
32339 if (PyErr_Occurred()) SWIG_fail
;
32341 Py_INCREF(Py_None
); resultobj
= Py_None
;
32348 static PyObject
*_wrap_OGLCleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32349 PyObject
*resultobj
;
32350 char *kwnames
[] = {
32354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLCleanUp",kwnames
)) goto fail
;
32356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32359 wxPyEndAllowThreads(__tstate
);
32360 if (PyErr_Occurred()) SWIG_fail
;
32362 Py_INCREF(Py_None
); resultobj
= Py_None
;
32369 static PyMethodDef SwigMethods
[] = {
32370 { (char *)"new_ShapeRegion", (PyCFunction
) _wrap_new_ShapeRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32371 { (char *)"ShapeRegion_SetText", (PyCFunction
) _wrap_ShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32372 { (char *)"ShapeRegion_SetFont", (PyCFunction
) _wrap_ShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32373 { (char *)"ShapeRegion_SetMinSize", (PyCFunction
) _wrap_ShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"ShapeRegion_SetSize", (PyCFunction
) _wrap_ShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32375 { (char *)"ShapeRegion_SetPosition", (PyCFunction
) _wrap_ShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32376 { (char *)"ShapeRegion_SetProportions", (PyCFunction
) _wrap_ShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32377 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction
) _wrap_ShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32378 { (char *)"ShapeRegion_SetName", (PyCFunction
) _wrap_ShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32379 { (char *)"ShapeRegion_SetColour", (PyCFunction
) _wrap_ShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32380 { (char *)"ShapeRegion_GetText", (PyCFunction
) _wrap_ShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32381 { (char *)"ShapeRegion_GetFont", (PyCFunction
) _wrap_ShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32382 { (char *)"ShapeRegion_GetMinSize", (PyCFunction
) _wrap_ShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32383 { (char *)"ShapeRegion_GetProportion", (PyCFunction
) _wrap_ShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32384 { (char *)"ShapeRegion_GetSize", (PyCFunction
) _wrap_ShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32385 { (char *)"ShapeRegion_GetPosition", (PyCFunction
) _wrap_ShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32386 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction
) _wrap_ShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32387 { (char *)"ShapeRegion_GetName", (PyCFunction
) _wrap_ShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32388 { (char *)"ShapeRegion_GetColour", (PyCFunction
) _wrap_ShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32389 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_ShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32390 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction
) _wrap_ShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32391 { (char *)"ShapeRegion_GetPenColour", (PyCFunction
) _wrap_ShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32392 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction
) _wrap_ShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32393 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction
) _wrap_ShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32394 { (char *)"ShapeRegion_SetPenColour", (PyCFunction
) _wrap_ShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32395 { (char *)"ShapeRegion_GetActualPen", (PyCFunction
) _wrap_ShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"ShapeRegion_GetWidth", (PyCFunction
) _wrap_ShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32397 { (char *)"ShapeRegion_GetHeight", (PyCFunction
) _wrap_ShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32398 { (char *)"ShapeRegion_ClearText", (PyCFunction
) _wrap_ShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32399 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister
, METH_VARARGS
, NULL
},
32400 { (char *)"new_AttachmentPoint", (PyCFunction
) _wrap_new_AttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32401 { (char *)"AttachmentPoint_m_id_set", (PyCFunction
) _wrap_AttachmentPoint_m_id_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32402 { (char *)"AttachmentPoint_m_id_get", (PyCFunction
) _wrap_AttachmentPoint_m_id_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32403 { (char *)"AttachmentPoint_m_x_set", (PyCFunction
) _wrap_AttachmentPoint_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32404 { (char *)"AttachmentPoint_m_x_get", (PyCFunction
) _wrap_AttachmentPoint_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32405 { (char *)"AttachmentPoint_m_y_set", (PyCFunction
) _wrap_AttachmentPoint_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32406 { (char *)"AttachmentPoint_m_y_get", (PyCFunction
) _wrap_AttachmentPoint_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32407 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister
, METH_VARARGS
, NULL
},
32408 { (char *)"new_PyShapeEvtHandler", (PyCFunction
) _wrap_new_PyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32409 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32410 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32411 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32412 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32413 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32414 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32415 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_PyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32416 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32417 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32418 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32419 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32420 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32421 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32422 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32423 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32424 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32425 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32426 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32427 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32428 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32429 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32430 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32431 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32432 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32433 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32434 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32435 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32436 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32437 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32438 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32439 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32440 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32441 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32442 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32443 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32444 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32445 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister
, METH_VARARGS
, NULL
},
32446 { (char *)"new_PyShape", (PyCFunction
) _wrap_new_PyShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32447 { (char *)"PyShape__setCallbackInfo", (PyCFunction
) _wrap_PyShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32448 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32449 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32450 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction
) _wrap_PyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32451 { (char *)"PyShape_GetCanvas", (PyCFunction
) _wrap_PyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32452 { (char *)"PyShape_SetCanvas", (PyCFunction
) _wrap_PyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32453 { (char *)"PyShape_AddToCanvas", (PyCFunction
) _wrap_PyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32454 { (char *)"PyShape_InsertInCanvas", (PyCFunction
) _wrap_PyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32455 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction
) _wrap_PyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32456 { (char *)"PyShape_GetX", (PyCFunction
) _wrap_PyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32457 { (char *)"PyShape_GetY", (PyCFunction
) _wrap_PyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32458 { (char *)"PyShape_SetX", (PyCFunction
) _wrap_PyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32459 { (char *)"PyShape_SetY", (PyCFunction
) _wrap_PyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32460 { (char *)"PyShape_GetParent", (PyCFunction
) _wrap_PyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32461 { (char *)"PyShape_SetParent", (PyCFunction
) _wrap_PyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32462 { (char *)"PyShape_GetTopAncestor", (PyCFunction
) _wrap_PyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32463 { (char *)"PyShape_GetChildren", (PyCFunction
) _wrap_PyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32464 { (char *)"PyShape_Unlink", (PyCFunction
) _wrap_PyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32465 { (char *)"PyShape_SetDrawHandles", (PyCFunction
) _wrap_PyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32466 { (char *)"PyShape_GetDrawHandles", (PyCFunction
) _wrap_PyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32467 { (char *)"PyShape_MakeControlPoints", (PyCFunction
) _wrap_PyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32468 { (char *)"PyShape_DeleteControlPoints", (PyCFunction
) _wrap_PyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32469 { (char *)"PyShape_ResetControlPoints", (PyCFunction
) _wrap_PyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32470 { (char *)"PyShape_GetEventHandler", (PyCFunction
) _wrap_PyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32471 { (char *)"PyShape_SetEventHandler", (PyCFunction
) _wrap_PyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32472 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32473 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32474 { (char *)"PyShape_Recompute", (PyCFunction
) _wrap_PyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32475 { (char *)"PyShape_CalculateSize", (PyCFunction
) _wrap_PyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32476 { (char *)"PyShape_Select", (PyCFunction
) _wrap_PyShape_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32477 { (char *)"PyShape_SetHighlight", (PyCFunction
) _wrap_PyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32478 { (char *)"PyShape_IsHighlighted", (PyCFunction
) _wrap_PyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32479 { (char *)"PyShape_Selected", (PyCFunction
) _wrap_PyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32480 { (char *)"PyShape_AncestorSelected", (PyCFunction
) _wrap_PyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32481 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction
) _wrap_PyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32482 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction
) _wrap_PyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32483 { (char *)"PyShape_SetDraggable", (PyCFunction
) _wrap_PyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32484 { (char *)"PyShape_SetFixedSize", (PyCFunction
) _wrap_PyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32485 { (char *)"PyShape_GetFixedSize", (PyCFunction
) _wrap_PyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32486 { (char *)"PyShape_GetFixedWidth", (PyCFunction
) _wrap_PyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32487 { (char *)"PyShape_GetFixedHeight", (PyCFunction
) _wrap_PyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32488 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction
) _wrap_PyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32489 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction
) _wrap_PyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32490 { (char *)"PyShape_SetShadowMode", (PyCFunction
) _wrap_PyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32491 { (char *)"PyShape_GetShadowMode", (PyCFunction
) _wrap_PyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32492 { (char *)"PyShape_HitTest", (PyCFunction
) _wrap_PyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32493 { (char *)"PyShape_SetCentreResize", (PyCFunction
) _wrap_PyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32494 { (char *)"PyShape_GetCentreResize", (PyCFunction
) _wrap_PyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32495 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32496 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32497 { (char *)"PyShape_GetLines", (PyCFunction
) _wrap_PyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32498 { (char *)"PyShape_SetDisableLabel", (PyCFunction
) _wrap_PyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32499 { (char *)"PyShape_GetDisableLabel", (PyCFunction
) _wrap_PyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32500 { (char *)"PyShape_SetAttachmentMode", (PyCFunction
) _wrap_PyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32501 { (char *)"PyShape_GetAttachmentMode", (PyCFunction
) _wrap_PyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32502 { (char *)"PyShape_SetId", (PyCFunction
) _wrap_PyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32503 { (char *)"PyShape_GetId", (PyCFunction
) _wrap_PyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32504 { (char *)"PyShape_SetPen", (PyCFunction
) _wrap_PyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32505 { (char *)"PyShape_SetBrush", (PyCFunction
) _wrap_PyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32506 { (char *)"PyShape_Show", (PyCFunction
) _wrap_PyShape_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32507 { (char *)"PyShape_IsShown", (PyCFunction
) _wrap_PyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32508 { (char *)"PyShape_Move", (PyCFunction
) _wrap_PyShape_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32509 { (char *)"PyShape_Erase", (PyCFunction
) _wrap_PyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32510 { (char *)"PyShape_EraseContents", (PyCFunction
) _wrap_PyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32511 { (char *)"PyShape_Draw", (PyCFunction
) _wrap_PyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32512 { (char *)"PyShape_Flash", (PyCFunction
) _wrap_PyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32513 { (char *)"PyShape_MoveLinks", (PyCFunction
) _wrap_PyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32514 { (char *)"PyShape_DrawContents", (PyCFunction
) _wrap_PyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32515 { (char *)"PyShape_SetSize", (PyCFunction
) _wrap_PyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32516 { (char *)"PyShape_SetAttachmentSize", (PyCFunction
) _wrap_PyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32517 { (char *)"PyShape_Attach", (PyCFunction
) _wrap_PyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32518 { (char *)"PyShape_Detach", (PyCFunction
) _wrap_PyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32519 { (char *)"PyShape_Constrain", (PyCFunction
) _wrap_PyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32520 { (char *)"PyShape_AddLine", (PyCFunction
) _wrap_PyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32521 { (char *)"PyShape_GetLinePosition", (PyCFunction
) _wrap_PyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32522 { (char *)"PyShape_AddText", (PyCFunction
) _wrap_PyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32523 { (char *)"PyShape_GetPen", (PyCFunction
) _wrap_PyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32524 { (char *)"PyShape_GetBrush", (PyCFunction
) _wrap_PyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32525 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_PyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32526 { (char *)"PyShape_FormatText", (PyCFunction
) _wrap_PyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32527 { (char *)"PyShape_SetFormatMode", (PyCFunction
) _wrap_PyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32528 { (char *)"PyShape_GetFormatMode", (PyCFunction
) _wrap_PyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32529 { (char *)"PyShape_SetFont", (PyCFunction
) _wrap_PyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32530 { (char *)"PyShape_GetFont", (PyCFunction
) _wrap_PyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32531 { (char *)"PyShape_SetTextColour", (PyCFunction
) _wrap_PyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32532 { (char *)"PyShape_GetTextColour", (PyCFunction
) _wrap_PyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32533 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_PyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32534 { (char *)"PyShape_SetRegionName", (PyCFunction
) _wrap_PyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32535 { (char *)"PyShape_GetRegionName", (PyCFunction
) _wrap_PyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32536 { (char *)"PyShape_GetRegionId", (PyCFunction
) _wrap_PyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32537 { (char *)"PyShape_NameRegions", (PyCFunction
) _wrap_PyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32538 { (char *)"PyShape_GetRegions", (PyCFunction
) _wrap_PyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32539 { (char *)"PyShape_AddRegion", (PyCFunction
) _wrap_PyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32540 { (char *)"PyShape_ClearRegions", (PyCFunction
) _wrap_PyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32541 { (char *)"PyShape_AssignNewIds", (PyCFunction
) _wrap_PyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32542 { (char *)"PyShape_FindRegion", (PyCFunction
) _wrap_PyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32543 { (char *)"PyShape_FindRegionNames", (PyCFunction
) _wrap_PyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32544 { (char *)"PyShape_ClearText", (PyCFunction
) _wrap_PyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32545 { (char *)"PyShape_RemoveLine", (PyCFunction
) _wrap_PyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32546 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction
) _wrap_PyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32547 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_PyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32548 { (char *)"PyShape_AttachmentIsValid", (PyCFunction
) _wrap_PyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32549 { (char *)"PyShape_GetAttachments", (PyCFunction
) _wrap_PyShape_GetAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32550 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_PyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32551 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_PyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32552 { (char *)"PyShape_AttachmentSortTest", (PyCFunction
) _wrap_PyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32553 { (char *)"PyShape_EraseLinks", (PyCFunction
) _wrap_PyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32554 { (char *)"PyShape_DrawLinks", (PyCFunction
) _wrap_PyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32555 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_PyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32556 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_PyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32557 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32558 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32559 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32560 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_PyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32561 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction
) _wrap_PyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32562 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction
) _wrap_PyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32563 { (char *)"PyShape_SetBranchStemLength", (PyCFunction
) _wrap_PyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32564 { (char *)"PyShape_GetBranchStemLength", (PyCFunction
) _wrap_PyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32565 { (char *)"PyShape_SetBranchSpacing", (PyCFunction
) _wrap_PyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32566 { (char *)"PyShape_GetBranchSpacing", (PyCFunction
) _wrap_PyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32567 { (char *)"PyShape_SetBranchStyle", (PyCFunction
) _wrap_PyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32568 { (char *)"PyShape_GetBranchStyle", (PyCFunction
) _wrap_PyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32569 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_PyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32570 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_PyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32571 { (char *)"PyShape_Draggable", (PyCFunction
) _wrap_PyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32572 { (char *)"PyShape_HasDescendant", (PyCFunction
) _wrap_PyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32573 { (char *)"PyShape_CreateNewCopy", (PyCFunction
) _wrap_PyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32574 { (char *)"PyShape_Copy", (PyCFunction
) _wrap_PyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32575 { (char *)"PyShape_CopyWithHandler", (PyCFunction
) _wrap_PyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32576 { (char *)"PyShape_Rotate", (PyCFunction
) _wrap_PyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32577 { (char *)"PyShape_GetRotation", (PyCFunction
) _wrap_PyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32578 { (char *)"PyShape_SetRotation", (PyCFunction
) _wrap_PyShape_SetRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32579 { (char *)"PyShape_ClearAttachments", (PyCFunction
) _wrap_PyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32580 { (char *)"PyShape_Recentre", (PyCFunction
) _wrap_PyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32581 { (char *)"PyShape_ClearPointList", (PyCFunction
) _wrap_PyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32582 { (char *)"PyShape_GetBackgroundPen", (PyCFunction
) _wrap_PyShape_GetBackgroundPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32583 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction
) _wrap_PyShape_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32584 { (char *)"PyShape_base_OnDelete", (PyCFunction
) _wrap_PyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32585 { (char *)"PyShape_base_OnDraw", (PyCFunction
) _wrap_PyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32586 { (char *)"PyShape_base_OnDrawContents", (PyCFunction
) _wrap_PyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32587 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32588 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32589 { (char *)"PyShape_base_OnErase", (PyCFunction
) _wrap_PyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32590 { (char *)"PyShape_base_OnEraseContents", (PyCFunction
) _wrap_PyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32591 { (char *)"PyShape_base_OnHighlight", (PyCFunction
) _wrap_PyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32592 { (char *)"PyShape_base_OnLeftClick", (PyCFunction
) _wrap_PyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32593 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32594 { (char *)"PyShape_base_OnRightClick", (PyCFunction
) _wrap_PyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32595 { (char *)"PyShape_base_OnSize", (PyCFunction
) _wrap_PyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32596 { (char *)"PyShape_base_OnMovePre", (PyCFunction
) _wrap_PyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32597 { (char *)"PyShape_base_OnMovePost", (PyCFunction
) _wrap_PyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32598 { (char *)"PyShape_base_OnDragLeft", (PyCFunction
) _wrap_PyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32599 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32600 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32601 { (char *)"PyShape_base_OnDragRight", (PyCFunction
) _wrap_PyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32602 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32603 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32604 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32605 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32606 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32607 { (char *)"PyShape_base_OnMoveLink", (PyCFunction
) _wrap_PyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32608 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32609 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32610 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32611 { (char *)"PyShape_base_OnBeginSize", (PyCFunction
) _wrap_PyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32612 { (char *)"PyShape_base_OnEndSize", (PyCFunction
) _wrap_PyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32613 { (char *)"PyShape_swigregister", PyShape_swigregister
, METH_VARARGS
, NULL
},
32614 { (char *)"new_PseudoMetaFile", (PyCFunction
) _wrap_new_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32615 { (char *)"delete_PseudoMetaFile", (PyCFunction
) _wrap_delete_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32616 { (char *)"PseudoMetaFile_Draw", (PyCFunction
) _wrap_PseudoMetaFile_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32617 { (char *)"PseudoMetaFile_Clear", (PyCFunction
) _wrap_PseudoMetaFile_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32618 { (char *)"PseudoMetaFile_Copy", (PyCFunction
) _wrap_PseudoMetaFile_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32619 { (char *)"PseudoMetaFile_Scale", (PyCFunction
) _wrap_PseudoMetaFile_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32620 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction
) _wrap_PseudoMetaFile_ScaleTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32621 { (char *)"PseudoMetaFile_Translate", (PyCFunction
) _wrap_PseudoMetaFile_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32622 { (char *)"PseudoMetaFile_Rotate", (PyCFunction
) _wrap_PseudoMetaFile_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32623 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction
) _wrap_PseudoMetaFile_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32624 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction
) _wrap_PseudoMetaFile_GetBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32625 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction
) _wrap_PseudoMetaFile_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32626 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_SetRotateable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32627 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_GetRotateable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32628 { (char *)"PseudoMetaFile_SetSize", (PyCFunction
) _wrap_PseudoMetaFile_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32629 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetFillBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32630 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_GetFillBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32631 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32632 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32633 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32634 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32635 { (char *)"PseudoMetaFile_IsValid", (PyCFunction
) _wrap_PseudoMetaFile_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32636 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction
) _wrap_PseudoMetaFile_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32637 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32638 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32639 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32640 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32641 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32642 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction
) _wrap_PseudoMetaFile_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32643 { (char *)"PseudoMetaFile_DrawText", (PyCFunction
) _wrap_PseudoMetaFile_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32644 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction
) _wrap_PseudoMetaFile_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32645 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction
) _wrap_PseudoMetaFile_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32646 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction
) _wrap_PseudoMetaFile_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32647 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32648 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32649 { (char *)"PseudoMetaFile_SetPen", (PyCFunction
) _wrap_PseudoMetaFile_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32650 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32651 { (char *)"PseudoMetaFile_SetFont", (PyCFunction
) _wrap_PseudoMetaFile_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32652 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction
) _wrap_PseudoMetaFile_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32653 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32654 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32655 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister
, METH_VARARGS
, NULL
},
32656 { (char *)"new_PyRectangleShape", (PyCFunction
) _wrap_new_PyRectangleShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32657 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction
) _wrap_PyRectangleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32658 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32659 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_GetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32660 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction
) _wrap_PyRectangleShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32661 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction
) _wrap_PyRectangleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32662 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32663 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32664 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32665 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction
) _wrap_PyRectangleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32666 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32667 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction
) _wrap_PyRectangleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32668 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32669 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32670 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32671 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32672 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32673 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32674 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32675 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32676 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32677 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32678 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32679 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32680 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32681 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32682 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32683 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32684 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32685 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32686 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32687 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32688 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32689 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister
, METH_VARARGS
, NULL
},
32690 { (char *)"new_PyControlPoint", (PyCFunction
) _wrap_new_PyControlPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32691 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction
) _wrap_PyControlPoint__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32692 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction
) _wrap_PyControlPoint_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32693 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction
) _wrap_PyControlPoint_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32694 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction
) _wrap_PyControlPoint_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32695 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32696 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32697 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32698 { (char *)"PyControlPoint_base_OnErase", (PyCFunction
) _wrap_PyControlPoint_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32699 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32700 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction
) _wrap_PyControlPoint_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32701 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32702 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32703 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction
) _wrap_PyControlPoint_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32704 { (char *)"PyControlPoint_base_OnSize", (PyCFunction
) _wrap_PyControlPoint_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32705 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32706 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32707 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32708 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32709 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32710 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32711 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32712 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32713 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32714 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32715 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32716 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32717 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32718 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32719 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32720 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32721 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction
) _wrap_PyControlPoint_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32722 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister
, METH_VARARGS
, NULL
},
32723 { (char *)"new_PyBitmapShape", (PyCFunction
) _wrap_new_PyBitmapShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32724 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32725 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction
) _wrap_PyBitmapShape_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32726 { (char *)"PyBitmapShape_GetFilename", (PyCFunction
) _wrap_PyBitmapShape_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32727 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction
) _wrap_PyBitmapShape_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32728 { (char *)"PyBitmapShape_SetFilename", (PyCFunction
) _wrap_PyBitmapShape_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32729 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction
) _wrap_PyBitmapShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32730 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction
) _wrap_PyBitmapShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32731 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32732 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32733 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32734 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction
) _wrap_PyBitmapShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32735 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32736 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction
) _wrap_PyBitmapShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32737 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32738 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32739 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32740 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32741 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32742 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32743 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32744 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32745 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32746 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32747 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32748 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32749 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32750 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32751 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32752 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32753 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32754 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32755 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32756 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32757 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32758 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister
, METH_VARARGS
, NULL
},
32759 { (char *)"new_PyDrawnShape", (PyCFunction
) _wrap_new_PyDrawnShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32760 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction
) _wrap_PyDrawnShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32761 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction
) _wrap_PyDrawnShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32762 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction
) _wrap_PyDrawnShape_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32763 { (char *)"PyDrawnShape_DrawArc", (PyCFunction
) _wrap_PyDrawnShape_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32764 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction
) _wrap_PyDrawnShape_DrawAtAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32765 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction
) _wrap_PyDrawnShape_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32766 { (char *)"PyDrawnShape_DrawLine", (PyCFunction
) _wrap_PyDrawnShape_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32767 { (char *)"PyDrawnShape_DrawLines", (PyCFunction
) _wrap_PyDrawnShape_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32768 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction
) _wrap_PyDrawnShape_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32769 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction
) _wrap_PyDrawnShape_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32770 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32771 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32772 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction
) _wrap_PyDrawnShape_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32773 { (char *)"PyDrawnShape_DrawText", (PyCFunction
) _wrap_PyDrawnShape_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32774 { (char *)"PyDrawnShape_GetAngle", (PyCFunction
) _wrap_PyDrawnShape_GetAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32775 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction
) _wrap_PyDrawnShape_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32776 { (char *)"PyDrawnShape_GetRotation", (PyCFunction
) _wrap_PyDrawnShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32777 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction
) _wrap_PyDrawnShape_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32778 { (char *)"PyDrawnShape_Rotate", (PyCFunction
) _wrap_PyDrawnShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32779 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction
) _wrap_PyDrawnShape_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32780 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32781 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32782 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32783 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32784 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32785 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32786 { (char *)"PyDrawnShape_Scale", (PyCFunction
) _wrap_PyDrawnShape_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32787 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction
) _wrap_PyDrawnShape_SetSaveToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32788 { (char *)"PyDrawnShape_Translate", (PyCFunction
) _wrap_PyDrawnShape_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32789 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction
) _wrap_PyDrawnShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32790 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction
) _wrap_PyDrawnShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32791 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32792 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32793 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32794 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction
) _wrap_PyDrawnShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32795 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32796 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction
) _wrap_PyDrawnShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32797 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32798 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32799 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32800 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32801 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32802 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32803 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32804 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32805 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32806 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32807 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32808 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32809 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32810 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32811 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32812 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32813 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32814 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32815 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32816 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32817 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32818 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister
, METH_VARARGS
, NULL
},
32819 { (char *)"new_OGLConstraint", (PyCFunction
) _wrap_new_OGLConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32820 { (char *)"OGLConstraint_Evaluate", (PyCFunction
) _wrap_OGLConstraint_Evaluate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32821 { (char *)"OGLConstraint_SetSpacing", (PyCFunction
) _wrap_OGLConstraint_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32822 { (char *)"OGLConstraint_Equals", (PyCFunction
) _wrap_OGLConstraint_Equals
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32823 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister
, METH_VARARGS
, NULL
},
32824 { (char *)"new_PyCompositeShape", (PyCFunction
) _wrap_new_PyCompositeShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32825 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction
) _wrap_PyCompositeShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32826 { (char *)"PyCompositeShape_AddChild", (PyCFunction
) _wrap_PyCompositeShape_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32827 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32828 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction
) _wrap_PyCompositeShape_AddConstrainedShapes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32829 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddSimpleConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32830 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction
) _wrap_PyCompositeShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32831 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction
) _wrap_PyCompositeShape_ContainsDivision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32832 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32833 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32834 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction
) _wrap_PyCompositeShape_FindContainerImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32835 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction
) _wrap_PyCompositeShape_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32836 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction
) _wrap_PyCompositeShape_GetDivisions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32837 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction
) _wrap_PyCompositeShape_MakeContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32838 { (char *)"PyCompositeShape_Recompute", (PyCFunction
) _wrap_PyCompositeShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32839 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction
) _wrap_PyCompositeShape_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32840 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction
) _wrap_PyCompositeShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32841 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction
) _wrap_PyCompositeShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32842 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32843 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32844 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32845 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction
) _wrap_PyCompositeShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32846 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32847 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction
) _wrap_PyCompositeShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32848 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32849 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32850 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32851 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32852 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32853 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32854 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32855 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32856 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32857 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32858 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32859 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32860 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32861 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32862 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32863 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32864 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32865 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32866 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32867 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32868 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32869 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister
, METH_VARARGS
, NULL
},
32870 { (char *)"new_PyDividedShape", (PyCFunction
) _wrap_new_PyDividedShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32871 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction
) _wrap_PyDividedShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32872 { (char *)"PyDividedShape_EditRegions", (PyCFunction
) _wrap_PyDividedShape_EditRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32873 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction
) _wrap_PyDividedShape_SetRegionSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32874 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction
) _wrap_PyDividedShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32875 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction
) _wrap_PyDividedShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32876 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32877 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32878 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32879 { (char *)"PyDividedShape_base_OnErase", (PyCFunction
) _wrap_PyDividedShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32880 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32881 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction
) _wrap_PyDividedShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32882 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32883 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32884 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction
) _wrap_PyDividedShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32885 { (char *)"PyDividedShape_base_OnSize", (PyCFunction
) _wrap_PyDividedShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32886 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32887 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32888 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32889 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32890 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32891 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32892 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32893 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32894 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32895 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32896 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32897 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32898 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32899 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32900 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32901 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32902 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction
) _wrap_PyDividedShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32903 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister
, METH_VARARGS
, NULL
},
32904 { (char *)"new_PyDivisionShape", (PyCFunction
) _wrap_new_PyDivisionShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32905 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction
) _wrap_PyDivisionShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32906 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction
) _wrap_PyDivisionShape_AdjustBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32907 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction
) _wrap_PyDivisionShape_AdjustLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32908 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction
) _wrap_PyDivisionShape_AdjustRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32909 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction
) _wrap_PyDivisionShape_AdjustTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32910 { (char *)"PyDivisionShape_Divide", (PyCFunction
) _wrap_PyDivisionShape_Divide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32911 { (char *)"PyDivisionShape_EditEdge", (PyCFunction
) _wrap_PyDivisionShape_EditEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32912 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_GetBottomSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32913 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_GetHandleSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32914 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32915 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32916 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32917 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction
) _wrap_PyDivisionShape_GetRightSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32918 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction
) _wrap_PyDivisionShape_GetTopSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32919 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32920 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction
) _wrap_PyDivisionShape_ResizeAdjoining
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32921 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction
) _wrap_PyDivisionShape_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32922 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_SetBottomSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32923 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_SetHandleSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32924 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32925 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32926 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32927 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction
) _wrap_PyDivisionShape_SetRightSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32928 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction
) _wrap_PyDivisionShape_SetTopSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32929 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetTopSideColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32930 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32931 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction
) _wrap_PyDivisionShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32932 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction
) _wrap_PyDivisionShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32933 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32934 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32935 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32936 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction
) _wrap_PyDivisionShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32937 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32938 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction
) _wrap_PyDivisionShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32939 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32940 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32941 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32942 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32943 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32944 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32945 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32946 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32947 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32948 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32949 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32950 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32951 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32952 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32953 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32954 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32955 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32956 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32957 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32958 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32959 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32960 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister
, METH_VARARGS
, NULL
},
32961 { (char *)"new_PyEllipseShape", (PyCFunction
) _wrap_new_PyEllipseShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32962 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction
) _wrap_PyEllipseShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32963 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction
) _wrap_PyEllipseShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32964 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32965 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32966 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32967 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction
) _wrap_PyEllipseShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32968 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32969 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction
) _wrap_PyEllipseShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32970 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32971 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32972 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32973 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32974 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32975 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32976 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32977 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32978 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32979 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32980 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32981 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32982 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32983 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32984 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32985 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32986 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32987 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32988 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32989 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32990 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32991 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister
, METH_VARARGS
, NULL
},
32992 { (char *)"new_PyCircleShape", (PyCFunction
) _wrap_new_PyCircleShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32993 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction
) _wrap_PyCircleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32994 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction
) _wrap_PyCircleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32995 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32996 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32997 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32998 { (char *)"PyCircleShape_base_OnErase", (PyCFunction
) _wrap_PyCircleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32999 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33000 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction
) _wrap_PyCircleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33001 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33002 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33003 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction
) _wrap_PyCircleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33004 { (char *)"PyCircleShape_base_OnSize", (PyCFunction
) _wrap_PyCircleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33005 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33006 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33007 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33008 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33009 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33010 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33011 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33012 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33013 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33014 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33015 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33016 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33017 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33018 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33019 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33020 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33021 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction
) _wrap_PyCircleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33022 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister
, METH_VARARGS
, NULL
},
33023 { (char *)"new_ArrowHead", (PyCFunction
) _wrap_new_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33024 { (char *)"delete_ArrowHead", (PyCFunction
) _wrap_delete_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33025 { (char *)"ArrowHead__GetType", (PyCFunction
) _wrap_ArrowHead__GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33026 { (char *)"ArrowHead_GetPosition", (PyCFunction
) _wrap_ArrowHead_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33027 { (char *)"ArrowHead_SetPosition", (PyCFunction
) _wrap_ArrowHead_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33028 { (char *)"ArrowHead_GetXOffset", (PyCFunction
) _wrap_ArrowHead_GetXOffset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33029 { (char *)"ArrowHead_GetYOffset", (PyCFunction
) _wrap_ArrowHead_GetYOffset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33030 { (char *)"ArrowHead_GetSpacing", (PyCFunction
) _wrap_ArrowHead_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33031 { (char *)"ArrowHead_GetSize", (PyCFunction
) _wrap_ArrowHead_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33032 { (char *)"ArrowHead_GetName", (PyCFunction
) _wrap_ArrowHead_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33033 { (char *)"ArrowHead_SetXOffset", (PyCFunction
) _wrap_ArrowHead_SetXOffset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33034 { (char *)"ArrowHead_SetYOffset", (PyCFunction
) _wrap_ArrowHead_SetYOffset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33035 { (char *)"ArrowHead_GetMetaFile", (PyCFunction
) _wrap_ArrowHead_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33036 { (char *)"ArrowHead_GetId", (PyCFunction
) _wrap_ArrowHead_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33037 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction
) _wrap_ArrowHead_GetArrowEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33038 { (char *)"ArrowHead_GetArrowSize", (PyCFunction
) _wrap_ArrowHead_GetArrowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33039 { (char *)"ArrowHead_SetSize", (PyCFunction
) _wrap_ArrowHead_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33040 { (char *)"ArrowHead_SetSpacing", (PyCFunction
) _wrap_ArrowHead_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33041 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister
, METH_VARARGS
, NULL
},
33042 { (char *)"new_PyLineShape", (PyCFunction
) _wrap_new_PyLineShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33043 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction
) _wrap_PyLineShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33044 { (char *)"PyLineShape_AddArrow", (PyCFunction
) _wrap_PyLineShape_AddArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33045 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction
) _wrap_PyLineShape_AddArrowOrdered
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33046 { (char *)"PyLineShape_ClearArrow", (PyCFunction
) _wrap_PyLineShape_ClearArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33047 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction
) _wrap_PyLineShape_ClearArrowsAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33048 { (char *)"PyLineShape_DrawArrow", (PyCFunction
) _wrap_PyLineShape_DrawArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33049 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33050 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33051 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction
) _wrap_PyLineShape_DeleteLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33052 { (char *)"PyLineShape_DrawArrows", (PyCFunction
) _wrap_PyLineShape_DrawArrows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33053 { (char *)"PyLineShape_DrawRegion", (PyCFunction
) _wrap_PyLineShape_DrawRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33054 { (char *)"PyLineShape_EraseRegion", (PyCFunction
) _wrap_PyLineShape_EraseRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33055 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction
) _wrap_PyLineShape_FindArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33056 { (char *)"PyLineShape_FindArrowHead", (PyCFunction
) _wrap_PyLineShape_FindArrowHead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33057 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction
) _wrap_PyLineShape_FindLineEndPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33058 { (char *)"PyLineShape_FindLinePosition", (PyCFunction
) _wrap_PyLineShape_FindLinePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33059 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction
) _wrap_PyLineShape_FindMinimumWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33060 { (char *)"PyLineShape_FindNth", (PyCFunction
) _wrap_PyLineShape_FindNth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33061 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_GetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33062 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_GetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33063 { (char *)"PyLineShape_GetEnds", (PyCFunction
) _wrap_PyLineShape_GetEnds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33064 { (char *)"PyLineShape_GetFrom", (PyCFunction
) _wrap_PyLineShape_GetFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33065 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction
) _wrap_PyLineShape_GetLabelPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33066 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction
) _wrap_PyLineShape_GetNextControlPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33067 { (char *)"PyLineShape_GetTo", (PyCFunction
) _wrap_PyLineShape_GetTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33068 { (char *)"PyLineShape_Initialise", (PyCFunction
) _wrap_PyLineShape_Initialise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33069 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction
) _wrap_PyLineShape_InsertLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33070 { (char *)"PyLineShape_IsEnd", (PyCFunction
) _wrap_PyLineShape_IsEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33071 { (char *)"PyLineShape_IsSpline", (PyCFunction
) _wrap_PyLineShape_IsSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33072 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction
) _wrap_PyLineShape_MakeLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33073 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction
) _wrap_PyLineShape_GetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33074 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_SetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33075 { (char *)"PyLineShape_SetAttachments", (PyCFunction
) _wrap_PyLineShape_SetAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33076 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_SetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33077 { (char *)"PyLineShape_SetEnds", (PyCFunction
) _wrap_PyLineShape_SetEnds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33078 { (char *)"PyLineShape_SetFrom", (PyCFunction
) _wrap_PyLineShape_SetFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33079 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction
) _wrap_PyLineShape_SetIgnoreOffsets
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33080 { (char *)"PyLineShape_SetSpline", (PyCFunction
) _wrap_PyLineShape_SetSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33081 { (char *)"PyLineShape_SetTo", (PyCFunction
) _wrap_PyLineShape_SetTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33082 { (char *)"PyLineShape_Straighten", (PyCFunction
) _wrap_PyLineShape_Straighten
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33083 { (char *)"PyLineShape_Unlink", (PyCFunction
) _wrap_PyLineShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33084 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_SetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33085 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction
) _wrap_PyLineShape_SetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33086 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_GetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33087 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction
) _wrap_PyLineShape_GetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33088 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction
) _wrap_PyLineShape_GetAlignmentStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33089 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction
) _wrap_PyLineShape_GetAlignmentEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33090 { (char *)"PyLineShape_base_OnDraw", (PyCFunction
) _wrap_PyLineShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33091 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction
) _wrap_PyLineShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33092 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyLineShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33093 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33094 { (char *)"PyLineShape_base_OnErase", (PyCFunction
) _wrap_PyLineShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33095 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction
) _wrap_PyLineShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33096 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction
) _wrap_PyLineShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33097 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33098 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33099 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction
) _wrap_PyLineShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33100 { (char *)"PyLineShape_base_OnSize", (PyCFunction
) _wrap_PyLineShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33101 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction
) _wrap_PyLineShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33102 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction
) _wrap_PyLineShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33103 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33104 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33105 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33106 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33107 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33108 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33109 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyLineShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33110 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33111 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33112 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33113 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33114 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33115 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33116 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction
) _wrap_PyLineShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33117 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction
) _wrap_PyLineShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33118 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister
, METH_VARARGS
, NULL
},
33119 { (char *)"new_PyPolygonShape", (PyCFunction
) _wrap_new_PyPolygonShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33120 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction
) _wrap_PyPolygonShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33121 { (char *)"PyPolygonShape_Create", (PyCFunction
) _wrap_PyPolygonShape_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33122 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_AddPolygonPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33123 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction
) _wrap_PyPolygonShape_CalculatePolygonCentre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33124 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_DeletePolygonPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33125 { (char *)"PyPolygonShape_GetPoints", (PyCFunction
) _wrap_PyPolygonShape_GetPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33126 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33127 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33128 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33129 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33130 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33131 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_UpdateOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33132 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction
) _wrap_PyPolygonShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33133 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33134 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33135 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33136 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction
) _wrap_PyPolygonShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33137 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33138 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction
) _wrap_PyPolygonShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33139 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33140 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33141 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33142 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33143 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33144 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33145 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33146 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33147 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33148 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33149 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33150 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33151 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33152 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33153 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33154 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33155 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33156 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33157 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33158 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33159 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33160 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister
, METH_VARARGS
, NULL
},
33161 { (char *)"new_PyTextShape", (PyCFunction
) _wrap_new_PyTextShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33162 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction
) _wrap_PyTextShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33163 { (char *)"PyTextShape_base_OnDelete", (PyCFunction
) _wrap_PyTextShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33164 { (char *)"PyTextShape_base_OnDraw", (PyCFunction
) _wrap_PyTextShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33165 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction
) _wrap_PyTextShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33166 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyTextShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33167 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33168 { (char *)"PyTextShape_base_OnErase", (PyCFunction
) _wrap_PyTextShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33169 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction
) _wrap_PyTextShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33170 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction
) _wrap_PyTextShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33171 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33172 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33173 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction
) _wrap_PyTextShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33174 { (char *)"PyTextShape_base_OnSize", (PyCFunction
) _wrap_PyTextShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33175 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction
) _wrap_PyTextShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33176 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction
) _wrap_PyTextShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33177 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33178 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33179 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33180 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33181 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33182 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33183 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyTextShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33184 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33185 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33186 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33187 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33188 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33189 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33190 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction
) _wrap_PyTextShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33191 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction
) _wrap_PyTextShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33192 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister
, METH_VARARGS
, NULL
},
33193 { (char *)"new_Diagram", (PyCFunction
) _wrap_new_Diagram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33194 { (char *)"Diagram_AddShape", (PyCFunction
) _wrap_Diagram_AddShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33195 { (char *)"Diagram_Clear", (PyCFunction
) _wrap_Diagram_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33196 { (char *)"Diagram_DeleteAllShapes", (PyCFunction
) _wrap_Diagram_DeleteAllShapes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33197 { (char *)"Diagram_DrawOutline", (PyCFunction
) _wrap_Diagram_DrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33198 { (char *)"Diagram_FindShape", (PyCFunction
) _wrap_Diagram_FindShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33199 { (char *)"Diagram_GetCanvas", (PyCFunction
) _wrap_Diagram_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33200 { (char *)"Diagram_GetCount", (PyCFunction
) _wrap_Diagram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33201 { (char *)"Diagram_GetGridSpacing", (PyCFunction
) _wrap_Diagram_GetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33202 { (char *)"Diagram_GetMouseTolerance", (PyCFunction
) _wrap_Diagram_GetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33203 { (char *)"Diagram_GetShapeList", (PyCFunction
) _wrap_Diagram_GetShapeList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33204 { (char *)"Diagram_GetQuickEditMode", (PyCFunction
) _wrap_Diagram_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33205 { (char *)"Diagram_GetSnapToGrid", (PyCFunction
) _wrap_Diagram_GetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33206 { (char *)"Diagram_InsertShape", (PyCFunction
) _wrap_Diagram_InsertShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33207 { (char *)"Diagram_RecentreAll", (PyCFunction
) _wrap_Diagram_RecentreAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33208 { (char *)"Diagram_Redraw", (PyCFunction
) _wrap_Diagram_Redraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33209 { (char *)"Diagram_RemoveAllShapes", (PyCFunction
) _wrap_Diagram_RemoveAllShapes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33210 { (char *)"Diagram_RemoveShape", (PyCFunction
) _wrap_Diagram_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33211 { (char *)"Diagram_SetCanvas", (PyCFunction
) _wrap_Diagram_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33212 { (char *)"Diagram_SetGridSpacing", (PyCFunction
) _wrap_Diagram_SetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33213 { (char *)"Diagram_SetMouseTolerance", (PyCFunction
) _wrap_Diagram_SetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33214 { (char *)"Diagram_SetQuickEditMode", (PyCFunction
) _wrap_Diagram_SetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33215 { (char *)"Diagram_SetSnapToGrid", (PyCFunction
) _wrap_Diagram_SetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33216 { (char *)"Diagram_ShowAll", (PyCFunction
) _wrap_Diagram_ShowAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33217 { (char *)"Diagram_Snap", (PyCFunction
) _wrap_Diagram_Snap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33218 { (char *)"Diagram_swigregister", Diagram_swigregister
, METH_VARARGS
, NULL
},
33219 { (char *)"new_PyShapeCanvas", (PyCFunction
) _wrap_new_PyShapeCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33220 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction
) _wrap_PyShapeCanvas__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33221 { (char *)"PyShapeCanvas_AddShape", (PyCFunction
) _wrap_PyShapeCanvas_AddShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33222 { (char *)"PyShapeCanvas_FindShape", (PyCFunction
) _wrap_PyShapeCanvas_FindShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33223 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction
) _wrap_PyShapeCanvas_FindFirstSensitiveShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33224 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_GetDiagram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33225 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction
) _wrap_PyShapeCanvas_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33226 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction
) _wrap_PyShapeCanvas_InsertShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33227 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33228 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33229 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33230 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33231 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33232 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33233 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33234 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33235 { (char *)"PyShapeCanvas_Redraw", (PyCFunction
) _wrap_PyShapeCanvas_Redraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33236 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction
) _wrap_PyShapeCanvas_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33237 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_SetDiagram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33238 { (char *)"PyShapeCanvas_Snap", (PyCFunction
) _wrap_PyShapeCanvas_Snap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33239 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister
, METH_VARARGS
, NULL
},
33240 { (char *)"OGLInitialize", (PyCFunction
) _wrap_OGLInitialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33241 { (char *)"OGLCleanUp", (PyCFunction
) _wrap_OGLCleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33242 { NULL
, NULL
, 0, NULL
}
33246 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33248 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33249 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33251 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33252 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33254 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33255 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33257 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33258 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33260 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33261 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33263 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33264 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33266 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33267 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33269 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33270 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33272 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x
) {
33273 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33275 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33276 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33278 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x
) {
33279 return (void *)((wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33281 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33282 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33284 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33285 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33287 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33288 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33290 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33291 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33293 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33294 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33296 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33297 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33299 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33300 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33302 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33303 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33305 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33306 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33308 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33309 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33311 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33312 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33314 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33315 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33317 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33318 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33320 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33321 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33323 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33324 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33326 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33327 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
33329 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33330 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33332 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33333 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33335 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33336 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33338 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33339 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33341 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33342 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33344 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33345 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33347 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33348 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33350 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33351 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33353 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33354 return (void *)((wxWindow
*) ((wxControl
*) x
));
33356 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33357 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33359 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33360 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33362 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33363 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33365 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33366 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33368 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33369 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33371 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33372 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33374 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x
) {
33375 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33377 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33378 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33380 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33381 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33383 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33384 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33386 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33387 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33389 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33390 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33392 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33393 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33395 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33396 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33398 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33399 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33401 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33402 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33404 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
33405 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
33407 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
33408 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
33410 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33411 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33413 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33414 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33416 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
33417 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
33419 static void *_p_wxPyControlPointTo_p_wxObject(void *x
) {
33420 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
33422 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
33423 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33425 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
33426 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33428 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33429 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33431 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33432 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33434 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33435 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33437 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33438 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33440 static void *_p_wxOGLConstraintTo_p_wxObject(void *x
) {
33441 return (void *)((wxObject
*) ((wxOGLConstraint
*) x
));
33443 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33444 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33446 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33447 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33449 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33450 return (void *)((wxObject
*) ((wxSizer
*) x
));
33452 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x
) {
33453 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
33455 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x
) {
33456 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
33458 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x
) {
33459 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyPolygonShape
*) x
));
33461 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33462 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33464 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33465 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33467 static void *_p_wxArrowHeadTo_p_wxObject(void *x
) {
33468 return (void *)((wxObject
*) ((wxArrowHead
*) x
));
33470 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
33471 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
33473 static void *_p_wxEventTo_p_wxObject(void *x
) {
33474 return (void *)((wxObject
*) ((wxEvent
*) x
));
33476 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
33477 return (void *)((wxObject
*) ((wxFontData
*) x
));
33479 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
33480 return (void *)((wxObject
*) ((wxPrintData
*) x
));
33482 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33483 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33485 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33486 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33488 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33489 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33491 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
33492 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
33494 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
33495 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
33497 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
33498 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33500 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33501 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33503 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33504 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33506 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33507 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33509 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33510 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33512 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33513 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33515 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33516 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33518 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
33519 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33521 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x
) {
33522 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33524 static void *_p_wxControlTo_p_wxObject(void *x
) {
33525 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33527 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x
) {
33528 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyEllipseShape
*) x
));
33530 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33531 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33533 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
33534 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33536 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33537 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33539 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
33540 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
33542 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x
) {
33543 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
33545 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33546 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33548 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
33549 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33551 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
33552 return (void *)((wxObject
*) ((wxColourData
*) x
));
33554 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33555 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33557 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33558 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33560 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
33561 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
33563 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
33564 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33566 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
33567 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33569 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
33570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33572 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
33573 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33575 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
33576 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33578 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
33579 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33581 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
33582 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33584 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
33585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33587 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33588 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33590 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
33591 return (void *)((wxObject
*) ((wxPrinter
*) x
));
33593 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33594 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33596 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33597 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33599 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33600 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33602 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33603 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33605 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33606 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33608 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33609 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33611 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33612 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33614 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33615 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33617 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33618 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33620 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33621 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33623 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33624 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33626 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33627 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33629 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33630 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33632 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33633 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33635 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33636 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33638 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33639 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33641 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33642 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33644 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33645 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33647 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33648 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33650 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33651 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33653 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33654 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33656 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33657 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33659 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
33660 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
33662 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x
) {
33663 return (void *)((wxObject
*) ((wxPyShapeEvtHandler
*) x
));
33665 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
33666 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33668 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
33669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33671 static void *_p_wxPyTextShapeTo_p_wxObject(void *x
) {
33672 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
33674 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33675 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33677 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x
) {
33678 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
33680 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
33681 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33683 static void *_p_wxImageTo_p_wxObject(void *x
) {
33684 return (void *)((wxObject
*) ((wxImage
*) x
));
33686 static void *_p_wxFrameTo_p_wxObject(void *x
) {
33687 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
33689 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
33690 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
33692 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33693 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33695 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
33696 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
33698 static void *_p_wxDiagramTo_p_wxObject(void *x
) {
33699 return (void *)((wxObject
*) ((wxDiagram
*) x
));
33701 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
33702 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
33704 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
33705 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33707 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33708 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33710 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33711 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33713 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33714 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33716 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33717 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33719 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33720 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33722 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33725 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
33726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
33728 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
33729 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
33731 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
33732 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
33734 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
33735 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
33737 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
33738 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
33740 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
33741 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33743 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
33744 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
33746 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
33747 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33749 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
33750 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
33752 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
33753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33755 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
33756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
33758 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
33759 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
33761 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
33762 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
33764 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
33765 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33767 static void *_p_wxPanelTo_p_wxObject(void *x
) {
33768 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
33770 static void *_p_wxDialogTo_p_wxObject(void *x
) {
33771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
33773 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
33774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33776 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
33777 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33779 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
33780 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33782 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
33783 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
33785 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
33786 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
33788 static void *_p_wxAttachmentPointTo_p_wxObject(void *x
) {
33789 return (void *)((wxObject
*) ((wxAttachmentPoint
*) x
));
33791 static void *_p_wxPyShapeTo_p_wxObject(void *x
) {
33792 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
33794 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33795 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33797 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33798 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33800 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33801 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33803 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33804 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33806 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33807 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33809 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33810 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33812 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33813 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33815 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33816 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33818 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33819 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33821 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
33822 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
33824 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
33825 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33827 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33828 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33830 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33831 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33833 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33834 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33836 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x
) {
33837 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyRectangleShape
*) x
));
33839 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x
) {
33840 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
33842 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x
) {
33843 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
33845 static void *_p_wxPyLineShapeTo_p_wxObject(void *x
) {
33846 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyLineShape
*) x
));
33848 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x
) {
33849 return (void *)((wxObject
*) ((wxPseudoMetaFile
*) x
));
33851 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33854 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
33855 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
33857 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
33858 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
33860 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33861 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33863 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33864 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33866 static void *_p_wxShapeRegionTo_p_wxObject(void *x
) {
33867 return (void *)((wxObject
*) ((wxShapeRegion
*) x
));
33869 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33870 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyRectangleShape
*) x
));
33872 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33873 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
33875 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33876 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
33878 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33879 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
33881 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33882 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyLineShape
*) x
));
33884 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33885 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
33887 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x
) {
33888 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
33890 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33891 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
33893 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33894 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
33896 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33897 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyPolygonShape
*) x
));
33899 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33900 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
33902 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33903 return (void *)((wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
33905 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33906 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyEllipseShape
*) x
));
33908 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
33909 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33911 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
33912 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33914 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
33915 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
33917 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
33918 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
33920 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
33921 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
33923 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
33924 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
33926 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
33927 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
33929 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
33930 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33932 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
33933 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33935 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
33936 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33938 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
33939 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33941 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
33942 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33944 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
33945 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33947 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
33948 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33950 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
33951 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
33953 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
33954 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
33956 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
33957 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33959 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
33960 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
33962 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
33963 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33965 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
33966 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
33968 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
33969 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33971 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
33972 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
33974 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
33975 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
33977 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
33978 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
33980 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
33981 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
33983 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
33984 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
33986 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
33987 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
33989 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
33990 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
33992 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
33993 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
33995 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
33996 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33998 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
33999 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
34001 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
34002 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
34004 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
34005 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
34007 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
34008 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34010 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
34011 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
34013 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
34014 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
34016 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x
) {
34017 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
34019 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
34020 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
34022 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
34023 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
34025 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34026 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
34028 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34029 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
34031 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
34032 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
34034 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
34035 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
34037 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
34038 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
34040 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
34041 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
34043 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
34044 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
34046 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
34047 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
34049 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
34050 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
34052 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
34053 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
34055 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
34056 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
34058 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x
) {
34059 return (void *)((wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34061 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x
) {
34062 return (void *)((wxPyShape
*) ((wxPyRectangleShape
*) x
));
34064 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x
) {
34065 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34067 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x
) {
34068 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34070 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x
) {
34071 return (void *)((wxPyShape
*) (wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34073 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x
) {
34074 return (void *)((wxPyShape
*) ((wxPyLineShape
*) x
));
34076 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x
) {
34077 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34079 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x
) {
34080 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34082 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x
) {
34083 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34085 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x
) {
34086 return (void *)((wxPyShape
*) (wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34088 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x
) {
34089 return (void *)((wxPyShape
*) ((wxPyPolygonShape
*) x
));
34091 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x
) {
34092 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34094 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x
) {
34095 return (void *)((wxPyShape
*) ((wxPyEllipseShape
*) x
));
34097 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x
) {
34098 return (void *)((wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34100 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x
) {
34101 return (void *)((wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34103 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x
) {
34104 return (void *)((wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34106 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x
) {
34107 return (void *)((wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34109 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x
) {
34110 return (void *)((wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34112 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x
) {
34113 return (void *)((wxPyRectangleShape
*) (wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34115 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x
) {
34116 return (void *)((wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34118 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x
) {
34119 return (void *)((wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34121 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}};
34122 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}};
34123 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}};
34124 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}};
34125 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}};
34126 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}};
34127 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}};
34128 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}};
34129 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}};
34130 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}};
34131 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_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}};
34132 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}};
34133 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}};
34134 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}};
34135 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 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}};
34136 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_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}};
34137 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}};
34138 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}};
34139 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}};
34140 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}};
34141 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}};
34142 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_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}};
34143 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}};
34144 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}};
34145 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_wxTipWindow", _p_wxTipWindowTo_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_wxScrolledWindow", _p_wxScrolledWindowTo_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}};
34146 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}};
34147 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}};
34148 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}};
34149 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}};
34150 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}};
34151 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}};
34152 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}};
34153 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}};
34154 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}};
34155 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}};
34156 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}};
34157 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}};
34158 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}};
34159 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}};
34160 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}};
34161 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}};
34163 static swig_type_info
*swig_types_initial
[] = {
34164 _swigt__p_wxOGLConstraint
,
34166 _swigt__p_wxColour
,
34167 _swigt__p_wxShapeRegion
,
34169 _swigt__p_wxRealPoint
,
34170 _swigt__p_wxPyControlPoint
,
34171 _swigt__p_wxArrowHead
,
34173 _swigt__p_wxStringList
,
34178 _swigt__p_wxScrolledWindow
,
34179 _swigt__p_wxWindow
,
34181 _swigt__p_wxPyDivisionShape
,
34182 _swigt__p_wxPyDrawnShape
,
34183 _swigt__p_wxPyPolygonShape
,
34184 _swigt__p_wxBitmap
,
34185 _swigt__p_wxObject
,
34186 _swigt__p_wxPyBitmapShape
,
34187 _swigt__p_wxPyShapeEvtHandler
,
34188 _swigt__p_wxEvtHandler
,
34189 _swigt__p_wxPyEllipseShape
,
34190 _swigt__p_wxPyShapeCanvas
,
34192 _swigt__p_wxDiagram
,
34193 _swigt__p_wxPyShape
,
34194 _swigt__p_wxAttachmentPoint
,
34195 _swigt__p_wxClassInfo
,
34196 _swigt__p_wxPyLineShape
,
34197 _swigt__p_wxPyRectangleShape
,
34198 _swigt__p_wxPyCompositeShape
,
34199 _swigt__p_wxPyCircleShape
,
34202 _swigt__p_wxPseudoMetaFile
,
34203 _swigt__p_wxPyTextShape
,
34204 _swigt__p_wxPyDividedShape
,
34209 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34211 static swig_const_info swig_const_table
[] = {
34212 {0, 0, 0, 0.0, 0, 0}};
34221 SWIGEXPORT(void) SWIG_init(void) {
34222 static PyObject
*SWIG_globals
= 0;
34223 static int typeinit
= 0;
34226 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
34227 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34228 d
= PyModule_GetDict(m
);
34231 for (i
= 0; swig_types_initial
[i
]; i
++) {
34232 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
34236 SWIG_InstallConstants(d
,swig_const_table
);
34238 PyDict_SetItemString(d
,"oglMETAFLAGS_OUTLINE", SWIG_FromInt((int)oglMETAFLAGS_OUTLINE
));
34239 PyDict_SetItemString(d
,"oglMETAFLAGS_ATTACHMENTS", SWIG_FromInt((int)oglMETAFLAGS_ATTACHMENTS
));
34240 PyDict_SetItemString(d
,"KEY_SHIFT", SWIG_FromInt((int)KEY_SHIFT
));
34241 PyDict_SetItemString(d
,"KEY_CTRL", SWIG_FromInt((int)KEY_CTRL
));
34242 PyDict_SetItemString(d
,"ARROW_NONE", SWIG_FromInt((int)ARROW_NONE
));
34243 PyDict_SetItemString(d
,"ARROW_END", SWIG_FromInt((int)ARROW_END
));
34244 PyDict_SetItemString(d
,"ARROW_BOTH", SWIG_FromInt((int)ARROW_BOTH
));
34245 PyDict_SetItemString(d
,"ARROW_MIDDLE", SWIG_FromInt((int)ARROW_MIDDLE
));
34246 PyDict_SetItemString(d
,"ARROW_START", SWIG_FromInt((int)ARROW_START
));
34247 PyDict_SetItemString(d
,"ARROW_HOLLOW_CIRCLE", SWIG_FromInt((int)ARROW_HOLLOW_CIRCLE
));
34248 PyDict_SetItemString(d
,"ARROW_FILLED_CIRCLE", SWIG_FromInt((int)ARROW_FILLED_CIRCLE
));
34249 PyDict_SetItemString(d
,"ARROW_ARROW", SWIG_FromInt((int)ARROW_ARROW
));
34250 PyDict_SetItemString(d
,"ARROW_SINGLE_OBLIQUE", SWIG_FromInt((int)ARROW_SINGLE_OBLIQUE
));
34251 PyDict_SetItemString(d
,"ARROW_DOUBLE_OBLIQUE", SWIG_FromInt((int)ARROW_DOUBLE_OBLIQUE
));
34252 PyDict_SetItemString(d
,"ARROW_METAFILE", SWIG_FromInt((int)ARROW_METAFILE
));
34253 PyDict_SetItemString(d
,"ARROW_POSITION_END", SWIG_FromInt((int)ARROW_POSITION_END
));
34254 PyDict_SetItemString(d
,"ARROW_POSITION_START", SWIG_FromInt((int)ARROW_POSITION_START
));
34255 PyDict_SetItemString(d
,"CONTROL_POINT_VERTICAL", SWIG_FromInt((int)CONTROL_POINT_VERTICAL
));
34256 PyDict_SetItemString(d
,"CONTROL_POINT_HORIZONTAL", SWIG_FromInt((int)CONTROL_POINT_HORIZONTAL
));
34257 PyDict_SetItemString(d
,"CONTROL_POINT_DIAGONAL", SWIG_FromInt((int)CONTROL_POINT_DIAGONAL
));
34258 PyDict_SetItemString(d
,"CONTROL_POINT_ENDPOINT_TO", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_TO
));
34259 PyDict_SetItemString(d
,"CONTROL_POINT_ENDPOINT_FROM", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_FROM
));
34260 PyDict_SetItemString(d
,"CONTROL_POINT_LINE", SWIG_FromInt((int)CONTROL_POINT_LINE
));
34261 PyDict_SetItemString(d
,"FORMAT_NONE", SWIG_FromInt((int)FORMAT_NONE
));
34262 PyDict_SetItemString(d
,"FORMAT_CENTRE_HORIZ", SWIG_FromInt((int)FORMAT_CENTRE_HORIZ
));
34263 PyDict_SetItemString(d
,"FORMAT_CENTRE_VERT", SWIG_FromInt((int)FORMAT_CENTRE_VERT
));
34264 PyDict_SetItemString(d
,"FORMAT_SIZE_TO_CONTENTS", SWIG_FromInt((int)FORMAT_SIZE_TO_CONTENTS
));
34265 PyDict_SetItemString(d
,"LINE_ALIGNMENT_HORIZ", SWIG_FromInt((int)LINE_ALIGNMENT_HORIZ
));
34266 PyDict_SetItemString(d
,"LINE_ALIGNMENT_VERT", SWIG_FromInt((int)LINE_ALIGNMENT_VERT
));
34267 PyDict_SetItemString(d
,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_FromInt((int)LINE_ALIGNMENT_TO_NEXT_HANDLE
));
34268 PyDict_SetItemString(d
,"LINE_ALIGNMENT_NONE", SWIG_FromInt((int)LINE_ALIGNMENT_NONE
));
34269 PyDict_SetItemString(d
,"SHADOW_NONE", SWIG_FromInt((int)SHADOW_NONE
));
34270 PyDict_SetItemString(d
,"SHADOW_LEFT", SWIG_FromInt((int)SHADOW_LEFT
));
34271 PyDict_SetItemString(d
,"SHADOW_RIGHT", SWIG_FromInt((int)SHADOW_RIGHT
));
34272 PyDict_SetItemString(d
,"OP_CLICK_LEFT", SWIG_FromInt((int)OP_CLICK_LEFT
));
34273 PyDict_SetItemString(d
,"OP_CLICK_RIGHT", SWIG_FromInt((int)OP_CLICK_RIGHT
));
34274 PyDict_SetItemString(d
,"OP_DRAG_LEFT", SWIG_FromInt((int)OP_DRAG_LEFT
));
34275 PyDict_SetItemString(d
,"OP_DRAG_RIGHT", SWIG_FromInt((int)OP_DRAG_RIGHT
));
34276 PyDict_SetItemString(d
,"OP_ALL", SWIG_FromInt((int)OP_ALL
));
34277 PyDict_SetItemString(d
,"ATTACHMENT_MODE_NONE", SWIG_FromInt((int)ATTACHMENT_MODE_NONE
));
34278 PyDict_SetItemString(d
,"ATTACHMENT_MODE_EDGE", SWIG_FromInt((int)ATTACHMENT_MODE_EDGE
));
34279 PyDict_SetItemString(d
,"ATTACHMENT_MODE_BRANCHING", SWIG_FromInt((int)ATTACHMENT_MODE_BRANCHING
));
34280 PyDict_SetItemString(d
,"BRANCHING_ATTACHMENT_NORMAL", SWIG_FromInt((int)BRANCHING_ATTACHMENT_NORMAL
));
34281 PyDict_SetItemString(d
,"BRANCHING_ATTACHMENT_BLOB", SWIG_FromInt((int)BRANCHING_ATTACHMENT_BLOB
));
34282 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_VERTICALLY
));
34283 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_HORIZONTALLY
));
34284 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_BOTH", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_BOTH
));
34285 PyDict_SetItemString(d
,"gyCONSTRAINT_LEFT_OF", SWIG_FromInt((int)gyCONSTRAINT_LEFT_OF
));
34286 PyDict_SetItemString(d
,"gyCONSTRAINT_RIGHT_OF", SWIG_FromInt((int)gyCONSTRAINT_RIGHT_OF
));
34287 PyDict_SetItemString(d
,"gyCONSTRAINT_ABOVE", SWIG_FromInt((int)gyCONSTRAINT_ABOVE
));
34288 PyDict_SetItemString(d
,"gyCONSTRAINT_BELOW", SWIG_FromInt((int)gyCONSTRAINT_BELOW
));
34289 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_TOP
));
34290 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_BOTTOM
));
34291 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_LEFT
));
34292 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_RIGHT
));
34293 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_TOP
));
34294 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_BOTTOM
));
34295 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_LEFT
));
34296 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_RIGHT
));
34297 PyDict_SetItemString(d
,"DIVISION_SIDE_NONE", SWIG_FromInt((int)DIVISION_SIDE_NONE
));
34298 PyDict_SetItemString(d
,"DIVISION_SIDE_LEFT", SWIG_FromInt((int)DIVISION_SIDE_LEFT
));
34299 PyDict_SetItemString(d
,"DIVISION_SIDE_TOP", SWIG_FromInt((int)DIVISION_SIDE_TOP
));
34300 PyDict_SetItemString(d
,"DIVISION_SIDE_RIGHT", SWIG_FromInt((int)DIVISION_SIDE_RIGHT
));
34301 PyDict_SetItemString(d
,"DIVISION_SIDE_BOTTOM", SWIG_FromInt((int)DIVISION_SIDE_BOTTOM
));
34304 // initoglbasicc();
34305 // initoglshapesc();
34306 // initoglshapes2c();
34307 // initoglcanvasc();
34310 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
34311 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
34312 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
34313 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
34314 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
34315 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
34316 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
34317 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
34318 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
34319 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
34320 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
34321 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
34322 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
34323 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");