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 bool blocked
= 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(blocked
);
613 PyObject
*wxPyPolygonShape_GetOriginalPoints(wxPyPolygonShape
*self
){
614 wxList
* list
= self
->GetOriginalPoints();
618 wxNode
* node
= list
->GetFirst();
620 bool blocked
= 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(blocked
);
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 bool blocked
= wxPyBeginBlockThreads();
660 if (!PyList_Check(pyList
)) {
661 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
662 wxPyEndBlockThreads(blocked
);
665 int count
= PyList_Size(pyList
);
666 wxList
* list
= new wxList
;
668 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
669 wxPyEndBlockThreads(blocked
);
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(blocked
);
685 wxPyEndBlockThreads(blocked
);
689 //---------------------------------------------------------------------------
691 wxList
* wxPy_wxRealPoint_ListHelper(PyObject
* pyList
) {
692 bool blocked
= wxPyBeginBlockThreads();
693 if (!PyList_Check(pyList
)) {
694 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
695 wxPyEndBlockThreads(blocked
);
698 int count
= PyList_Size(pyList
);
699 wxList
* list
= new wxList
;
701 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
702 wxPyEndBlockThreads(blocked
);
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(blocked
);
724 list
->Append((wxObject
*) new wxRealPoint(*wxo
));
727 wxPyEndBlockThreads(blocked
);
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 bool blocked
= 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(blocked
);
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
;
2668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2676 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2677 PyObject
*resultobj
;
2678 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2684 bool arg7
= (bool) True
;
2685 PyObject
* obj0
= 0 ;
2686 PyObject
* obj1
= 0 ;
2687 PyObject
* obj2
= 0 ;
2688 PyObject
* obj3
= 0 ;
2689 PyObject
* obj4
= 0 ;
2690 PyObject
* obj5
= 0 ;
2691 PyObject
* obj6
= 0 ;
2693 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2703 PyErr_SetString(PyExc_TypeError
,"null reference");
2706 arg3
= (double) SWIG_AsDouble(obj2
);
2707 if (PyErr_Occurred()) SWIG_fail
;
2708 arg4
= (double) SWIG_AsDouble(obj3
);
2709 if (PyErr_Occurred()) SWIG_fail
;
2710 arg5
= (double) SWIG_AsDouble(obj4
);
2711 if (PyErr_Occurred()) SWIG_fail
;
2712 arg6
= (double) SWIG_AsDouble(obj5
);
2713 if (PyErr_Occurred()) SWIG_fail
;
2715 arg7
= (bool) SWIG_AsBool(obj6
);
2716 if (PyErr_Occurred()) SWIG_fail
;
2719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2720 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2722 wxPyEndAllowThreads(__tstate
);
2723 if (PyErr_Occurred()) SWIG_fail
;
2725 Py_INCREF(Py_None
); resultobj
= Py_None
;
2732 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2733 PyObject
*resultobj
;
2734 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2738 int arg5
= (int) 0 ;
2739 int arg6
= (int) 0 ;
2740 PyObject
* obj0
= 0 ;
2741 PyObject
* obj1
= 0 ;
2742 PyObject
* obj2
= 0 ;
2743 PyObject
* obj3
= 0 ;
2744 PyObject
* obj4
= 0 ;
2745 PyObject
* obj5
= 0 ;
2747 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2753 arg2
= (bool) SWIG_AsBool(obj1
);
2754 if (PyErr_Occurred()) SWIG_fail
;
2755 arg3
= (double) SWIG_AsDouble(obj2
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2757 arg4
= (double) SWIG_AsDouble(obj3
);
2758 if (PyErr_Occurred()) SWIG_fail
;
2760 arg5
= (int) SWIG_AsInt(obj4
);
2761 if (PyErr_Occurred()) SWIG_fail
;
2764 arg6
= (int) SWIG_AsInt(obj5
);
2765 if (PyErr_Occurred()) SWIG_fail
;
2768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2769 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
2771 wxPyEndAllowThreads(__tstate
);
2772 if (PyErr_Occurred()) SWIG_fail
;
2774 Py_INCREF(Py_None
); resultobj
= Py_None
;
2781 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
*resultobj
;
2783 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2786 int arg4
= (int) 0 ;
2787 int arg5
= (int) 0 ;
2788 PyObject
* obj0
= 0 ;
2789 PyObject
* obj1
= 0 ;
2790 PyObject
* obj2
= 0 ;
2791 PyObject
* obj3
= 0 ;
2792 PyObject
* obj4
= 0 ;
2794 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2800 arg2
= (double) SWIG_AsDouble(obj1
);
2801 if (PyErr_Occurred()) SWIG_fail
;
2802 arg3
= (double) SWIG_AsDouble(obj2
);
2803 if (PyErr_Occurred()) SWIG_fail
;
2805 arg4
= (int) SWIG_AsInt(obj3
);
2806 if (PyErr_Occurred()) SWIG_fail
;
2809 arg5
= (int) SWIG_AsInt(obj4
);
2810 if (PyErr_Occurred()) SWIG_fail
;
2813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2814 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
2816 wxPyEndAllowThreads(__tstate
);
2817 if (PyErr_Occurred()) SWIG_fail
;
2819 Py_INCREF(Py_None
); resultobj
= Py_None
;
2826 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
*resultobj
;
2828 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2831 int arg4
= (int) 0 ;
2832 int arg5
= (int) 0 ;
2833 PyObject
* obj0
= 0 ;
2834 PyObject
* obj1
= 0 ;
2835 PyObject
* obj2
= 0 ;
2836 PyObject
* obj3
= 0 ;
2837 PyObject
* obj4
= 0 ;
2839 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2845 arg2
= (double) SWIG_AsDouble(obj1
);
2846 if (PyErr_Occurred()) SWIG_fail
;
2847 arg3
= (double) SWIG_AsDouble(obj2
);
2848 if (PyErr_Occurred()) SWIG_fail
;
2850 arg4
= (int) SWIG_AsInt(obj3
);
2851 if (PyErr_Occurred()) SWIG_fail
;
2854 arg5
= (int) SWIG_AsInt(obj4
);
2855 if (PyErr_Occurred()) SWIG_fail
;
2858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2859 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
2861 wxPyEndAllowThreads(__tstate
);
2862 if (PyErr_Occurred()) SWIG_fail
;
2864 Py_INCREF(Py_None
); resultobj
= Py_None
;
2871 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2872 PyObject
*resultobj
;
2873 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2877 int arg5
= (int) 0 ;
2878 int arg6
= (int) 0 ;
2879 PyObject
* obj0
= 0 ;
2880 PyObject
* obj1
= 0 ;
2881 PyObject
* obj2
= 0 ;
2882 PyObject
* obj3
= 0 ;
2883 PyObject
* obj4
= 0 ;
2884 PyObject
* obj5
= 0 ;
2886 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2892 arg2
= (bool) SWIG_AsBool(obj1
);
2893 if (PyErr_Occurred()) SWIG_fail
;
2894 arg3
= (double) SWIG_AsDouble(obj2
);
2895 if (PyErr_Occurred()) SWIG_fail
;
2896 arg4
= (double) SWIG_AsDouble(obj3
);
2897 if (PyErr_Occurred()) SWIG_fail
;
2899 arg5
= (int) SWIG_AsInt(obj4
);
2900 if (PyErr_Occurred()) SWIG_fail
;
2903 arg6
= (int) SWIG_AsInt(obj5
);
2904 if (PyErr_Occurred()) SWIG_fail
;
2907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2908 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
2910 wxPyEndAllowThreads(__tstate
);
2911 if (PyErr_Occurred()) SWIG_fail
;
2913 Py_INCREF(Py_None
); resultobj
= Py_None
;
2920 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
*resultobj
;
2922 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2925 int arg4
= (int) 0 ;
2926 int arg5
= (int) 0 ;
2927 PyObject
* obj0
= 0 ;
2928 PyObject
* obj1
= 0 ;
2929 PyObject
* obj2
= 0 ;
2930 PyObject
* obj3
= 0 ;
2931 PyObject
* obj4
= 0 ;
2933 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2939 arg2
= (double) SWIG_AsDouble(obj1
);
2940 if (PyErr_Occurred()) SWIG_fail
;
2941 arg3
= (double) SWIG_AsDouble(obj2
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2944 arg4
= (int) SWIG_AsInt(obj3
);
2945 if (PyErr_Occurred()) SWIG_fail
;
2948 arg5
= (int) SWIG_AsInt(obj4
);
2949 if (PyErr_Occurred()) SWIG_fail
;
2952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2953 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
2955 wxPyEndAllowThreads(__tstate
);
2956 if (PyErr_Occurred()) SWIG_fail
;
2958 Py_INCREF(Py_None
); resultobj
= Py_None
;
2965 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2966 PyObject
*resultobj
;
2967 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2970 int arg4
= (int) 0 ;
2971 int arg5
= (int) 0 ;
2972 PyObject
* obj0
= 0 ;
2973 PyObject
* obj1
= 0 ;
2974 PyObject
* obj2
= 0 ;
2975 PyObject
* obj3
= 0 ;
2976 PyObject
* obj4
= 0 ;
2978 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2984 arg2
= (double) SWIG_AsDouble(obj1
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2986 arg3
= (double) SWIG_AsDouble(obj2
);
2987 if (PyErr_Occurred()) SWIG_fail
;
2989 arg4
= (int) SWIG_AsInt(obj3
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2993 arg5
= (int) SWIG_AsInt(obj4
);
2994 if (PyErr_Occurred()) SWIG_fail
;
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) SWIG_fail
;
3003 Py_INCREF(Py_None
); resultobj
= Py_None
;
3010 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3011 PyObject
*resultobj
;
3012 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3018 PyObject
* obj0
= 0 ;
3019 PyObject
* obj1
= 0 ;
3020 PyObject
* obj2
= 0 ;
3021 PyObject
* obj3
= 0 ;
3022 PyObject
* obj4
= 0 ;
3023 PyObject
* obj5
= 0 ;
3025 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
3028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShapeEvtHandler_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3032 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3035 PyErr_SetString(PyExc_TypeError
,"null reference");
3038 arg3
= (double) SWIG_AsDouble(obj2
);
3039 if (PyErr_Occurred()) SWIG_fail
;
3040 arg4
= (double) SWIG_AsDouble(obj3
);
3041 if (PyErr_Occurred()) SWIG_fail
;
3042 arg5
= (double) SWIG_AsDouble(obj4
);
3043 if (PyErr_Occurred()) SWIG_fail
;
3044 arg6
= (double) SWIG_AsDouble(obj5
);
3045 if (PyErr_Occurred()) SWIG_fail
;
3047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3048 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
3050 wxPyEndAllowThreads(__tstate
);
3051 if (PyErr_Occurred()) SWIG_fail
;
3053 Py_INCREF(Py_None
); resultobj
= Py_None
;
3060 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3061 PyObject
*resultobj
;
3062 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3064 PyObject
* obj0
= 0 ;
3065 PyObject
* obj1
= 0 ;
3067 (char *) "self",(char *) "dc", NULL
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3074 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3077 PyErr_SetString(PyExc_TypeError
,"null reference");
3081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3082 (arg1
)->base_OnDrawControlPoints(*arg2
);
3084 wxPyEndAllowThreads(__tstate
);
3085 if (PyErr_Occurred()) SWIG_fail
;
3087 Py_INCREF(Py_None
); resultobj
= Py_None
;
3094 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3095 PyObject
*resultobj
;
3096 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3098 PyObject
* obj0
= 0 ;
3099 PyObject
* obj1
= 0 ;
3101 (char *) "self",(char *) "dc", NULL
3104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3108 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3111 PyErr_SetString(PyExc_TypeError
,"null reference");
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 (arg1
)->base_OnEraseControlPoints(*arg2
);
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3121 Py_INCREF(Py_None
); resultobj
= Py_None
;
3128 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3129 PyObject
*resultobj
;
3130 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3132 bool arg3
= (bool) True
;
3133 PyObject
* obj0
= 0 ;
3134 PyObject
* obj1
= 0 ;
3135 PyObject
* obj2
= 0 ;
3137 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
3140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3144 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3147 PyErr_SetString(PyExc_TypeError
,"null reference");
3151 arg3
= (bool) SWIG_AsBool(obj2
);
3152 if (PyErr_Occurred()) SWIG_fail
;
3155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3156 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
3158 wxPyEndAllowThreads(__tstate
);
3159 if (PyErr_Occurred()) SWIG_fail
;
3161 Py_INCREF(Py_None
); resultobj
= Py_None
;
3168 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
*resultobj
;
3170 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3171 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3175 int arg6
= (int) 0 ;
3176 int arg7
= (int) 0 ;
3177 PyObject
* obj0
= 0 ;
3178 PyObject
* obj1
= 0 ;
3179 PyObject
* obj2
= 0 ;
3180 PyObject
* obj3
= 0 ;
3181 PyObject
* obj4
= 0 ;
3182 PyObject
* obj5
= 0 ;
3183 PyObject
* obj6
= 0 ;
3185 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
3192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3193 arg3
= (bool) SWIG_AsBool(obj2
);
3194 if (PyErr_Occurred()) SWIG_fail
;
3195 arg4
= (double) SWIG_AsDouble(obj3
);
3196 if (PyErr_Occurred()) SWIG_fail
;
3197 arg5
= (double) SWIG_AsDouble(obj4
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3200 arg6
= (int) SWIG_AsInt(obj5
);
3201 if (PyErr_Occurred()) SWIG_fail
;
3204 arg7
= (int) SWIG_AsInt(obj6
);
3205 if (PyErr_Occurred()) SWIG_fail
;
3208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3209 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
3211 wxPyEndAllowThreads(__tstate
);
3212 if (PyErr_Occurred()) SWIG_fail
;
3214 Py_INCREF(Py_None
); resultobj
= Py_None
;
3221 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
*resultobj
;
3223 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3224 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3227 int arg5
= (int) 0 ;
3228 int arg6
= (int) 0 ;
3229 PyObject
* obj0
= 0 ;
3230 PyObject
* obj1
= 0 ;
3231 PyObject
* obj2
= 0 ;
3232 PyObject
* obj3
= 0 ;
3233 PyObject
* obj4
= 0 ;
3234 PyObject
* obj5
= 0 ;
3236 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3242 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
3243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3244 arg3
= (double) SWIG_AsDouble(obj2
);
3245 if (PyErr_Occurred()) SWIG_fail
;
3246 arg4
= (double) SWIG_AsDouble(obj3
);
3247 if (PyErr_Occurred()) SWIG_fail
;
3249 arg5
= (int) SWIG_AsInt(obj4
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3253 arg6
= (int) SWIG_AsInt(obj5
);
3254 if (PyErr_Occurred()) SWIG_fail
;
3257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3258 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
3260 wxPyEndAllowThreads(__tstate
);
3261 if (PyErr_Occurred()) SWIG_fail
;
3263 Py_INCREF(Py_None
); resultobj
= Py_None
;
3270 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3271 PyObject
*resultobj
;
3272 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3273 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3276 int arg5
= (int) 0 ;
3277 int arg6
= (int) 0 ;
3278 PyObject
* obj0
= 0 ;
3279 PyObject
* obj1
= 0 ;
3280 PyObject
* obj2
= 0 ;
3281 PyObject
* obj3
= 0 ;
3282 PyObject
* obj4
= 0 ;
3283 PyObject
* obj5
= 0 ;
3285 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
3292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3293 arg3
= (double) SWIG_AsDouble(obj2
);
3294 if (PyErr_Occurred()) SWIG_fail
;
3295 arg4
= (double) SWIG_AsDouble(obj3
);
3296 if (PyErr_Occurred()) SWIG_fail
;
3298 arg5
= (int) SWIG_AsInt(obj4
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3302 arg6
= (int) SWIG_AsInt(obj5
);
3303 if (PyErr_Occurred()) SWIG_fail
;
3306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3307 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
3309 wxPyEndAllowThreads(__tstate
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3312 Py_INCREF(Py_None
); resultobj
= Py_None
;
3319 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
*resultobj
;
3321 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3324 PyObject
* obj0
= 0 ;
3325 PyObject
* obj1
= 0 ;
3326 PyObject
* obj2
= 0 ;
3328 (char *) "self",(char *) "w",(char *) "h", NULL
3331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3334 arg2
= (double) SWIG_AsDouble(obj1
);
3335 if (PyErr_Occurred()) SWIG_fail
;
3336 arg3
= (double) SWIG_AsDouble(obj2
);
3337 if (PyErr_Occurred()) SWIG_fail
;
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 (arg1
)->base_OnBeginSize(arg2
,arg3
);
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3345 Py_INCREF(Py_None
); resultobj
= Py_None
;
3352 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
*resultobj
;
3354 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3357 PyObject
* obj0
= 0 ;
3358 PyObject
* obj1
= 0 ;
3359 PyObject
* obj2
= 0 ;
3361 (char *) "self",(char *) "w",(char *) "h", NULL
3364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3367 arg2
= (double) SWIG_AsDouble(obj1
);
3368 if (PyErr_Occurred()) SWIG_fail
;
3369 arg3
= (double) SWIG_AsDouble(obj2
);
3370 if (PyErr_Occurred()) SWIG_fail
;
3372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3373 (arg1
)->base_OnEndSize(arg2
,arg3
);
3375 wxPyEndAllowThreads(__tstate
);
3376 if (PyErr_Occurred()) SWIG_fail
;
3378 Py_INCREF(Py_None
); resultobj
= Py_None
;
3385 static PyObject
* PyShapeEvtHandler_swigregister(PyObject
*, PyObject
*args
) {
3387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3388 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler
, obj
);
3390 return Py_BuildValue((char *)"");
3392 static PyObject
*_wrap_new_PyShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3393 PyObject
*resultobj
;
3394 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
3396 PyObject
* obj0
= 0 ;
3398 (char *) "can", NULL
3401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyShape",kwnames
,&obj0
)) goto fail
;
3403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
3404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3408 result
= (wxPyShape
*)new wxPyShape(arg1
);
3410 wxPyEndAllowThreads(__tstate
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3414 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3422 static PyObject
*_wrap_PyShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
*resultobj
;
3424 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3425 PyObject
*arg2
= (PyObject
*) 0 ;
3426 PyObject
*arg3
= (PyObject
*) 0 ;
3427 PyObject
* obj0
= 0 ;
3428 PyObject
* obj1
= 0 ;
3429 PyObject
* obj2
= 0 ;
3431 (char *) "self",(char *) "self",(char *) "_class", NULL
3434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3441 (arg1
)->_setCallbackInfo(arg2
,arg3
);
3443 wxPyEndAllowThreads(__tstate
);
3444 if (PyErr_Occurred()) SWIG_fail
;
3446 Py_INCREF(Py_None
); resultobj
= Py_None
;
3453 static PyObject
*_wrap_PyShape_GetBoundingBoxMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3454 PyObject
*resultobj
;
3455 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3456 double *arg2
= (double *) 0 ;
3457 double *arg3
= (double *) 0 ;
3460 PyObject
* obj0
= 0 ;
3462 (char *) "self", NULL
3467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMax",kwnames
,&obj0
)) goto fail
;
3468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3472 (arg1
)->GetBoundingBoxMax(arg2
,arg3
);
3474 wxPyEndAllowThreads(__tstate
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3477 Py_INCREF(Py_None
); resultobj
= Py_None
;
3479 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
3480 resultobj
= t_output_helper(resultobj
,o
);
3483 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
3484 resultobj
= t_output_helper(resultobj
,o
);
3492 static PyObject
*_wrap_PyShape_GetBoundingBoxMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3493 PyObject
*resultobj
;
3494 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3495 double *arg2
= (double *) 0 ;
3496 double *arg3
= (double *) 0 ;
3499 PyObject
* obj0
= 0 ;
3501 (char *) "self", NULL
3506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMin",kwnames
,&obj0
)) goto fail
;
3507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3511 (arg1
)->GetBoundingBoxMin(arg2
,arg3
);
3513 wxPyEndAllowThreads(__tstate
);
3514 if (PyErr_Occurred()) SWIG_fail
;
3516 Py_INCREF(Py_None
); resultobj
= Py_None
;
3518 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
3519 resultobj
= t_output_helper(resultobj
,o
);
3522 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
3523 resultobj
= t_output_helper(resultobj
,o
);
3531 static PyObject
*_wrap_PyShape_GetPerimeterPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
*resultobj
;
3533 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3538 double *arg6
= (double *) 0 ;
3539 double *arg7
= (double *) 0 ;
3543 PyObject
* obj0
= 0 ;
3544 PyObject
* obj1
= 0 ;
3545 PyObject
* obj2
= 0 ;
3546 PyObject
* obj3
= 0 ;
3547 PyObject
* obj4
= 0 ;
3549 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_GetPerimeterPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3557 arg2
= (double) SWIG_AsDouble(obj1
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3559 arg3
= (double) SWIG_AsDouble(obj2
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3561 arg4
= (double) SWIG_AsDouble(obj3
);
3562 if (PyErr_Occurred()) SWIG_fail
;
3563 arg5
= (double) SWIG_AsDouble(obj4
);
3564 if (PyErr_Occurred()) SWIG_fail
;
3566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3567 result
= (bool)(arg1
)->GetPerimeterPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
3569 wxPyEndAllowThreads(__tstate
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3576 PyObject
*o
= PyFloat_FromDouble((double) (*arg6
));
3577 resultobj
= t_output_helper(resultobj
,o
);
3580 PyObject
*o
= PyFloat_FromDouble((double) (*arg7
));
3581 resultobj
= t_output_helper(resultobj
,o
);
3589 static PyObject
*_wrap_PyShape_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3590 PyObject
*resultobj
;
3591 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3592 wxPyShapeCanvas
*result
;
3593 PyObject
* obj0
= 0 ;
3595 (char *) "self", NULL
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCanvas",kwnames
,&obj0
)) goto fail
;
3599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3603 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
3605 wxPyEndAllowThreads(__tstate
);
3606 if (PyErr_Occurred()) SWIG_fail
;
3609 resultobj
= wxPyMake_wxObject(result
);
3617 static PyObject
*_wrap_PyShape_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
*resultobj
;
3619 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3620 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3621 PyObject
* obj0
= 0 ;
3622 PyObject
* obj1
= 0 ;
3624 (char *) "self",(char *) "the_canvas", NULL
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3634 (arg1
)->SetCanvas(arg2
);
3636 wxPyEndAllowThreads(__tstate
);
3637 if (PyErr_Occurred()) SWIG_fail
;
3639 Py_INCREF(Py_None
); resultobj
= Py_None
;
3646 static PyObject
*_wrap_PyShape_AddToCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
*resultobj
;
3648 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3649 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3650 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
3651 PyObject
* obj0
= 0 ;
3652 PyObject
* obj1
= 0 ;
3653 PyObject
* obj2
= 0 ;
3655 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_AddToCanvas",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3664 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
3665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3669 (arg1
)->AddToCanvas(arg2
,arg3
);
3671 wxPyEndAllowThreads(__tstate
);
3672 if (PyErr_Occurred()) SWIG_fail
;
3674 Py_INCREF(Py_None
); resultobj
= Py_None
;
3681 static PyObject
*_wrap_PyShape_InsertInCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3682 PyObject
*resultobj
;
3683 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3684 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3685 PyObject
* obj0
= 0 ;
3686 PyObject
* obj1
= 0 ;
3688 (char *) "self",(char *) "the_canvas", NULL
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_InsertInCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 (arg1
)->InsertInCanvas(arg2
);
3700 wxPyEndAllowThreads(__tstate
);
3701 if (PyErr_Occurred()) SWIG_fail
;
3703 Py_INCREF(Py_None
); resultobj
= Py_None
;
3710 static PyObject
*_wrap_PyShape_RemoveFromCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
*resultobj
;
3712 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3713 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3714 PyObject
* obj0
= 0 ;
3715 PyObject
* obj1
= 0 ;
3717 (char *) "self",(char *) "the_canvas", NULL
3720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveFromCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 (arg1
)->RemoveFromCanvas(arg2
);
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) SWIG_fail
;
3732 Py_INCREF(Py_None
); resultobj
= Py_None
;
3739 static PyObject
*_wrap_PyShape_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
*resultobj
;
3741 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3743 PyObject
* obj0
= 0 ;
3745 (char *) "self", NULL
3748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetX",kwnames
,&obj0
)) goto fail
;
3749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3753 result
= (double)(arg1
)->GetX();
3755 wxPyEndAllowThreads(__tstate
);
3756 if (PyErr_Occurred()) SWIG_fail
;
3758 resultobj
= SWIG_FromDouble((double)result
);
3765 static PyObject
*_wrap_PyShape_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
*resultobj
;
3767 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3769 PyObject
* obj0
= 0 ;
3771 (char *) "self", NULL
3774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetY",kwnames
,&obj0
)) goto fail
;
3775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 result
= (double)(arg1
)->GetY();
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 resultobj
= SWIG_FromDouble((double)result
);
3791 static PyObject
*_wrap_PyShape_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
*resultobj
;
3793 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3795 PyObject
* obj0
= 0 ;
3796 PyObject
* obj1
= 0 ;
3798 (char *) "self",(char *) "x", NULL
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3804 arg2
= (double) SWIG_AsDouble(obj1
);
3805 if (PyErr_Occurred()) SWIG_fail
;
3807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3810 wxPyEndAllowThreads(__tstate
);
3811 if (PyErr_Occurred()) SWIG_fail
;
3813 Py_INCREF(Py_None
); resultobj
= Py_None
;
3820 static PyObject
*_wrap_PyShape_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
*resultobj
;
3822 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3824 PyObject
* obj0
= 0 ;
3825 PyObject
* obj1
= 0 ;
3827 (char *) "self",(char *) "y", NULL
3830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3833 arg2
= (double) SWIG_AsDouble(obj1
);
3834 if (PyErr_Occurred()) SWIG_fail
;
3836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3839 wxPyEndAllowThreads(__tstate
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3842 Py_INCREF(Py_None
); resultobj
= Py_None
;
3849 static PyObject
*_wrap_PyShape_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3850 PyObject
*resultobj
;
3851 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3853 PyObject
* obj0
= 0 ;
3855 (char *) "self", NULL
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetParent",kwnames
,&obj0
)) goto fail
;
3859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 result
= (wxPyShape
*)(arg1
)->GetParent();
3865 wxPyEndAllowThreads(__tstate
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3869 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3877 static PyObject
*_wrap_PyShape_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
*resultobj
;
3879 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3880 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
3881 PyObject
* obj0
= 0 ;
3882 PyObject
* obj1
= 0 ;
3884 (char *) "self",(char *) "p", NULL
3887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
3888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
3891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3894 (arg1
)->SetParent(arg2
);
3896 wxPyEndAllowThreads(__tstate
);
3897 if (PyErr_Occurred()) SWIG_fail
;
3899 Py_INCREF(Py_None
); resultobj
= Py_None
;
3906 static PyObject
*_wrap_PyShape_GetTopAncestor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3907 PyObject
*resultobj
;
3908 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3910 PyObject
* obj0
= 0 ;
3912 (char *) "self", NULL
3915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetTopAncestor",kwnames
,&obj0
)) goto fail
;
3916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3920 result
= (wxPyShape
*)(arg1
)->GetTopAncestor();
3922 wxPyEndAllowThreads(__tstate
);
3923 if (PyErr_Occurred()) SWIG_fail
;
3926 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3934 static PyObject
*_wrap_PyShape_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
*resultobj
;
3936 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3938 PyObject
* obj0
= 0 ;
3940 (char *) "self", NULL
3943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetChildren",kwnames
,&obj0
)) goto fail
;
3944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3948 result
= (PyObject
*)wxPyShape_GetChildren(arg1
);
3950 wxPyEndAllowThreads(__tstate
);
3951 if (PyErr_Occurred()) SWIG_fail
;
3960 static PyObject
*_wrap_PyShape_Unlink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3961 PyObject
*resultobj
;
3962 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3963 PyObject
* obj0
= 0 ;
3965 (char *) "self", NULL
3968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Unlink",kwnames
,&obj0
)) goto fail
;
3969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3975 wxPyEndAllowThreads(__tstate
);
3976 if (PyErr_Occurred()) SWIG_fail
;
3978 Py_INCREF(Py_None
); resultobj
= Py_None
;
3985 static PyObject
*_wrap_PyShape_SetDrawHandles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
*resultobj
;
3987 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3989 PyObject
* obj0
= 0 ;
3990 PyObject
* obj1
= 0 ;
3992 (char *) "self",(char *) "drawH", NULL
3995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDrawHandles",kwnames
,&obj0
,&obj1
)) goto fail
;
3996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3998 arg2
= (bool) SWIG_AsBool(obj1
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 (arg1
)->SetDrawHandles(arg2
);
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4007 Py_INCREF(Py_None
); resultobj
= Py_None
;
4014 static PyObject
*_wrap_PyShape_GetDrawHandles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4015 PyObject
*resultobj
;
4016 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4018 PyObject
* obj0
= 0 ;
4020 (char *) "self", NULL
4023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDrawHandles",kwnames
,&obj0
)) goto fail
;
4024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 result
= (bool)(arg1
)->GetDrawHandles();
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4042 static PyObject
*_wrap_PyShape_MakeControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
*resultobj
;
4044 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4045 PyObject
* obj0
= 0 ;
4047 (char *) "self", NULL
4050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeControlPoints",kwnames
,&obj0
)) goto fail
;
4051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 (arg1
)->MakeControlPoints();
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4060 Py_INCREF(Py_None
); resultobj
= Py_None
;
4067 static PyObject
*_wrap_PyShape_DeleteControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
*resultobj
;
4069 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4070 wxDC
*arg2
= (wxDC
*) NULL
;
4071 PyObject
* obj0
= 0 ;
4072 PyObject
* obj1
= 0 ;
4074 (char *) "self",(char *) "dc", NULL
4077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_DeleteControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
4082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 (arg1
)->DeleteControlPoints(arg2
);
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4091 Py_INCREF(Py_None
); resultobj
= Py_None
;
4098 static PyObject
*_wrap_PyShape_ResetControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
*resultobj
;
4100 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4101 PyObject
* obj0
= 0 ;
4103 (char *) "self", NULL
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetControlPoints",kwnames
,&obj0
)) goto fail
;
4107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 (arg1
)->ResetControlPoints();
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4116 Py_INCREF(Py_None
); resultobj
= Py_None
;
4123 static PyObject
*_wrap_PyShape_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
*resultobj
;
4125 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4126 wxPyShapeEvtHandler
*result
;
4127 PyObject
* obj0
= 0 ;
4129 (char *) "self", NULL
4132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetEventHandler",kwnames
,&obj0
)) goto fail
;
4133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetEventHandler();
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4143 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
4151 static PyObject
*_wrap_PyShape_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
*resultobj
;
4153 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4154 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
4155 PyObject
* obj0
= 0 ;
4156 PyObject
* obj1
= 0 ;
4158 (char *) "self",(char *) "handler", NULL
4161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
4162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeEvtHandler
,
4165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 (arg1
)->SetEventHandler(arg2
);
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4173 Py_INCREF(Py_None
); resultobj
= Py_None
;
4180 static PyObject
*_wrap_PyShape_MakeMandatoryControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
*resultobj
;
4182 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4183 PyObject
* obj0
= 0 ;
4185 (char *) "self", NULL
4188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
4189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 (arg1
)->MakeMandatoryControlPoints();
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4198 Py_INCREF(Py_None
); resultobj
= Py_None
;
4205 static PyObject
*_wrap_PyShape_ResetMandatoryControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
*resultobj
;
4207 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4208 PyObject
* obj0
= 0 ;
4210 (char *) "self", NULL
4213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
4214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4218 (arg1
)->ResetMandatoryControlPoints();
4220 wxPyEndAllowThreads(__tstate
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4223 Py_INCREF(Py_None
); resultobj
= Py_None
;
4230 static PyObject
*_wrap_PyShape_Recompute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
*resultobj
;
4232 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4234 PyObject
* obj0
= 0 ;
4236 (char *) "self", NULL
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Recompute",kwnames
,&obj0
)) goto fail
;
4240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4244 result
= (bool)(arg1
)->Recompute();
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) SWIG_fail
;
4250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4258 static PyObject
*_wrap_PyShape_CalculateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
*resultobj
;
4260 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4261 PyObject
* obj0
= 0 ;
4263 (char *) "self", NULL
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
4267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4271 (arg1
)->CalculateSize();
4273 wxPyEndAllowThreads(__tstate
);
4274 if (PyErr_Occurred()) SWIG_fail
;
4276 Py_INCREF(Py_None
); resultobj
= Py_None
;
4283 static PyObject
*_wrap_PyShape_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
*resultobj
;
4285 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4286 bool arg2
= (bool) True
;
4287 wxDC
*arg3
= (wxDC
*) NULL
;
4288 PyObject
* obj0
= 0 ;
4289 PyObject
* obj1
= 0 ;
4290 PyObject
* obj2
= 0 ;
4292 (char *) "self",(char *) "select",(char *) "dc", NULL
4295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4299 arg2
= (bool) SWIG_AsBool(obj1
);
4300 if (PyErr_Occurred()) SWIG_fail
;
4303 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
4304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 (arg1
)->Select(arg2
,arg3
);
4310 wxPyEndAllowThreads(__tstate
);
4311 if (PyErr_Occurred()) SWIG_fail
;
4313 Py_INCREF(Py_None
); resultobj
= Py_None
;
4320 static PyObject
*_wrap_PyShape_SetHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
*resultobj
;
4322 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4323 bool arg2
= (bool) True
;
4324 bool arg3
= (bool) False
;
4325 PyObject
* obj0
= 0 ;
4326 PyObject
* obj1
= 0 ;
4327 PyObject
* obj2
= 0 ;
4329 (char *) "self",(char *) "hi",(char *) "recurse", NULL
4332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4336 arg2
= (bool) SWIG_AsBool(obj1
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4340 arg3
= (bool) SWIG_AsBool(obj2
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 (arg1
)->SetHighlight(arg2
,arg3
);
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) SWIG_fail
;
4350 Py_INCREF(Py_None
); resultobj
= Py_None
;
4357 static PyObject
*_wrap_PyShape_IsHighlighted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
*resultobj
;
4359 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4361 PyObject
* obj0
= 0 ;
4363 (char *) "self", NULL
4366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsHighlighted",kwnames
,&obj0
)) goto fail
;
4367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 result
= (bool)(arg1
)->IsHighlighted();
4373 wxPyEndAllowThreads(__tstate
);
4374 if (PyErr_Occurred()) SWIG_fail
;
4377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4385 static PyObject
*_wrap_PyShape_Selected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
*resultobj
;
4387 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4389 PyObject
* obj0
= 0 ;
4391 (char *) "self", NULL
4394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Selected",kwnames
,&obj0
)) goto fail
;
4395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 result
= (bool)(arg1
)->Selected();
4401 wxPyEndAllowThreads(__tstate
);
4402 if (PyErr_Occurred()) SWIG_fail
;
4405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4413 static PyObject
*_wrap_PyShape_AncestorSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
*resultobj
;
4415 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4417 PyObject
* obj0
= 0 ;
4419 (char *) "self", NULL
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AncestorSelected",kwnames
,&obj0
)) goto fail
;
4423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 result
= (bool)(arg1
)->AncestorSelected();
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4441 static PyObject
*_wrap_PyShape_SetSensitivityFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
*resultobj
;
4443 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4444 int arg2
= (int) OP_ALL
;
4445 bool arg3
= (bool) False
;
4446 PyObject
* obj0
= 0 ;
4447 PyObject
* obj1
= 0 ;
4448 PyObject
* obj2
= 0 ;
4450 (char *) "self",(char *) "sens",(char *) "recursive", NULL
4453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetSensitivityFilter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4457 arg2
= (int) SWIG_AsInt(obj1
);
4458 if (PyErr_Occurred()) SWIG_fail
;
4461 arg3
= (bool) SWIG_AsBool(obj2
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 (arg1
)->SetSensitivityFilter(arg2
,arg3
);
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4471 Py_INCREF(Py_None
); resultobj
= Py_None
;
4478 static PyObject
*_wrap_PyShape_GetSensitivityFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
;
4480 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4482 PyObject
* obj0
= 0 ;
4484 (char *) "self", NULL
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSensitivityFilter",kwnames
,&obj0
)) goto fail
;
4488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4492 result
= (int)(arg1
)->GetSensitivityFilter();
4494 wxPyEndAllowThreads(__tstate
);
4495 if (PyErr_Occurred()) SWIG_fail
;
4497 resultobj
= SWIG_FromInt((int)result
);
4504 static PyObject
*_wrap_PyShape_SetDraggable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
*resultobj
;
4506 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4508 bool arg3
= (bool) False
;
4509 PyObject
* obj0
= 0 ;
4510 PyObject
* obj1
= 0 ;
4511 PyObject
* obj2
= 0 ;
4513 (char *) "self",(char *) "drag",(char *) "recursive", NULL
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetDraggable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4519 arg2
= (bool) SWIG_AsBool(obj1
);
4520 if (PyErr_Occurred()) SWIG_fail
;
4522 arg3
= (bool) SWIG_AsBool(obj2
);
4523 if (PyErr_Occurred()) SWIG_fail
;
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 (arg1
)->SetDraggable(arg2
,arg3
);
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) SWIG_fail
;
4532 Py_INCREF(Py_None
); resultobj
= Py_None
;
4539 static PyObject
*_wrap_PyShape_SetFixedSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4540 PyObject
*resultobj
;
4541 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4544 PyObject
* obj0
= 0 ;
4545 PyObject
* obj1
= 0 ;
4546 PyObject
* obj2
= 0 ;
4548 (char *) "self",(char *) "x",(char *) "y", NULL
4551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetFixedSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4554 arg2
= (bool) SWIG_AsBool(obj1
);
4555 if (PyErr_Occurred()) SWIG_fail
;
4556 arg3
= (bool) SWIG_AsBool(obj2
);
4557 if (PyErr_Occurred()) SWIG_fail
;
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4560 (arg1
)->SetFixedSize(arg2
,arg3
);
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4565 Py_INCREF(Py_None
); resultobj
= Py_None
;
4572 static PyObject
*_wrap_PyShape_GetFixedSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
;
4574 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4575 bool *arg2
= (bool *) 0 ;
4576 bool *arg3
= (bool *) 0 ;
4579 PyObject
* obj0
= 0 ;
4581 (char *) "self", NULL
4586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedSize",kwnames
,&obj0
)) goto fail
;
4587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 (arg1
)->GetFixedSize(arg2
,arg3
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 Py_INCREF(Py_None
); resultobj
= Py_None
;
4598 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4599 resultobj
= t_output_helper(resultobj
,o
);
4602 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4603 resultobj
= t_output_helper(resultobj
,o
);
4611 static PyObject
*_wrap_PyShape_GetFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4612 PyObject
*resultobj
;
4613 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4615 PyObject
* obj0
= 0 ;
4617 (char *) "self", NULL
4620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedWidth",kwnames
,&obj0
)) goto fail
;
4621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4625 result
= (bool)(arg1
)->GetFixedWidth();
4627 wxPyEndAllowThreads(__tstate
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4639 static PyObject
*_wrap_PyShape_GetFixedHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
*resultobj
;
4641 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4643 PyObject
* obj0
= 0 ;
4645 (char *) "self", NULL
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedHeight",kwnames
,&obj0
)) goto fail
;
4649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 result
= (bool)(arg1
)->GetFixedHeight();
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4667 static PyObject
*_wrap_PyShape_SetSpaceAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
*resultobj
;
4669 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4671 PyObject
* obj0
= 0 ;
4672 PyObject
* obj1
= 0 ;
4674 (char *) "self",(char *) "sp", NULL
4677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetSpaceAttachments",kwnames
,&obj0
,&obj1
)) goto fail
;
4678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4680 arg2
= (bool) SWIG_AsBool(obj1
);
4681 if (PyErr_Occurred()) SWIG_fail
;
4683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4684 (arg1
)->SetSpaceAttachments(arg2
);
4686 wxPyEndAllowThreads(__tstate
);
4687 if (PyErr_Occurred()) SWIG_fail
;
4689 Py_INCREF(Py_None
); resultobj
= Py_None
;
4696 static PyObject
*_wrap_PyShape_GetSpaceAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4697 PyObject
*resultobj
;
4698 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4700 PyObject
* obj0
= 0 ;
4702 (char *) "self", NULL
4705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSpaceAttachments",kwnames
,&obj0
)) goto fail
;
4706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4710 result
= (bool)(arg1
)->GetSpaceAttachments();
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4724 static PyObject
*_wrap_PyShape_SetShadowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
*resultobj
;
4726 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4728 bool arg3
= (bool) False
;
4729 PyObject
* obj0
= 0 ;
4730 PyObject
* obj1
= 0 ;
4731 PyObject
* obj2
= 0 ;
4733 (char *) "self",(char *) "mode",(char *) "redraw", NULL
4736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetShadowMode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4739 arg2
= (int) SWIG_AsInt(obj1
);
4740 if (PyErr_Occurred()) SWIG_fail
;
4742 arg3
= (bool) SWIG_AsBool(obj2
);
4743 if (PyErr_Occurred()) SWIG_fail
;
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 (arg1
)->SetShadowMode(arg2
,arg3
);
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4752 Py_INCREF(Py_None
); resultobj
= Py_None
;
4759 static PyObject
*_wrap_PyShape_GetShadowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
*resultobj
;
4761 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4763 PyObject
* obj0
= 0 ;
4765 (char *) "self", NULL
4768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetShadowMode",kwnames
,&obj0
)) goto fail
;
4769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 result
= (int)(arg1
)->GetShadowMode();
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4778 resultobj
= SWIG_FromInt((int)result
);
4785 static PyObject
*_wrap_PyShape_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4786 PyObject
*resultobj
;
4787 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4790 int *arg4
= (int *) 0 ;
4791 double *arg5
= (double *) 0 ;
4795 PyObject
* obj0
= 0 ;
4796 PyObject
* obj1
= 0 ;
4797 PyObject
* obj2
= 0 ;
4799 (char *) "self",(char *) "x",(char *) "y", NULL
4804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_HitTest",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4807 arg2
= (double) SWIG_AsDouble(obj1
);
4808 if (PyErr_Occurred()) SWIG_fail
;
4809 arg3
= (double) SWIG_AsDouble(obj2
);
4810 if (PyErr_Occurred()) SWIG_fail
;
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 result
= (bool)(arg1
)->HitTest(arg2
,arg3
,arg4
,arg5
);
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4822 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4823 resultobj
= t_output_helper(resultobj
,o
);
4826 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
4827 resultobj
= t_output_helper(resultobj
,o
);
4835 static PyObject
*_wrap_PyShape_SetCentreResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4836 PyObject
*resultobj
;
4837 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4839 PyObject
* obj0
= 0 ;
4840 PyObject
* obj1
= 0 ;
4842 (char *) "self",(char *) "cr", NULL
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCentreResize",kwnames
,&obj0
,&obj1
)) goto fail
;
4846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4848 arg2
= (bool) SWIG_AsBool(obj1
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 (arg1
)->SetCentreResize(arg2
);
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 Py_INCREF(Py_None
); resultobj
= Py_None
;
4864 static PyObject
*_wrap_PyShape_GetCentreResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
;
4866 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4868 PyObject
* obj0
= 0 ;
4870 (char *) "self", NULL
4873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCentreResize",kwnames
,&obj0
)) goto fail
;
4874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4878 result
= (bool)(arg1
)->GetCentreResize();
4880 wxPyEndAllowThreads(__tstate
);
4881 if (PyErr_Occurred()) SWIG_fail
;
4884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4892 static PyObject
*_wrap_PyShape_SetMaintainAspectRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4893 PyObject
*resultobj
;
4894 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4896 PyObject
* obj0
= 0 ;
4897 PyObject
* obj1
= 0 ;
4899 (char *) "self",(char *) "ar", NULL
4902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
4903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4905 arg2
= (bool) SWIG_AsBool(obj1
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 (arg1
)->SetMaintainAspectRatio(arg2
);
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4914 Py_INCREF(Py_None
); resultobj
= Py_None
;
4921 static PyObject
*_wrap_PyShape_GetMaintainAspectRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4922 PyObject
*resultobj
;
4923 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4925 PyObject
* obj0
= 0 ;
4927 (char *) "self", NULL
4930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames
,&obj0
)) goto fail
;
4931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4935 result
= (bool)(arg1
)->GetMaintainAspectRatio();
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4949 static PyObject
*_wrap_PyShape_GetLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4950 PyObject
*resultobj
;
4951 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4953 PyObject
* obj0
= 0 ;
4955 (char *) "self", NULL
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetLines",kwnames
,&obj0
)) goto fail
;
4959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4963 result
= (PyObject
*)wxPyShape_GetLines(arg1
);
4965 wxPyEndAllowThreads(__tstate
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4975 static PyObject
*_wrap_PyShape_SetDisableLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4976 PyObject
*resultobj
;
4977 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4979 PyObject
* obj0
= 0 ;
4980 PyObject
* obj1
= 0 ;
4982 (char *) "self",(char *) "flag", NULL
4985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDisableLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
4986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4988 arg2
= (bool) SWIG_AsBool(obj1
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 (arg1
)->SetDisableLabel(arg2
);
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4997 Py_INCREF(Py_None
); resultobj
= Py_None
;
5004 static PyObject
*_wrap_PyShape_GetDisableLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5005 PyObject
*resultobj
;
5006 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5008 PyObject
* obj0
= 0 ;
5010 (char *) "self", NULL
5013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDisableLabel",kwnames
,&obj0
)) goto fail
;
5014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5018 result
= (bool)(arg1
)->GetDisableLabel();
5020 wxPyEndAllowThreads(__tstate
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5032 static PyObject
*_wrap_PyShape_SetAttachmentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
*resultobj
;
5034 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5036 PyObject
* obj0
= 0 ;
5037 PyObject
* obj1
= 0 ;
5039 (char *) "self",(char *) "mode", NULL
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetAttachmentMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5045 arg2
= (int) SWIG_AsInt(obj1
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 (arg1
)->SetAttachmentMode(arg2
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 Py_INCREF(Py_None
); resultobj
= Py_None
;
5061 static PyObject
*_wrap_PyShape_GetAttachmentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
;
5063 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5065 PyObject
* obj0
= 0 ;
5067 (char *) "self", NULL
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachmentMode",kwnames
,&obj0
)) goto fail
;
5071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5075 result
= (int)(arg1
)->GetAttachmentMode();
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5080 resultobj
= SWIG_FromInt((int)result
);
5087 static PyObject
*_wrap_PyShape_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
*resultobj
;
5089 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5091 PyObject
* obj0
= 0 ;
5092 PyObject
* obj1
= 0 ;
5094 (char *) "self",(char *) "i", NULL
5097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
5098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5100 arg2
= (long) SWIG_AsLong(obj1
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 (arg1
)->SetId(arg2
);
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5109 Py_INCREF(Py_None
); resultobj
= Py_None
;
5116 static PyObject
*_wrap_PyShape_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5117 PyObject
*resultobj
;
5118 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5120 PyObject
* obj0
= 0 ;
5122 (char *) "self", NULL
5125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetId",kwnames
,&obj0
)) goto fail
;
5126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 result
= (long)(arg1
)->GetId();
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5135 resultobj
= SWIG_FromLong((long)result
);
5142 static PyObject
*_wrap_PyShape_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
*resultobj
;
5144 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5145 wxPen
*arg2
= (wxPen
*) 0 ;
5146 PyObject
* obj0
= 0 ;
5147 PyObject
* obj1
= 0 ;
5149 (char *) "self",(char *) "pen", NULL
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
5153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5158 if (obj1
== Py_None
) {
5161 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
5162 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
5167 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 (arg1
)->SetPen(arg2
);
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5180 Py_INCREF(Py_None
); resultobj
= Py_None
;
5187 static PyObject
*_wrap_PyShape_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
*resultobj
;
5189 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5190 wxBrush
*arg2
= (wxBrush
*) 0 ;
5191 PyObject
* obj0
= 0 ;
5192 PyObject
* obj1
= 0 ;
5194 (char *) "self",(char *) "brush", NULL
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
5198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5203 if (obj1
== Py_None
) {
5206 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
5207 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
5212 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 (arg1
)->SetBrush(arg2
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5223 Py_INCREF(Py_None
); resultobj
= Py_None
;
5230 static PyObject
*_wrap_PyShape_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
*resultobj
;
5232 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5234 PyObject
* obj0
= 0 ;
5235 PyObject
* obj1
= 0 ;
5237 (char *) "self",(char *) "show", NULL
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5243 arg2
= (bool) SWIG_AsBool(obj1
);
5244 if (PyErr_Occurred()) SWIG_fail
;
5246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5252 Py_INCREF(Py_None
); resultobj
= Py_None
;
5259 static PyObject
*_wrap_PyShape_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
*resultobj
;
5261 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5263 PyObject
* obj0
= 0 ;
5265 (char *) "self", NULL
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsShown",kwnames
,&obj0
)) goto fail
;
5269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 result
= (bool)(arg1
)->IsShown();
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5287 static PyObject
*_wrap_PyShape_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
;
5289 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5293 bool arg5
= (bool) True
;
5294 PyObject
* obj0
= 0 ;
5295 PyObject
* obj1
= 0 ;
5296 PyObject
* obj2
= 0 ;
5297 PyObject
* obj3
= 0 ;
5298 PyObject
* obj4
= 0 ;
5300 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShape_Move",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5307 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5310 PyErr_SetString(PyExc_TypeError
,"null reference");
5313 arg3
= (double) SWIG_AsDouble(obj2
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5315 arg4
= (double) SWIG_AsDouble(obj3
);
5316 if (PyErr_Occurred()) SWIG_fail
;
5318 arg5
= (bool) SWIG_AsBool(obj4
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5323 (arg1
)->Move(*arg2
,arg3
,arg4
,arg5
);
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5328 Py_INCREF(Py_None
); resultobj
= Py_None
;
5335 static PyObject
*_wrap_PyShape_Erase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
*resultobj
;
5337 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5339 PyObject
* obj0
= 0 ;
5340 PyObject
* obj1
= 0 ;
5342 (char *) "self",(char *) "dc", NULL
5345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Erase",kwnames
,&obj0
,&obj1
)) goto fail
;
5346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5349 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5352 PyErr_SetString(PyExc_TypeError
,"null reference");
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 (arg1
)->Erase(*arg2
);
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5362 Py_INCREF(Py_None
); resultobj
= Py_None
;
5369 static PyObject
*_wrap_PyShape_EraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
*resultobj
;
5371 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5373 PyObject
* obj0
= 0 ;
5374 PyObject
* obj1
= 0 ;
5376 (char *) "self",(char *) "dc", NULL
5379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_EraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
5380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5383 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5386 PyErr_SetString(PyExc_TypeError
,"null reference");
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 (arg1
)->EraseContents(*arg2
);
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 Py_INCREF(Py_None
); resultobj
= Py_None
;
5403 static PyObject
*_wrap_PyShape_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
*resultobj
;
5405 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5407 PyObject
* obj0
= 0 ;
5408 PyObject
* obj1
= 0 ;
5410 (char *) "self",(char *) "dc", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Draw",kwnames
,&obj0
,&obj1
)) goto fail
;
5414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5417 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5420 PyErr_SetString(PyExc_TypeError
,"null reference");
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 (arg1
)->Draw(*arg2
);
5427 wxPyEndAllowThreads(__tstate
);
5428 if (PyErr_Occurred()) SWIG_fail
;
5430 Py_INCREF(Py_None
); resultobj
= Py_None
;
5437 static PyObject
*_wrap_PyShape_Flash(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
*resultobj
;
5439 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5440 PyObject
* obj0
= 0 ;
5442 (char *) "self", NULL
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Flash",kwnames
,&obj0
)) goto fail
;
5446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 wxPyEndAllowThreads(__tstate
);
5453 if (PyErr_Occurred()) SWIG_fail
;
5455 Py_INCREF(Py_None
); resultobj
= Py_None
;
5462 static PyObject
*_wrap_PyShape_MoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
*resultobj
;
5464 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5466 PyObject
* obj0
= 0 ;
5467 PyObject
* obj1
= 0 ;
5469 (char *) "self",(char *) "dc", NULL
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_MoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
5473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5476 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5479 PyErr_SetString(PyExc_TypeError
,"null reference");
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5484 (arg1
)->MoveLinks(*arg2
);
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5489 Py_INCREF(Py_None
); resultobj
= Py_None
;
5496 static PyObject
*_wrap_PyShape_DrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
*resultobj
;
5498 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5500 PyObject
* obj0
= 0 ;
5501 PyObject
* obj1
= 0 ;
5503 (char *) "self",(char *) "dc", NULL
5506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_DrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
5507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5510 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5513 PyErr_SetString(PyExc_TypeError
,"null reference");
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 (arg1
)->DrawContents(*arg2
);
5520 wxPyEndAllowThreads(__tstate
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5523 Py_INCREF(Py_None
); resultobj
= Py_None
;
5530 static PyObject
*_wrap_PyShape_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
*resultobj
;
5532 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5535 bool arg4
= (bool) True
;
5536 PyObject
* obj0
= 0 ;
5537 PyObject
* obj1
= 0 ;
5538 PyObject
* obj2
= 0 ;
5539 PyObject
* obj3
= 0 ;
5541 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
5544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShape_SetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5547 arg2
= (double) SWIG_AsDouble(obj1
);
5548 if (PyErr_Occurred()) SWIG_fail
;
5549 arg3
= (double) SWIG_AsDouble(obj2
);
5550 if (PyErr_Occurred()) SWIG_fail
;
5552 arg4
= (bool) SWIG_AsBool(obj3
);
5553 if (PyErr_Occurred()) SWIG_fail
;
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 (arg1
)->SetSize(arg2
,arg3
,arg4
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5562 Py_INCREF(Py_None
); resultobj
= Py_None
;
5569 static PyObject
*_wrap_PyShape_SetAttachmentSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
*resultobj
;
5571 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5574 PyObject
* obj0
= 0 ;
5575 PyObject
* obj1
= 0 ;
5576 PyObject
* obj2
= 0 ;
5578 (char *) "self",(char *) "x",(char *) "y", NULL
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetAttachmentSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5584 arg2
= (double) SWIG_AsDouble(obj1
);
5585 if (PyErr_Occurred()) SWIG_fail
;
5586 arg3
= (double) SWIG_AsDouble(obj2
);
5587 if (PyErr_Occurred()) SWIG_fail
;
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 (arg1
)->SetAttachmentSize(arg2
,arg3
);
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5595 Py_INCREF(Py_None
); resultobj
= Py_None
;
5602 static PyObject
*_wrap_PyShape_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
*resultobj
;
5604 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5605 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
5606 PyObject
* obj0
= 0 ;
5607 PyObject
* obj1
= 0 ;
5609 (char *) "self",(char *) "can", NULL
5612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
5613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
5616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5619 (arg1
)->Attach(arg2
);
5621 wxPyEndAllowThreads(__tstate
);
5622 if (PyErr_Occurred()) SWIG_fail
;
5624 Py_INCREF(Py_None
); resultobj
= Py_None
;
5631 static PyObject
*_wrap_PyShape_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5632 PyObject
*resultobj
;
5633 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5634 PyObject
* obj0
= 0 ;
5636 (char *) "self", NULL
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Detach",kwnames
,&obj0
)) goto fail
;
5640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5649 Py_INCREF(Py_None
); resultobj
= Py_None
;
5656 static PyObject
*_wrap_PyShape_Constrain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
;
5658 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5660 PyObject
* obj0
= 0 ;
5662 (char *) "self", NULL
5665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Constrain",kwnames
,&obj0
)) goto fail
;
5666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 result
= (bool)(arg1
)->Constrain();
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5684 static PyObject
*_wrap_PyShape_AddLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
*resultobj
;
5686 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5687 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5688 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
5689 int arg4
= (int) 0 ;
5690 int arg5
= (int) 0 ;
5691 int arg6
= (int) -1 ;
5692 int arg7
= (int) -1 ;
5693 PyObject
* obj0
= 0 ;
5694 PyObject
* obj1
= 0 ;
5695 PyObject
* obj2
= 0 ;
5696 PyObject
* obj3
= 0 ;
5697 PyObject
* obj4
= 0 ;
5698 PyObject
* obj5
= 0 ;
5699 PyObject
* obj6
= 0 ;
5701 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:PyShape_AddLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyLineShape
,
5708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5709 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
5710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5712 arg4
= (int) SWIG_AsInt(obj3
);
5713 if (PyErr_Occurred()) SWIG_fail
;
5716 arg5
= (int) SWIG_AsInt(obj4
);
5717 if (PyErr_Occurred()) SWIG_fail
;
5720 arg6
= (int) SWIG_AsInt(obj5
);
5721 if (PyErr_Occurred()) SWIG_fail
;
5724 arg7
= (int) SWIG_AsInt(obj6
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 (arg1
)->AddLine(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5734 Py_INCREF(Py_None
); resultobj
= Py_None
;
5741 static PyObject
*_wrap_PyShape_GetLinePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5742 PyObject
*resultobj
;
5743 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5744 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5746 PyObject
* obj0
= 0 ;
5747 PyObject
* obj1
= 0 ;
5749 (char *) "self",(char *) "line", NULL
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetLinePosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyLineShape
,
5756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 result
= (int)(arg1
)->GetLinePosition(arg2
);
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5764 resultobj
= SWIG_FromInt((int)result
);
5771 static PyObject
*_wrap_PyShape_AddText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
*resultobj
;
5773 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5774 wxString
*arg2
= 0 ;
5775 bool temp2
= False
;
5776 PyObject
* obj0
= 0 ;
5777 PyObject
* obj1
= 0 ;
5779 (char *) "self",(char *) "string", NULL
5782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddText",kwnames
,&obj0
,&obj1
)) goto fail
;
5783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5786 arg2
= wxString_in_helper(obj1
);
5787 if (arg2
== NULL
) SWIG_fail
;
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 (arg1
)->AddText((wxString
const &)*arg2
);
5794 wxPyEndAllowThreads(__tstate
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5797 Py_INCREF(Py_None
); resultobj
= Py_None
;
5812 static PyObject
*_wrap_PyShape_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
*resultobj
;
5814 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5816 PyObject
* obj0
= 0 ;
5818 (char *) "self", NULL
5821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetPen",kwnames
,&obj0
)) goto fail
;
5822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 result
= (wxPen
*)(arg1
)->GetPen();
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
5838 static PyObject
*_wrap_PyShape_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
*resultobj
;
5840 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5842 PyObject
* obj0
= 0 ;
5844 (char *) "self", NULL
5847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBrush",kwnames
,&obj0
)) goto fail
;
5848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5852 result
= (wxBrush
*)(arg1
)->GetBrush();
5854 wxPyEndAllowThreads(__tstate
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
5864 static PyObject
*_wrap_PyShape_SetDefaultRegionSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
;
5866 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5867 PyObject
* obj0
= 0 ;
5869 (char *) "self", NULL
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_SetDefaultRegionSize",kwnames
,&obj0
)) goto fail
;
5873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 (arg1
)->SetDefaultRegionSize();
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5882 Py_INCREF(Py_None
); resultobj
= Py_None
;
5889 static PyObject
*_wrap_PyShape_FormatText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
*resultobj
;
5891 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5893 wxString
*arg3
= 0 ;
5894 int arg4
= (int) 0 ;
5895 bool temp3
= False
;
5896 PyObject
* obj0
= 0 ;
5897 PyObject
* obj1
= 0 ;
5898 PyObject
* obj2
= 0 ;
5899 PyObject
* obj3
= 0 ;
5901 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
5904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShape_FormatText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5908 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5911 PyErr_SetString(PyExc_TypeError
,"null reference");
5915 arg3
= wxString_in_helper(obj2
);
5916 if (arg3
== NULL
) SWIG_fail
;
5920 arg4
= (int) SWIG_AsInt(obj3
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5925 (arg1
)->FormatText(*arg2
,(wxString
const &)*arg3
,arg4
);
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5930 Py_INCREF(Py_None
); resultobj
= Py_None
;
5945 static PyObject
*_wrap_PyShape_SetFormatMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5946 PyObject
*resultobj
;
5947 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5949 int arg3
= (int) 0 ;
5950 PyObject
* obj0
= 0 ;
5951 PyObject
* obj1
= 0 ;
5952 PyObject
* obj2
= 0 ;
5954 (char *) "self",(char *) "mode",(char *) "regionId", NULL
5957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetFormatMode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5960 arg2
= (int) SWIG_AsInt(obj1
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5963 arg3
= (int) SWIG_AsInt(obj2
);
5964 if (PyErr_Occurred()) SWIG_fail
;
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 (arg1
)->SetFormatMode(arg2
,arg3
);
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5973 Py_INCREF(Py_None
); resultobj
= Py_None
;
5980 static PyObject
*_wrap_PyShape_GetFormatMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
;
5982 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5983 int arg2
= (int) 0 ;
5985 PyObject
* obj0
= 0 ;
5986 PyObject
* obj1
= 0 ;
5988 (char *) "self",(char *) "regionId", NULL
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetFormatMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5995 arg2
= (int) SWIG_AsInt(obj1
);
5996 if (PyErr_Occurred()) SWIG_fail
;
5999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6000 result
= (int)(arg1
)->GetFormatMode(arg2
);
6002 wxPyEndAllowThreads(__tstate
);
6003 if (PyErr_Occurred()) SWIG_fail
;
6005 resultobj
= SWIG_FromInt((int)result
);
6012 static PyObject
*_wrap_PyShape_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
*resultobj
;
6014 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6015 wxFont
*arg2
= (wxFont
*) 0 ;
6016 int arg3
= (int) 0 ;
6017 PyObject
* obj0
= 0 ;
6018 PyObject
* obj1
= 0 ;
6019 PyObject
* obj2
= 0 ;
6021 (char *) "self",(char *) "font",(char *) "regionId", NULL
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6030 if (obj1
== Py_None
) {
6033 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
6034 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
6039 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
6043 temp
->GetUnderlined(),
6044 temp
->GetFaceName(),
6045 temp
->GetEncoding());
6050 arg3
= (int) SWIG_AsInt(obj2
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 (arg1
)->SetFont(arg2
,arg3
);
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6060 Py_INCREF(Py_None
); resultobj
= Py_None
;
6067 static PyObject
*_wrap_PyShape_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6068 PyObject
*resultobj
;
6069 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6070 int arg2
= (int) 0 ;
6072 PyObject
* obj0
= 0 ;
6073 PyObject
* obj1
= 0 ;
6075 (char *) "self",(char *) "regionId", NULL
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6082 arg2
= (int) SWIG_AsInt(obj1
);
6083 if (PyErr_Occurred()) SWIG_fail
;
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
6099 static PyObject
*_wrap_PyShape_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6100 PyObject
*resultobj
;
6101 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6102 wxString
*arg2
= 0 ;
6103 int arg3
= (int) 0 ;
6104 bool temp2
= False
;
6105 PyObject
* obj0
= 0 ;
6106 PyObject
* obj1
= 0 ;
6107 PyObject
* obj2
= 0 ;
6109 (char *) "self",(char *) "colour",(char *) "regionId", NULL
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6116 arg2
= wxString_in_helper(obj1
);
6117 if (arg2
== NULL
) SWIG_fail
;
6121 arg3
= (int) SWIG_AsInt(obj2
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 (arg1
)->SetTextColour((wxString
const &)*arg2
,arg3
);
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6131 Py_INCREF(Py_None
); resultobj
= Py_None
;
6146 static PyObject
*_wrap_PyShape_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
*resultobj
;
6148 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6149 int arg2
= (int) 0 ;
6151 PyObject
* obj0
= 0 ;
6152 PyObject
* obj1
= 0 ;
6154 (char *) "self",(char *) "regionId", NULL
6157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6161 arg2
= (int) SWIG_AsInt(obj1
);
6162 if (PyErr_Occurred()) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 result
= (arg1
)->GetTextColour(arg2
);
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6173 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6175 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6184 static PyObject
*_wrap_PyShape_GetNumberOfTextRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
*resultobj
;
6186 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6188 PyObject
* obj0
= 0 ;
6190 (char *) "self", NULL
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames
,&obj0
)) goto fail
;
6194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 result
= (int)(arg1
)->GetNumberOfTextRegions();
6200 wxPyEndAllowThreads(__tstate
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6203 resultobj
= SWIG_FromInt((int)result
);
6210 static PyObject
*_wrap_PyShape_SetRegionName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
*resultobj
;
6212 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6213 wxString
*arg2
= 0 ;
6214 int arg3
= (int) 0 ;
6215 bool temp2
= False
;
6216 PyObject
* obj0
= 0 ;
6217 PyObject
* obj1
= 0 ;
6218 PyObject
* obj2
= 0 ;
6220 (char *) "self",(char *) "name",(char *) "regionId", NULL
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetRegionName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6227 arg2
= wxString_in_helper(obj1
);
6228 if (arg2
== NULL
) SWIG_fail
;
6232 arg3
= (int) SWIG_AsInt(obj2
);
6233 if (PyErr_Occurred()) SWIG_fail
;
6236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6237 (arg1
)->SetRegionName((wxString
const &)*arg2
,arg3
);
6239 wxPyEndAllowThreads(__tstate
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6242 Py_INCREF(Py_None
); resultobj
= Py_None
;
6257 static PyObject
*_wrap_PyShape_GetRegionName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6258 PyObject
*resultobj
;
6259 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6262 PyObject
* obj0
= 0 ;
6263 PyObject
* obj1
= 0 ;
6265 (char *) "self",(char *) "regionId", NULL
6268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionName",kwnames
,&obj0
,&obj1
)) goto fail
;
6269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6271 arg2
= (int) SWIG_AsInt(obj1
);
6272 if (PyErr_Occurred()) SWIG_fail
;
6274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 result
= (arg1
)->GetRegionName(arg2
);
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6282 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6284 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6293 static PyObject
*_wrap_PyShape_GetRegionId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
*resultobj
;
6295 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6296 wxString
*arg2
= 0 ;
6298 bool temp2
= False
;
6299 PyObject
* obj0
= 0 ;
6300 PyObject
* obj1
= 0 ;
6302 (char *) "self",(char *) "name", NULL
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionId",kwnames
,&obj0
,&obj1
)) goto fail
;
6306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6309 arg2
= wxString_in_helper(obj1
);
6310 if (arg2
== NULL
) SWIG_fail
;
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 result
= (int)(arg1
)->GetRegionId((wxString
const &)*arg2
);
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6320 resultobj
= SWIG_FromInt((int)result
);
6335 static PyObject
*_wrap_PyShape_NameRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
*resultobj
;
6337 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6338 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6339 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6340 bool temp2
= False
;
6341 PyObject
* obj0
= 0 ;
6342 PyObject
* obj1
= 0 ;
6344 (char *) "self",(char *) "parentName", NULL
6347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_NameRegions",kwnames
,&obj0
,&obj1
)) goto fail
;
6348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6352 arg2
= wxString_in_helper(obj1
);
6353 if (arg2
== NULL
) SWIG_fail
;
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 (arg1
)->NameRegions((wxString
const &)*arg2
);
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) SWIG_fail
;
6364 Py_INCREF(Py_None
); resultobj
= Py_None
;
6379 static PyObject
*_wrap_PyShape_GetRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6380 PyObject
*resultobj
;
6381 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6383 PyObject
* obj0
= 0 ;
6385 (char *) "self", NULL
6388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRegions",kwnames
,&obj0
)) goto fail
;
6389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6393 result
= (PyObject
*)wxPyShape_GetRegions(arg1
);
6395 wxPyEndAllowThreads(__tstate
);
6396 if (PyErr_Occurred()) SWIG_fail
;
6405 static PyObject
*_wrap_PyShape_AddRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
*resultobj
;
6407 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6408 wxShapeRegion
*arg2
= (wxShapeRegion
*) 0 ;
6409 PyObject
* obj0
= 0 ;
6410 PyObject
* obj1
= 0 ;
6412 (char *) "self",(char *) "region", NULL
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxShapeRegion
,
6419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6422 (arg1
)->AddRegion(arg2
);
6424 wxPyEndAllowThreads(__tstate
);
6425 if (PyErr_Occurred()) SWIG_fail
;
6427 Py_INCREF(Py_None
); resultobj
= Py_None
;
6434 static PyObject
*_wrap_PyShape_ClearRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
*resultobj
;
6436 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6437 PyObject
* obj0
= 0 ;
6439 (char *) "self", NULL
6442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearRegions",kwnames
,&obj0
)) goto fail
;
6443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 (arg1
)->ClearRegions();
6449 wxPyEndAllowThreads(__tstate
);
6450 if (PyErr_Occurred()) SWIG_fail
;
6452 Py_INCREF(Py_None
); resultobj
= Py_None
;
6459 static PyObject
*_wrap_PyShape_AssignNewIds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
*resultobj
;
6461 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6462 PyObject
* obj0
= 0 ;
6464 (char *) "self", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AssignNewIds",kwnames
,&obj0
)) goto fail
;
6468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6472 (arg1
)->AssignNewIds();
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6477 Py_INCREF(Py_None
); resultobj
= Py_None
;
6484 static PyObject
*_wrap_PyShape_FindRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6485 PyObject
*resultobj
;
6486 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6487 wxString
*arg2
= 0 ;
6488 int *arg3
= (int *) 0 ;
6490 bool temp2
= False
;
6492 PyObject
* obj0
= 0 ;
6493 PyObject
* obj1
= 0 ;
6495 (char *) "self",(char *) "regionName", NULL
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6503 arg2
= wxString_in_helper(obj1
);
6504 if (arg2
== NULL
) SWIG_fail
;
6508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6509 result
= (wxPyShape
*)(arg1
)->FindRegion((wxString
const &)*arg2
,arg3
);
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6515 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
6518 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
6519 resultobj
= t_output_helper(resultobj
,o
);
6535 static PyObject
*_wrap_PyShape_FindRegionNames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
*resultobj
;
6537 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6538 wxStringList
*arg2
= 0 ;
6539 PyObject
* obj0
= 0 ;
6540 PyObject
* obj1
= 0 ;
6542 (char *) "self",(char *) "list", NULL
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegionNames",kwnames
,&obj0
,&obj1
)) goto fail
;
6546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStringList
,
6549 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6552 PyErr_SetString(PyExc_TypeError
,"null reference");
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 (arg1
)->FindRegionNames(*arg2
);
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6562 Py_INCREF(Py_None
); resultobj
= Py_None
;
6569 static PyObject
*_wrap_PyShape_ClearText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6571 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6572 int arg2
= (int) 0 ;
6573 PyObject
* obj0
= 0 ;
6574 PyObject
* obj1
= 0 ;
6576 (char *) "self",(char *) "regionId", NULL
6579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_ClearText",kwnames
,&obj0
,&obj1
)) goto fail
;
6580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6583 arg2
= (int) SWIG_AsInt(obj1
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 (arg1
)->ClearText(arg2
);
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 Py_INCREF(Py_None
); resultobj
= Py_None
;
6600 static PyObject
*_wrap_PyShape_RemoveLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
;
6602 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6603 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
6604 PyObject
* obj0
= 0 ;
6605 PyObject
* obj1
= 0 ;
6607 (char *) "self",(char *) "line", NULL
6610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveLine",kwnames
,&obj0
,&obj1
)) goto fail
;
6611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyLineShape
,
6614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6617 (arg1
)->RemoveLine(arg2
);
6619 wxPyEndAllowThreads(__tstate
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6622 Py_INCREF(Py_None
); resultobj
= Py_None
;
6629 static PyObject
*_wrap_PyShape_GetAttachmentPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6630 PyObject
*resultobj
;
6631 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6633 double *arg3
= (double *) 0 ;
6634 double *arg4
= (double *) 0 ;
6635 int arg5
= (int) 0 ;
6636 int arg6
= (int) 1 ;
6637 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
6641 PyObject
* obj0
= 0 ;
6642 PyObject
* obj1
= 0 ;
6643 PyObject
* obj2
= 0 ;
6644 PyObject
* obj3
= 0 ;
6645 PyObject
* obj4
= 0 ;
6647 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PyShape_GetAttachmentPosition",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6655 arg2
= (int) SWIG_AsInt(obj1
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6658 arg5
= (int) SWIG_AsInt(obj2
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6662 arg6
= (int) SWIG_AsInt(obj3
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6666 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg7
),SWIGTYPE_p_wxPyLineShape
,
6667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 result
= (bool)(arg1
)->GetAttachmentPosition(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6680 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
6681 resultobj
= t_output_helper(resultobj
,o
);
6684 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
6685 resultobj
= t_output_helper(resultobj
,o
);
6693 static PyObject
*_wrap_PyShape_GetNumberOfAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
*resultobj
;
6695 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6697 PyObject
* obj0
= 0 ;
6699 (char *) "self", NULL
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfAttachments",kwnames
,&obj0
)) goto fail
;
6703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6707 result
= (int)(arg1
)->GetNumberOfAttachments();
6709 wxPyEndAllowThreads(__tstate
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6712 resultobj
= SWIG_FromInt((int)result
);
6719 static PyObject
*_wrap_PyShape_AttachmentIsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6720 PyObject
*resultobj
;
6721 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6724 PyObject
* obj0
= 0 ;
6725 PyObject
* obj1
= 0 ;
6727 (char *) "self",(char *) "attachment", NULL
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AttachmentIsValid",kwnames
,&obj0
,&obj1
)) goto fail
;
6731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6733 arg2
= (int) SWIG_AsInt(obj1
);
6734 if (PyErr_Occurred()) SWIG_fail
;
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 result
= (bool)(arg1
)->AttachmentIsValid(arg2
);
6739 wxPyEndAllowThreads(__tstate
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6751 static PyObject
*_wrap_PyShape_GetAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
*resultobj
;
6753 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6755 PyObject
* obj0
= 0 ;
6757 (char *) "self", NULL
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachments",kwnames
,&obj0
)) goto fail
;
6761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 result
= (PyObject
*)wxPyShape_GetAttachments(arg1
);
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6777 static PyObject
*_wrap_PyShape_GetAttachmentPositionEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
*resultobj
;
6779 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6781 double *arg3
= (double *) 0 ;
6782 double *arg4
= (double *) 0 ;
6783 int arg5
= (int) 0 ;
6784 int arg6
= (int) 1 ;
6785 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
6789 PyObject
* obj0
= 0 ;
6790 PyObject
* obj1
= 0 ;
6791 PyObject
* obj2
= 0 ;
6792 PyObject
* obj3
= 0 ;
6793 PyObject
* obj4
= 0 ;
6795 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PyShape_GetAttachmentPositionEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6803 arg2
= (int) SWIG_AsInt(obj1
);
6804 if (PyErr_Occurred()) SWIG_fail
;
6806 arg5
= (int) SWIG_AsInt(obj2
);
6807 if (PyErr_Occurred()) SWIG_fail
;
6810 arg6
= (int) SWIG_AsInt(obj3
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6814 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg7
),SWIGTYPE_p_wxPyLineShape
,
6815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 result
= (bool)(arg1
)->GetAttachmentPositionEdge(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6828 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
6829 resultobj
= t_output_helper(resultobj
,o
);
6832 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
6833 resultobj
= t_output_helper(resultobj
,o
);
6841 static PyObject
*_wrap_PyShape_CalcSimpleAttachment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6842 PyObject
*resultobj
;
6843 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6844 wxRealPoint
*arg2
= 0 ;
6845 wxRealPoint
*arg3
= 0 ;
6848 wxPyLineShape
*arg6
= (wxPyLineShape
*) 0 ;
6852 PyObject
* obj0
= 0 ;
6853 PyObject
* obj1
= 0 ;
6854 PyObject
* obj2
= 0 ;
6855 PyObject
* obj3
= 0 ;
6856 PyObject
* obj4
= 0 ;
6857 PyObject
* obj5
= 0 ;
6859 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_CalcSimpleAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6867 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6871 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6873 arg4
= (int) SWIG_AsInt(obj3
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6875 arg5
= (int) SWIG_AsInt(obj4
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6877 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyLineShape
,
6878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6881 result
= (arg1
)->CalcSimpleAttachment((wxRealPoint
const &)*arg2
,(wxRealPoint
const &)*arg3
,arg4
,arg5
,arg6
);
6883 wxPyEndAllowThreads(__tstate
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6887 wxRealPoint
* resultptr
;
6888 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
6889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
6897 static PyObject
*_wrap_PyShape_AttachmentSortTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6898 PyObject
*resultobj
;
6899 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6901 wxRealPoint
*arg3
= 0 ;
6902 wxRealPoint
*arg4
= 0 ;
6906 PyObject
* obj0
= 0 ;
6907 PyObject
* obj1
= 0 ;
6908 PyObject
* obj2
= 0 ;
6909 PyObject
* obj3
= 0 ;
6911 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
6914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShape_AttachmentSortTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6917 arg2
= (int) SWIG_AsInt(obj1
);
6918 if (PyErr_Occurred()) SWIG_fail
;
6921 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6925 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6929 result
= (bool)(arg1
)->AttachmentSortTest(arg2
,(wxRealPoint
const &)*arg3
,(wxRealPoint
const &)*arg4
);
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6943 static PyObject
*_wrap_PyShape_EraseLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
*resultobj
;
6945 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6947 int arg3
= (int) -1 ;
6948 bool arg4
= (bool) False
;
6949 PyObject
* obj0
= 0 ;
6950 PyObject
* obj1
= 0 ;
6951 PyObject
* obj2
= 0 ;
6952 PyObject
* obj3
= 0 ;
6954 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PyShape_EraseLinks",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6964 PyErr_SetString(PyExc_TypeError
,"null reference");
6968 arg3
= (int) SWIG_AsInt(obj2
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6972 arg4
= (bool) SWIG_AsBool(obj3
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 (arg1
)->EraseLinks(*arg2
,arg3
,arg4
);
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6982 Py_INCREF(Py_None
); resultobj
= Py_None
;
6989 static PyObject
*_wrap_PyShape_DrawLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
*resultobj
;
6991 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6993 int arg3
= (int) -1 ;
6994 bool arg4
= (bool) False
;
6995 PyObject
* obj0
= 0 ;
6996 PyObject
* obj1
= 0 ;
6997 PyObject
* obj2
= 0 ;
6998 PyObject
* obj3
= 0 ;
7000 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PyShape_DrawLinks",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7007 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7010 PyErr_SetString(PyExc_TypeError
,"null reference");
7014 arg3
= (int) SWIG_AsInt(obj2
);
7015 if (PyErr_Occurred()) SWIG_fail
;
7018 arg4
= (bool) SWIG_AsBool(obj3
);
7019 if (PyErr_Occurred()) SWIG_fail
;
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 (arg1
)->DrawLinks(*arg2
,arg3
,arg4
);
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 Py_INCREF(Py_None
); resultobj
= Py_None
;
7035 static PyObject
*_wrap_PyShape_MoveLineToNewAttachment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
*resultobj
;
7037 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7039 wxPyLineShape
*arg3
= (wxPyLineShape
*) 0 ;
7043 PyObject
* obj0
= 0 ;
7044 PyObject
* obj1
= 0 ;
7045 PyObject
* obj2
= 0 ;
7046 PyObject
* obj3
= 0 ;
7047 PyObject
* obj4
= 0 ;
7049 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
7052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_MoveLineToNewAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7056 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7059 PyErr_SetString(PyExc_TypeError
,"null reference");
7062 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyLineShape
,
7063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7064 arg4
= (double) SWIG_AsDouble(obj3
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7066 arg5
= (double) SWIG_AsDouble(obj4
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 result
= (bool)(arg1
)->MoveLineToNewAttachment(*arg2
,arg3
,arg4
,arg5
);
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7084 static PyObject
*_wrap_PyShape_ApplyAttachmentOrdering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
*resultobj
;
7086 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7087 PyObject
*arg2
= (PyObject
*) 0 ;
7088 PyObject
* obj0
= 0 ;
7089 PyObject
* obj1
= 0 ;
7091 (char *) "self",(char *) "linesToSort", NULL
7094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames
,&obj0
,&obj1
)) goto fail
;
7095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 wxPyShape_ApplyAttachmentOrdering(arg1
,arg2
);
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7105 Py_INCREF(Py_None
); resultobj
= Py_None
;
7112 static PyObject
*_wrap_PyShape_GetBranchingAttachmentRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
*resultobj
;
7114 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7117 PyObject
* obj0
= 0 ;
7118 PyObject
* obj1
= 0 ;
7120 (char *) "self",(char *) "attachment", NULL
7123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetBranchingAttachmentRoot",kwnames
,&obj0
,&obj1
)) goto fail
;
7124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7126 arg2
= (int) SWIG_AsInt(obj1
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 result
= (arg1
)->GetBranchingAttachmentRoot(arg2
);
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7136 wxRealPoint
* resultptr
;
7137 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
7138 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
7146 static PyObject
*_wrap_PyShape_GetBranchingAttachmentInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7147 PyObject
*resultobj
;
7148 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7150 wxRealPoint
*arg3
= 0 ;
7151 wxRealPoint
*arg4
= 0 ;
7152 wxRealPoint
*arg5
= 0 ;
7153 wxRealPoint
*arg6
= 0 ;
7159 PyObject
* obj0
= 0 ;
7160 PyObject
* obj1
= 0 ;
7161 PyObject
* obj2
= 0 ;
7162 PyObject
* obj3
= 0 ;
7163 PyObject
* obj4
= 0 ;
7164 PyObject
* obj5
= 0 ;
7166 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_GetBranchingAttachmentInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7172 arg2
= (int) SWIG_AsInt(obj1
);
7173 if (PyErr_Occurred()) SWIG_fail
;
7176 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7180 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7184 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7188 if ( ! wxRealPoint_helper(obj5
, &arg6
)) SWIG_fail
;
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 result
= (bool)(arg1
)->GetBranchingAttachmentInfo(arg2
,*arg3
,*arg4
,*arg5
,*arg6
);
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7206 static PyObject
*_wrap_PyShape_GetBranchingAttachmentPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
;
7208 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7211 wxRealPoint
*arg4
= 0 ;
7212 wxRealPoint
*arg5
= 0 ;
7216 PyObject
* obj0
= 0 ;
7217 PyObject
* obj1
= 0 ;
7218 PyObject
* obj2
= 0 ;
7219 PyObject
* obj3
= 0 ;
7220 PyObject
* obj4
= 0 ;
7222 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
7225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_GetBranchingAttachmentPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7228 arg2
= (int) SWIG_AsInt(obj1
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7230 arg3
= (int) SWIG_AsInt(obj2
);
7231 if (PyErr_Occurred()) SWIG_fail
;
7234 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7238 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7242 result
= (bool)(arg1
)->GetBranchingAttachmentPoint(arg2
,arg3
,*arg4
,*arg5
);
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7256 static PyObject
*_wrap_PyShape_GetAttachmentLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
;
7258 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7261 PyObject
* obj0
= 0 ;
7262 PyObject
* obj1
= 0 ;
7264 (char *) "self",(char *) "attachment", NULL
7267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetAttachmentLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7270 arg2
= (int) SWIG_AsInt(obj1
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 result
= (int)(arg1
)->GetAttachmentLineCount(arg2
);
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7279 resultobj
= SWIG_FromInt((int)result
);
7286 static PyObject
*_wrap_PyShape_SetBranchNeckLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7287 PyObject
*resultobj
;
7288 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7290 PyObject
* obj0
= 0 ;
7291 PyObject
* obj1
= 0 ;
7293 (char *) "self",(char *) "len", NULL
7296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchNeckLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7299 arg2
= (int) SWIG_AsInt(obj1
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 (arg1
)->SetBranchNeckLength(arg2
);
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7308 Py_INCREF(Py_None
); resultobj
= Py_None
;
7315 static PyObject
*_wrap_PyShape_GetBranchNeckLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
;
7317 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7319 PyObject
* obj0
= 0 ;
7321 (char *) "self", NULL
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchNeckLength",kwnames
,&obj0
)) goto fail
;
7325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 result
= (int)(arg1
)->GetBranchNeckLength();
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7334 resultobj
= SWIG_FromInt((int)result
);
7341 static PyObject
*_wrap_PyShape_SetBranchStemLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7342 PyObject
*resultobj
;
7343 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7345 PyObject
* obj0
= 0 ;
7346 PyObject
* obj1
= 0 ;
7348 (char *) "self",(char *) "len", NULL
7351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchStemLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7354 arg2
= (int) SWIG_AsInt(obj1
);
7355 if (PyErr_Occurred()) SWIG_fail
;
7357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7358 (arg1
)->SetBranchStemLength(arg2
);
7360 wxPyEndAllowThreads(__tstate
);
7361 if (PyErr_Occurred()) SWIG_fail
;
7363 Py_INCREF(Py_None
); resultobj
= Py_None
;
7370 static PyObject
*_wrap_PyShape_GetBranchStemLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7371 PyObject
*resultobj
;
7372 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7374 PyObject
* obj0
= 0 ;
7376 (char *) "self", NULL
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStemLength",kwnames
,&obj0
)) goto fail
;
7380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7384 result
= (int)(arg1
)->GetBranchStemLength();
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7389 resultobj
= SWIG_FromInt((int)result
);
7396 static PyObject
*_wrap_PyShape_SetBranchSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7397 PyObject
*resultobj
;
7398 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7400 PyObject
* obj0
= 0 ;
7401 PyObject
* obj1
= 0 ;
7403 (char *) "self",(char *) "len", NULL
7406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
7407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7409 arg2
= (int) SWIG_AsInt(obj1
);
7410 if (PyErr_Occurred()) SWIG_fail
;
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 (arg1
)->SetBranchSpacing(arg2
);
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 Py_INCREF(Py_None
); resultobj
= Py_None
;
7425 static PyObject
*_wrap_PyShape_GetBranchSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7426 PyObject
*resultobj
;
7427 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7429 PyObject
* obj0
= 0 ;
7431 (char *) "self", NULL
7434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchSpacing",kwnames
,&obj0
)) goto fail
;
7435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 result
= (int)(arg1
)->GetBranchSpacing();
7441 wxPyEndAllowThreads(__tstate
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7444 resultobj
= SWIG_FromInt((int)result
);
7451 static PyObject
*_wrap_PyShape_SetBranchStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7452 PyObject
*resultobj
;
7453 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7455 PyObject
* obj0
= 0 ;
7456 PyObject
* obj1
= 0 ;
7458 (char *) "self",(char *) "style", NULL
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7464 arg2
= (long) SWIG_AsLong(obj1
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7468 (arg1
)->SetBranchStyle(arg2
);
7470 wxPyEndAllowThreads(__tstate
);
7471 if (PyErr_Occurred()) SWIG_fail
;
7473 Py_INCREF(Py_None
); resultobj
= Py_None
;
7480 static PyObject
*_wrap_PyShape_GetBranchStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
*resultobj
;
7482 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7484 PyObject
* obj0
= 0 ;
7486 (char *) "self", NULL
7489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStyle",kwnames
,&obj0
)) goto fail
;
7490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7494 result
= (long)(arg1
)->GetBranchStyle();
7496 wxPyEndAllowThreads(__tstate
);
7497 if (PyErr_Occurred()) SWIG_fail
;
7499 resultobj
= SWIG_FromLong((long)result
);
7506 static PyObject
*_wrap_PyShape_PhysicalToLogicalAttachment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7507 PyObject
*resultobj
;
7508 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7511 PyObject
* obj0
= 0 ;
7512 PyObject
* obj1
= 0 ;
7514 (char *) "self",(char *) "physicalAttachment", NULL
7517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_PhysicalToLogicalAttachment",kwnames
,&obj0
,&obj1
)) goto fail
;
7518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7520 arg2
= (int) SWIG_AsInt(obj1
);
7521 if (PyErr_Occurred()) SWIG_fail
;
7523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7524 result
= (int)(arg1
)->PhysicalToLogicalAttachment(arg2
);
7526 wxPyEndAllowThreads(__tstate
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7529 resultobj
= SWIG_FromInt((int)result
);
7536 static PyObject
*_wrap_PyShape_LogicalToPhysicalAttachment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
*resultobj
;
7538 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7541 PyObject
* obj0
= 0 ;
7542 PyObject
* obj1
= 0 ;
7544 (char *) "self",(char *) "logicalAttachment", NULL
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_LogicalToPhysicalAttachment",kwnames
,&obj0
,&obj1
)) goto fail
;
7548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7550 arg2
= (int) SWIG_AsInt(obj1
);
7551 if (PyErr_Occurred()) SWIG_fail
;
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 result
= (int)(arg1
)->LogicalToPhysicalAttachment(arg2
);
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 resultobj
= SWIG_FromInt((int)result
);
7566 static PyObject
*_wrap_PyShape_Draggable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
;
7568 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7570 PyObject
* obj0
= 0 ;
7572 (char *) "self", NULL
7575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Draggable",kwnames
,&obj0
)) goto fail
;
7576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 result
= (bool)(arg1
)->Draggable();
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7594 static PyObject
*_wrap_PyShape_HasDescendant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7596 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7597 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7602 (char *) "self",(char *) "image", NULL
7605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_HasDescendant",kwnames
,&obj0
,&obj1
)) goto fail
;
7606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
7609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7612 result
= (bool)(arg1
)->HasDescendant(arg2
);
7614 wxPyEndAllowThreads(__tstate
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7626 static PyObject
*_wrap_PyShape_CreateNewCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
*resultobj
;
7628 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7629 bool arg2
= (bool) True
;
7630 bool arg3
= (bool) True
;
7632 PyObject
* obj0
= 0 ;
7633 PyObject
* obj1
= 0 ;
7634 PyObject
* obj2
= 0 ;
7636 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
7639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_CreateNewCopy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7643 arg2
= (bool) SWIG_AsBool(obj1
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7647 arg3
= (bool) SWIG_AsBool(obj2
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7652 result
= (wxPyShape
*)(arg1
)->CreateNewCopy(arg2
,arg3
);
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7658 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
7666 static PyObject
*_wrap_PyShape_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7667 PyObject
*resultobj
;
7668 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7669 wxPyShape
*arg2
= 0 ;
7670 PyObject
* obj0
= 0 ;
7671 PyObject
* obj1
= 0 ;
7673 (char *) "self",(char *) "copy", NULL
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
7677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
7680 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7683 PyErr_SetString(PyExc_TypeError
,"null reference");
7687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7688 (arg1
)->Copy(*arg2
);
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7693 Py_INCREF(Py_None
); resultobj
= Py_None
;
7700 static PyObject
*_wrap_PyShape_CopyWithHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
*resultobj
;
7702 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7703 wxPyShape
*arg2
= 0 ;
7704 PyObject
* obj0
= 0 ;
7705 PyObject
* obj1
= 0 ;
7707 (char *) "self",(char *) "copy", NULL
7710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_CopyWithHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
7711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
7714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7717 PyErr_SetString(PyExc_TypeError
,"null reference");
7721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7722 (arg1
)->CopyWithHandler(*arg2
);
7724 wxPyEndAllowThreads(__tstate
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7727 Py_INCREF(Py_None
); resultobj
= Py_None
;
7734 static PyObject
*_wrap_PyShape_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
*resultobj
;
7736 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7740 PyObject
* obj0
= 0 ;
7741 PyObject
* obj1
= 0 ;
7742 PyObject
* obj2
= 0 ;
7743 PyObject
* obj3
= 0 ;
7745 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShape_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7751 arg2
= (double) SWIG_AsDouble(obj1
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7753 arg3
= (double) SWIG_AsDouble(obj2
);
7754 if (PyErr_Occurred()) SWIG_fail
;
7755 arg4
= (double) SWIG_AsDouble(obj3
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7759 (arg1
)->Rotate(arg2
,arg3
,arg4
);
7761 wxPyEndAllowThreads(__tstate
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7764 Py_INCREF(Py_None
); resultobj
= Py_None
;
7771 static PyObject
*_wrap_PyShape_GetRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
*resultobj
;
7773 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7775 PyObject
* obj0
= 0 ;
7777 (char *) "self", NULL
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRotation",kwnames
,&obj0
)) goto fail
;
7781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 result
= (double)(arg1
)->GetRotation();
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7790 resultobj
= SWIG_FromDouble((double)result
);
7797 static PyObject
*_wrap_PyShape_SetRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
*resultobj
;
7799 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7801 PyObject
* obj0
= 0 ;
7802 PyObject
* obj1
= 0 ;
7804 (char *) "self",(char *) "rotation", NULL
7807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetRotation",kwnames
,&obj0
,&obj1
)) goto fail
;
7808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7810 arg2
= (double) SWIG_AsDouble(obj1
);
7811 if (PyErr_Occurred()) SWIG_fail
;
7813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7814 (arg1
)->SetRotation(arg2
);
7816 wxPyEndAllowThreads(__tstate
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7819 Py_INCREF(Py_None
); resultobj
= Py_None
;
7826 static PyObject
*_wrap_PyShape_ClearAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7827 PyObject
*resultobj
;
7828 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7829 PyObject
* obj0
= 0 ;
7831 (char *) "self", NULL
7834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearAttachments",kwnames
,&obj0
)) goto fail
;
7835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7839 (arg1
)->ClearAttachments();
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7844 Py_INCREF(Py_None
); resultobj
= Py_None
;
7851 static PyObject
*_wrap_PyShape_Recentre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
*resultobj
;
7853 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7855 PyObject
* obj0
= 0 ;
7856 PyObject
* obj1
= 0 ;
7858 (char *) "self",(char *) "dc", NULL
7861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Recentre",kwnames
,&obj0
,&obj1
)) goto fail
;
7862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7864 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7865 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7868 PyErr_SetString(PyExc_TypeError
,"null reference");
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 (arg1
)->Recentre(*arg2
);
7875 wxPyEndAllowThreads(__tstate
);
7876 if (PyErr_Occurred()) SWIG_fail
;
7878 Py_INCREF(Py_None
); resultobj
= Py_None
;
7885 static PyObject
*_wrap_PyShape_ClearPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7886 PyObject
*resultobj
;
7887 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7889 PyObject
* obj0
= 0 ;
7890 PyObject
* obj1
= 0 ;
7892 (char *) "self",(char *) "list", NULL
7895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ClearPointList",kwnames
,&obj0
,&obj1
)) goto fail
;
7896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxList
,
7899 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7902 PyErr_SetString(PyExc_TypeError
,"null reference");
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 (arg1
)->ClearPointList(*arg2
);
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7912 Py_INCREF(Py_None
); resultobj
= Py_None
;
7919 static PyObject
*_wrap_PyShape_GetBackgroundPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7920 PyObject
*resultobj
;
7921 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7923 PyObject
* obj0
= 0 ;
7925 (char *) "self", NULL
7928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundPen",kwnames
,&obj0
)) goto fail
;
7929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7933 result
= (arg1
)->GetBackgroundPen();
7935 wxPyEndAllowThreads(__tstate
);
7936 if (PyErr_Occurred()) SWIG_fail
;
7940 resultptr
= new wxPen((wxPen
&) result
);
7941 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPen
, 1);
7949 static PyObject
*_wrap_PyShape_GetBackgroundBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
*resultobj
;
7951 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7953 PyObject
* obj0
= 0 ;
7955 (char *) "self", NULL
7958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundBrush",kwnames
,&obj0
)) goto fail
;
7959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 result
= (arg1
)->GetBackgroundBrush();
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7969 wxBrush
* resultptr
;
7970 resultptr
= new wxBrush((wxBrush
&) result
);
7971 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
7979 static PyObject
*_wrap_PyShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
*resultobj
;
7981 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7982 PyObject
* obj0
= 0 ;
7984 (char *) "self", NULL
7987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
7988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7992 (arg1
)->base_OnDelete();
7994 wxPyEndAllowThreads(__tstate
);
7995 if (PyErr_Occurred()) SWIG_fail
;
7997 Py_INCREF(Py_None
); resultobj
= Py_None
;
8004 static PyObject
*_wrap_PyShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8005 PyObject
*resultobj
;
8006 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8008 PyObject
* obj0
= 0 ;
8009 PyObject
* obj1
= 0 ;
8011 (char *) "self",(char *) "dc", NULL
8014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
8015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8018 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8021 PyErr_SetString(PyExc_TypeError
,"null reference");
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 (arg1
)->base_OnDraw(*arg2
);
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8031 Py_INCREF(Py_None
); resultobj
= Py_None
;
8038 static PyObject
*_wrap_PyShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8039 PyObject
*resultobj
;
8040 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8042 PyObject
* obj0
= 0 ;
8043 PyObject
* obj1
= 0 ;
8045 (char *) "self",(char *) "dc", NULL
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
8049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8052 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8055 PyErr_SetString(PyExc_TypeError
,"null reference");
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 (arg1
)->base_OnDrawContents(*arg2
);
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 Py_INCREF(Py_None
); resultobj
= Py_None
;
8072 static PyObject
*_wrap_PyShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8076 bool arg3
= (bool) False
;
8077 PyObject
* obj0
= 0 ;
8078 PyObject
* obj1
= 0 ;
8079 PyObject
* obj2
= 0 ;
8081 (char *) "self",(char *) "dc",(char *) "erase", NULL
8084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8088 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8091 PyErr_SetString(PyExc_TypeError
,"null reference");
8095 arg3
= (bool) SWIG_AsBool(obj2
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8105 Py_INCREF(Py_None
); resultobj
= Py_None
;
8112 static PyObject
*_wrap_PyShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
*resultobj
;
8114 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8116 PyObject
* obj0
= 0 ;
8117 PyObject
* obj1
= 0 ;
8119 (char *) "self",(char *) "dc", NULL
8122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
8123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8126 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8129 PyErr_SetString(PyExc_TypeError
,"null reference");
8133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8134 (arg1
)->base_OnMoveLinks(*arg2
);
8136 wxPyEndAllowThreads(__tstate
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8139 Py_INCREF(Py_None
); resultobj
= Py_None
;
8146 static PyObject
*_wrap_PyShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
*resultobj
;
8148 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8150 PyObject
* obj0
= 0 ;
8151 PyObject
* obj1
= 0 ;
8153 (char *) "self",(char *) "dc", NULL
8156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
8157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8159 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8160 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8163 PyErr_SetString(PyExc_TypeError
,"null reference");
8167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8168 (arg1
)->base_OnErase(*arg2
);
8170 wxPyEndAllowThreads(__tstate
);
8171 if (PyErr_Occurred()) SWIG_fail
;
8173 Py_INCREF(Py_None
); resultobj
= Py_None
;
8180 static PyObject
*_wrap_PyShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8181 PyObject
*resultobj
;
8182 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8184 PyObject
* obj0
= 0 ;
8185 PyObject
* obj1
= 0 ;
8187 (char *) "self",(char *) "dc", NULL
8190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
8191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8194 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8197 PyErr_SetString(PyExc_TypeError
,"null reference");
8201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8202 (arg1
)->base_OnEraseContents(*arg2
);
8204 wxPyEndAllowThreads(__tstate
);
8205 if (PyErr_Occurred()) SWIG_fail
;
8207 Py_INCREF(Py_None
); resultobj
= Py_None
;
8214 static PyObject
*_wrap_PyShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8215 PyObject
*resultobj
;
8216 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8218 PyObject
* obj0
= 0 ;
8219 PyObject
* obj1
= 0 ;
8221 (char *) "self",(char *) "dc", NULL
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
8225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8228 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8231 PyErr_SetString(PyExc_TypeError
,"null reference");
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 (arg1
)->base_OnHighlight(*arg2
);
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8241 Py_INCREF(Py_None
); resultobj
= Py_None
;
8248 static PyObject
*_wrap_PyShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
;
8250 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8253 int arg4
= (int) 0 ;
8254 int arg5
= (int) 0 ;
8255 PyObject
* obj0
= 0 ;
8256 PyObject
* obj1
= 0 ;
8257 PyObject
* obj2
= 0 ;
8258 PyObject
* obj3
= 0 ;
8259 PyObject
* obj4
= 0 ;
8261 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8267 arg2
= (double) SWIG_AsDouble(obj1
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8269 arg3
= (double) SWIG_AsDouble(obj2
);
8270 if (PyErr_Occurred()) SWIG_fail
;
8272 arg4
= (int) SWIG_AsInt(obj3
);
8273 if (PyErr_Occurred()) SWIG_fail
;
8276 arg5
= (int) SWIG_AsInt(obj4
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8286 Py_INCREF(Py_None
); resultobj
= Py_None
;
8293 static PyObject
*_wrap_PyShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
*resultobj
;
8295 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8298 int arg4
= (int) 0 ;
8299 int arg5
= (int) 0 ;
8300 PyObject
* obj0
= 0 ;
8301 PyObject
* obj1
= 0 ;
8302 PyObject
* obj2
= 0 ;
8303 PyObject
* obj3
= 0 ;
8304 PyObject
* obj4
= 0 ;
8306 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8312 arg2
= (double) SWIG_AsDouble(obj1
);
8313 if (PyErr_Occurred()) SWIG_fail
;
8314 arg3
= (double) SWIG_AsDouble(obj2
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8317 arg4
= (int) SWIG_AsInt(obj3
);
8318 if (PyErr_Occurred()) SWIG_fail
;
8321 arg5
= (int) SWIG_AsInt(obj4
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8326 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8331 Py_INCREF(Py_None
); resultobj
= Py_None
;
8338 static PyObject
*_wrap_PyShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8339 PyObject
*resultobj
;
8340 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8343 int arg4
= (int) 0 ;
8344 int arg5
= (int) 0 ;
8345 PyObject
* obj0
= 0 ;
8346 PyObject
* obj1
= 0 ;
8347 PyObject
* obj2
= 0 ;
8348 PyObject
* obj3
= 0 ;
8349 PyObject
* obj4
= 0 ;
8351 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8357 arg2
= (double) SWIG_AsDouble(obj1
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8359 arg3
= (double) SWIG_AsDouble(obj2
);
8360 if (PyErr_Occurred()) SWIG_fail
;
8362 arg4
= (int) SWIG_AsInt(obj3
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8366 arg5
= (int) SWIG_AsInt(obj4
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8371 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
8373 wxPyEndAllowThreads(__tstate
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8376 Py_INCREF(Py_None
); resultobj
= Py_None
;
8383 static PyObject
*_wrap_PyShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
*resultobj
;
8385 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8388 PyObject
* obj0
= 0 ;
8389 PyObject
* obj1
= 0 ;
8390 PyObject
* obj2
= 0 ;
8392 (char *) "self",(char *) "x",(char *) "y", NULL
8395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8398 arg2
= (double) SWIG_AsDouble(obj1
);
8399 if (PyErr_Occurred()) SWIG_fail
;
8400 arg3
= (double) SWIG_AsDouble(obj2
);
8401 if (PyErr_Occurred()) SWIG_fail
;
8403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8404 (arg1
)->base_OnSize(arg2
,arg3
);
8406 wxPyEndAllowThreads(__tstate
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 Py_INCREF(Py_None
); resultobj
= Py_None
;
8416 static PyObject
*_wrap_PyShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8417 PyObject
*resultobj
;
8418 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8424 bool arg7
= (bool) True
;
8426 PyObject
* obj0
= 0 ;
8427 PyObject
* obj1
= 0 ;
8428 PyObject
* obj2
= 0 ;
8429 PyObject
* obj3
= 0 ;
8430 PyObject
* obj4
= 0 ;
8431 PyObject
* obj5
= 0 ;
8432 PyObject
* obj6
= 0 ;
8434 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8441 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8444 PyErr_SetString(PyExc_TypeError
,"null reference");
8447 arg3
= (double) SWIG_AsDouble(obj2
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8449 arg4
= (double) SWIG_AsDouble(obj3
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8451 arg5
= (double) SWIG_AsDouble(obj4
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8453 arg6
= (double) SWIG_AsDouble(obj5
);
8454 if (PyErr_Occurred()) SWIG_fail
;
8456 arg7
= (bool) SWIG_AsBool(obj6
);
8457 if (PyErr_Occurred()) SWIG_fail
;
8460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8461 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8463 wxPyEndAllowThreads(__tstate
);
8464 if (PyErr_Occurred()) SWIG_fail
;
8467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8475 static PyObject
*_wrap_PyShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8476 PyObject
*resultobj
;
8477 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8483 bool arg7
= (bool) True
;
8484 PyObject
* obj0
= 0 ;
8485 PyObject
* obj1
= 0 ;
8486 PyObject
* obj2
= 0 ;
8487 PyObject
* obj3
= 0 ;
8488 PyObject
* obj4
= 0 ;
8489 PyObject
* obj5
= 0 ;
8490 PyObject
* obj6
= 0 ;
8492 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8499 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8502 PyErr_SetString(PyExc_TypeError
,"null reference");
8505 arg3
= (double) SWIG_AsDouble(obj2
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8507 arg4
= (double) SWIG_AsDouble(obj3
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8509 arg5
= (double) SWIG_AsDouble(obj4
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8511 arg6
= (double) SWIG_AsDouble(obj5
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 arg7
= (bool) SWIG_AsBool(obj6
);
8515 if (PyErr_Occurred()) SWIG_fail
;
8518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8519 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8521 wxPyEndAllowThreads(__tstate
);
8522 if (PyErr_Occurred()) SWIG_fail
;
8524 Py_INCREF(Py_None
); resultobj
= Py_None
;
8531 static PyObject
*_wrap_PyShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8532 PyObject
*resultobj
;
8533 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8537 int arg5
= (int) 0 ;
8538 int arg6
= (int) 0 ;
8539 PyObject
* obj0
= 0 ;
8540 PyObject
* obj1
= 0 ;
8541 PyObject
* obj2
= 0 ;
8542 PyObject
* obj3
= 0 ;
8543 PyObject
* obj4
= 0 ;
8544 PyObject
* obj5
= 0 ;
8546 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8552 arg2
= (bool) SWIG_AsBool(obj1
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8554 arg3
= (double) SWIG_AsDouble(obj2
);
8555 if (PyErr_Occurred()) SWIG_fail
;
8556 arg4
= (double) SWIG_AsDouble(obj3
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8559 arg5
= (int) SWIG_AsInt(obj4
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8563 arg6
= (int) SWIG_AsInt(obj5
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8568 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
8570 wxPyEndAllowThreads(__tstate
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8573 Py_INCREF(Py_None
); resultobj
= Py_None
;
8580 static PyObject
*_wrap_PyShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
*resultobj
;
8582 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8585 int arg4
= (int) 0 ;
8586 int arg5
= (int) 0 ;
8587 PyObject
* obj0
= 0 ;
8588 PyObject
* obj1
= 0 ;
8589 PyObject
* obj2
= 0 ;
8590 PyObject
* obj3
= 0 ;
8591 PyObject
* obj4
= 0 ;
8593 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8599 arg2
= (double) SWIG_AsDouble(obj1
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8601 arg3
= (double) SWIG_AsDouble(obj2
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8604 arg4
= (int) SWIG_AsInt(obj3
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8608 arg5
= (int) SWIG_AsInt(obj4
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8618 Py_INCREF(Py_None
); resultobj
= Py_None
;
8625 static PyObject
*_wrap_PyShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8626 PyObject
*resultobj
;
8627 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8630 int arg4
= (int) 0 ;
8631 int arg5
= (int) 0 ;
8632 PyObject
* obj0
= 0 ;
8633 PyObject
* obj1
= 0 ;
8634 PyObject
* obj2
= 0 ;
8635 PyObject
* obj3
= 0 ;
8636 PyObject
* obj4
= 0 ;
8638 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8644 arg2
= (double) SWIG_AsDouble(obj1
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8646 arg3
= (double) SWIG_AsDouble(obj2
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8649 arg4
= (int) SWIG_AsInt(obj3
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8653 arg5
= (int) SWIG_AsInt(obj4
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8658 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
8660 wxPyEndAllowThreads(__tstate
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8663 Py_INCREF(Py_None
); resultobj
= Py_None
;
8670 static PyObject
*_wrap_PyShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8671 PyObject
*resultobj
;
8672 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8676 int arg5
= (int) 0 ;
8677 int arg6
= (int) 0 ;
8678 PyObject
* obj0
= 0 ;
8679 PyObject
* obj1
= 0 ;
8680 PyObject
* obj2
= 0 ;
8681 PyObject
* obj3
= 0 ;
8682 PyObject
* obj4
= 0 ;
8683 PyObject
* obj5
= 0 ;
8685 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8691 arg2
= (bool) SWIG_AsBool(obj1
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8693 arg3
= (double) SWIG_AsDouble(obj2
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8695 arg4
= (double) SWIG_AsDouble(obj3
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8698 arg5
= (int) SWIG_AsInt(obj4
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8702 arg6
= (int) SWIG_AsInt(obj5
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
8709 wxPyEndAllowThreads(__tstate
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8712 Py_INCREF(Py_None
); resultobj
= Py_None
;
8719 static PyObject
*_wrap_PyShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8720 PyObject
*resultobj
;
8721 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8724 int arg4
= (int) 0 ;
8725 int arg5
= (int) 0 ;
8726 PyObject
* obj0
= 0 ;
8727 PyObject
* obj1
= 0 ;
8728 PyObject
* obj2
= 0 ;
8729 PyObject
* obj3
= 0 ;
8730 PyObject
* obj4
= 0 ;
8732 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8738 arg2
= (double) SWIG_AsDouble(obj1
);
8739 if (PyErr_Occurred()) SWIG_fail
;
8740 arg3
= (double) SWIG_AsDouble(obj2
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 arg4
= (int) SWIG_AsInt(obj3
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8747 arg5
= (int) SWIG_AsInt(obj4
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8757 Py_INCREF(Py_None
); resultobj
= Py_None
;
8764 static PyObject
*_wrap_PyShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
*resultobj
;
8766 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8769 int arg4
= (int) 0 ;
8770 int arg5
= (int) 0 ;
8771 PyObject
* obj0
= 0 ;
8772 PyObject
* obj1
= 0 ;
8773 PyObject
* obj2
= 0 ;
8774 PyObject
* obj3
= 0 ;
8775 PyObject
* obj4
= 0 ;
8777 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8783 arg2
= (double) SWIG_AsDouble(obj1
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8785 arg3
= (double) SWIG_AsDouble(obj2
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8788 arg4
= (int) SWIG_AsInt(obj3
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8792 arg5
= (int) SWIG_AsInt(obj4
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8797 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
8799 wxPyEndAllowThreads(__tstate
);
8800 if (PyErr_Occurred()) SWIG_fail
;
8802 Py_INCREF(Py_None
); resultobj
= Py_None
;
8809 static PyObject
*_wrap_PyShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8810 PyObject
*resultobj
;
8811 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8817 PyObject
* obj0
= 0 ;
8818 PyObject
* obj1
= 0 ;
8819 PyObject
* obj2
= 0 ;
8820 PyObject
* obj3
= 0 ;
8821 PyObject
* obj4
= 0 ;
8822 PyObject
* obj5
= 0 ;
8824 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8831 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8834 PyErr_SetString(PyExc_TypeError
,"null reference");
8837 arg3
= (double) SWIG_AsDouble(obj2
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8839 arg4
= (double) SWIG_AsDouble(obj3
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8841 arg5
= (double) SWIG_AsDouble(obj4
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8843 arg6
= (double) SWIG_AsDouble(obj5
);
8844 if (PyErr_Occurred()) SWIG_fail
;
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8852 Py_INCREF(Py_None
); resultobj
= Py_None
;
8859 static PyObject
*_wrap_PyShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8860 PyObject
*resultobj
;
8861 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8863 PyObject
* obj0
= 0 ;
8864 PyObject
* obj1
= 0 ;
8866 (char *) "self",(char *) "dc", NULL
8869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
8870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8873 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8876 PyErr_SetString(PyExc_TypeError
,"null reference");
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 (arg1
)->base_OnDrawControlPoints(*arg2
);
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8886 Py_INCREF(Py_None
); resultobj
= Py_None
;
8893 static PyObject
*_wrap_PyShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
;
8895 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8897 PyObject
* obj0
= 0 ;
8898 PyObject
* obj1
= 0 ;
8900 (char *) "self",(char *) "dc", NULL
8903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
8904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8906 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8907 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8910 PyErr_SetString(PyExc_TypeError
,"null reference");
8914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8915 (arg1
)->base_OnEraseControlPoints(*arg2
);
8917 wxPyEndAllowThreads(__tstate
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8920 Py_INCREF(Py_None
); resultobj
= Py_None
;
8927 static PyObject
*_wrap_PyShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8928 PyObject
*resultobj
;
8929 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8931 bool arg3
= (bool) True
;
8932 PyObject
* obj0
= 0 ;
8933 PyObject
* obj1
= 0 ;
8934 PyObject
* obj2
= 0 ;
8936 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
8939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8943 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8946 PyErr_SetString(PyExc_TypeError
,"null reference");
8950 arg3
= (bool) SWIG_AsBool(obj2
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8955 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 Py_INCREF(Py_None
); resultobj
= Py_None
;
8967 static PyObject
*_wrap_PyShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8968 PyObject
*resultobj
;
8969 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8970 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
8974 int arg6
= (int) 0 ;
8975 int arg7
= (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 ;
8982 PyObject
* obj6
= 0 ;
8984 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
8991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8992 arg3
= (bool) SWIG_AsBool(obj2
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8994 arg4
= (double) SWIG_AsDouble(obj3
);
8995 if (PyErr_Occurred()) SWIG_fail
;
8996 arg5
= (double) SWIG_AsDouble(obj4
);
8997 if (PyErr_Occurred()) SWIG_fail
;
8999 arg6
= (int) SWIG_AsInt(obj5
);
9000 if (PyErr_Occurred()) SWIG_fail
;
9003 arg7
= (int) SWIG_AsInt(obj6
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9013 Py_INCREF(Py_None
); resultobj
= Py_None
;
9020 static PyObject
*_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9021 PyObject
*resultobj
;
9022 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9023 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9026 int arg5
= (int) 0 ;
9027 int arg6
= (int) 0 ;
9028 PyObject
* obj0
= 0 ;
9029 PyObject
* obj1
= 0 ;
9030 PyObject
* obj2
= 0 ;
9031 PyObject
* obj3
= 0 ;
9032 PyObject
* obj4
= 0 ;
9033 PyObject
* obj5
= 0 ;
9035 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
9042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9043 arg3
= (double) SWIG_AsDouble(obj2
);
9044 if (PyErr_Occurred()) SWIG_fail
;
9045 arg4
= (double) SWIG_AsDouble(obj3
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9048 arg5
= (int) SWIG_AsInt(obj4
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9052 arg6
= (int) SWIG_AsInt(obj5
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9062 Py_INCREF(Py_None
); resultobj
= Py_None
;
9069 static PyObject
*_wrap_PyShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
*resultobj
;
9071 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9072 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9075 int arg5
= (int) 0 ;
9076 int arg6
= (int) 0 ;
9077 PyObject
* obj0
= 0 ;
9078 PyObject
* obj1
= 0 ;
9079 PyObject
* obj2
= 0 ;
9080 PyObject
* obj3
= 0 ;
9081 PyObject
* obj4
= 0 ;
9082 PyObject
* obj5
= 0 ;
9084 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
9091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9092 arg3
= (double) SWIG_AsDouble(obj2
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9094 arg4
= (double) SWIG_AsDouble(obj3
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9097 arg5
= (int) SWIG_AsInt(obj4
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9101 arg6
= (int) SWIG_AsInt(obj5
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9106 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9108 wxPyEndAllowThreads(__tstate
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9111 Py_INCREF(Py_None
); resultobj
= Py_None
;
9118 static PyObject
*_wrap_PyShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9119 PyObject
*resultobj
;
9120 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9123 PyObject
* obj0
= 0 ;
9124 PyObject
* obj1
= 0 ;
9125 PyObject
* obj2
= 0 ;
9127 (char *) "self",(char *) "w",(char *) "h", NULL
9130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9133 arg2
= (double) SWIG_AsDouble(obj1
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9135 arg3
= (double) SWIG_AsDouble(obj2
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 (arg1
)->base_OnBeginSize(arg2
,arg3
);
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 Py_INCREF(Py_None
); resultobj
= Py_None
;
9151 static PyObject
*_wrap_PyShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
*resultobj
;
9153 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9156 PyObject
* obj0
= 0 ;
9157 PyObject
* obj1
= 0 ;
9158 PyObject
* obj2
= 0 ;
9160 (char *) "self",(char *) "w",(char *) "h", NULL
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9166 arg2
= (double) SWIG_AsDouble(obj1
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9168 arg3
= (double) SWIG_AsDouble(obj2
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 (arg1
)->base_OnEndSize(arg2
,arg3
);
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9177 Py_INCREF(Py_None
); resultobj
= Py_None
;
9184 static PyObject
* PyShape_swigregister(PyObject
*, PyObject
*args
) {
9186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9187 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape
, obj
);
9189 return Py_BuildValue((char *)"");
9191 static PyObject
*_wrap_new_PseudoMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9192 PyObject
*resultobj
;
9193 wxPseudoMetaFile
*result
;
9198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PseudoMetaFile",kwnames
)) goto fail
;
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 result
= (wxPseudoMetaFile
*)new wxPseudoMetaFile();
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9207 resultobj
= wxPyMake_wxObject(result
);
9215 static PyObject
*_wrap_delete_PseudoMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
*resultobj
;
9217 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9218 PyObject
* obj0
= 0 ;
9220 (char *) "self", NULL
9223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PseudoMetaFile",kwnames
,&obj0
)) goto fail
;
9224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9230 wxPyEndAllowThreads(__tstate
);
9231 if (PyErr_Occurred()) SWIG_fail
;
9233 Py_INCREF(Py_None
); resultobj
= Py_None
;
9240 static PyObject
*_wrap_PseudoMetaFile_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
*resultobj
;
9242 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9246 PyObject
* obj0
= 0 ;
9247 PyObject
* obj1
= 0 ;
9248 PyObject
* obj2
= 0 ;
9249 PyObject
* obj3
= 0 ;
9251 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
9258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9261 PyErr_SetString(PyExc_TypeError
,"null reference");
9264 arg3
= (double) SWIG_AsDouble(obj2
);
9265 if (PyErr_Occurred()) SWIG_fail
;
9266 arg4
= (double) SWIG_AsDouble(obj3
);
9267 if (PyErr_Occurred()) SWIG_fail
;
9269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 (arg1
)->Draw(*arg2
,arg3
,arg4
);
9272 wxPyEndAllowThreads(__tstate
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9275 Py_INCREF(Py_None
); resultobj
= Py_None
;
9282 static PyObject
*_wrap_PseudoMetaFile_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9283 PyObject
*resultobj
;
9284 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9285 PyObject
* obj0
= 0 ;
9287 (char *) "self", NULL
9290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_Clear",kwnames
,&obj0
)) goto fail
;
9291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9300 Py_INCREF(Py_None
); resultobj
= Py_None
;
9307 static PyObject
*_wrap_PseudoMetaFile_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
*resultobj
;
9309 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9310 wxPseudoMetaFile
*arg2
= 0 ;
9311 PyObject
* obj0
= 0 ;
9312 PyObject
* obj1
= 0 ;
9314 (char *) "self",(char *) "copy", NULL
9317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
9318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPseudoMetaFile
,
9321 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9324 PyErr_SetString(PyExc_TypeError
,"null reference");
9328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9329 (arg1
)->Copy(*arg2
);
9331 wxPyEndAllowThreads(__tstate
);
9332 if (PyErr_Occurred()) SWIG_fail
;
9334 Py_INCREF(Py_None
); resultobj
= Py_None
;
9341 static PyObject
*_wrap_PseudoMetaFile_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9342 PyObject
*resultobj
;
9343 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9346 PyObject
* obj0
= 0 ;
9347 PyObject
* obj1
= 0 ;
9348 PyObject
* obj2
= 0 ;
9350 (char *) "self",(char *) "sx",(char *) "sy", NULL
9353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9356 arg2
= (double) SWIG_AsDouble(obj1
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9358 arg3
= (double) SWIG_AsDouble(obj2
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 (arg1
)->Scale(arg2
,arg3
);
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9367 Py_INCREF(Py_None
); resultobj
= Py_None
;
9374 static PyObject
*_wrap_PseudoMetaFile_ScaleTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
*resultobj
;
9376 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9379 PyObject
* obj0
= 0 ;
9380 PyObject
* obj1
= 0 ;
9381 PyObject
* obj2
= 0 ;
9383 (char *) "self",(char *) "w",(char *) "h", NULL
9386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_ScaleTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9389 arg2
= (double) SWIG_AsDouble(obj1
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9391 arg3
= (double) SWIG_AsDouble(obj2
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 (arg1
)->ScaleTo(arg2
,arg3
);
9397 wxPyEndAllowThreads(__tstate
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9400 Py_INCREF(Py_None
); resultobj
= Py_None
;
9407 static PyObject
*_wrap_PseudoMetaFile_Translate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9408 PyObject
*resultobj
;
9409 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9412 PyObject
* obj0
= 0 ;
9413 PyObject
* obj1
= 0 ;
9414 PyObject
* obj2
= 0 ;
9416 (char *) "self",(char *) "x",(char *) "y", NULL
9419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9422 arg2
= (double) SWIG_AsDouble(obj1
);
9423 if (PyErr_Occurred()) SWIG_fail
;
9424 arg3
= (double) SWIG_AsDouble(obj2
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9428 (arg1
)->Translate(arg2
,arg3
);
9430 wxPyEndAllowThreads(__tstate
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9433 Py_INCREF(Py_None
); resultobj
= Py_None
;
9440 static PyObject
*_wrap_PseudoMetaFile_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9441 PyObject
*resultobj
;
9442 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9446 PyObject
* obj0
= 0 ;
9447 PyObject
* obj1
= 0 ;
9448 PyObject
* obj2
= 0 ;
9449 PyObject
* obj3
= 0 ;
9451 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
9454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9457 arg2
= (double) SWIG_AsDouble(obj1
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9459 arg3
= (double) SWIG_AsDouble(obj2
);
9460 if (PyErr_Occurred()) SWIG_fail
;
9461 arg4
= (double) SWIG_AsDouble(obj3
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9465 (arg1
)->Rotate(arg2
,arg3
,arg4
);
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9470 Py_INCREF(Py_None
); resultobj
= Py_None
;
9477 static PyObject
*_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
*resultobj
;
9479 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9480 wxString
*arg2
= 0 ;
9481 double *arg3
= (double *) 0 ;
9482 double *arg4
= (double *) 0 ;
9484 bool temp2
= False
;
9485 PyObject
* obj0
= 0 ;
9486 PyObject
* obj1
= 0 ;
9487 PyObject
* obj2
= 0 ;
9488 PyObject
* obj3
= 0 ;
9490 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
9493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9497 arg2
= wxString_in_helper(obj1
);
9498 if (arg2
== NULL
) SWIG_fail
;
9501 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_double
,
9502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9503 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_double
,
9504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
,arg3
,arg4
);
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9529 static PyObject
*_wrap_PseudoMetaFile_GetBounds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
;
9531 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9532 double *arg2
= (double *) 0 ;
9533 double *arg3
= (double *) 0 ;
9534 double *arg4
= (double *) 0 ;
9535 double *arg5
= (double *) 0 ;
9536 PyObject
* obj0
= 0 ;
9537 PyObject
* obj1
= 0 ;
9538 PyObject
* obj2
= 0 ;
9539 PyObject
* obj3
= 0 ;
9540 PyObject
* obj4
= 0 ;
9542 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_double
,
9549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9550 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_double
,
9551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9552 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_double
,
9553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9554 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_double
,
9555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9558 (arg1
)->GetBounds(arg2
,arg3
,arg4
,arg5
);
9560 wxPyEndAllowThreads(__tstate
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9563 Py_INCREF(Py_None
); resultobj
= Py_None
;
9570 static PyObject
*_wrap_PseudoMetaFile_CalculateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9571 PyObject
*resultobj
;
9572 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9573 wxPyDrawnShape
*arg2
= (wxPyDrawnShape
*) 0 ;
9574 PyObject
* obj0
= 0 ;
9575 PyObject
* obj1
= 0 ;
9577 (char *) "self",(char *) "shape", NULL
9580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDrawnShape
,
9584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9587 (arg1
)->CalculateSize(arg2
);
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) SWIG_fail
;
9592 Py_INCREF(Py_None
); resultobj
= Py_None
;
9599 static PyObject
*_wrap_PseudoMetaFile_SetRotateable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9600 PyObject
*resultobj
;
9601 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9603 PyObject
* obj0
= 0 ;
9604 PyObject
* obj1
= 0 ;
9606 (char *) "self",(char *) "rot", NULL
9609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames
,&obj0
,&obj1
)) goto fail
;
9610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9612 arg2
= (bool) SWIG_AsBool(obj1
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 (arg1
)->SetRotateable(arg2
);
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9621 Py_INCREF(Py_None
); resultobj
= Py_None
;
9628 static PyObject
*_wrap_PseudoMetaFile_GetRotateable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9629 PyObject
*resultobj
;
9630 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9632 PyObject
* obj0
= 0 ;
9634 (char *) "self", NULL
9637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetRotateable",kwnames
,&obj0
)) goto fail
;
9638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 result
= (bool)(arg1
)->GetRotateable();
9644 wxPyEndAllowThreads(__tstate
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9656 static PyObject
*_wrap_PseudoMetaFile_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9657 PyObject
*resultobj
;
9658 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9661 PyObject
* obj0
= 0 ;
9662 PyObject
* obj1
= 0 ;
9663 PyObject
* obj2
= 0 ;
9665 (char *) "self",(char *) "w",(char *) "h", NULL
9668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9671 arg2
= (double) SWIG_AsDouble(obj1
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9673 arg3
= (double) SWIG_AsDouble(obj2
);
9674 if (PyErr_Occurred()) SWIG_fail
;
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 (arg1
)->SetSize(arg2
,arg3
);
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9682 Py_INCREF(Py_None
); resultobj
= Py_None
;
9689 static PyObject
*_wrap_PseudoMetaFile_SetFillBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9690 PyObject
*resultobj
;
9691 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9692 wxBrush
*arg2
= (wxBrush
*) 0 ;
9693 PyObject
* obj0
= 0 ;
9694 PyObject
* obj1
= 0 ;
9696 (char *) "self",(char *) "brush", NULL
9699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
9700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9705 if (obj1
== Py_None
) {
9708 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
9709 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
9714 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
9719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9720 (arg1
)->SetFillBrush(arg2
);
9722 wxPyEndAllowThreads(__tstate
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9725 Py_INCREF(Py_None
); resultobj
= Py_None
;
9732 static PyObject
*_wrap_PseudoMetaFile_GetFillBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
;
9734 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9736 PyObject
* obj0
= 0 ;
9738 (char *) "self", NULL
9741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames
,&obj0
)) goto fail
;
9742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9746 result
= (wxBrush
*)(arg1
)->GetFillBrush();
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
9758 static PyObject
*_wrap_PseudoMetaFile_SetOutlinePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9759 PyObject
*resultobj
;
9760 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9761 wxPen
*arg2
= (wxPen
*) 0 ;
9762 PyObject
* obj0
= 0 ;
9763 PyObject
* obj1
= 0 ;
9765 (char *) "self",(char *) "pen", NULL
9768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames
,&obj0
,&obj1
)) goto fail
;
9769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9774 if (obj1
== Py_None
) {
9777 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
9778 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
9783 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 (arg1
)->SetOutlinePen(arg2
);
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9796 Py_INCREF(Py_None
); resultobj
= Py_None
;
9803 static PyObject
*_wrap_PseudoMetaFile_GetOutlinePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
;
9805 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9807 PyObject
* obj0
= 0 ;
9809 (char *) "self", NULL
9812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames
,&obj0
)) goto fail
;
9813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9817 result
= (wxPen
*)(arg1
)->GetOutlinePen();
9819 wxPyEndAllowThreads(__tstate
);
9820 if (PyErr_Occurred()) SWIG_fail
;
9822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
9829 static PyObject
*_wrap_PseudoMetaFile_SetOutlineOp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9830 PyObject
*resultobj
;
9831 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9833 PyObject
* obj0
= 0 ;
9834 PyObject
* obj1
= 0 ;
9836 (char *) "self",(char *) "op", NULL
9839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlineOp",kwnames
,&obj0
,&obj1
)) goto fail
;
9840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9842 arg2
= (int) SWIG_AsInt(obj1
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 (arg1
)->SetOutlineOp(arg2
);
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9851 Py_INCREF(Py_None
); resultobj
= Py_None
;
9858 static PyObject
*_wrap_PseudoMetaFile_GetOutlineOp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
*resultobj
;
9860 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9862 PyObject
* obj0
= 0 ;
9864 (char *) "self", NULL
9867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames
,&obj0
)) goto fail
;
9868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 result
= (int)(arg1
)->GetOutlineOp();
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= SWIG_FromInt((int)result
);
9884 static PyObject
*_wrap_PseudoMetaFile_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
*resultobj
;
9886 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9888 PyObject
* obj0
= 0 ;
9890 (char *) "self", NULL
9893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_IsValid",kwnames
,&obj0
)) goto fail
;
9894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 result
= (bool)(arg1
)->IsValid();
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9912 static PyObject
*_wrap_PseudoMetaFile_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9913 PyObject
*resultobj
;
9914 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9919 PyObject
* obj0
= 0 ;
9920 PyObject
* obj1
= 0 ;
9921 PyObject
* obj2
= 0 ;
9923 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9931 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9935 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9939 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
9941 wxPyEndAllowThreads(__tstate
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9944 Py_INCREF(Py_None
); resultobj
= Py_None
;
9951 static PyObject
*_wrap_PseudoMetaFile_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9952 PyObject
*resultobj
;
9953 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9956 PyObject
* obj0
= 0 ;
9957 PyObject
* obj1
= 0 ;
9959 (char *) "self",(char *) "rect", NULL
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
9963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9967 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9976 Py_INCREF(Py_None
); resultobj
= Py_None
;
9983 static PyObject
*_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
;
9985 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9989 PyObject
* obj0
= 0 ;
9990 PyObject
* obj1
= 0 ;
9991 PyObject
* obj2
= 0 ;
9993 (char *) "self",(char *) "rect",(char *) "radius", NULL
9996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10001 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10003 arg3
= (double) SWIG_AsDouble(obj2
);
10004 if (PyErr_Occurred()) SWIG_fail
;
10006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10007 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
10009 wxPyEndAllowThreads(__tstate
);
10010 if (PyErr_Occurred()) SWIG_fail
;
10012 Py_INCREF(Py_None
); resultobj
= Py_None
;
10019 static PyObject
*_wrap_PseudoMetaFile_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
;
10021 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10022 wxPoint
*arg2
= 0 ;
10023 wxPoint
*arg3
= 0 ;
10024 wxPoint
*arg4
= 0 ;
10028 PyObject
* obj0
= 0 ;
10029 PyObject
* obj1
= 0 ;
10030 PyObject
* obj2
= 0 ;
10031 PyObject
* obj3
= 0 ;
10032 char *kwnames
[] = {
10033 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
10036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10041 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10045 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10049 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10053 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10055 wxPyEndAllowThreads(__tstate
);
10056 if (PyErr_Occurred()) SWIG_fail
;
10058 Py_INCREF(Py_None
); resultobj
= Py_None
;
10065 static PyObject
*_wrap_PseudoMetaFile_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10066 PyObject
*resultobj
;
10067 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10072 PyObject
* obj0
= 0 ;
10073 PyObject
* obj1
= 0 ;
10074 PyObject
* obj2
= 0 ;
10075 PyObject
* obj3
= 0 ;
10076 char *kwnames
[] = {
10077 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
10080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10085 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10087 arg3
= (double) SWIG_AsDouble(obj2
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10089 arg4
= (double) SWIG_AsDouble(obj3
);
10090 if (PyErr_Occurred()) SWIG_fail
;
10092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10093 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
10095 wxPyEndAllowThreads(__tstate
);
10096 if (PyErr_Occurred()) SWIG_fail
;
10098 Py_INCREF(Py_None
); resultobj
= Py_None
;
10105 static PyObject
*_wrap_PseudoMetaFile_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
*resultobj
;
10107 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10110 PyObject
* obj0
= 0 ;
10111 PyObject
* obj1
= 0 ;
10112 char *kwnames
[] = {
10113 (char *) "self",(char *) "rect", NULL
10116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames
,&obj0
,&obj1
)) goto fail
;
10117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10121 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10125 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
10127 wxPyEndAllowThreads(__tstate
);
10128 if (PyErr_Occurred()) SWIG_fail
;
10130 Py_INCREF(Py_None
); resultobj
= Py_None
;
10137 static PyObject
*_wrap_PseudoMetaFile_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10138 PyObject
*resultobj
;
10139 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10140 wxPoint
*arg2
= 0 ;
10142 PyObject
* obj0
= 0 ;
10143 PyObject
* obj1
= 0 ;
10144 char *kwnames
[] = {
10145 (char *) "self",(char *) "pt", NULL
10148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10153 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10162 Py_INCREF(Py_None
); resultobj
= Py_None
;
10169 static PyObject
*_wrap_PseudoMetaFile_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10170 PyObject
*resultobj
;
10171 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10172 wxString
*arg2
= 0 ;
10173 wxPoint
*arg3
= 0 ;
10174 bool temp2
= False
;
10176 PyObject
* obj0
= 0 ;
10177 PyObject
* obj1
= 0 ;
10178 PyObject
* obj2
= 0 ;
10179 char *kwnames
[] = {
10180 (char *) "self",(char *) "text",(char *) "pt", NULL
10183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10187 arg2
= wxString_in_helper(obj1
);
10188 if (arg2
== NULL
) SWIG_fail
;
10193 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10202 Py_INCREF(Py_None
); resultobj
= Py_None
;
10217 static PyObject
*_wrap_PseudoMetaFile_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10218 PyObject
*resultobj
;
10219 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10221 wxPoint
*arg3
= (wxPoint
*) 0 ;
10222 PyObject
* obj0
= 0 ;
10223 PyObject
* obj1
= 0 ;
10224 PyObject
* obj2
= 0 ;
10225 char *kwnames
[] = {
10226 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10232 arg2
= (int) SWIG_AsInt(obj1
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10234 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
10235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10238 (arg1
)->DrawLines(arg2
,arg3
);
10240 wxPyEndAllowThreads(__tstate
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10243 Py_INCREF(Py_None
); resultobj
= Py_None
;
10250 static PyObject
*_wrap_PseudoMetaFile_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10251 PyObject
*resultobj
;
10252 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10254 wxPoint
*arg3
= (wxPoint
*) 0 ;
10255 int arg4
= (int) 0 ;
10256 PyObject
* obj0
= 0 ;
10257 PyObject
* obj1
= 0 ;
10258 PyObject
* obj2
= 0 ;
10259 PyObject
* obj3
= 0 ;
10260 char *kwnames
[] = {
10261 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoMetaFile_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10267 arg2
= (int) SWIG_AsInt(obj1
);
10268 if (PyErr_Occurred()) SWIG_fail
;
10269 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
10270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10272 arg4
= (int) SWIG_AsInt(obj3
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10282 Py_INCREF(Py_None
); resultobj
= Py_None
;
10289 static PyObject
*_wrap_PseudoMetaFile_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10290 PyObject
*resultobj
;
10291 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10293 wxPoint
*arg3
= (wxPoint
*) 0 ;
10294 PyObject
* obj0
= 0 ;
10295 PyObject
* obj1
= 0 ;
10296 PyObject
* obj2
= 0 ;
10297 char *kwnames
[] = {
10298 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawSpline",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10304 arg2
= (int) SWIG_AsInt(obj1
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10306 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
10307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 (arg1
)->DrawSpline(arg2
,arg3
);
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10315 Py_INCREF(Py_None
); resultobj
= Py_None
;
10322 static PyObject
*_wrap_PseudoMetaFile_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10323 PyObject
*resultobj
;
10324 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10327 PyObject
* obj0
= 0 ;
10328 PyObject
* obj1
= 0 ;
10329 char *kwnames
[] = {
10330 (char *) "self",(char *) "rect", NULL
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10338 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10342 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10347 Py_INCREF(Py_None
); resultobj
= Py_None
;
10354 static PyObject
*_wrap_PseudoMetaFile_DestroyClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10355 PyObject
*resultobj
;
10356 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10357 PyObject
* obj0
= 0 ;
10358 char *kwnames
[] = {
10359 (char *) "self", NULL
10362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
10363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 (arg1
)->DestroyClippingRect();
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10372 Py_INCREF(Py_None
); resultobj
= Py_None
;
10379 static PyObject
*_wrap_PseudoMetaFile_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10380 PyObject
*resultobj
;
10381 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10382 wxPen
*arg2
= (wxPen
*) 0 ;
10383 bool arg3
= (bool) FALSE
;
10384 PyObject
* obj0
= 0 ;
10385 PyObject
* obj1
= 0 ;
10386 PyObject
* obj2
= 0 ;
10387 char *kwnames
[] = {
10388 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
10391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10397 if (obj1
== Py_None
) {
10400 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
10401 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
10406 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
10413 arg3
= (bool) SWIG_AsBool(obj2
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10418 (arg1
)->SetPen(arg2
,arg3
);
10420 wxPyEndAllowThreads(__tstate
);
10421 if (PyErr_Occurred()) SWIG_fail
;
10423 Py_INCREF(Py_None
); resultobj
= Py_None
;
10430 static PyObject
*_wrap_PseudoMetaFile_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10431 PyObject
*resultobj
;
10432 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10433 wxBrush
*arg2
= (wxBrush
*) 0 ;
10434 bool arg3
= (bool) FALSE
;
10435 PyObject
* obj0
= 0 ;
10436 PyObject
* obj1
= 0 ;
10437 PyObject
* obj2
= 0 ;
10438 char *kwnames
[] = {
10439 (char *) "self",(char *) "brush",(char *) "isFill", NULL
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10448 if (obj1
== Py_None
) {
10451 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
10452 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
10457 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
10462 arg3
= (bool) SWIG_AsBool(obj2
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 (arg1
)->SetBrush(arg2
,arg3
);
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10472 Py_INCREF(Py_None
); resultobj
= Py_None
;
10479 static PyObject
*_wrap_PseudoMetaFile_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
;
10481 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10482 wxFont
*arg2
= (wxFont
*) 0 ;
10483 PyObject
* obj0
= 0 ;
10484 PyObject
* obj1
= 0 ;
10485 char *kwnames
[] = {
10486 (char *) "self",(char *) "font", NULL
10489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10495 if (obj1
== Py_None
) {
10498 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
10499 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
10504 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
10508 temp
->GetUnderlined(),
10509 temp
->GetFaceName(),
10510 temp
->GetEncoding());
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 (arg1
)->SetFont(arg2
);
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10521 Py_INCREF(Py_None
); resultobj
= Py_None
;
10528 static PyObject
*_wrap_PseudoMetaFile_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10529 PyObject
*resultobj
;
10530 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10531 wxColour
*arg2
= 0 ;
10533 PyObject
* obj0
= 0 ;
10534 PyObject
* obj1
= 0 ;
10535 char *kwnames
[] = {
10536 (char *) "self",(char *) "colour", NULL
10539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10544 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10548 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10553 Py_INCREF(Py_None
); resultobj
= Py_None
;
10560 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10561 PyObject
*resultobj
;
10562 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10563 wxColour
*arg2
= 0 ;
10565 PyObject
* obj0
= 0 ;
10566 PyObject
* obj1
= 0 ;
10567 char *kwnames
[] = {
10568 (char *) "self",(char *) "colour", NULL
10571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10576 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10585 Py_INCREF(Py_None
); resultobj
= Py_None
;
10592 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10593 PyObject
*resultobj
;
10594 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10596 PyObject
* obj0
= 0 ;
10597 PyObject
* obj1
= 0 ;
10598 char *kwnames
[] = {
10599 (char *) "self",(char *) "mode", NULL
10602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
10603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10605 arg2
= (int) SWIG_AsInt(obj1
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 (arg1
)->SetBackgroundMode(arg2
);
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10614 Py_INCREF(Py_None
); resultobj
= Py_None
;
10621 static PyObject
* PseudoMetaFile_swigregister(PyObject
*, PyObject
*args
) {
10623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10624 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile
, obj
);
10626 return Py_BuildValue((char *)"");
10628 static PyObject
*_wrap_new_PyRectangleShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
*resultobj
;
10630 double arg1
= (double) 0.0 ;
10631 double arg2
= (double) 0.0 ;
10632 wxPyRectangleShape
*result
;
10633 PyObject
* obj0
= 0 ;
10634 PyObject
* obj1
= 0 ;
10635 char *kwnames
[] = {
10636 (char *) "width",(char *) "height", NULL
10639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyRectangleShape",kwnames
,&obj0
,&obj1
)) goto fail
;
10641 arg1
= (double) SWIG_AsDouble(obj0
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10645 arg2
= (double) SWIG_AsDouble(obj1
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 result
= (wxPyRectangleShape
*)new wxPyRectangleShape(arg1
,arg2
);
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyRectangleShape
, 1);
10662 static PyObject
*_wrap_PyRectangleShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
*resultobj
;
10664 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10665 PyObject
*arg2
= (PyObject
*) 0 ;
10666 PyObject
*arg3
= (PyObject
*) 0 ;
10667 PyObject
* obj0
= 0 ;
10668 PyObject
* obj1
= 0 ;
10669 PyObject
* obj2
= 0 ;
10670 char *kwnames
[] = {
10671 (char *) "self",(char *) "self",(char *) "_class", NULL
10674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10681 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10683 wxPyEndAllowThreads(__tstate
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10686 Py_INCREF(Py_None
); resultobj
= Py_None
;
10693 static PyObject
*_wrap_PyRectangleShape_SetCornerRadius(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
*resultobj
;
10695 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10697 PyObject
* obj0
= 0 ;
10698 PyObject
* obj1
= 0 ;
10699 char *kwnames
[] = {
10700 (char *) "self",(char *) "radius", NULL
10703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_SetCornerRadius",kwnames
,&obj0
,&obj1
)) goto fail
;
10704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10706 arg2
= (double) SWIG_AsDouble(obj1
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10710 (arg1
)->SetCornerRadius(arg2
);
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10715 Py_INCREF(Py_None
); resultobj
= Py_None
;
10722 static PyObject
*_wrap_PyRectangleShape_GetCornerRadius(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10723 PyObject
*resultobj
;
10724 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10726 PyObject
* obj0
= 0 ;
10727 char *kwnames
[] = {
10728 (char *) "self", NULL
10731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames
,&obj0
)) goto fail
;
10732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 result
= (double)(arg1
)->GetCornerRadius();
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10741 resultobj
= SWIG_FromDouble((double)result
);
10748 static PyObject
*_wrap_PyRectangleShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10749 PyObject
*resultobj
;
10750 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10751 PyObject
* obj0
= 0 ;
10752 char *kwnames
[] = {
10753 (char *) "self", NULL
10756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
10757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10761 (arg1
)->base_OnDelete();
10763 wxPyEndAllowThreads(__tstate
);
10764 if (PyErr_Occurred()) SWIG_fail
;
10766 Py_INCREF(Py_None
); resultobj
= Py_None
;
10773 static PyObject
*_wrap_PyRectangleShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10774 PyObject
*resultobj
;
10775 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10777 PyObject
* obj0
= 0 ;
10778 PyObject
* obj1
= 0 ;
10779 char *kwnames
[] = {
10780 (char *) "self",(char *) "dc", NULL
10783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
10784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10787 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10789 if (arg2
== NULL
) {
10790 PyErr_SetString(PyExc_TypeError
,"null reference");
10794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10795 (arg1
)->base_OnDraw(*arg2
);
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10800 Py_INCREF(Py_None
); resultobj
= Py_None
;
10807 static PyObject
*_wrap_PyRectangleShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10808 PyObject
*resultobj
;
10809 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10811 PyObject
* obj0
= 0 ;
10812 PyObject
* obj1
= 0 ;
10813 char *kwnames
[] = {
10814 (char *) "self",(char *) "dc", NULL
10817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10823 if (arg2
== NULL
) {
10824 PyErr_SetString(PyExc_TypeError
,"null reference");
10828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10829 (arg1
)->base_OnDrawContents(*arg2
);
10831 wxPyEndAllowThreads(__tstate
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10834 Py_INCREF(Py_None
); resultobj
= Py_None
;
10841 static PyObject
*_wrap_PyRectangleShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
*resultobj
;
10843 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10845 bool arg3
= (bool) FALSE
;
10846 PyObject
* obj0
= 0 ;
10847 PyObject
* obj1
= 0 ;
10848 PyObject
* obj2
= 0 ;
10849 char *kwnames
[] = {
10850 (char *) "self",(char *) "dc",(char *) "erase", NULL
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10857 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10859 if (arg2
== NULL
) {
10860 PyErr_SetString(PyExc_TypeError
,"null reference");
10864 arg3
= (bool) SWIG_AsBool(obj2
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10869 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
10871 wxPyEndAllowThreads(__tstate
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10874 Py_INCREF(Py_None
); resultobj
= Py_None
;
10881 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10882 PyObject
*resultobj
;
10883 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10885 PyObject
* obj0
= 0 ;
10886 PyObject
* obj1
= 0 ;
10887 char *kwnames
[] = {
10888 (char *) "self",(char *) "dc", NULL
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
10892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10897 if (arg2
== NULL
) {
10898 PyErr_SetString(PyExc_TypeError
,"null reference");
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 (arg1
)->base_OnMoveLinks(*arg2
);
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10908 Py_INCREF(Py_None
); resultobj
= Py_None
;
10915 static PyObject
*_wrap_PyRectangleShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10916 PyObject
*resultobj
;
10917 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10919 PyObject
* obj0
= 0 ;
10920 PyObject
* obj1
= 0 ;
10921 char *kwnames
[] = {
10922 (char *) "self",(char *) "dc", NULL
10925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
10926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10928 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10929 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10931 if (arg2
== NULL
) {
10932 PyErr_SetString(PyExc_TypeError
,"null reference");
10936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10937 (arg1
)->base_OnErase(*arg2
);
10939 wxPyEndAllowThreads(__tstate
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10942 Py_INCREF(Py_None
); resultobj
= Py_None
;
10949 static PyObject
*_wrap_PyRectangleShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10950 PyObject
*resultobj
;
10951 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10953 PyObject
* obj0
= 0 ;
10954 PyObject
* obj1
= 0 ;
10955 char *kwnames
[] = {
10956 (char *) "self",(char *) "dc", NULL
10959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10963 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10965 if (arg2
== NULL
) {
10966 PyErr_SetString(PyExc_TypeError
,"null reference");
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 (arg1
)->base_OnEraseContents(*arg2
);
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10976 Py_INCREF(Py_None
); resultobj
= Py_None
;
10983 static PyObject
*_wrap_PyRectangleShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10984 PyObject
*resultobj
;
10985 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10987 PyObject
* obj0
= 0 ;
10988 PyObject
* obj1
= 0 ;
10989 char *kwnames
[] = {
10990 (char *) "self",(char *) "dc", NULL
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
10994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10996 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10997 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10999 if (arg2
== NULL
) {
11000 PyErr_SetString(PyExc_TypeError
,"null reference");
11004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11005 (arg1
)->base_OnHighlight(*arg2
);
11007 wxPyEndAllowThreads(__tstate
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11010 Py_INCREF(Py_None
); resultobj
= Py_None
;
11017 static PyObject
*_wrap_PyRectangleShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11018 PyObject
*resultobj
;
11019 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11022 int arg4
= (int) 0 ;
11023 int arg5
= (int) 0 ;
11024 PyObject
* obj0
= 0 ;
11025 PyObject
* obj1
= 0 ;
11026 PyObject
* obj2
= 0 ;
11027 PyObject
* obj3
= 0 ;
11028 PyObject
* obj4
= 0 ;
11029 char *kwnames
[] = {
11030 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11036 arg2
= (double) SWIG_AsDouble(obj1
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11038 arg3
= (double) SWIG_AsDouble(obj2
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11041 arg4
= (int) SWIG_AsInt(obj3
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11045 arg5
= (int) SWIG_AsInt(obj4
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
11052 wxPyEndAllowThreads(__tstate
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11055 Py_INCREF(Py_None
); resultobj
= Py_None
;
11062 static PyObject
*_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11063 PyObject
*resultobj
;
11064 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11067 int arg4
= (int) 0 ;
11068 int arg5
= (int) 0 ;
11069 PyObject
* obj0
= 0 ;
11070 PyObject
* obj1
= 0 ;
11071 PyObject
* obj2
= 0 ;
11072 PyObject
* obj3
= 0 ;
11073 PyObject
* obj4
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11081 arg2
= (double) SWIG_AsDouble(obj1
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11083 arg3
= (double) SWIG_AsDouble(obj2
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11086 arg4
= (int) SWIG_AsInt(obj3
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11090 arg5
= (int) SWIG_AsInt(obj4
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11095 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
11097 wxPyEndAllowThreads(__tstate
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11100 Py_INCREF(Py_None
); resultobj
= Py_None
;
11107 static PyObject
*_wrap_PyRectangleShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
*resultobj
;
11109 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11112 int arg4
= (int) 0 ;
11113 int arg5
= (int) 0 ;
11114 PyObject
* obj0
= 0 ;
11115 PyObject
* obj1
= 0 ;
11116 PyObject
* obj2
= 0 ;
11117 PyObject
* obj3
= 0 ;
11118 PyObject
* obj4
= 0 ;
11119 char *kwnames
[] = {
11120 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11126 arg2
= (double) SWIG_AsDouble(obj1
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11128 arg3
= (double) SWIG_AsDouble(obj2
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11131 arg4
= (int) SWIG_AsInt(obj3
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11135 arg5
= (int) SWIG_AsInt(obj4
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11145 Py_INCREF(Py_None
); resultobj
= Py_None
;
11152 static PyObject
*_wrap_PyRectangleShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11153 PyObject
*resultobj
;
11154 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11157 PyObject
* obj0
= 0 ;
11158 PyObject
* obj1
= 0 ;
11159 PyObject
* obj2
= 0 ;
11160 char *kwnames
[] = {
11161 (char *) "self",(char *) "x",(char *) "y", NULL
11164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11167 arg2
= (double) SWIG_AsDouble(obj1
);
11168 if (PyErr_Occurred()) SWIG_fail
;
11169 arg3
= (double) SWIG_AsDouble(obj2
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 (arg1
)->base_OnSize(arg2
,arg3
);
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11178 Py_INCREF(Py_None
); resultobj
= Py_None
;
11185 static PyObject
*_wrap_PyRectangleShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11186 PyObject
*resultobj
;
11187 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11193 bool arg7
= (bool) True
;
11195 PyObject
* obj0
= 0 ;
11196 PyObject
* obj1
= 0 ;
11197 PyObject
* obj2
= 0 ;
11198 PyObject
* obj3
= 0 ;
11199 PyObject
* obj4
= 0 ;
11200 PyObject
* obj5
= 0 ;
11201 PyObject
* obj6
= 0 ;
11202 char *kwnames
[] = {
11203 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11210 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11212 if (arg2
== NULL
) {
11213 PyErr_SetString(PyExc_TypeError
,"null reference");
11216 arg3
= (double) SWIG_AsDouble(obj2
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11218 arg4
= (double) SWIG_AsDouble(obj3
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11220 arg5
= (double) SWIG_AsDouble(obj4
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11222 arg6
= (double) SWIG_AsDouble(obj5
);
11223 if (PyErr_Occurred()) SWIG_fail
;
11225 arg7
= (bool) SWIG_AsBool(obj6
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11230 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11232 wxPyEndAllowThreads(__tstate
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11244 static PyObject
*_wrap_PyRectangleShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11245 PyObject
*resultobj
;
11246 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11252 bool arg7
= (bool) True
;
11253 PyObject
* obj0
= 0 ;
11254 PyObject
* obj1
= 0 ;
11255 PyObject
* obj2
= 0 ;
11256 PyObject
* obj3
= 0 ;
11257 PyObject
* obj4
= 0 ;
11258 PyObject
* obj5
= 0 ;
11259 PyObject
* obj6
= 0 ;
11260 char *kwnames
[] = {
11261 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11268 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11270 if (arg2
== NULL
) {
11271 PyErr_SetString(PyExc_TypeError
,"null reference");
11274 arg3
= (double) SWIG_AsDouble(obj2
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11276 arg4
= (double) SWIG_AsDouble(obj3
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11278 arg5
= (double) SWIG_AsDouble(obj4
);
11279 if (PyErr_Occurred()) SWIG_fail
;
11280 arg6
= (double) SWIG_AsDouble(obj5
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11283 arg7
= (bool) SWIG_AsBool(obj6
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11288 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11290 wxPyEndAllowThreads(__tstate
);
11291 if (PyErr_Occurred()) SWIG_fail
;
11293 Py_INCREF(Py_None
); resultobj
= Py_None
;
11300 static PyObject
*_wrap_PyRectangleShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11301 PyObject
*resultobj
;
11302 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11306 int arg5
= (int) 0 ;
11307 int arg6
= (int) 0 ;
11308 PyObject
* obj0
= 0 ;
11309 PyObject
* obj1
= 0 ;
11310 PyObject
* obj2
= 0 ;
11311 PyObject
* obj3
= 0 ;
11312 PyObject
* obj4
= 0 ;
11313 PyObject
* obj5
= 0 ;
11314 char *kwnames
[] = {
11315 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11321 arg2
= (bool) SWIG_AsBool(obj1
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11323 arg3
= (double) SWIG_AsDouble(obj2
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11325 arg4
= (double) SWIG_AsDouble(obj3
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11328 arg5
= (int) SWIG_AsInt(obj4
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11332 arg6
= (int) SWIG_AsInt(obj5
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11337 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11339 wxPyEndAllowThreads(__tstate
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11342 Py_INCREF(Py_None
); resultobj
= Py_None
;
11349 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11350 PyObject
*resultobj
;
11351 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11354 int arg4
= (int) 0 ;
11355 int arg5
= (int) 0 ;
11356 PyObject
* obj0
= 0 ;
11357 PyObject
* obj1
= 0 ;
11358 PyObject
* obj2
= 0 ;
11359 PyObject
* obj3
= 0 ;
11360 PyObject
* obj4
= 0 ;
11361 char *kwnames
[] = {
11362 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11368 arg2
= (double) SWIG_AsDouble(obj1
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11370 arg3
= (double) SWIG_AsDouble(obj2
);
11371 if (PyErr_Occurred()) SWIG_fail
;
11373 arg4
= (int) SWIG_AsInt(obj3
);
11374 if (PyErr_Occurred()) SWIG_fail
;
11377 arg5
= (int) SWIG_AsInt(obj4
);
11378 if (PyErr_Occurred()) SWIG_fail
;
11381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11382 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
11384 wxPyEndAllowThreads(__tstate
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11387 Py_INCREF(Py_None
); resultobj
= Py_None
;
11394 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11395 PyObject
*resultobj
;
11396 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11399 int arg4
= (int) 0 ;
11400 int arg5
= (int) 0 ;
11401 PyObject
* obj0
= 0 ;
11402 PyObject
* obj1
= 0 ;
11403 PyObject
* obj2
= 0 ;
11404 PyObject
* obj3
= 0 ;
11405 PyObject
* obj4
= 0 ;
11406 char *kwnames
[] = {
11407 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11413 arg2
= (double) SWIG_AsDouble(obj1
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11415 arg3
= (double) SWIG_AsDouble(obj2
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11418 arg4
= (int) SWIG_AsInt(obj3
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11422 arg5
= (int) SWIG_AsInt(obj4
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11427 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
11429 wxPyEndAllowThreads(__tstate
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11432 Py_INCREF(Py_None
); resultobj
= Py_None
;
11439 static PyObject
*_wrap_PyRectangleShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11440 PyObject
*resultobj
;
11441 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11445 int arg5
= (int) 0 ;
11446 int arg6
= (int) 0 ;
11447 PyObject
* obj0
= 0 ;
11448 PyObject
* obj1
= 0 ;
11449 PyObject
* obj2
= 0 ;
11450 PyObject
* obj3
= 0 ;
11451 PyObject
* obj4
= 0 ;
11452 PyObject
* obj5
= 0 ;
11453 char *kwnames
[] = {
11454 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11460 arg2
= (bool) SWIG_AsBool(obj1
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11462 arg3
= (double) SWIG_AsDouble(obj2
);
11463 if (PyErr_Occurred()) SWIG_fail
;
11464 arg4
= (double) SWIG_AsDouble(obj3
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11467 arg5
= (int) SWIG_AsInt(obj4
);
11468 if (PyErr_Occurred()) SWIG_fail
;
11471 arg6
= (int) SWIG_AsInt(obj5
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11476 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
11478 wxPyEndAllowThreads(__tstate
);
11479 if (PyErr_Occurred()) SWIG_fail
;
11481 Py_INCREF(Py_None
); resultobj
= Py_None
;
11488 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11489 PyObject
*resultobj
;
11490 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11493 int arg4
= (int) 0 ;
11494 int arg5
= (int) 0 ;
11495 PyObject
* obj0
= 0 ;
11496 PyObject
* obj1
= 0 ;
11497 PyObject
* obj2
= 0 ;
11498 PyObject
* obj3
= 0 ;
11499 PyObject
* obj4
= 0 ;
11500 char *kwnames
[] = {
11501 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11507 arg2
= (double) SWIG_AsDouble(obj1
);
11508 if (PyErr_Occurred()) SWIG_fail
;
11509 arg3
= (double) SWIG_AsDouble(obj2
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11512 arg4
= (int) SWIG_AsInt(obj3
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11516 arg5
= (int) SWIG_AsInt(obj4
);
11517 if (PyErr_Occurred()) SWIG_fail
;
11520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11521 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
11523 wxPyEndAllowThreads(__tstate
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11526 Py_INCREF(Py_None
); resultobj
= Py_None
;
11533 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11534 PyObject
*resultobj
;
11535 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11538 int arg4
= (int) 0 ;
11539 int arg5
= (int) 0 ;
11540 PyObject
* obj0
= 0 ;
11541 PyObject
* obj1
= 0 ;
11542 PyObject
* obj2
= 0 ;
11543 PyObject
* obj3
= 0 ;
11544 PyObject
* obj4
= 0 ;
11545 char *kwnames
[] = {
11546 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11552 arg2
= (double) SWIG_AsDouble(obj1
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11554 arg3
= (double) SWIG_AsDouble(obj2
);
11555 if (PyErr_Occurred()) SWIG_fail
;
11557 arg4
= (int) SWIG_AsInt(obj3
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11561 arg5
= (int) SWIG_AsInt(obj4
);
11562 if (PyErr_Occurred()) SWIG_fail
;
11565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11566 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
11568 wxPyEndAllowThreads(__tstate
);
11569 if (PyErr_Occurred()) SWIG_fail
;
11571 Py_INCREF(Py_None
); resultobj
= Py_None
;
11578 static PyObject
*_wrap_PyRectangleShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11579 PyObject
*resultobj
;
11580 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11586 PyObject
* obj0
= 0 ;
11587 PyObject
* obj1
= 0 ;
11588 PyObject
* obj2
= 0 ;
11589 PyObject
* obj3
= 0 ;
11590 PyObject
* obj4
= 0 ;
11591 PyObject
* obj5
= 0 ;
11592 char *kwnames
[] = {
11593 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyRectangleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11600 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11602 if (arg2
== NULL
) {
11603 PyErr_SetString(PyExc_TypeError
,"null reference");
11606 arg3
= (double) SWIG_AsDouble(obj2
);
11607 if (PyErr_Occurred()) SWIG_fail
;
11608 arg4
= (double) SWIG_AsDouble(obj3
);
11609 if (PyErr_Occurred()) SWIG_fail
;
11610 arg5
= (double) SWIG_AsDouble(obj4
);
11611 if (PyErr_Occurred()) SWIG_fail
;
11612 arg6
= (double) SWIG_AsDouble(obj5
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11616 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
11618 wxPyEndAllowThreads(__tstate
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11621 Py_INCREF(Py_None
); resultobj
= Py_None
;
11628 static PyObject
*_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11629 PyObject
*resultobj
;
11630 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11632 PyObject
* obj0
= 0 ;
11633 PyObject
* obj1
= 0 ;
11634 char *kwnames
[] = {
11635 (char *) "self",(char *) "dc", NULL
11638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11642 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11644 if (arg2
== NULL
) {
11645 PyErr_SetString(PyExc_TypeError
,"null reference");
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11650 (arg1
)->base_OnDrawControlPoints(*arg2
);
11652 wxPyEndAllowThreads(__tstate
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11655 Py_INCREF(Py_None
); resultobj
= Py_None
;
11662 static PyObject
*_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11663 PyObject
*resultobj
;
11664 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11666 PyObject
* obj0
= 0 ;
11667 PyObject
* obj1
= 0 ;
11668 char *kwnames
[] = {
11669 (char *) "self",(char *) "dc", NULL
11672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11676 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11678 if (arg2
== NULL
) {
11679 PyErr_SetString(PyExc_TypeError
,"null reference");
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 (arg1
)->base_OnEraseControlPoints(*arg2
);
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11689 Py_INCREF(Py_None
); resultobj
= Py_None
;
11696 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11697 PyObject
*resultobj
;
11698 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11700 bool arg3
= (bool) True
;
11701 PyObject
* obj0
= 0 ;
11702 PyObject
* obj1
= 0 ;
11703 PyObject
* obj2
= 0 ;
11704 char *kwnames
[] = {
11705 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11711 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11712 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11714 if (arg2
== NULL
) {
11715 PyErr_SetString(PyExc_TypeError
,"null reference");
11719 arg3
= (bool) SWIG_AsBool(obj2
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11724 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
11726 wxPyEndAllowThreads(__tstate
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11729 Py_INCREF(Py_None
); resultobj
= Py_None
;
11736 static PyObject
*_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11737 PyObject
*resultobj
;
11738 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11739 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11743 int arg6
= (int) 0 ;
11744 int arg7
= (int) 0 ;
11745 PyObject
* obj0
= 0 ;
11746 PyObject
* obj1
= 0 ;
11747 PyObject
* obj2
= 0 ;
11748 PyObject
* obj3
= 0 ;
11749 PyObject
* obj4
= 0 ;
11750 PyObject
* obj5
= 0 ;
11751 PyObject
* obj6
= 0 ;
11752 char *kwnames
[] = {
11753 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyRectangleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11761 arg3
= (bool) SWIG_AsBool(obj2
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11763 arg4
= (double) SWIG_AsDouble(obj3
);
11764 if (PyErr_Occurred()) SWIG_fail
;
11765 arg5
= (double) SWIG_AsDouble(obj4
);
11766 if (PyErr_Occurred()) SWIG_fail
;
11768 arg6
= (int) SWIG_AsInt(obj5
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11772 arg7
= (int) SWIG_AsInt(obj6
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11779 wxPyEndAllowThreads(__tstate
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11782 Py_INCREF(Py_None
); resultobj
= Py_None
;
11789 static PyObject
*_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11792 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11795 int arg5
= (int) 0 ;
11796 int arg6
= (int) 0 ;
11797 PyObject
* obj0
= 0 ;
11798 PyObject
* obj1
= 0 ;
11799 PyObject
* obj2
= 0 ;
11800 PyObject
* obj3
= 0 ;
11801 PyObject
* obj4
= 0 ;
11802 PyObject
* obj5
= 0 ;
11803 char *kwnames
[] = {
11804 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11812 arg3
= (double) SWIG_AsDouble(obj2
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11814 arg4
= (double) SWIG_AsDouble(obj3
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11817 arg5
= (int) SWIG_AsInt(obj4
);
11818 if (PyErr_Occurred()) SWIG_fail
;
11821 arg6
= (int) SWIG_AsInt(obj5
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11826 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11828 wxPyEndAllowThreads(__tstate
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11831 Py_INCREF(Py_None
); resultobj
= Py_None
;
11838 static PyObject
*_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11839 PyObject
*resultobj
;
11840 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11841 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11844 int arg5
= (int) 0 ;
11845 int arg6
= (int) 0 ;
11846 PyObject
* obj0
= 0 ;
11847 PyObject
* obj1
= 0 ;
11848 PyObject
* obj2
= 0 ;
11849 PyObject
* obj3
= 0 ;
11850 PyObject
* obj4
= 0 ;
11851 PyObject
* obj5
= 0 ;
11852 char *kwnames
[] = {
11853 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11861 arg3
= (double) SWIG_AsDouble(obj2
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11863 arg4
= (double) SWIG_AsDouble(obj3
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11866 arg5
= (int) SWIG_AsInt(obj4
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11870 arg6
= (int) SWIG_AsInt(obj5
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11875 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11877 wxPyEndAllowThreads(__tstate
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11880 Py_INCREF(Py_None
); resultobj
= Py_None
;
11887 static PyObject
*_wrap_PyRectangleShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11888 PyObject
*resultobj
;
11889 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11892 PyObject
* obj0
= 0 ;
11893 PyObject
* obj1
= 0 ;
11894 PyObject
* obj2
= 0 ;
11895 char *kwnames
[] = {
11896 (char *) "self",(char *) "w",(char *) "h", NULL
11899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11902 arg2
= (double) SWIG_AsDouble(obj1
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11904 arg3
= (double) SWIG_AsDouble(obj2
);
11905 if (PyErr_Occurred()) SWIG_fail
;
11907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11908 (arg1
)->base_OnBeginSize(arg2
,arg3
);
11910 wxPyEndAllowThreads(__tstate
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11913 Py_INCREF(Py_None
); resultobj
= Py_None
;
11920 static PyObject
*_wrap_PyRectangleShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11921 PyObject
*resultobj
;
11922 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11925 PyObject
* obj0
= 0 ;
11926 PyObject
* obj1
= 0 ;
11927 PyObject
* obj2
= 0 ;
11928 char *kwnames
[] = {
11929 (char *) "self",(char *) "w",(char *) "h", NULL
11932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11935 arg2
= (double) SWIG_AsDouble(obj1
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11937 arg3
= (double) SWIG_AsDouble(obj2
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11941 (arg1
)->base_OnEndSize(arg2
,arg3
);
11943 wxPyEndAllowThreads(__tstate
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11946 Py_INCREF(Py_None
); resultobj
= Py_None
;
11953 static PyObject
* PyRectangleShape_swigregister(PyObject
*, PyObject
*args
) {
11955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11956 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape
, obj
);
11958 return Py_BuildValue((char *)"");
11960 static PyObject
*_wrap_new_PyControlPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11961 PyObject
*resultobj
;
11962 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
11963 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
11964 double arg3
= (double) 0.0 ;
11965 double arg4
= (double) 0.0 ;
11966 double arg5
= (double) 0.0 ;
11967 int arg6
= (int) 0 ;
11968 wxPyControlPoint
*result
;
11969 PyObject
* obj0
= 0 ;
11970 PyObject
* obj1
= 0 ;
11971 PyObject
* obj2
= 0 ;
11972 PyObject
* obj3
= 0 ;
11973 PyObject
* obj4
= 0 ;
11974 PyObject
* obj5
= 0 ;
11975 char *kwnames
[] = {
11976 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
11979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_PyControlPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
11982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
11986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11989 arg3
= (double) SWIG_AsDouble(obj2
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11993 arg4
= (double) SWIG_AsDouble(obj3
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11997 arg5
= (double) SWIG_AsDouble(obj4
);
11998 if (PyErr_Occurred()) SWIG_fail
;
12001 arg6
= (int) SWIG_AsInt(obj5
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12006 result
= (wxPyControlPoint
*)new wxPyControlPoint(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
12008 wxPyEndAllowThreads(__tstate
);
12009 if (PyErr_Occurred()) SWIG_fail
;
12011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControlPoint
, 1);
12018 static PyObject
*_wrap_PyControlPoint__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12019 PyObject
*resultobj
;
12020 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12021 PyObject
*arg2
= (PyObject
*) 0 ;
12022 PyObject
*arg3
= (PyObject
*) 0 ;
12023 PyObject
* obj0
= 0 ;
12024 PyObject
* obj1
= 0 ;
12025 PyObject
* obj2
= 0 ;
12026 char *kwnames
[] = {
12027 (char *) "self",(char *) "self",(char *) "_class", NULL
12030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12037 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12039 wxPyEndAllowThreads(__tstate
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12042 Py_INCREF(Py_None
); resultobj
= Py_None
;
12049 static PyObject
*_wrap_PyControlPoint_SetCornerRadius(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12050 PyObject
*resultobj
;
12051 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12053 PyObject
* obj0
= 0 ;
12054 PyObject
* obj1
= 0 ;
12055 char *kwnames
[] = {
12056 (char *) "self",(char *) "radius", NULL
12059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_SetCornerRadius",kwnames
,&obj0
,&obj1
)) goto fail
;
12060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12062 arg2
= (double) SWIG_AsDouble(obj1
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12066 (arg1
)->SetCornerRadius(arg2
);
12068 wxPyEndAllowThreads(__tstate
);
12069 if (PyErr_Occurred()) SWIG_fail
;
12071 Py_INCREF(Py_None
); resultobj
= Py_None
;
12078 static PyObject
*_wrap_PyControlPoint_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12079 PyObject
*resultobj
;
12080 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12081 PyObject
* obj0
= 0 ;
12082 char *kwnames
[] = {
12083 (char *) "self", NULL
12086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControlPoint_base_OnDelete",kwnames
,&obj0
)) goto fail
;
12087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 (arg1
)->base_OnDelete();
12093 wxPyEndAllowThreads(__tstate
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12096 Py_INCREF(Py_None
); resultobj
= Py_None
;
12103 static PyObject
*_wrap_PyControlPoint_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12104 PyObject
*resultobj
;
12105 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12107 PyObject
* obj0
= 0 ;
12108 PyObject
* obj1
= 0 ;
12109 char *kwnames
[] = {
12110 (char *) "self",(char *) "dc", NULL
12113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
12114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12117 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12119 if (arg2
== NULL
) {
12120 PyErr_SetString(PyExc_TypeError
,"null reference");
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 (arg1
)->base_OnDraw(*arg2
);
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12130 Py_INCREF(Py_None
); resultobj
= Py_None
;
12137 static PyObject
*_wrap_PyControlPoint_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12138 PyObject
*resultobj
;
12139 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12141 PyObject
* obj0
= 0 ;
12142 PyObject
* obj1
= 0 ;
12143 char *kwnames
[] = {
12144 (char *) "self",(char *) "dc", NULL
12147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12150 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12151 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12153 if (arg2
== NULL
) {
12154 PyErr_SetString(PyExc_TypeError
,"null reference");
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 (arg1
)->base_OnDrawContents(*arg2
);
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12164 Py_INCREF(Py_None
); resultobj
= Py_None
;
12171 static PyObject
*_wrap_PyControlPoint_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12172 PyObject
*resultobj
;
12173 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12175 bool arg3
= (bool) FALSE
;
12176 PyObject
* obj0
= 0 ;
12177 PyObject
* obj1
= 0 ;
12178 PyObject
* obj2
= 0 ;
12179 char *kwnames
[] = {
12180 (char *) "self",(char *) "dc",(char *) "erase", NULL
12183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12187 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12189 if (arg2
== NULL
) {
12190 PyErr_SetString(PyExc_TypeError
,"null reference");
12194 arg3
= (bool) SWIG_AsBool(obj2
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12199 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12204 Py_INCREF(Py_None
); resultobj
= Py_None
;
12211 static PyObject
*_wrap_PyControlPoint_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12212 PyObject
*resultobj
;
12213 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12215 PyObject
* obj0
= 0 ;
12216 PyObject
* obj1
= 0 ;
12217 char *kwnames
[] = {
12218 (char *) "self",(char *) "dc", NULL
12221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
12222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12227 if (arg2
== NULL
) {
12228 PyErr_SetString(PyExc_TypeError
,"null reference");
12232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12233 (arg1
)->base_OnMoveLinks(*arg2
);
12235 wxPyEndAllowThreads(__tstate
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12238 Py_INCREF(Py_None
); resultobj
= Py_None
;
12245 static PyObject
*_wrap_PyControlPoint_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12246 PyObject
*resultobj
;
12247 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12249 PyObject
* obj0
= 0 ;
12250 PyObject
* obj1
= 0 ;
12251 char *kwnames
[] = {
12252 (char *) "self",(char *) "dc", NULL
12255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
12256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12259 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12261 if (arg2
== NULL
) {
12262 PyErr_SetString(PyExc_TypeError
,"null reference");
12266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12267 (arg1
)->base_OnErase(*arg2
);
12269 wxPyEndAllowThreads(__tstate
);
12270 if (PyErr_Occurred()) SWIG_fail
;
12272 Py_INCREF(Py_None
); resultobj
= Py_None
;
12279 static PyObject
*_wrap_PyControlPoint_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12280 PyObject
*resultobj
;
12281 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12283 PyObject
* obj0
= 0 ;
12284 PyObject
* obj1
= 0 ;
12285 char *kwnames
[] = {
12286 (char *) "self",(char *) "dc", NULL
12289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12292 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12293 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12295 if (arg2
== NULL
) {
12296 PyErr_SetString(PyExc_TypeError
,"null reference");
12300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12301 (arg1
)->base_OnEraseContents(*arg2
);
12303 wxPyEndAllowThreads(__tstate
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12306 Py_INCREF(Py_None
); resultobj
= Py_None
;
12313 static PyObject
*_wrap_PyControlPoint_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12314 PyObject
*resultobj
;
12315 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12317 PyObject
* obj0
= 0 ;
12318 PyObject
* obj1
= 0 ;
12319 char *kwnames
[] = {
12320 (char *) "self",(char *) "dc", NULL
12323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
12324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12327 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12329 if (arg2
== NULL
) {
12330 PyErr_SetString(PyExc_TypeError
,"null reference");
12334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12335 (arg1
)->base_OnHighlight(*arg2
);
12337 wxPyEndAllowThreads(__tstate
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12340 Py_INCREF(Py_None
); resultobj
= Py_None
;
12347 static PyObject
*_wrap_PyControlPoint_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12348 PyObject
*resultobj
;
12349 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12352 int arg4
= (int) 0 ;
12353 int arg5
= (int) 0 ;
12354 PyObject
* obj0
= 0 ;
12355 PyObject
* obj1
= 0 ;
12356 PyObject
* obj2
= 0 ;
12357 PyObject
* obj3
= 0 ;
12358 PyObject
* obj4
= 0 ;
12359 char *kwnames
[] = {
12360 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12366 arg2
= (double) SWIG_AsDouble(obj1
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12368 arg3
= (double) SWIG_AsDouble(obj2
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 arg4
= (int) SWIG_AsInt(obj3
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12375 arg5
= (int) SWIG_AsInt(obj4
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12385 Py_INCREF(Py_None
); resultobj
= Py_None
;
12392 static PyObject
*_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
;
12394 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12397 int arg4
= (int) 0 ;
12398 int arg5
= (int) 0 ;
12399 PyObject
* obj0
= 0 ;
12400 PyObject
* obj1
= 0 ;
12401 PyObject
* obj2
= 0 ;
12402 PyObject
* obj3
= 0 ;
12403 PyObject
* obj4
= 0 ;
12404 char *kwnames
[] = {
12405 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12411 arg2
= (double) SWIG_AsDouble(obj1
);
12412 if (PyErr_Occurred()) SWIG_fail
;
12413 arg3
= (double) SWIG_AsDouble(obj2
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12416 arg4
= (int) SWIG_AsInt(obj3
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12420 arg5
= (int) SWIG_AsInt(obj4
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12430 Py_INCREF(Py_None
); resultobj
= Py_None
;
12437 static PyObject
*_wrap_PyControlPoint_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12438 PyObject
*resultobj
;
12439 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12442 int arg4
= (int) 0 ;
12443 int arg5
= (int) 0 ;
12444 PyObject
* obj0
= 0 ;
12445 PyObject
* obj1
= 0 ;
12446 PyObject
* obj2
= 0 ;
12447 PyObject
* obj3
= 0 ;
12448 PyObject
* obj4
= 0 ;
12449 char *kwnames
[] = {
12450 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12456 arg2
= (double) SWIG_AsDouble(obj1
);
12457 if (PyErr_Occurred()) SWIG_fail
;
12458 arg3
= (double) SWIG_AsDouble(obj2
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12461 arg4
= (int) SWIG_AsInt(obj3
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12465 arg5
= (int) SWIG_AsInt(obj4
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12475 Py_INCREF(Py_None
); resultobj
= Py_None
;
12482 static PyObject
*_wrap_PyControlPoint_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12483 PyObject
*resultobj
;
12484 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12487 PyObject
* obj0
= 0 ;
12488 PyObject
* obj1
= 0 ;
12489 PyObject
* obj2
= 0 ;
12490 char *kwnames
[] = {
12491 (char *) "self",(char *) "x",(char *) "y", NULL
12494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12497 arg2
= (double) SWIG_AsDouble(obj1
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12499 arg3
= (double) SWIG_AsDouble(obj2
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12503 (arg1
)->base_OnSize(arg2
,arg3
);
12505 wxPyEndAllowThreads(__tstate
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12508 Py_INCREF(Py_None
); resultobj
= Py_None
;
12515 static PyObject
*_wrap_PyControlPoint_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12516 PyObject
*resultobj
;
12517 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12523 bool arg7
= (bool) True
;
12525 PyObject
* obj0
= 0 ;
12526 PyObject
* obj1
= 0 ;
12527 PyObject
* obj2
= 0 ;
12528 PyObject
* obj3
= 0 ;
12529 PyObject
* obj4
= 0 ;
12530 PyObject
* obj5
= 0 ;
12531 PyObject
* obj6
= 0 ;
12532 char *kwnames
[] = {
12533 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12539 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12540 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12542 if (arg2
== NULL
) {
12543 PyErr_SetString(PyExc_TypeError
,"null reference");
12546 arg3
= (double) SWIG_AsDouble(obj2
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12548 arg4
= (double) SWIG_AsDouble(obj3
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12550 arg5
= (double) SWIG_AsDouble(obj4
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12552 arg6
= (double) SWIG_AsDouble(obj5
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12555 arg7
= (bool) SWIG_AsBool(obj6
);
12556 if (PyErr_Occurred()) SWIG_fail
;
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12562 wxPyEndAllowThreads(__tstate
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12574 static PyObject
*_wrap_PyControlPoint_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12575 PyObject
*resultobj
;
12576 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12582 bool arg7
= (bool) True
;
12583 PyObject
* obj0
= 0 ;
12584 PyObject
* obj1
= 0 ;
12585 PyObject
* obj2
= 0 ;
12586 PyObject
* obj3
= 0 ;
12587 PyObject
* obj4
= 0 ;
12588 PyObject
* obj5
= 0 ;
12589 PyObject
* obj6
= 0 ;
12590 char *kwnames
[] = {
12591 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12597 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12598 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12600 if (arg2
== NULL
) {
12601 PyErr_SetString(PyExc_TypeError
,"null reference");
12604 arg3
= (double) SWIG_AsDouble(obj2
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12606 arg4
= (double) SWIG_AsDouble(obj3
);
12607 if (PyErr_Occurred()) SWIG_fail
;
12608 arg5
= (double) SWIG_AsDouble(obj4
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12610 arg6
= (double) SWIG_AsDouble(obj5
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12613 arg7
= (bool) SWIG_AsBool(obj6
);
12614 if (PyErr_Occurred()) SWIG_fail
;
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 Py_INCREF(Py_None
); resultobj
= Py_None
;
12630 static PyObject
*_wrap_PyControlPoint_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
;
12632 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12636 int arg5
= (int) 0 ;
12637 int arg6
= (int) 0 ;
12638 PyObject
* obj0
= 0 ;
12639 PyObject
* obj1
= 0 ;
12640 PyObject
* obj2
= 0 ;
12641 PyObject
* obj3
= 0 ;
12642 PyObject
* obj4
= 0 ;
12643 PyObject
* obj5
= 0 ;
12644 char *kwnames
[] = {
12645 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12651 arg2
= (bool) SWIG_AsBool(obj1
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12653 arg3
= (double) SWIG_AsDouble(obj2
);
12654 if (PyErr_Occurred()) SWIG_fail
;
12655 arg4
= (double) SWIG_AsDouble(obj3
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12658 arg5
= (int) SWIG_AsInt(obj4
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12662 arg6
= (int) SWIG_AsInt(obj5
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12672 Py_INCREF(Py_None
); resultobj
= Py_None
;
12679 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
;
12681 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12684 int arg4
= (int) 0 ;
12685 int arg5
= (int) 0 ;
12686 PyObject
* obj0
= 0 ;
12687 PyObject
* obj1
= 0 ;
12688 PyObject
* obj2
= 0 ;
12689 PyObject
* obj3
= 0 ;
12690 PyObject
* obj4
= 0 ;
12691 char *kwnames
[] = {
12692 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12698 arg2
= (double) SWIG_AsDouble(obj1
);
12699 if (PyErr_Occurred()) SWIG_fail
;
12700 arg3
= (double) SWIG_AsDouble(obj2
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 arg4
= (int) SWIG_AsInt(obj3
);
12704 if (PyErr_Occurred()) SWIG_fail
;
12707 arg5
= (int) SWIG_AsInt(obj4
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
12714 wxPyEndAllowThreads(__tstate
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12717 Py_INCREF(Py_None
); resultobj
= Py_None
;
12724 static PyObject
*_wrap_PyControlPoint_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12725 PyObject
*resultobj
;
12726 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12729 int arg4
= (int) 0 ;
12730 int arg5
= (int) 0 ;
12731 PyObject
* obj0
= 0 ;
12732 PyObject
* obj1
= 0 ;
12733 PyObject
* obj2
= 0 ;
12734 PyObject
* obj3
= 0 ;
12735 PyObject
* obj4
= 0 ;
12736 char *kwnames
[] = {
12737 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12743 arg2
= (double) SWIG_AsDouble(obj1
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12745 arg3
= (double) SWIG_AsDouble(obj2
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 arg4
= (int) SWIG_AsInt(obj3
);
12749 if (PyErr_Occurred()) SWIG_fail
;
12752 arg5
= (int) SWIG_AsInt(obj4
);
12753 if (PyErr_Occurred()) SWIG_fail
;
12756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12757 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
12759 wxPyEndAllowThreads(__tstate
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12762 Py_INCREF(Py_None
); resultobj
= Py_None
;
12769 static PyObject
*_wrap_PyControlPoint_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12770 PyObject
*resultobj
;
12771 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12775 int arg5
= (int) 0 ;
12776 int arg6
= (int) 0 ;
12777 PyObject
* obj0
= 0 ;
12778 PyObject
* obj1
= 0 ;
12779 PyObject
* obj2
= 0 ;
12780 PyObject
* obj3
= 0 ;
12781 PyObject
* obj4
= 0 ;
12782 PyObject
* obj5
= 0 ;
12783 char *kwnames
[] = {
12784 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12790 arg2
= (bool) SWIG_AsBool(obj1
);
12791 if (PyErr_Occurred()) SWIG_fail
;
12792 arg3
= (double) SWIG_AsDouble(obj2
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12794 arg4
= (double) SWIG_AsDouble(obj3
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12797 arg5
= (int) SWIG_AsInt(obj4
);
12798 if (PyErr_Occurred()) SWIG_fail
;
12801 arg6
= (int) SWIG_AsInt(obj5
);
12802 if (PyErr_Occurred()) SWIG_fail
;
12805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
12808 wxPyEndAllowThreads(__tstate
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12811 Py_INCREF(Py_None
); resultobj
= Py_None
;
12818 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12819 PyObject
*resultobj
;
12820 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12823 int arg4
= (int) 0 ;
12824 int arg5
= (int) 0 ;
12825 PyObject
* obj0
= 0 ;
12826 PyObject
* obj1
= 0 ;
12827 PyObject
* obj2
= 0 ;
12828 PyObject
* obj3
= 0 ;
12829 PyObject
* obj4
= 0 ;
12830 char *kwnames
[] = {
12831 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12837 arg2
= (double) SWIG_AsDouble(obj1
);
12838 if (PyErr_Occurred()) SWIG_fail
;
12839 arg3
= (double) SWIG_AsDouble(obj2
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12842 arg4
= (int) SWIG_AsInt(obj3
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12846 arg5
= (int) SWIG_AsInt(obj4
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12851 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12856 Py_INCREF(Py_None
); resultobj
= Py_None
;
12863 static PyObject
*_wrap_PyControlPoint_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12864 PyObject
*resultobj
;
12865 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12868 int arg4
= (int) 0 ;
12869 int arg5
= (int) 0 ;
12870 PyObject
* obj0
= 0 ;
12871 PyObject
* obj1
= 0 ;
12872 PyObject
* obj2
= 0 ;
12873 PyObject
* obj3
= 0 ;
12874 PyObject
* obj4
= 0 ;
12875 char *kwnames
[] = {
12876 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12882 arg2
= (double) SWIG_AsDouble(obj1
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12884 arg3
= (double) SWIG_AsDouble(obj2
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12887 arg4
= (int) SWIG_AsInt(obj3
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12891 arg5
= (int) SWIG_AsInt(obj4
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12896 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12901 Py_INCREF(Py_None
); resultobj
= Py_None
;
12908 static PyObject
*_wrap_PyControlPoint_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12909 PyObject
*resultobj
;
12910 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12916 PyObject
* obj0
= 0 ;
12917 PyObject
* obj1
= 0 ;
12918 PyObject
* obj2
= 0 ;
12919 PyObject
* obj3
= 0 ;
12920 PyObject
* obj4
= 0 ;
12921 PyObject
* obj5
= 0 ;
12922 char *kwnames
[] = {
12923 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
12926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyControlPoint_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12930 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12932 if (arg2
== NULL
) {
12933 PyErr_SetString(PyExc_TypeError
,"null reference");
12936 arg3
= (double) SWIG_AsDouble(obj2
);
12937 if (PyErr_Occurred()) SWIG_fail
;
12938 arg4
= (double) SWIG_AsDouble(obj3
);
12939 if (PyErr_Occurred()) SWIG_fail
;
12940 arg5
= (double) SWIG_AsDouble(obj4
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12942 arg6
= (double) SWIG_AsDouble(obj5
);
12943 if (PyErr_Occurred()) SWIG_fail
;
12945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12946 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 Py_INCREF(Py_None
); resultobj
= Py_None
;
12958 static PyObject
*_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12959 PyObject
*resultobj
;
12960 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12962 PyObject
* obj0
= 0 ;
12963 PyObject
* obj1
= 0 ;
12964 char *kwnames
[] = {
12965 (char *) "self",(char *) "dc", NULL
12968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
12969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12971 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12972 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12974 if (arg2
== NULL
) {
12975 PyErr_SetString(PyExc_TypeError
,"null reference");
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 (arg1
)->base_OnDrawControlPoints(*arg2
);
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12985 Py_INCREF(Py_None
); resultobj
= Py_None
;
12992 static PyObject
*_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
*resultobj
;
12994 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12996 PyObject
* obj0
= 0 ;
12997 PyObject
* obj1
= 0 ;
12998 char *kwnames
[] = {
12999 (char *) "self",(char *) "dc", NULL
13002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13005 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13006 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13008 if (arg2
== NULL
) {
13009 PyErr_SetString(PyExc_TypeError
,"null reference");
13013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13014 (arg1
)->base_OnEraseControlPoints(*arg2
);
13016 wxPyEndAllowThreads(__tstate
);
13017 if (PyErr_Occurred()) SWIG_fail
;
13019 Py_INCREF(Py_None
); resultobj
= Py_None
;
13026 static PyObject
*_wrap_PyControlPoint_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13027 PyObject
*resultobj
;
13028 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13030 bool arg3
= (bool) True
;
13031 PyObject
* obj0
= 0 ;
13032 PyObject
* obj1
= 0 ;
13033 PyObject
* obj2
= 0 ;
13034 char *kwnames
[] = {
13035 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13042 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13044 if (arg2
== NULL
) {
13045 PyErr_SetString(PyExc_TypeError
,"null reference");
13049 arg3
= (bool) SWIG_AsBool(obj2
);
13050 if (PyErr_Occurred()) SWIG_fail
;
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13059 Py_INCREF(Py_None
); resultobj
= Py_None
;
13066 static PyObject
*_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13067 PyObject
*resultobj
;
13068 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13069 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13073 int arg6
= (int) 0 ;
13074 int arg7
= (int) 0 ;
13075 PyObject
* obj0
= 0 ;
13076 PyObject
* obj1
= 0 ;
13077 PyObject
* obj2
= 0 ;
13078 PyObject
* obj3
= 0 ;
13079 PyObject
* obj4
= 0 ;
13080 PyObject
* obj5
= 0 ;
13081 PyObject
* obj6
= 0 ;
13082 char *kwnames
[] = {
13083 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyControlPoint_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13091 arg3
= (bool) SWIG_AsBool(obj2
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13093 arg4
= (double) SWIG_AsDouble(obj3
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13095 arg5
= (double) SWIG_AsDouble(obj4
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13098 arg6
= (int) SWIG_AsInt(obj5
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13102 arg7
= (int) SWIG_AsInt(obj6
);
13103 if (PyErr_Occurred()) SWIG_fail
;
13106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13107 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13109 wxPyEndAllowThreads(__tstate
);
13110 if (PyErr_Occurred()) SWIG_fail
;
13112 Py_INCREF(Py_None
); resultobj
= Py_None
;
13119 static PyObject
*_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13120 PyObject
*resultobj
;
13121 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13122 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13125 int arg5
= (int) 0 ;
13126 int arg6
= (int) 0 ;
13127 PyObject
* obj0
= 0 ;
13128 PyObject
* obj1
= 0 ;
13129 PyObject
* obj2
= 0 ;
13130 PyObject
* obj3
= 0 ;
13131 PyObject
* obj4
= 0 ;
13132 PyObject
* obj5
= 0 ;
13133 char *kwnames
[] = {
13134 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13140 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13142 arg3
= (double) SWIG_AsDouble(obj2
);
13143 if (PyErr_Occurred()) SWIG_fail
;
13144 arg4
= (double) SWIG_AsDouble(obj3
);
13145 if (PyErr_Occurred()) SWIG_fail
;
13147 arg5
= (int) SWIG_AsInt(obj4
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13151 arg6
= (int) SWIG_AsInt(obj5
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13156 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13158 wxPyEndAllowThreads(__tstate
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13161 Py_INCREF(Py_None
); resultobj
= Py_None
;
13168 static PyObject
*_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13169 PyObject
*resultobj
;
13170 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13171 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13174 int arg5
= (int) 0 ;
13175 int arg6
= (int) 0 ;
13176 PyObject
* obj0
= 0 ;
13177 PyObject
* obj1
= 0 ;
13178 PyObject
* obj2
= 0 ;
13179 PyObject
* obj3
= 0 ;
13180 PyObject
* obj4
= 0 ;
13181 PyObject
* obj5
= 0 ;
13182 char *kwnames
[] = {
13183 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13191 arg3
= (double) SWIG_AsDouble(obj2
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13193 arg4
= (double) SWIG_AsDouble(obj3
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13196 arg5
= (int) SWIG_AsInt(obj4
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13200 arg6
= (int) SWIG_AsInt(obj5
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13205 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13207 wxPyEndAllowThreads(__tstate
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13210 Py_INCREF(Py_None
); resultobj
= Py_None
;
13217 static PyObject
*_wrap_PyControlPoint_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13218 PyObject
*resultobj
;
13219 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13222 PyObject
* obj0
= 0 ;
13223 PyObject
* obj1
= 0 ;
13224 PyObject
* obj2
= 0 ;
13225 char *kwnames
[] = {
13226 (char *) "self",(char *) "w",(char *) "h", NULL
13229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13232 arg2
= (double) SWIG_AsDouble(obj1
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13234 arg3
= (double) SWIG_AsDouble(obj2
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 (arg1
)->base_OnBeginSize(arg2
,arg3
);
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13243 Py_INCREF(Py_None
); resultobj
= Py_None
;
13250 static PyObject
*_wrap_PyControlPoint_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
*resultobj
;
13252 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13255 PyObject
* obj0
= 0 ;
13256 PyObject
* obj1
= 0 ;
13257 PyObject
* obj2
= 0 ;
13258 char *kwnames
[] = {
13259 (char *) "self",(char *) "w",(char *) "h", NULL
13262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13265 arg2
= (double) SWIG_AsDouble(obj1
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13267 arg3
= (double) SWIG_AsDouble(obj2
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13271 (arg1
)->base_OnEndSize(arg2
,arg3
);
13273 wxPyEndAllowThreads(__tstate
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 Py_INCREF(Py_None
); resultobj
= Py_None
;
13283 static PyObject
* PyControlPoint_swigregister(PyObject
*, PyObject
*args
) {
13285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13286 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint
, obj
);
13288 return Py_BuildValue((char *)"");
13290 static PyObject
*_wrap_new_PyBitmapShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13291 PyObject
*resultobj
;
13292 wxPyBitmapShape
*result
;
13293 char *kwnames
[] = {
13297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyBitmapShape",kwnames
)) goto fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= (wxPyBitmapShape
*)new wxPyBitmapShape();
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapShape
, 1);
13312 static PyObject
*_wrap_PyBitmapShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
;
13314 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13315 PyObject
*arg2
= (PyObject
*) 0 ;
13316 PyObject
*arg3
= (PyObject
*) 0 ;
13317 PyObject
* obj0
= 0 ;
13318 PyObject
* obj1
= 0 ;
13319 PyObject
* obj2
= 0 ;
13320 char *kwnames
[] = {
13321 (char *) "self",(char *) "self",(char *) "_class", NULL
13324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13331 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 Py_INCREF(Py_None
); resultobj
= Py_None
;
13343 static PyObject
*_wrap_PyBitmapShape_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13344 PyObject
*resultobj
;
13345 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13347 PyObject
* obj0
= 0 ;
13348 char *kwnames
[] = {
13349 (char *) "self", NULL
13352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetBitmap",kwnames
,&obj0
)) goto fail
;
13353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13358 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
13359 result
= (wxBitmap
*) &_result_ref
;
13362 wxPyEndAllowThreads(__tstate
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13366 wxBitmap
* resultptr
= new wxBitmap(*result
);
13367 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13375 static PyObject
*_wrap_PyBitmapShape_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
;
13377 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13379 PyObject
* obj0
= 0 ;
13380 char *kwnames
[] = {
13381 (char *) "self", NULL
13384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetFilename",kwnames
,&obj0
)) goto fail
;
13385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13389 result
= (arg1
)->GetFilename();
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13396 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13398 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13407 static PyObject
*_wrap_PyBitmapShape_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13408 PyObject
*resultobj
;
13409 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13410 wxBitmap
*arg2
= 0 ;
13411 PyObject
* obj0
= 0 ;
13412 PyObject
* obj1
= 0 ;
13413 char *kwnames
[] = {
13414 (char *) "self",(char *) "bitmap", NULL
13417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
13421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13423 if (arg2
== NULL
) {
13424 PyErr_SetString(PyExc_TypeError
,"null reference");
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
13431 wxPyEndAllowThreads(__tstate
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13434 Py_INCREF(Py_None
); resultobj
= Py_None
;
13441 static PyObject
*_wrap_PyBitmapShape_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13442 PyObject
*resultobj
;
13443 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13444 wxString
*arg2
= 0 ;
13445 bool temp2
= False
;
13446 PyObject
* obj0
= 0 ;
13447 PyObject
* obj1
= 0 ;
13448 char *kwnames
[] = {
13449 (char *) "self",(char *) "filename", NULL
13452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
13453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13456 arg2
= wxString_in_helper(obj1
);
13457 if (arg2
== NULL
) SWIG_fail
;
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 (arg1
)->SetFilename((wxString
const &)*arg2
);
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 Py_INCREF(Py_None
); resultobj
= Py_None
;
13482 static PyObject
*_wrap_PyBitmapShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13483 PyObject
*resultobj
;
13484 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13485 PyObject
* obj0
= 0 ;
13486 char *kwnames
[] = {
13487 (char *) "self", NULL
13490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
13491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13495 (arg1
)->base_OnDelete();
13497 wxPyEndAllowThreads(__tstate
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13500 Py_INCREF(Py_None
); resultobj
= Py_None
;
13507 static PyObject
*_wrap_PyBitmapShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13508 PyObject
*resultobj
;
13509 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13511 PyObject
* obj0
= 0 ;
13512 PyObject
* obj1
= 0 ;
13513 char *kwnames
[] = {
13514 (char *) "self",(char *) "dc", NULL
13517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
13518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13520 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13521 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13523 if (arg2
== NULL
) {
13524 PyErr_SetString(PyExc_TypeError
,"null reference");
13528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 (arg1
)->base_OnDraw(*arg2
);
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13534 Py_INCREF(Py_None
); resultobj
= Py_None
;
13541 static PyObject
*_wrap_PyBitmapShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13542 PyObject
*resultobj
;
13543 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13545 PyObject
* obj0
= 0 ;
13546 PyObject
* obj1
= 0 ;
13547 char *kwnames
[] = {
13548 (char *) "self",(char *) "dc", NULL
13551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13557 if (arg2
== NULL
) {
13558 PyErr_SetString(PyExc_TypeError
,"null reference");
13562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13563 (arg1
)->base_OnDrawContents(*arg2
);
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13568 Py_INCREF(Py_None
); resultobj
= Py_None
;
13575 static PyObject
*_wrap_PyBitmapShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13576 PyObject
*resultobj
;
13577 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13579 bool arg3
= (bool) FALSE
;
13580 PyObject
* obj0
= 0 ;
13581 PyObject
* obj1
= 0 ;
13582 PyObject
* obj2
= 0 ;
13583 char *kwnames
[] = {
13584 (char *) "self",(char *) "dc",(char *) "erase", NULL
13587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13591 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13593 if (arg2
== NULL
) {
13594 PyErr_SetString(PyExc_TypeError
,"null reference");
13598 arg3
= (bool) SWIG_AsBool(obj2
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13603 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13608 Py_INCREF(Py_None
); resultobj
= Py_None
;
13615 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13616 PyObject
*resultobj
;
13617 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13619 PyObject
* obj0
= 0 ;
13620 PyObject
* obj1
= 0 ;
13621 char *kwnames
[] = {
13622 (char *) "self",(char *) "dc", NULL
13625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
13626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13631 if (arg2
== NULL
) {
13632 PyErr_SetString(PyExc_TypeError
,"null reference");
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13637 (arg1
)->base_OnMoveLinks(*arg2
);
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13642 Py_INCREF(Py_None
); resultobj
= Py_None
;
13649 static PyObject
*_wrap_PyBitmapShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13650 PyObject
*resultobj
;
13651 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13653 PyObject
* obj0
= 0 ;
13654 PyObject
* obj1
= 0 ;
13655 char *kwnames
[] = {
13656 (char *) "self",(char *) "dc", NULL
13659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
13660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13665 if (arg2
== NULL
) {
13666 PyErr_SetString(PyExc_TypeError
,"null reference");
13670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13671 (arg1
)->base_OnErase(*arg2
);
13673 wxPyEndAllowThreads(__tstate
);
13674 if (PyErr_Occurred()) SWIG_fail
;
13676 Py_INCREF(Py_None
); resultobj
= Py_None
;
13683 static PyObject
*_wrap_PyBitmapShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13684 PyObject
*resultobj
;
13685 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13687 PyObject
* obj0
= 0 ;
13688 PyObject
* obj1
= 0 ;
13689 char *kwnames
[] = {
13690 (char *) "self",(char *) "dc", NULL
13693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13697 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13699 if (arg2
== NULL
) {
13700 PyErr_SetString(PyExc_TypeError
,"null reference");
13704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13705 (arg1
)->base_OnEraseContents(*arg2
);
13707 wxPyEndAllowThreads(__tstate
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13710 Py_INCREF(Py_None
); resultobj
= Py_None
;
13717 static PyObject
*_wrap_PyBitmapShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13718 PyObject
*resultobj
;
13719 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13721 PyObject
* obj0
= 0 ;
13722 PyObject
* obj1
= 0 ;
13723 char *kwnames
[] = {
13724 (char *) "self",(char *) "dc", NULL
13727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
13728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13731 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13733 if (arg2
== NULL
) {
13734 PyErr_SetString(PyExc_TypeError
,"null reference");
13738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13739 (arg1
)->base_OnHighlight(*arg2
);
13741 wxPyEndAllowThreads(__tstate
);
13742 if (PyErr_Occurred()) SWIG_fail
;
13744 Py_INCREF(Py_None
); resultobj
= Py_None
;
13751 static PyObject
*_wrap_PyBitmapShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13752 PyObject
*resultobj
;
13753 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13756 int arg4
= (int) 0 ;
13757 int arg5
= (int) 0 ;
13758 PyObject
* obj0
= 0 ;
13759 PyObject
* obj1
= 0 ;
13760 PyObject
* obj2
= 0 ;
13761 PyObject
* obj3
= 0 ;
13762 PyObject
* obj4
= 0 ;
13763 char *kwnames
[] = {
13764 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13770 arg2
= (double) SWIG_AsDouble(obj1
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13772 arg3
= (double) SWIG_AsDouble(obj2
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13775 arg4
= (int) SWIG_AsInt(obj3
);
13776 if (PyErr_Occurred()) SWIG_fail
;
13779 arg5
= (int) SWIG_AsInt(obj4
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13784 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
13786 wxPyEndAllowThreads(__tstate
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13789 Py_INCREF(Py_None
); resultobj
= Py_None
;
13796 static PyObject
*_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13797 PyObject
*resultobj
;
13798 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13801 int arg4
= (int) 0 ;
13802 int arg5
= (int) 0 ;
13803 PyObject
* obj0
= 0 ;
13804 PyObject
* obj1
= 0 ;
13805 PyObject
* obj2
= 0 ;
13806 PyObject
* obj3
= 0 ;
13807 PyObject
* obj4
= 0 ;
13808 char *kwnames
[] = {
13809 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13815 arg2
= (double) SWIG_AsDouble(obj1
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13817 arg3
= (double) SWIG_AsDouble(obj2
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13820 arg4
= (int) SWIG_AsInt(obj3
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13824 arg5
= (int) SWIG_AsInt(obj4
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
13831 wxPyEndAllowThreads(__tstate
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13834 Py_INCREF(Py_None
); resultobj
= Py_None
;
13841 static PyObject
*_wrap_PyBitmapShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13842 PyObject
*resultobj
;
13843 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13846 int arg4
= (int) 0 ;
13847 int arg5
= (int) 0 ;
13848 PyObject
* obj0
= 0 ;
13849 PyObject
* obj1
= 0 ;
13850 PyObject
* obj2
= 0 ;
13851 PyObject
* obj3
= 0 ;
13852 PyObject
* obj4
= 0 ;
13853 char *kwnames
[] = {
13854 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13860 arg2
= (double) SWIG_AsDouble(obj1
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13862 arg3
= (double) SWIG_AsDouble(obj2
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13865 arg4
= (int) SWIG_AsInt(obj3
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13869 arg5
= (int) SWIG_AsInt(obj4
);
13870 if (PyErr_Occurred()) SWIG_fail
;
13873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13874 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13879 Py_INCREF(Py_None
); resultobj
= Py_None
;
13886 static PyObject
*_wrap_PyBitmapShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
;
13888 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13891 PyObject
* obj0
= 0 ;
13892 PyObject
* obj1
= 0 ;
13893 PyObject
* obj2
= 0 ;
13894 char *kwnames
[] = {
13895 (char *) "self",(char *) "x",(char *) "y", NULL
13898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13901 arg2
= (double) SWIG_AsDouble(obj1
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13903 arg3
= (double) SWIG_AsDouble(obj2
);
13904 if (PyErr_Occurred()) SWIG_fail
;
13906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13907 (arg1
)->base_OnSize(arg2
,arg3
);
13909 wxPyEndAllowThreads(__tstate
);
13910 if (PyErr_Occurred()) SWIG_fail
;
13912 Py_INCREF(Py_None
); resultobj
= Py_None
;
13919 static PyObject
*_wrap_PyBitmapShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13920 PyObject
*resultobj
;
13921 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13927 bool arg7
= (bool) True
;
13929 PyObject
* obj0
= 0 ;
13930 PyObject
* obj1
= 0 ;
13931 PyObject
* obj2
= 0 ;
13932 PyObject
* obj3
= 0 ;
13933 PyObject
* obj4
= 0 ;
13934 PyObject
* obj5
= 0 ;
13935 PyObject
* obj6
= 0 ;
13936 char *kwnames
[] = {
13937 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13946 if (arg2
== NULL
) {
13947 PyErr_SetString(PyExc_TypeError
,"null reference");
13950 arg3
= (double) SWIG_AsDouble(obj2
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13952 arg4
= (double) SWIG_AsDouble(obj3
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13954 arg5
= (double) SWIG_AsDouble(obj4
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13956 arg6
= (double) SWIG_AsDouble(obj5
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13959 arg7
= (bool) SWIG_AsBool(obj6
);
13960 if (PyErr_Occurred()) SWIG_fail
;
13963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13964 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13966 wxPyEndAllowThreads(__tstate
);
13967 if (PyErr_Occurred()) SWIG_fail
;
13970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13978 static PyObject
*_wrap_PyBitmapShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13979 PyObject
*resultobj
;
13980 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13986 bool arg7
= (bool) True
;
13987 PyObject
* obj0
= 0 ;
13988 PyObject
* obj1
= 0 ;
13989 PyObject
* obj2
= 0 ;
13990 PyObject
* obj3
= 0 ;
13991 PyObject
* obj4
= 0 ;
13992 PyObject
* obj5
= 0 ;
13993 PyObject
* obj6
= 0 ;
13994 char *kwnames
[] = {
13995 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14001 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14002 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14004 if (arg2
== NULL
) {
14005 PyErr_SetString(PyExc_TypeError
,"null reference");
14008 arg3
= (double) SWIG_AsDouble(obj2
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14010 arg4
= (double) SWIG_AsDouble(obj3
);
14011 if (PyErr_Occurred()) SWIG_fail
;
14012 arg5
= (double) SWIG_AsDouble(obj4
);
14013 if (PyErr_Occurred()) SWIG_fail
;
14014 arg6
= (double) SWIG_AsDouble(obj5
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14017 arg7
= (bool) SWIG_AsBool(obj6
);
14018 if (PyErr_Occurred()) SWIG_fail
;
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14024 wxPyEndAllowThreads(__tstate
);
14025 if (PyErr_Occurred()) SWIG_fail
;
14027 Py_INCREF(Py_None
); resultobj
= Py_None
;
14034 static PyObject
*_wrap_PyBitmapShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14035 PyObject
*resultobj
;
14036 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14040 int arg5
= (int) 0 ;
14041 int arg6
= (int) 0 ;
14042 PyObject
* obj0
= 0 ;
14043 PyObject
* obj1
= 0 ;
14044 PyObject
* obj2
= 0 ;
14045 PyObject
* obj3
= 0 ;
14046 PyObject
* obj4
= 0 ;
14047 PyObject
* obj5
= 0 ;
14048 char *kwnames
[] = {
14049 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14055 arg2
= (bool) SWIG_AsBool(obj1
);
14056 if (PyErr_Occurred()) SWIG_fail
;
14057 arg3
= (double) SWIG_AsDouble(obj2
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14059 arg4
= (double) SWIG_AsDouble(obj3
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14062 arg5
= (int) SWIG_AsInt(obj4
);
14063 if (PyErr_Occurred()) SWIG_fail
;
14066 arg6
= (int) SWIG_AsInt(obj5
);
14067 if (PyErr_Occurred()) SWIG_fail
;
14070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14071 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14073 wxPyEndAllowThreads(__tstate
);
14074 if (PyErr_Occurred()) SWIG_fail
;
14076 Py_INCREF(Py_None
); resultobj
= Py_None
;
14083 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14084 PyObject
*resultobj
;
14085 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14088 int arg4
= (int) 0 ;
14089 int arg5
= (int) 0 ;
14090 PyObject
* obj0
= 0 ;
14091 PyObject
* obj1
= 0 ;
14092 PyObject
* obj2
= 0 ;
14093 PyObject
* obj3
= 0 ;
14094 PyObject
* obj4
= 0 ;
14095 char *kwnames
[] = {
14096 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14102 arg2
= (double) SWIG_AsDouble(obj1
);
14103 if (PyErr_Occurred()) SWIG_fail
;
14104 arg3
= (double) SWIG_AsDouble(obj2
);
14105 if (PyErr_Occurred()) SWIG_fail
;
14107 arg4
= (int) SWIG_AsInt(obj3
);
14108 if (PyErr_Occurred()) SWIG_fail
;
14111 arg5
= (int) SWIG_AsInt(obj4
);
14112 if (PyErr_Occurred()) SWIG_fail
;
14115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14116 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
14118 wxPyEndAllowThreads(__tstate
);
14119 if (PyErr_Occurred()) SWIG_fail
;
14121 Py_INCREF(Py_None
); resultobj
= Py_None
;
14128 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14129 PyObject
*resultobj
;
14130 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14133 int arg4
= (int) 0 ;
14134 int arg5
= (int) 0 ;
14135 PyObject
* obj0
= 0 ;
14136 PyObject
* obj1
= 0 ;
14137 PyObject
* obj2
= 0 ;
14138 PyObject
* obj3
= 0 ;
14139 PyObject
* obj4
= 0 ;
14140 char *kwnames
[] = {
14141 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14147 arg2
= (double) SWIG_AsDouble(obj1
);
14148 if (PyErr_Occurred()) SWIG_fail
;
14149 arg3
= (double) SWIG_AsDouble(obj2
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14152 arg4
= (int) SWIG_AsInt(obj3
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14156 arg5
= (int) SWIG_AsInt(obj4
);
14157 if (PyErr_Occurred()) SWIG_fail
;
14160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14161 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
14163 wxPyEndAllowThreads(__tstate
);
14164 if (PyErr_Occurred()) SWIG_fail
;
14166 Py_INCREF(Py_None
); resultobj
= Py_None
;
14173 static PyObject
*_wrap_PyBitmapShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14174 PyObject
*resultobj
;
14175 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14179 int arg5
= (int) 0 ;
14180 int arg6
= (int) 0 ;
14181 PyObject
* obj0
= 0 ;
14182 PyObject
* obj1
= 0 ;
14183 PyObject
* obj2
= 0 ;
14184 PyObject
* obj3
= 0 ;
14185 PyObject
* obj4
= 0 ;
14186 PyObject
* obj5
= 0 ;
14187 char *kwnames
[] = {
14188 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14194 arg2
= (bool) SWIG_AsBool(obj1
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14196 arg3
= (double) SWIG_AsDouble(obj2
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14198 arg4
= (double) SWIG_AsDouble(obj3
);
14199 if (PyErr_Occurred()) SWIG_fail
;
14201 arg5
= (int) SWIG_AsInt(obj4
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14205 arg6
= (int) SWIG_AsInt(obj5
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14210 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14215 Py_INCREF(Py_None
); resultobj
= Py_None
;
14222 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14223 PyObject
*resultobj
;
14224 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14227 int arg4
= (int) 0 ;
14228 int arg5
= (int) 0 ;
14229 PyObject
* obj0
= 0 ;
14230 PyObject
* obj1
= 0 ;
14231 PyObject
* obj2
= 0 ;
14232 PyObject
* obj3
= 0 ;
14233 PyObject
* obj4
= 0 ;
14234 char *kwnames
[] = {
14235 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14241 arg2
= (double) SWIG_AsDouble(obj1
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14243 arg3
= (double) SWIG_AsDouble(obj2
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14246 arg4
= (int) SWIG_AsInt(obj3
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14250 arg5
= (int) SWIG_AsInt(obj4
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14255 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
14257 wxPyEndAllowThreads(__tstate
);
14258 if (PyErr_Occurred()) SWIG_fail
;
14260 Py_INCREF(Py_None
); resultobj
= Py_None
;
14267 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14268 PyObject
*resultobj
;
14269 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14272 int arg4
= (int) 0 ;
14273 int arg5
= (int) 0 ;
14274 PyObject
* obj0
= 0 ;
14275 PyObject
* obj1
= 0 ;
14276 PyObject
* obj2
= 0 ;
14277 PyObject
* obj3
= 0 ;
14278 PyObject
* obj4
= 0 ;
14279 char *kwnames
[] = {
14280 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14286 arg2
= (double) SWIG_AsDouble(obj1
);
14287 if (PyErr_Occurred()) SWIG_fail
;
14288 arg3
= (double) SWIG_AsDouble(obj2
);
14289 if (PyErr_Occurred()) SWIG_fail
;
14291 arg4
= (int) SWIG_AsInt(obj3
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14295 arg5
= (int) SWIG_AsInt(obj4
);
14296 if (PyErr_Occurred()) SWIG_fail
;
14299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14300 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
14302 wxPyEndAllowThreads(__tstate
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14305 Py_INCREF(Py_None
); resultobj
= Py_None
;
14312 static PyObject
*_wrap_PyBitmapShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14313 PyObject
*resultobj
;
14314 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14320 PyObject
* obj0
= 0 ;
14321 PyObject
* obj1
= 0 ;
14322 PyObject
* obj2
= 0 ;
14323 PyObject
* obj3
= 0 ;
14324 PyObject
* obj4
= 0 ;
14325 PyObject
* obj5
= 0 ;
14326 char *kwnames
[] = {
14327 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyBitmapShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14333 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14334 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14336 if (arg2
== NULL
) {
14337 PyErr_SetString(PyExc_TypeError
,"null reference");
14340 arg3
= (double) SWIG_AsDouble(obj2
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14342 arg4
= (double) SWIG_AsDouble(obj3
);
14343 if (PyErr_Occurred()) SWIG_fail
;
14344 arg5
= (double) SWIG_AsDouble(obj4
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14346 arg6
= (double) SWIG_AsDouble(obj5
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14350 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
14352 wxPyEndAllowThreads(__tstate
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14355 Py_INCREF(Py_None
); resultobj
= Py_None
;
14362 static PyObject
*_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14363 PyObject
*resultobj
;
14364 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14366 PyObject
* obj0
= 0 ;
14367 PyObject
* obj1
= 0 ;
14368 char *kwnames
[] = {
14369 (char *) "self",(char *) "dc", NULL
14372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14376 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14378 if (arg2
== NULL
) {
14379 PyErr_SetString(PyExc_TypeError
,"null reference");
14383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14384 (arg1
)->base_OnDrawControlPoints(*arg2
);
14386 wxPyEndAllowThreads(__tstate
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14389 Py_INCREF(Py_None
); resultobj
= Py_None
;
14396 static PyObject
*_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14397 PyObject
*resultobj
;
14398 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14400 PyObject
* obj0
= 0 ;
14401 PyObject
* obj1
= 0 ;
14402 char *kwnames
[] = {
14403 (char *) "self",(char *) "dc", NULL
14406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14410 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14412 if (arg2
== NULL
) {
14413 PyErr_SetString(PyExc_TypeError
,"null reference");
14417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14418 (arg1
)->base_OnEraseControlPoints(*arg2
);
14420 wxPyEndAllowThreads(__tstate
);
14421 if (PyErr_Occurred()) SWIG_fail
;
14423 Py_INCREF(Py_None
); resultobj
= Py_None
;
14430 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14431 PyObject
*resultobj
;
14432 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14434 bool arg3
= (bool) True
;
14435 PyObject
* obj0
= 0 ;
14436 PyObject
* obj1
= 0 ;
14437 PyObject
* obj2
= 0 ;
14438 char *kwnames
[] = {
14439 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
14442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14448 if (arg2
== NULL
) {
14449 PyErr_SetString(PyExc_TypeError
,"null reference");
14453 arg3
= (bool) SWIG_AsBool(obj2
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14458 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
14460 wxPyEndAllowThreads(__tstate
);
14461 if (PyErr_Occurred()) SWIG_fail
;
14463 Py_INCREF(Py_None
); resultobj
= Py_None
;
14470 static PyObject
*_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14471 PyObject
*resultobj
;
14472 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14473 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14477 int arg6
= (int) 0 ;
14478 int arg7
= (int) 0 ;
14479 PyObject
* obj0
= 0 ;
14480 PyObject
* obj1
= 0 ;
14481 PyObject
* obj2
= 0 ;
14482 PyObject
* obj3
= 0 ;
14483 PyObject
* obj4
= 0 ;
14484 PyObject
* obj5
= 0 ;
14485 PyObject
* obj6
= 0 ;
14486 char *kwnames
[] = {
14487 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyBitmapShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14495 arg3
= (bool) SWIG_AsBool(obj2
);
14496 if (PyErr_Occurred()) SWIG_fail
;
14497 arg4
= (double) SWIG_AsDouble(obj3
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14499 arg5
= (double) SWIG_AsDouble(obj4
);
14500 if (PyErr_Occurred()) SWIG_fail
;
14502 arg6
= (int) SWIG_AsInt(obj5
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14506 arg7
= (int) SWIG_AsInt(obj6
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14516 Py_INCREF(Py_None
); resultobj
= Py_None
;
14523 static PyObject
*_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14524 PyObject
*resultobj
;
14525 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14526 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14529 int arg5
= (int) 0 ;
14530 int arg6
= (int) 0 ;
14531 PyObject
* obj0
= 0 ;
14532 PyObject
* obj1
= 0 ;
14533 PyObject
* obj2
= 0 ;
14534 PyObject
* obj3
= 0 ;
14535 PyObject
* obj4
= 0 ;
14536 PyObject
* obj5
= 0 ;
14537 char *kwnames
[] = {
14538 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14546 arg3
= (double) SWIG_AsDouble(obj2
);
14547 if (PyErr_Occurred()) SWIG_fail
;
14548 arg4
= (double) SWIG_AsDouble(obj3
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14551 arg5
= (int) SWIG_AsInt(obj4
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14555 arg6
= (int) SWIG_AsInt(obj5
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14560 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14562 wxPyEndAllowThreads(__tstate
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14565 Py_INCREF(Py_None
); resultobj
= Py_None
;
14572 static PyObject
*_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14573 PyObject
*resultobj
;
14574 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14575 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14578 int arg5
= (int) 0 ;
14579 int arg6
= (int) 0 ;
14580 PyObject
* obj0
= 0 ;
14581 PyObject
* obj1
= 0 ;
14582 PyObject
* obj2
= 0 ;
14583 PyObject
* obj3
= 0 ;
14584 PyObject
* obj4
= 0 ;
14585 PyObject
* obj5
= 0 ;
14586 char *kwnames
[] = {
14587 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14595 arg3
= (double) SWIG_AsDouble(obj2
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14597 arg4
= (double) SWIG_AsDouble(obj3
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14600 arg5
= (int) SWIG_AsInt(obj4
);
14601 if (PyErr_Occurred()) SWIG_fail
;
14604 arg6
= (int) SWIG_AsInt(obj5
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14609 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14611 wxPyEndAllowThreads(__tstate
);
14612 if (PyErr_Occurred()) SWIG_fail
;
14614 Py_INCREF(Py_None
); resultobj
= Py_None
;
14621 static PyObject
*_wrap_PyBitmapShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14622 PyObject
*resultobj
;
14623 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14626 PyObject
* obj0
= 0 ;
14627 PyObject
* obj1
= 0 ;
14628 PyObject
* obj2
= 0 ;
14629 char *kwnames
[] = {
14630 (char *) "self",(char *) "w",(char *) "h", NULL
14633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14636 arg2
= (double) SWIG_AsDouble(obj1
);
14637 if (PyErr_Occurred()) SWIG_fail
;
14638 arg3
= (double) SWIG_AsDouble(obj2
);
14639 if (PyErr_Occurred()) SWIG_fail
;
14641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14642 (arg1
)->base_OnBeginSize(arg2
,arg3
);
14644 wxPyEndAllowThreads(__tstate
);
14645 if (PyErr_Occurred()) SWIG_fail
;
14647 Py_INCREF(Py_None
); resultobj
= Py_None
;
14654 static PyObject
*_wrap_PyBitmapShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14655 PyObject
*resultobj
;
14656 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14659 PyObject
* obj0
= 0 ;
14660 PyObject
* obj1
= 0 ;
14661 PyObject
* obj2
= 0 ;
14662 char *kwnames
[] = {
14663 (char *) "self",(char *) "w",(char *) "h", NULL
14666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14669 arg2
= (double) SWIG_AsDouble(obj1
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14671 arg3
= (double) SWIG_AsDouble(obj2
);
14672 if (PyErr_Occurred()) SWIG_fail
;
14674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14675 (arg1
)->base_OnEndSize(arg2
,arg3
);
14677 wxPyEndAllowThreads(__tstate
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14680 Py_INCREF(Py_None
); resultobj
= Py_None
;
14687 static PyObject
* PyBitmapShape_swigregister(PyObject
*, PyObject
*args
) {
14689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14690 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape
, obj
);
14692 return Py_BuildValue((char *)"");
14694 static PyObject
*_wrap_new_PyDrawnShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14695 PyObject
*resultobj
;
14696 wxPyDrawnShape
*result
;
14697 char *kwnames
[] = {
14701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDrawnShape",kwnames
)) goto fail
;
14703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14704 result
= (wxPyDrawnShape
*)new wxPyDrawnShape();
14706 wxPyEndAllowThreads(__tstate
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDrawnShape
, 1);
14716 static PyObject
*_wrap_PyDrawnShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14717 PyObject
*resultobj
;
14718 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14719 PyObject
*arg2
= (PyObject
*) 0 ;
14720 PyObject
*arg3
= (PyObject
*) 0 ;
14721 PyObject
* obj0
= 0 ;
14722 PyObject
* obj1
= 0 ;
14723 PyObject
* obj2
= 0 ;
14724 char *kwnames
[] = {
14725 (char *) "self",(char *) "self",(char *) "_class", NULL
14728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14735 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14740 Py_INCREF(Py_None
); resultobj
= Py_None
;
14747 static PyObject
*_wrap_PyDrawnShape_CalculateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14748 PyObject
*resultobj
;
14749 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14750 PyObject
* obj0
= 0 ;
14751 char *kwnames
[] = {
14752 (char *) "self", NULL
14755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
14756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14760 (arg1
)->CalculateSize();
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14765 Py_INCREF(Py_None
); resultobj
= Py_None
;
14772 static PyObject
*_wrap_PyDrawnShape_DestroyClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14773 PyObject
*resultobj
;
14774 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14775 PyObject
* obj0
= 0 ;
14776 char *kwnames
[] = {
14777 (char *) "self", NULL
14780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
14781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14785 (arg1
)->DestroyClippingRect();
14787 wxPyEndAllowThreads(__tstate
);
14788 if (PyErr_Occurred()) SWIG_fail
;
14790 Py_INCREF(Py_None
); resultobj
= Py_None
;
14797 static PyObject
*_wrap_PyDrawnShape_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14798 PyObject
*resultobj
;
14799 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14800 wxPoint
*arg2
= 0 ;
14801 wxPoint
*arg3
= 0 ;
14802 wxPoint
*arg4
= 0 ;
14806 PyObject
* obj0
= 0 ;
14807 PyObject
* obj1
= 0 ;
14808 PyObject
* obj2
= 0 ;
14809 PyObject
* obj3
= 0 ;
14810 char *kwnames
[] = {
14811 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
14814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14819 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14823 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14827 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14831 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14836 Py_INCREF(Py_None
); resultobj
= Py_None
;
14843 static PyObject
*_wrap_PyDrawnShape_DrawAtAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14844 PyObject
*resultobj
;
14845 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14847 PyObject
* obj0
= 0 ;
14848 PyObject
* obj1
= 0 ;
14849 char *kwnames
[] = {
14850 (char *) "self",(char *) "angle", NULL
14853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawAtAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
14854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14856 arg2
= (int) SWIG_AsInt(obj1
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14860 (arg1
)->DrawAtAngle(arg2
);
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14865 Py_INCREF(Py_None
); resultobj
= Py_None
;
14872 static PyObject
*_wrap_PyDrawnShape_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14873 PyObject
*resultobj
;
14874 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14879 PyObject
* obj0
= 0 ;
14880 PyObject
* obj1
= 0 ;
14881 PyObject
* obj2
= 0 ;
14882 PyObject
* obj3
= 0 ;
14883 char *kwnames
[] = {
14884 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
14887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14892 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14894 arg3
= (double) SWIG_AsDouble(obj2
);
14895 if (PyErr_Occurred()) SWIG_fail
;
14896 arg4
= (double) SWIG_AsDouble(obj3
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14900 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
14902 wxPyEndAllowThreads(__tstate
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14905 Py_INCREF(Py_None
); resultobj
= Py_None
;
14912 static PyObject
*_wrap_PyDrawnShape_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14913 PyObject
*resultobj
;
14914 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14915 wxPoint
*arg2
= 0 ;
14916 wxPoint
*arg3
= 0 ;
14919 PyObject
* obj0
= 0 ;
14920 PyObject
* obj1
= 0 ;
14921 PyObject
* obj2
= 0 ;
14922 char *kwnames
[] = {
14923 (char *) "self",(char *) "point1",(char *) "point2", NULL
14926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14931 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14935 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14944 Py_INCREF(Py_None
); resultobj
= Py_None
;
14951 static PyObject
*_wrap_PyDrawnShape_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14952 PyObject
*resultobj
;
14953 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14955 wxPoint
*arg3
= (wxPoint
*) 0 ;
14956 PyObject
* obj0
= 0 ;
14957 PyObject
* obj1
= 0 ;
14958 PyObject
* obj2
= 0 ;
14959 char *kwnames
[] = {
14960 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
14963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 (arg1
)->DrawLines(arg2
,arg3
);
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14977 Py_INCREF(Py_None
); resultobj
= Py_None
;
14984 static PyObject
*_wrap_PyDrawnShape_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14985 PyObject
*resultobj
;
14986 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14987 wxPoint
*arg2
= 0 ;
14989 PyObject
* obj0
= 0 ;
14990 PyObject
* obj1
= 0 ;
14991 char *kwnames
[] = {
14992 (char *) "self",(char *) "point", NULL
14995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15000 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15004 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
15006 wxPyEndAllowThreads(__tstate
);
15007 if (PyErr_Occurred()) SWIG_fail
;
15009 Py_INCREF(Py_None
); resultobj
= Py_None
;
15016 static PyObject
*_wrap_PyDrawnShape_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15017 PyObject
*resultobj
;
15018 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15020 wxPoint
*arg3
= (wxPoint
*) 0 ;
15021 int arg4
= (int) 0 ;
15022 PyObject
* obj0
= 0 ;
15023 PyObject
* obj1
= 0 ;
15024 PyObject
* obj2
= 0 ;
15025 PyObject
* obj3
= 0 ;
15026 char *kwnames
[] = {
15027 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
15030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyDrawnShape_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15033 arg2
= (int) SWIG_AsInt(obj1
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15035 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
15036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15038 arg4
= (int) SWIG_AsInt(obj3
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15043 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
15045 wxPyEndAllowThreads(__tstate
);
15046 if (PyErr_Occurred()) SWIG_fail
;
15048 Py_INCREF(Py_None
); resultobj
= Py_None
;
15055 static PyObject
*_wrap_PyDrawnShape_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15056 PyObject
*resultobj
;
15057 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15060 PyObject
* obj0
= 0 ;
15061 PyObject
* obj1
= 0 ;
15062 char *kwnames
[] = {
15063 (char *) "self",(char *) "rect", NULL
15066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
15067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15071 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
15077 wxPyEndAllowThreads(__tstate
);
15078 if (PyErr_Occurred()) SWIG_fail
;
15080 Py_INCREF(Py_None
); resultobj
= Py_None
;
15087 static PyObject
*_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15088 PyObject
*resultobj
;
15089 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15093 PyObject
* obj0
= 0 ;
15094 PyObject
* obj1
= 0 ;
15095 PyObject
* obj2
= 0 ;
15096 char *kwnames
[] = {
15097 (char *) "self",(char *) "rect",(char *) "radius", NULL
15100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15105 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15107 arg3
= (double) SWIG_AsDouble(obj2
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15111 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
15113 wxPyEndAllowThreads(__tstate
);
15114 if (PyErr_Occurred()) SWIG_fail
;
15116 Py_INCREF(Py_None
); resultobj
= Py_None
;
15123 static PyObject
*_wrap_PyDrawnShape_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
;
15125 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15127 wxPoint
*arg3
= (wxPoint
*) 0 ;
15128 PyObject
* obj0
= 0 ;
15129 PyObject
* obj1
= 0 ;
15130 PyObject
* obj2
= 0 ;
15131 char *kwnames
[] = {
15132 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
15135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawSpline",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15138 arg2
= (int) SWIG_AsInt(obj1
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15140 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
15141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15144 (arg1
)->DrawSpline(arg2
,arg3
);
15146 wxPyEndAllowThreads(__tstate
);
15147 if (PyErr_Occurred()) SWIG_fail
;
15149 Py_INCREF(Py_None
); resultobj
= Py_None
;
15156 static PyObject
*_wrap_PyDrawnShape_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15157 PyObject
*resultobj
;
15158 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15159 wxString
*arg2
= 0 ;
15160 wxPoint
*arg3
= 0 ;
15161 bool temp2
= False
;
15163 PyObject
* obj0
= 0 ;
15164 PyObject
* obj1
= 0 ;
15165 PyObject
* obj2
= 0 ;
15166 char *kwnames
[] = {
15167 (char *) "self",(char *) "text",(char *) "point", NULL
15170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15174 arg2
= wxString_in_helper(obj1
);
15175 if (arg2
== NULL
) SWIG_fail
;
15180 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15184 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
15186 wxPyEndAllowThreads(__tstate
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15189 Py_INCREF(Py_None
); resultobj
= Py_None
;
15204 static PyObject
*_wrap_PyDrawnShape_GetAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15205 PyObject
*resultobj
;
15206 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15208 PyObject
* obj0
= 0 ;
15209 char *kwnames
[] = {
15210 (char *) "self", NULL
15213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetAngle",kwnames
,&obj0
)) goto fail
;
15214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15218 result
= (int)(arg1
)->GetAngle();
15220 wxPyEndAllowThreads(__tstate
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15223 resultobj
= SWIG_FromInt((int)result
);
15230 static PyObject
*_wrap_PyDrawnShape_GetMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15231 PyObject
*resultobj
;
15232 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15233 wxPseudoMetaFile
*result
;
15234 PyObject
* obj0
= 0 ;
15235 char *kwnames
[] = {
15236 (char *) "self", NULL
15239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetMetaFile",kwnames
,&obj0
)) goto fail
;
15240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15245 wxPseudoMetaFile
&_result_ref
= (arg1
)->GetMetaFile();
15246 result
= (wxPseudoMetaFile
*) &_result_ref
;
15249 wxPyEndAllowThreads(__tstate
);
15250 if (PyErr_Occurred()) SWIG_fail
;
15252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPseudoMetaFile
, 0);
15259 static PyObject
*_wrap_PyDrawnShape_GetRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15260 PyObject
*resultobj
;
15261 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15263 PyObject
* obj0
= 0 ;
15264 char *kwnames
[] = {
15265 (char *) "self", NULL
15268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetRotation",kwnames
,&obj0
)) goto fail
;
15269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15273 result
= (double)(arg1
)->GetRotation();
15275 wxPyEndAllowThreads(__tstate
);
15276 if (PyErr_Occurred()) SWIG_fail
;
15278 resultobj
= SWIG_FromDouble((double)result
);
15285 static PyObject
*_wrap_PyDrawnShape_LoadFromMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15286 PyObject
*resultobj
;
15287 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15288 wxString
*arg2
= 0 ;
15290 bool temp2
= False
;
15291 PyObject
* obj0
= 0 ;
15292 PyObject
* obj1
= 0 ;
15293 char *kwnames
[] = {
15294 (char *) "self",(char *) "filename", NULL
15297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames
,&obj0
,&obj1
)) goto fail
;
15298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15301 arg2
= wxString_in_helper(obj1
);
15302 if (arg2
== NULL
) SWIG_fail
;
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
);
15309 wxPyEndAllowThreads(__tstate
);
15310 if (PyErr_Occurred()) SWIG_fail
;
15313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15329 static PyObject
*_wrap_PyDrawnShape_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15330 PyObject
*resultobj
;
15331 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15335 PyObject
* obj0
= 0 ;
15336 PyObject
* obj1
= 0 ;
15337 PyObject
* obj2
= 0 ;
15338 PyObject
* obj3
= 0 ;
15339 char *kwnames
[] = {
15340 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
15343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15346 arg2
= (double) SWIG_AsDouble(obj1
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15348 arg3
= (double) SWIG_AsDouble(obj2
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15350 arg4
= (double) SWIG_AsDouble(obj3
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15354 (arg1
)->Rotate(arg2
,arg3
,arg4
);
15356 wxPyEndAllowThreads(__tstate
);
15357 if (PyErr_Occurred()) SWIG_fail
;
15359 Py_INCREF(Py_None
); resultobj
= Py_None
;
15366 static PyObject
*_wrap_PyDrawnShape_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15367 PyObject
*resultobj
;
15368 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15371 PyObject
* obj0
= 0 ;
15372 PyObject
* obj1
= 0 ;
15373 char *kwnames
[] = {
15374 (char *) "self",(char *) "rect", NULL
15377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15382 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15386 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
15388 wxPyEndAllowThreads(__tstate
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15391 Py_INCREF(Py_None
); resultobj
= Py_None
;
15398 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15399 PyObject
*resultobj
;
15400 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15401 wxColour
*arg2
= 0 ;
15403 PyObject
* obj0
= 0 ;
15404 PyObject
* obj1
= 0 ;
15405 char *kwnames
[] = {
15406 (char *) "self",(char *) "colour", NULL
15409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15414 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15418 (arg1
)->SetDrawnBackgroundColour((wxColour
const &)*arg2
);
15420 wxPyEndAllowThreads(__tstate
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15423 Py_INCREF(Py_None
); resultobj
= Py_None
;
15430 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15431 PyObject
*resultobj
;
15432 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15434 PyObject
* obj0
= 0 ;
15435 PyObject
* obj1
= 0 ;
15436 char *kwnames
[] = {
15437 (char *) "self",(char *) "mode", NULL
15440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
15441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15443 arg2
= (int) SWIG_AsInt(obj1
);
15444 if (PyErr_Occurred()) SWIG_fail
;
15446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15447 (arg1
)->SetDrawnBackgroundMode(arg2
);
15449 wxPyEndAllowThreads(__tstate
);
15450 if (PyErr_Occurred()) SWIG_fail
;
15452 Py_INCREF(Py_None
); resultobj
= Py_None
;
15459 static PyObject
*_wrap_PyDrawnShape_SetDrawnBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15460 PyObject
*resultobj
;
15461 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15462 wxBrush
*arg2
= (wxBrush
*) 0 ;
15463 bool arg3
= (bool) FALSE
;
15464 PyObject
* obj0
= 0 ;
15465 PyObject
* obj1
= 0 ;
15466 PyObject
* obj2
= 0 ;
15467 char *kwnames
[] = {
15468 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15477 if (obj1
== Py_None
) {
15480 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
15481 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
15486 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
15491 arg3
= (bool) SWIG_AsBool(obj2
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15496 (arg1
)->SetDrawnBrush(arg2
,arg3
);
15498 wxPyEndAllowThreads(__tstate
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15501 Py_INCREF(Py_None
); resultobj
= Py_None
;
15508 static PyObject
*_wrap_PyDrawnShape_SetDrawnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15509 PyObject
*resultobj
;
15510 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15511 wxFont
*arg2
= (wxFont
*) 0 ;
15512 PyObject
* obj0
= 0 ;
15513 PyObject
* obj1
= 0 ;
15514 char *kwnames
[] = {
15515 (char *) "self",(char *) "font", NULL
15518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15524 if (obj1
== Py_None
) {
15527 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
15528 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
15533 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
15537 temp
->GetUnderlined(),
15538 temp
->GetFaceName(),
15539 temp
->GetEncoding());
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 (arg1
)->SetDrawnFont(arg2
);
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15550 Py_INCREF(Py_None
); resultobj
= Py_None
;
15557 static PyObject
*_wrap_PyDrawnShape_SetDrawnPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15558 PyObject
*resultobj
;
15559 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15560 wxPen
*arg2
= (wxPen
*) 0 ;
15561 bool arg3
= (bool) FALSE
;
15562 PyObject
* obj0
= 0 ;
15563 PyObject
* obj1
= 0 ;
15564 PyObject
* obj2
= 0 ;
15565 char *kwnames
[] = {
15566 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15575 if (obj1
== Py_None
) {
15578 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
15579 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
15584 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
15591 arg3
= (bool) SWIG_AsBool(obj2
);
15592 if (PyErr_Occurred()) SWIG_fail
;
15595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15596 (arg1
)->SetDrawnPen(arg2
,arg3
);
15598 wxPyEndAllowThreads(__tstate
);
15599 if (PyErr_Occurred()) SWIG_fail
;
15601 Py_INCREF(Py_None
); resultobj
= Py_None
;
15608 static PyObject
*_wrap_PyDrawnShape_SetDrawnTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15609 PyObject
*resultobj
;
15610 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15611 wxColour
*arg2
= 0 ;
15613 PyObject
* obj0
= 0 ;
15614 PyObject
* obj1
= 0 ;
15615 char *kwnames
[] = {
15616 (char *) "self",(char *) "colour", NULL
15619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15624 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15628 (arg1
)->SetDrawnTextColour((wxColour
const &)*arg2
);
15630 wxPyEndAllowThreads(__tstate
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15633 Py_INCREF(Py_None
); resultobj
= Py_None
;
15640 static PyObject
*_wrap_PyDrawnShape_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15641 PyObject
*resultobj
;
15642 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15645 PyObject
* obj0
= 0 ;
15646 PyObject
* obj1
= 0 ;
15647 PyObject
* obj2
= 0 ;
15648 char *kwnames
[] = {
15649 (char *) "self",(char *) "sx",(char *) "sy", NULL
15652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15655 arg2
= (double) SWIG_AsDouble(obj1
);
15656 if (PyErr_Occurred()) SWIG_fail
;
15657 arg3
= (double) SWIG_AsDouble(obj2
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 (arg1
)->Scale(arg2
,arg3
);
15663 wxPyEndAllowThreads(__tstate
);
15664 if (PyErr_Occurred()) SWIG_fail
;
15666 Py_INCREF(Py_None
); resultobj
= Py_None
;
15673 static PyObject
*_wrap_PyDrawnShape_SetSaveToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15674 PyObject
*resultobj
;
15675 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15677 PyObject
* obj0
= 0 ;
15678 PyObject
* obj1
= 0 ;
15679 char *kwnames
[] = {
15680 (char *) "self",(char *) "save", NULL
15683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
15684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15686 arg2
= (bool) SWIG_AsBool(obj1
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 (arg1
)->SetSaveToFile(arg2
);
15692 wxPyEndAllowThreads(__tstate
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15695 Py_INCREF(Py_None
); resultobj
= Py_None
;
15702 static PyObject
*_wrap_PyDrawnShape_Translate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15703 PyObject
*resultobj
;
15704 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15707 PyObject
* obj0
= 0 ;
15708 PyObject
* obj1
= 0 ;
15709 PyObject
* obj2
= 0 ;
15710 char *kwnames
[] = {
15711 (char *) "self",(char *) "x",(char *) "y", NULL
15714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15717 arg2
= (double) SWIG_AsDouble(obj1
);
15718 if (PyErr_Occurred()) SWIG_fail
;
15719 arg3
= (double) SWIG_AsDouble(obj2
);
15720 if (PyErr_Occurred()) SWIG_fail
;
15722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15723 (arg1
)->Translate(arg2
,arg3
);
15725 wxPyEndAllowThreads(__tstate
);
15726 if (PyErr_Occurred()) SWIG_fail
;
15728 Py_INCREF(Py_None
); resultobj
= Py_None
;
15735 static PyObject
*_wrap_PyDrawnShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15736 PyObject
*resultobj
;
15737 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15738 PyObject
* obj0
= 0 ;
15739 char *kwnames
[] = {
15740 (char *) "self", NULL
15743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
15744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15748 (arg1
)->base_OnDelete();
15750 wxPyEndAllowThreads(__tstate
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15753 Py_INCREF(Py_None
); resultobj
= Py_None
;
15760 static PyObject
*_wrap_PyDrawnShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15761 PyObject
*resultobj
;
15762 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15764 PyObject
* obj0
= 0 ;
15765 PyObject
* obj1
= 0 ;
15766 char *kwnames
[] = {
15767 (char *) "self",(char *) "dc", NULL
15770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
15771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15774 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15776 if (arg2
== NULL
) {
15777 PyErr_SetString(PyExc_TypeError
,"null reference");
15781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15782 (arg1
)->base_OnDraw(*arg2
);
15784 wxPyEndAllowThreads(__tstate
);
15785 if (PyErr_Occurred()) SWIG_fail
;
15787 Py_INCREF(Py_None
); resultobj
= Py_None
;
15794 static PyObject
*_wrap_PyDrawnShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15795 PyObject
*resultobj
;
15796 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15798 PyObject
* obj0
= 0 ;
15799 PyObject
* obj1
= 0 ;
15800 char *kwnames
[] = {
15801 (char *) "self",(char *) "dc", NULL
15804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15808 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15810 if (arg2
== NULL
) {
15811 PyErr_SetString(PyExc_TypeError
,"null reference");
15815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15816 (arg1
)->base_OnDrawContents(*arg2
);
15818 wxPyEndAllowThreads(__tstate
);
15819 if (PyErr_Occurred()) SWIG_fail
;
15821 Py_INCREF(Py_None
); resultobj
= Py_None
;
15828 static PyObject
*_wrap_PyDrawnShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15829 PyObject
*resultobj
;
15830 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15832 bool arg3
= (bool) FALSE
;
15833 PyObject
* obj0
= 0 ;
15834 PyObject
* obj1
= 0 ;
15835 PyObject
* obj2
= 0 ;
15836 char *kwnames
[] = {
15837 (char *) "self",(char *) "dc",(char *) "erase", NULL
15840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15846 if (arg2
== NULL
) {
15847 PyErr_SetString(PyExc_TypeError
,"null reference");
15851 arg3
= (bool) SWIG_AsBool(obj2
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15856 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
15858 wxPyEndAllowThreads(__tstate
);
15859 if (PyErr_Occurred()) SWIG_fail
;
15861 Py_INCREF(Py_None
); resultobj
= Py_None
;
15868 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15869 PyObject
*resultobj
;
15870 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15872 PyObject
* obj0
= 0 ;
15873 PyObject
* obj1
= 0 ;
15874 char *kwnames
[] = {
15875 (char *) "self",(char *) "dc", NULL
15878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
15879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15881 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15882 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15884 if (arg2
== NULL
) {
15885 PyErr_SetString(PyExc_TypeError
,"null reference");
15889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15890 (arg1
)->base_OnMoveLinks(*arg2
);
15892 wxPyEndAllowThreads(__tstate
);
15893 if (PyErr_Occurred()) SWIG_fail
;
15895 Py_INCREF(Py_None
); resultobj
= Py_None
;
15902 static PyObject
*_wrap_PyDrawnShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15903 PyObject
*resultobj
;
15904 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15906 PyObject
* obj0
= 0 ;
15907 PyObject
* obj1
= 0 ;
15908 char *kwnames
[] = {
15909 (char *) "self",(char *) "dc", NULL
15912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
15913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15916 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15918 if (arg2
== NULL
) {
15919 PyErr_SetString(PyExc_TypeError
,"null reference");
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 (arg1
)->base_OnErase(*arg2
);
15926 wxPyEndAllowThreads(__tstate
);
15927 if (PyErr_Occurred()) SWIG_fail
;
15929 Py_INCREF(Py_None
); resultobj
= Py_None
;
15936 static PyObject
*_wrap_PyDrawnShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
;
15938 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15940 PyObject
* obj0
= 0 ;
15941 PyObject
* obj1
= 0 ;
15942 char *kwnames
[] = {
15943 (char *) "self",(char *) "dc", NULL
15946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15950 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15952 if (arg2
== NULL
) {
15953 PyErr_SetString(PyExc_TypeError
,"null reference");
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 (arg1
)->base_OnEraseContents(*arg2
);
15960 wxPyEndAllowThreads(__tstate
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15963 Py_INCREF(Py_None
); resultobj
= Py_None
;
15970 static PyObject
*_wrap_PyDrawnShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15971 PyObject
*resultobj
;
15972 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15974 PyObject
* obj0
= 0 ;
15975 PyObject
* obj1
= 0 ;
15976 char *kwnames
[] = {
15977 (char *) "self",(char *) "dc", NULL
15980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
15981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15984 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15986 if (arg2
== NULL
) {
15987 PyErr_SetString(PyExc_TypeError
,"null reference");
15991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15992 (arg1
)->base_OnHighlight(*arg2
);
15994 wxPyEndAllowThreads(__tstate
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15997 Py_INCREF(Py_None
); resultobj
= Py_None
;
16004 static PyObject
*_wrap_PyDrawnShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16005 PyObject
*resultobj
;
16006 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16009 int arg4
= (int) 0 ;
16010 int arg5
= (int) 0 ;
16011 PyObject
* obj0
= 0 ;
16012 PyObject
* obj1
= 0 ;
16013 PyObject
* obj2
= 0 ;
16014 PyObject
* obj3
= 0 ;
16015 PyObject
* obj4
= 0 ;
16016 char *kwnames
[] = {
16017 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16023 arg2
= (double) SWIG_AsDouble(obj1
);
16024 if (PyErr_Occurred()) SWIG_fail
;
16025 arg3
= (double) SWIG_AsDouble(obj2
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16028 arg4
= (int) SWIG_AsInt(obj3
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16032 arg5
= (int) SWIG_AsInt(obj4
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16037 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
16039 wxPyEndAllowThreads(__tstate
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16042 Py_INCREF(Py_None
); resultobj
= Py_None
;
16049 static PyObject
*_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
;
16051 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16054 int arg4
= (int) 0 ;
16055 int arg5
= (int) 0 ;
16056 PyObject
* obj0
= 0 ;
16057 PyObject
* obj1
= 0 ;
16058 PyObject
* obj2
= 0 ;
16059 PyObject
* obj3
= 0 ;
16060 PyObject
* obj4
= 0 ;
16061 char *kwnames
[] = {
16062 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16068 arg2
= (double) SWIG_AsDouble(obj1
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16070 arg3
= (double) SWIG_AsDouble(obj2
);
16071 if (PyErr_Occurred()) SWIG_fail
;
16073 arg4
= (int) SWIG_AsInt(obj3
);
16074 if (PyErr_Occurred()) SWIG_fail
;
16077 arg5
= (int) SWIG_AsInt(obj4
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16082 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
16084 wxPyEndAllowThreads(__tstate
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16087 Py_INCREF(Py_None
); resultobj
= Py_None
;
16094 static PyObject
*_wrap_PyDrawnShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16095 PyObject
*resultobj
;
16096 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16099 int arg4
= (int) 0 ;
16100 int arg5
= (int) 0 ;
16101 PyObject
* obj0
= 0 ;
16102 PyObject
* obj1
= 0 ;
16103 PyObject
* obj2
= 0 ;
16104 PyObject
* obj3
= 0 ;
16105 PyObject
* obj4
= 0 ;
16106 char *kwnames
[] = {
16107 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16113 arg2
= (double) SWIG_AsDouble(obj1
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16115 arg3
= (double) SWIG_AsDouble(obj2
);
16116 if (PyErr_Occurred()) SWIG_fail
;
16118 arg4
= (int) SWIG_AsInt(obj3
);
16119 if (PyErr_Occurred()) SWIG_fail
;
16122 arg5
= (int) SWIG_AsInt(obj4
);
16123 if (PyErr_Occurred()) SWIG_fail
;
16126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16127 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
16129 wxPyEndAllowThreads(__tstate
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16132 Py_INCREF(Py_None
); resultobj
= Py_None
;
16139 static PyObject
*_wrap_PyDrawnShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16140 PyObject
*resultobj
;
16141 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16144 PyObject
* obj0
= 0 ;
16145 PyObject
* obj1
= 0 ;
16146 PyObject
* obj2
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self",(char *) "x",(char *) "y", NULL
16151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16154 arg2
= (double) SWIG_AsDouble(obj1
);
16155 if (PyErr_Occurred()) SWIG_fail
;
16156 arg3
= (double) SWIG_AsDouble(obj2
);
16157 if (PyErr_Occurred()) SWIG_fail
;
16159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16160 (arg1
)->base_OnSize(arg2
,arg3
);
16162 wxPyEndAllowThreads(__tstate
);
16163 if (PyErr_Occurred()) SWIG_fail
;
16165 Py_INCREF(Py_None
); resultobj
= Py_None
;
16172 static PyObject
*_wrap_PyDrawnShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
;
16174 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16180 bool arg7
= (bool) True
;
16182 PyObject
* obj0
= 0 ;
16183 PyObject
* obj1
= 0 ;
16184 PyObject
* obj2
= 0 ;
16185 PyObject
* obj3
= 0 ;
16186 PyObject
* obj4
= 0 ;
16187 PyObject
* obj5
= 0 ;
16188 PyObject
* obj6
= 0 ;
16189 char *kwnames
[] = {
16190 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16197 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16199 if (arg2
== NULL
) {
16200 PyErr_SetString(PyExc_TypeError
,"null reference");
16203 arg3
= (double) SWIG_AsDouble(obj2
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16205 arg4
= (double) SWIG_AsDouble(obj3
);
16206 if (PyErr_Occurred()) SWIG_fail
;
16207 arg5
= (double) SWIG_AsDouble(obj4
);
16208 if (PyErr_Occurred()) SWIG_fail
;
16209 arg6
= (double) SWIG_AsDouble(obj5
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16212 arg7
= (bool) SWIG_AsBool(obj6
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16217 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16219 wxPyEndAllowThreads(__tstate
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16231 static PyObject
*_wrap_PyDrawnShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16232 PyObject
*resultobj
;
16233 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16239 bool arg7
= (bool) True
;
16240 PyObject
* obj0
= 0 ;
16241 PyObject
* obj1
= 0 ;
16242 PyObject
* obj2
= 0 ;
16243 PyObject
* obj3
= 0 ;
16244 PyObject
* obj4
= 0 ;
16245 PyObject
* obj5
= 0 ;
16246 PyObject
* obj6
= 0 ;
16247 char *kwnames
[] = {
16248 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16254 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16255 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16257 if (arg2
== NULL
) {
16258 PyErr_SetString(PyExc_TypeError
,"null reference");
16261 arg3
= (double) SWIG_AsDouble(obj2
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16263 arg4
= (double) SWIG_AsDouble(obj3
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16265 arg5
= (double) SWIG_AsDouble(obj4
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16267 arg6
= (double) SWIG_AsDouble(obj5
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16270 arg7
= (bool) SWIG_AsBool(obj6
);
16271 if (PyErr_Occurred()) SWIG_fail
;
16274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16275 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16277 wxPyEndAllowThreads(__tstate
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16280 Py_INCREF(Py_None
); resultobj
= Py_None
;
16287 static PyObject
*_wrap_PyDrawnShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16288 PyObject
*resultobj
;
16289 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16293 int arg5
= (int) 0 ;
16294 int arg6
= (int) 0 ;
16295 PyObject
* obj0
= 0 ;
16296 PyObject
* obj1
= 0 ;
16297 PyObject
* obj2
= 0 ;
16298 PyObject
* obj3
= 0 ;
16299 PyObject
* obj4
= 0 ;
16300 PyObject
* obj5
= 0 ;
16301 char *kwnames
[] = {
16302 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16308 arg2
= (bool) SWIG_AsBool(obj1
);
16309 if (PyErr_Occurred()) SWIG_fail
;
16310 arg3
= (double) SWIG_AsDouble(obj2
);
16311 if (PyErr_Occurred()) SWIG_fail
;
16312 arg4
= (double) SWIG_AsDouble(obj3
);
16313 if (PyErr_Occurred()) SWIG_fail
;
16315 arg5
= (int) SWIG_AsInt(obj4
);
16316 if (PyErr_Occurred()) SWIG_fail
;
16319 arg6
= (int) SWIG_AsInt(obj5
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16324 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16326 wxPyEndAllowThreads(__tstate
);
16327 if (PyErr_Occurred()) SWIG_fail
;
16329 Py_INCREF(Py_None
); resultobj
= Py_None
;
16336 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16337 PyObject
*resultobj
;
16338 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16341 int arg4
= (int) 0 ;
16342 int arg5
= (int) 0 ;
16343 PyObject
* obj0
= 0 ;
16344 PyObject
* obj1
= 0 ;
16345 PyObject
* obj2
= 0 ;
16346 PyObject
* obj3
= 0 ;
16347 PyObject
* obj4
= 0 ;
16348 char *kwnames
[] = {
16349 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16355 arg2
= (double) SWIG_AsDouble(obj1
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16357 arg3
= (double) SWIG_AsDouble(obj2
);
16358 if (PyErr_Occurred()) SWIG_fail
;
16360 arg4
= (int) SWIG_AsInt(obj3
);
16361 if (PyErr_Occurred()) SWIG_fail
;
16364 arg5
= (int) SWIG_AsInt(obj4
);
16365 if (PyErr_Occurred()) SWIG_fail
;
16368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16369 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
16371 wxPyEndAllowThreads(__tstate
);
16372 if (PyErr_Occurred()) SWIG_fail
;
16374 Py_INCREF(Py_None
); resultobj
= Py_None
;
16381 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16382 PyObject
*resultobj
;
16383 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16386 int arg4
= (int) 0 ;
16387 int arg5
= (int) 0 ;
16388 PyObject
* obj0
= 0 ;
16389 PyObject
* obj1
= 0 ;
16390 PyObject
* obj2
= 0 ;
16391 PyObject
* obj3
= 0 ;
16392 PyObject
* obj4
= 0 ;
16393 char *kwnames
[] = {
16394 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16400 arg2
= (double) SWIG_AsDouble(obj1
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16402 arg3
= (double) SWIG_AsDouble(obj2
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16405 arg4
= (int) SWIG_AsInt(obj3
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16409 arg5
= (int) SWIG_AsInt(obj4
);
16410 if (PyErr_Occurred()) SWIG_fail
;
16413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16414 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
16416 wxPyEndAllowThreads(__tstate
);
16417 if (PyErr_Occurred()) SWIG_fail
;
16419 Py_INCREF(Py_None
); resultobj
= Py_None
;
16426 static PyObject
*_wrap_PyDrawnShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16427 PyObject
*resultobj
;
16428 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16432 int arg5
= (int) 0 ;
16433 int arg6
= (int) 0 ;
16434 PyObject
* obj0
= 0 ;
16435 PyObject
* obj1
= 0 ;
16436 PyObject
* obj2
= 0 ;
16437 PyObject
* obj3
= 0 ;
16438 PyObject
* obj4
= 0 ;
16439 PyObject
* obj5
= 0 ;
16440 char *kwnames
[] = {
16441 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16447 arg2
= (bool) SWIG_AsBool(obj1
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16449 arg3
= (double) SWIG_AsDouble(obj2
);
16450 if (PyErr_Occurred()) SWIG_fail
;
16451 arg4
= (double) SWIG_AsDouble(obj3
);
16452 if (PyErr_Occurred()) SWIG_fail
;
16454 arg5
= (int) SWIG_AsInt(obj4
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16458 arg6
= (int) SWIG_AsInt(obj5
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16463 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
16465 wxPyEndAllowThreads(__tstate
);
16466 if (PyErr_Occurred()) SWIG_fail
;
16468 Py_INCREF(Py_None
); resultobj
= Py_None
;
16475 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16476 PyObject
*resultobj
;
16477 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16480 int arg4
= (int) 0 ;
16481 int arg5
= (int) 0 ;
16482 PyObject
* obj0
= 0 ;
16483 PyObject
* obj1
= 0 ;
16484 PyObject
* obj2
= 0 ;
16485 PyObject
* obj3
= 0 ;
16486 PyObject
* obj4
= 0 ;
16487 char *kwnames
[] = {
16488 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16494 arg2
= (double) SWIG_AsDouble(obj1
);
16495 if (PyErr_Occurred()) SWIG_fail
;
16496 arg3
= (double) SWIG_AsDouble(obj2
);
16497 if (PyErr_Occurred()) SWIG_fail
;
16499 arg4
= (int) SWIG_AsInt(obj3
);
16500 if (PyErr_Occurred()) SWIG_fail
;
16503 arg5
= (int) SWIG_AsInt(obj4
);
16504 if (PyErr_Occurred()) SWIG_fail
;
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16513 Py_INCREF(Py_None
); resultobj
= Py_None
;
16520 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16521 PyObject
*resultobj
;
16522 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16525 int arg4
= (int) 0 ;
16526 int arg5
= (int) 0 ;
16527 PyObject
* obj0
= 0 ;
16528 PyObject
* obj1
= 0 ;
16529 PyObject
* obj2
= 0 ;
16530 PyObject
* obj3
= 0 ;
16531 PyObject
* obj4
= 0 ;
16532 char *kwnames
[] = {
16533 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16539 arg2
= (double) SWIG_AsDouble(obj1
);
16540 if (PyErr_Occurred()) SWIG_fail
;
16541 arg3
= (double) SWIG_AsDouble(obj2
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16544 arg4
= (int) SWIG_AsInt(obj3
);
16545 if (PyErr_Occurred()) SWIG_fail
;
16548 arg5
= (int) SWIG_AsInt(obj4
);
16549 if (PyErr_Occurred()) SWIG_fail
;
16552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16553 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
16555 wxPyEndAllowThreads(__tstate
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16558 Py_INCREF(Py_None
); resultobj
= Py_None
;
16565 static PyObject
*_wrap_PyDrawnShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16566 PyObject
*resultobj
;
16567 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16573 PyObject
* obj0
= 0 ;
16574 PyObject
* obj1
= 0 ;
16575 PyObject
* obj2
= 0 ;
16576 PyObject
* obj3
= 0 ;
16577 PyObject
* obj4
= 0 ;
16578 PyObject
* obj5
= 0 ;
16579 char *kwnames
[] = {
16580 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDrawnShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16587 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16589 if (arg2
== NULL
) {
16590 PyErr_SetString(PyExc_TypeError
,"null reference");
16593 arg3
= (double) SWIG_AsDouble(obj2
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16595 arg4
= (double) SWIG_AsDouble(obj3
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16597 arg5
= (double) SWIG_AsDouble(obj4
);
16598 if (PyErr_Occurred()) SWIG_fail
;
16599 arg6
= (double) SWIG_AsDouble(obj5
);
16600 if (PyErr_Occurred()) SWIG_fail
;
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16603 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
16605 wxPyEndAllowThreads(__tstate
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16608 Py_INCREF(Py_None
); resultobj
= Py_None
;
16615 static PyObject
*_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16616 PyObject
*resultobj
;
16617 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16619 PyObject
* obj0
= 0 ;
16620 PyObject
* obj1
= 0 ;
16621 char *kwnames
[] = {
16622 (char *) "self",(char *) "dc", NULL
16625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16631 if (arg2
== NULL
) {
16632 PyErr_SetString(PyExc_TypeError
,"null reference");
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 (arg1
)->base_OnDrawControlPoints(*arg2
);
16639 wxPyEndAllowThreads(__tstate
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16642 Py_INCREF(Py_None
); resultobj
= Py_None
;
16649 static PyObject
*_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16650 PyObject
*resultobj
;
16651 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16653 PyObject
* obj0
= 0 ;
16654 PyObject
* obj1
= 0 ;
16655 char *kwnames
[] = {
16656 (char *) "self",(char *) "dc", NULL
16659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16665 if (arg2
== NULL
) {
16666 PyErr_SetString(PyExc_TypeError
,"null reference");
16670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16671 (arg1
)->base_OnEraseControlPoints(*arg2
);
16673 wxPyEndAllowThreads(__tstate
);
16674 if (PyErr_Occurred()) SWIG_fail
;
16676 Py_INCREF(Py_None
); resultobj
= Py_None
;
16683 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16684 PyObject
*resultobj
;
16685 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16687 bool arg3
= (bool) True
;
16688 PyObject
* obj0
= 0 ;
16689 PyObject
* obj1
= 0 ;
16690 PyObject
* obj2
= 0 ;
16691 char *kwnames
[] = {
16692 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16699 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16701 if (arg2
== NULL
) {
16702 PyErr_SetString(PyExc_TypeError
,"null reference");
16706 arg3
= (bool) SWIG_AsBool(obj2
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16711 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
16713 wxPyEndAllowThreads(__tstate
);
16714 if (PyErr_Occurred()) SWIG_fail
;
16716 Py_INCREF(Py_None
); resultobj
= Py_None
;
16723 static PyObject
*_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16724 PyObject
*resultobj
;
16725 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16726 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16730 int arg6
= (int) 0 ;
16731 int arg7
= (int) 0 ;
16732 PyObject
* obj0
= 0 ;
16733 PyObject
* obj1
= 0 ;
16734 PyObject
* obj2
= 0 ;
16735 PyObject
* obj3
= 0 ;
16736 PyObject
* obj4
= 0 ;
16737 PyObject
* obj5
= 0 ;
16738 PyObject
* obj6
= 0 ;
16739 char *kwnames
[] = {
16740 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDrawnShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16748 arg3
= (bool) SWIG_AsBool(obj2
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16750 arg4
= (double) SWIG_AsDouble(obj3
);
16751 if (PyErr_Occurred()) SWIG_fail
;
16752 arg5
= (double) SWIG_AsDouble(obj4
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16755 arg6
= (int) SWIG_AsInt(obj5
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16759 arg7
= (int) SWIG_AsInt(obj6
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16764 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16766 wxPyEndAllowThreads(__tstate
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16769 Py_INCREF(Py_None
); resultobj
= Py_None
;
16776 static PyObject
*_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16777 PyObject
*resultobj
;
16778 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16779 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16782 int arg5
= (int) 0 ;
16783 int arg6
= (int) 0 ;
16784 PyObject
* obj0
= 0 ;
16785 PyObject
* obj1
= 0 ;
16786 PyObject
* obj2
= 0 ;
16787 PyObject
* obj3
= 0 ;
16788 PyObject
* obj4
= 0 ;
16789 PyObject
* obj5
= 0 ;
16790 char *kwnames
[] = {
16791 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16799 arg3
= (double) SWIG_AsDouble(obj2
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16801 arg4
= (double) SWIG_AsDouble(obj3
);
16802 if (PyErr_Occurred()) SWIG_fail
;
16804 arg5
= (int) SWIG_AsInt(obj4
);
16805 if (PyErr_Occurred()) SWIG_fail
;
16808 arg6
= (int) SWIG_AsInt(obj5
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16813 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16815 wxPyEndAllowThreads(__tstate
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16818 Py_INCREF(Py_None
); resultobj
= Py_None
;
16825 static PyObject
*_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16826 PyObject
*resultobj
;
16827 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16828 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16831 int arg5
= (int) 0 ;
16832 int arg6
= (int) 0 ;
16833 PyObject
* obj0
= 0 ;
16834 PyObject
* obj1
= 0 ;
16835 PyObject
* obj2
= 0 ;
16836 PyObject
* obj3
= 0 ;
16837 PyObject
* obj4
= 0 ;
16838 PyObject
* obj5
= 0 ;
16839 char *kwnames
[] = {
16840 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16848 arg3
= (double) SWIG_AsDouble(obj2
);
16849 if (PyErr_Occurred()) SWIG_fail
;
16850 arg4
= (double) SWIG_AsDouble(obj3
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16853 arg5
= (int) SWIG_AsInt(obj4
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16857 arg6
= (int) SWIG_AsInt(obj5
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16862 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16864 wxPyEndAllowThreads(__tstate
);
16865 if (PyErr_Occurred()) SWIG_fail
;
16867 Py_INCREF(Py_None
); resultobj
= Py_None
;
16874 static PyObject
*_wrap_PyDrawnShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16875 PyObject
*resultobj
;
16876 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16879 PyObject
* obj0
= 0 ;
16880 PyObject
* obj1
= 0 ;
16881 PyObject
* obj2
= 0 ;
16882 char *kwnames
[] = {
16883 (char *) "self",(char *) "w",(char *) "h", NULL
16886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16889 arg2
= (double) SWIG_AsDouble(obj1
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16891 arg3
= (double) SWIG_AsDouble(obj2
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16895 (arg1
)->base_OnBeginSize(arg2
,arg3
);
16897 wxPyEndAllowThreads(__tstate
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16900 Py_INCREF(Py_None
); resultobj
= Py_None
;
16907 static PyObject
*_wrap_PyDrawnShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16908 PyObject
*resultobj
;
16909 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16912 PyObject
* obj0
= 0 ;
16913 PyObject
* obj1
= 0 ;
16914 PyObject
* obj2
= 0 ;
16915 char *kwnames
[] = {
16916 (char *) "self",(char *) "w",(char *) "h", NULL
16919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16922 arg2
= (double) SWIG_AsDouble(obj1
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16924 arg3
= (double) SWIG_AsDouble(obj2
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 (arg1
)->base_OnEndSize(arg2
,arg3
);
16930 wxPyEndAllowThreads(__tstate
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16933 Py_INCREF(Py_None
); resultobj
= Py_None
;
16940 static PyObject
* PyDrawnShape_swigregister(PyObject
*, PyObject
*args
) {
16942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16943 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape
, obj
);
16945 return Py_BuildValue((char *)"");
16947 static PyObject
*_wrap_new_OGLConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16948 PyObject
*resultobj
;
16950 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
16951 PyObject
*arg3
= (PyObject
*) 0 ;
16952 wxOGLConstraint
*result
;
16953 PyObject
* obj0
= 0 ;
16954 PyObject
* obj1
= 0 ;
16955 PyObject
* obj2
= 0 ;
16956 char *kwnames
[] = {
16957 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
16960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_OGLConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16961 arg1
= (int) SWIG_AsInt(obj0
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
16964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16968 result
= (wxOGLConstraint
*)new_wxOGLConstraint(arg1
,arg2
,arg3
);
16970 wxPyEndAllowThreads(__tstate
);
16971 if (PyErr_Occurred()) SWIG_fail
;
16974 resultobj
= wxPyMake_wxObject(result
);
16982 static PyObject
*_wrap_OGLConstraint_Evaluate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16983 PyObject
*resultobj
;
16984 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
16986 PyObject
* obj0
= 0 ;
16987 char *kwnames
[] = {
16988 (char *) "self", NULL
16991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:OGLConstraint_Evaluate",kwnames
,&obj0
)) goto fail
;
16992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
16993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16996 result
= (bool)(arg1
)->Evaluate();
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17010 static PyObject
*_wrap_OGLConstraint_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17011 PyObject
*resultobj
;
17012 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17015 PyObject
* obj0
= 0 ;
17016 PyObject
* obj1
= 0 ;
17017 PyObject
* obj2
= 0 ;
17018 char *kwnames
[] = {
17019 (char *) "self",(char *) "x",(char *) "y", NULL
17022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:OGLConstraint_SetSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
17024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17025 arg2
= (double) SWIG_AsDouble(obj1
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17027 arg3
= (double) SWIG_AsDouble(obj2
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17031 (arg1
)->SetSpacing(arg2
,arg3
);
17033 wxPyEndAllowThreads(__tstate
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17036 Py_INCREF(Py_None
); resultobj
= Py_None
;
17043 static PyObject
*_wrap_OGLConstraint_Equals(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17044 PyObject
*resultobj
;
17045 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17049 PyObject
* obj0
= 0 ;
17050 PyObject
* obj1
= 0 ;
17051 PyObject
* obj2
= 0 ;
17052 char *kwnames
[] = {
17053 (char *) "self",(char *) "a",(char *) "b", NULL
17056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:OGLConstraint_Equals",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
17058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17059 arg2
= (double) SWIG_AsDouble(obj1
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17061 arg3
= (double) SWIG_AsDouble(obj2
);
17062 if (PyErr_Occurred()) SWIG_fail
;
17064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17065 result
= (bool)(arg1
)->Equals(arg2
,arg3
);
17067 wxPyEndAllowThreads(__tstate
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17079 static PyObject
* OGLConstraint_swigregister(PyObject
*, PyObject
*args
) {
17081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17082 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint
, obj
);
17084 return Py_BuildValue((char *)"");
17086 static PyObject
*_wrap_new_PyCompositeShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17087 PyObject
*resultobj
;
17088 wxPyCompositeShape
*result
;
17089 char *kwnames
[] = {
17093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyCompositeShape",kwnames
)) goto fail
;
17095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17096 result
= (wxPyCompositeShape
*)new wxPyCompositeShape();
17098 wxPyEndAllowThreads(__tstate
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCompositeShape
, 1);
17108 static PyObject
*_wrap_PyCompositeShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17109 PyObject
*resultobj
;
17110 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17111 PyObject
*arg2
= (PyObject
*) 0 ;
17112 PyObject
*arg3
= (PyObject
*) 0 ;
17113 PyObject
* obj0
= 0 ;
17114 PyObject
* obj1
= 0 ;
17115 PyObject
* obj2
= 0 ;
17116 char *kwnames
[] = {
17117 (char *) "self",(char *) "self",(char *) "_class", NULL
17120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17127 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17129 wxPyEndAllowThreads(__tstate
);
17130 if (PyErr_Occurred()) SWIG_fail
;
17132 Py_INCREF(Py_None
); resultobj
= Py_None
;
17139 static PyObject
*_wrap_PyCompositeShape_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17140 PyObject
*resultobj
;
17141 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17142 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17143 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
17144 PyObject
* obj0
= 0 ;
17145 PyObject
* obj1
= 0 ;
17146 PyObject
* obj2
= 0 ;
17147 char *kwnames
[] = {
17148 (char *) "self",(char *) "child",(char *) "addAfter", NULL
17151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_AddChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17157 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17162 (arg1
)->AddChild(arg2
,arg3
);
17164 wxPyEndAllowThreads(__tstate
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17167 Py_INCREF(Py_None
); resultobj
= Py_None
;
17174 static PyObject
*_wrap_PyCompositeShape_AddConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
;
17176 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17177 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
17178 wxOGLConstraint
*result
;
17179 PyObject
* obj0
= 0 ;
17180 PyObject
* obj1
= 0 ;
17181 char *kwnames
[] = {
17182 (char *) "self",(char *) "constraint", NULL
17185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_AddConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
17186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOGLConstraint
,
17189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17192 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
);
17194 wxPyEndAllowThreads(__tstate
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17198 resultobj
= wxPyMake_wxObject(result
);
17206 static PyObject
*_wrap_PyCompositeShape_AddConstrainedShapes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17207 PyObject
*resultobj
;
17208 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17210 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
17211 PyObject
*arg4
= (PyObject
*) 0 ;
17212 wxOGLConstraint
*result
;
17213 PyObject
* obj0
= 0 ;
17214 PyObject
* obj1
= 0 ;
17215 PyObject
* obj2
= 0 ;
17216 PyObject
* obj3
= 0 ;
17217 char *kwnames
[] = {
17218 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyCompositeShape_AddConstrainedShapes",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17224 arg2
= (int) SWIG_AsInt(obj1
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17226 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 result
= (wxOGLConstraint
*)wxPyCompositeShape_AddConstrainedShapes(arg1
,arg2
,arg3
,arg4
);
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17237 resultobj
= wxPyMake_wxObject(result
);
17245 static PyObject
*_wrap_PyCompositeShape_AddSimpleConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17246 PyObject
*resultobj
;
17247 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17249 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
17250 wxPyShape
*arg4
= (wxPyShape
*) 0 ;
17251 wxOGLConstraint
*result
;
17252 PyObject
* obj0
= 0 ;
17253 PyObject
* obj1
= 0 ;
17254 PyObject
* obj2
= 0 ;
17255 PyObject
* obj3
= 0 ;
17256 char *kwnames
[] = {
17257 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyCompositeShape_AddSimpleConstraint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17263 arg2
= (int) SWIG_AsInt(obj1
);
17264 if (PyErr_Occurred()) SWIG_fail
;
17265 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17267 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPyShape
,
17268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
,arg3
,arg4
);
17273 wxPyEndAllowThreads(__tstate
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17277 resultobj
= wxPyMake_wxObject(result
);
17285 static PyObject
*_wrap_PyCompositeShape_CalculateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17286 PyObject
*resultobj
;
17287 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17288 PyObject
* obj0
= 0 ;
17289 char *kwnames
[] = {
17290 (char *) "self", NULL
17293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
17294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 (arg1
)->CalculateSize();
17300 wxPyEndAllowThreads(__tstate
);
17301 if (PyErr_Occurred()) SWIG_fail
;
17303 Py_INCREF(Py_None
); resultobj
= Py_None
;
17310 static PyObject
*_wrap_PyCompositeShape_ContainsDivision(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17311 PyObject
*resultobj
;
17312 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17313 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
17315 PyObject
* obj0
= 0 ;
17316 PyObject
* obj1
= 0 ;
17317 char *kwnames
[] = {
17318 (char *) "self",(char *) "division", NULL
17321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames
,&obj0
,&obj1
)) goto fail
;
17322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
17325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17328 result
= (bool)(arg1
)->ContainsDivision(arg2
);
17330 wxPyEndAllowThreads(__tstate
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17342 static PyObject
*_wrap_PyCompositeShape_DeleteConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17343 PyObject
*resultobj
;
17344 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17345 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
17346 PyObject
* obj0
= 0 ;
17347 PyObject
* obj1
= 0 ;
17348 char *kwnames
[] = {
17349 (char *) "self",(char *) "constraint", NULL
17352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
17353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOGLConstraint
,
17356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17359 (arg1
)->DeleteConstraint(arg2
);
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17364 Py_INCREF(Py_None
); resultobj
= Py_None
;
17371 static PyObject
*_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17372 PyObject
*resultobj
;
17373 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17374 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17375 PyObject
* obj0
= 0 ;
17376 PyObject
* obj1
= 0 ;
17377 char *kwnames
[] = {
17378 (char *) "self",(char *) "child", NULL
17381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17388 (arg1
)->DeleteConstraintsInvolvingChild(arg2
);
17390 wxPyEndAllowThreads(__tstate
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17393 Py_INCREF(Py_None
); resultobj
= Py_None
;
17400 static PyObject
*_wrap_PyCompositeShape_FindContainerImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17401 PyObject
*resultobj
;
17402 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17404 PyObject
* obj0
= 0 ;
17405 char *kwnames
[] = {
17406 (char *) "self", NULL
17409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_FindContainerImage",kwnames
,&obj0
)) goto fail
;
17410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17414 result
= (wxPyShape
*)(arg1
)->FindContainerImage();
17416 wxPyEndAllowThreads(__tstate
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17420 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
17428 static PyObject
*_wrap_PyCompositeShape_GetConstraints(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_GetConstraints",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
= (PyObject
*)wxPyCompositeShape_GetConstraints(arg1
);
17444 wxPyEndAllowThreads(__tstate
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17447 resultobj
= result
;
17454 static PyObject
*_wrap_PyCompositeShape_GetDivisions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17455 PyObject
*resultobj
;
17456 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17458 PyObject
* obj0
= 0 ;
17459 char *kwnames
[] = {
17460 (char *) "self", NULL
17463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetDivisions",kwnames
,&obj0
)) goto fail
;
17464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 result
= (PyObject
*)wxPyCompositeShape_GetDivisions(arg1
);
17470 wxPyEndAllowThreads(__tstate
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17473 resultobj
= result
;
17480 static PyObject
*_wrap_PyCompositeShape_MakeContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
;
17482 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17483 PyObject
* obj0
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "self", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_MakeContainer",kwnames
,&obj0
)) goto fail
;
17489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17493 (arg1
)->MakeContainer();
17495 wxPyEndAllowThreads(__tstate
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17498 Py_INCREF(Py_None
); resultobj
= Py_None
;
17505 static PyObject
*_wrap_PyCompositeShape_Recompute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17506 PyObject
*resultobj
;
17507 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17509 PyObject
* obj0
= 0 ;
17510 char *kwnames
[] = {
17511 (char *) "self", NULL
17514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_Recompute",kwnames
,&obj0
)) goto fail
;
17515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17519 result
= (bool)(arg1
)->Recompute();
17521 wxPyEndAllowThreads(__tstate
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17533 static PyObject
*_wrap_PyCompositeShape_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17534 PyObject
*resultobj
;
17535 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17536 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17537 PyObject
* obj0
= 0 ;
17538 PyObject
* obj1
= 0 ;
17539 char *kwnames
[] = {
17540 (char *) "self",(char *) "child", NULL
17543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17550 (arg1
)->RemoveChild(arg2
);
17552 wxPyEndAllowThreads(__tstate
);
17553 if (PyErr_Occurred()) SWIG_fail
;
17555 Py_INCREF(Py_None
); resultobj
= Py_None
;
17562 static PyObject
*_wrap_PyCompositeShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17563 PyObject
*resultobj
;
17564 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17565 PyObject
* obj0
= 0 ;
17566 char *kwnames
[] = {
17567 (char *) "self", NULL
17570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
17571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17575 (arg1
)->base_OnDelete();
17577 wxPyEndAllowThreads(__tstate
);
17578 if (PyErr_Occurred()) SWIG_fail
;
17580 Py_INCREF(Py_None
); resultobj
= Py_None
;
17587 static PyObject
*_wrap_PyCompositeShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17588 PyObject
*resultobj
;
17589 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17591 PyObject
* obj0
= 0 ;
17592 PyObject
* obj1
= 0 ;
17593 char *kwnames
[] = {
17594 (char *) "self",(char *) "dc", NULL
17597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
17598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17600 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17601 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17603 if (arg2
== NULL
) {
17604 PyErr_SetString(PyExc_TypeError
,"null reference");
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 (arg1
)->base_OnDraw(*arg2
);
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17614 Py_INCREF(Py_None
); resultobj
= Py_None
;
17621 static PyObject
*_wrap_PyCompositeShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17622 PyObject
*resultobj
;
17623 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17625 PyObject
* obj0
= 0 ;
17626 PyObject
* obj1
= 0 ;
17627 char *kwnames
[] = {
17628 (char *) "self",(char *) "dc", NULL
17631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17635 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17637 if (arg2
== NULL
) {
17638 PyErr_SetString(PyExc_TypeError
,"null reference");
17642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17643 (arg1
)->base_OnDrawContents(*arg2
);
17645 wxPyEndAllowThreads(__tstate
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17648 Py_INCREF(Py_None
); resultobj
= Py_None
;
17655 static PyObject
*_wrap_PyCompositeShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17656 PyObject
*resultobj
;
17657 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17659 bool arg3
= (bool) FALSE
;
17660 PyObject
* obj0
= 0 ;
17661 PyObject
* obj1
= 0 ;
17662 PyObject
* obj2
= 0 ;
17663 char *kwnames
[] = {
17664 (char *) "self",(char *) "dc",(char *) "erase", NULL
17667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17671 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17673 if (arg2
== NULL
) {
17674 PyErr_SetString(PyExc_TypeError
,"null reference");
17678 arg3
= (bool) SWIG_AsBool(obj2
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17683 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
17685 wxPyEndAllowThreads(__tstate
);
17686 if (PyErr_Occurred()) SWIG_fail
;
17688 Py_INCREF(Py_None
); resultobj
= Py_None
;
17695 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17696 PyObject
*resultobj
;
17697 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17699 PyObject
* obj0
= 0 ;
17700 PyObject
* obj1
= 0 ;
17701 char *kwnames
[] = {
17702 (char *) "self",(char *) "dc", NULL
17705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
17706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17711 if (arg2
== NULL
) {
17712 PyErr_SetString(PyExc_TypeError
,"null reference");
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17717 (arg1
)->base_OnMoveLinks(*arg2
);
17719 wxPyEndAllowThreads(__tstate
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17722 Py_INCREF(Py_None
); resultobj
= Py_None
;
17729 static PyObject
*_wrap_PyCompositeShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17730 PyObject
*resultobj
;
17731 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17733 PyObject
* obj0
= 0 ;
17734 PyObject
* obj1
= 0 ;
17735 char *kwnames
[] = {
17736 (char *) "self",(char *) "dc", NULL
17739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
17740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17743 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17745 if (arg2
== NULL
) {
17746 PyErr_SetString(PyExc_TypeError
,"null reference");
17750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17751 (arg1
)->base_OnErase(*arg2
);
17753 wxPyEndAllowThreads(__tstate
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17756 Py_INCREF(Py_None
); resultobj
= Py_None
;
17763 static PyObject
*_wrap_PyCompositeShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17764 PyObject
*resultobj
;
17765 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17767 PyObject
* obj0
= 0 ;
17768 PyObject
* obj1
= 0 ;
17769 char *kwnames
[] = {
17770 (char *) "self",(char *) "dc", NULL
17773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17777 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17779 if (arg2
== NULL
) {
17780 PyErr_SetString(PyExc_TypeError
,"null reference");
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17785 (arg1
)->base_OnEraseContents(*arg2
);
17787 wxPyEndAllowThreads(__tstate
);
17788 if (PyErr_Occurred()) SWIG_fail
;
17790 Py_INCREF(Py_None
); resultobj
= Py_None
;
17797 static PyObject
*_wrap_PyCompositeShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17798 PyObject
*resultobj
;
17799 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17801 PyObject
* obj0
= 0 ;
17802 PyObject
* obj1
= 0 ;
17803 char *kwnames
[] = {
17804 (char *) "self",(char *) "dc", NULL
17807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
17808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17811 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17813 if (arg2
== NULL
) {
17814 PyErr_SetString(PyExc_TypeError
,"null reference");
17818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17819 (arg1
)->base_OnHighlight(*arg2
);
17821 wxPyEndAllowThreads(__tstate
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17824 Py_INCREF(Py_None
); resultobj
= Py_None
;
17831 static PyObject
*_wrap_PyCompositeShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17832 PyObject
*resultobj
;
17833 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17836 int arg4
= (int) 0 ;
17837 int arg5
= (int) 0 ;
17838 PyObject
* obj0
= 0 ;
17839 PyObject
* obj1
= 0 ;
17840 PyObject
* obj2
= 0 ;
17841 PyObject
* obj3
= 0 ;
17842 PyObject
* obj4
= 0 ;
17843 char *kwnames
[] = {
17844 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17850 arg2
= (double) SWIG_AsDouble(obj1
);
17851 if (PyErr_Occurred()) SWIG_fail
;
17852 arg3
= (double) SWIG_AsDouble(obj2
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17855 arg4
= (int) SWIG_AsInt(obj3
);
17856 if (PyErr_Occurred()) SWIG_fail
;
17859 arg5
= (int) SWIG_AsInt(obj4
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
17866 wxPyEndAllowThreads(__tstate
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17869 Py_INCREF(Py_None
); resultobj
= Py_None
;
17876 static PyObject
*_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17877 PyObject
*resultobj
;
17878 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17881 int arg4
= (int) 0 ;
17882 int arg5
= (int) 0 ;
17883 PyObject
* obj0
= 0 ;
17884 PyObject
* obj1
= 0 ;
17885 PyObject
* obj2
= 0 ;
17886 PyObject
* obj3
= 0 ;
17887 PyObject
* obj4
= 0 ;
17888 char *kwnames
[] = {
17889 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17895 arg2
= (double) SWIG_AsDouble(obj1
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17897 arg3
= (double) SWIG_AsDouble(obj2
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17900 arg4
= (int) SWIG_AsInt(obj3
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17904 arg5
= (int) SWIG_AsInt(obj4
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17909 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
17911 wxPyEndAllowThreads(__tstate
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17914 Py_INCREF(Py_None
); resultobj
= Py_None
;
17921 static PyObject
*_wrap_PyCompositeShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17922 PyObject
*resultobj
;
17923 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17926 int arg4
= (int) 0 ;
17927 int arg5
= (int) 0 ;
17928 PyObject
* obj0
= 0 ;
17929 PyObject
* obj1
= 0 ;
17930 PyObject
* obj2
= 0 ;
17931 PyObject
* obj3
= 0 ;
17932 PyObject
* obj4
= 0 ;
17933 char *kwnames
[] = {
17934 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17940 arg2
= (double) SWIG_AsDouble(obj1
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17942 arg3
= (double) SWIG_AsDouble(obj2
);
17943 if (PyErr_Occurred()) SWIG_fail
;
17945 arg4
= (int) SWIG_AsInt(obj3
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17949 arg5
= (int) SWIG_AsInt(obj4
);
17950 if (PyErr_Occurred()) SWIG_fail
;
17953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17954 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
17956 wxPyEndAllowThreads(__tstate
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17959 Py_INCREF(Py_None
); resultobj
= Py_None
;
17966 static PyObject
*_wrap_PyCompositeShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17967 PyObject
*resultobj
;
17968 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17971 PyObject
* obj0
= 0 ;
17972 PyObject
* obj1
= 0 ;
17973 PyObject
* obj2
= 0 ;
17974 char *kwnames
[] = {
17975 (char *) "self",(char *) "x",(char *) "y", NULL
17978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17981 arg2
= (double) SWIG_AsDouble(obj1
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17983 arg3
= (double) SWIG_AsDouble(obj2
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17987 (arg1
)->base_OnSize(arg2
,arg3
);
17989 wxPyEndAllowThreads(__tstate
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17992 Py_INCREF(Py_None
); resultobj
= Py_None
;
17999 static PyObject
*_wrap_PyCompositeShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18000 PyObject
*resultobj
;
18001 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18007 bool arg7
= (bool) True
;
18009 PyObject
* obj0
= 0 ;
18010 PyObject
* obj1
= 0 ;
18011 PyObject
* obj2
= 0 ;
18012 PyObject
* obj3
= 0 ;
18013 PyObject
* obj4
= 0 ;
18014 PyObject
* obj5
= 0 ;
18015 PyObject
* obj6
= 0 ;
18016 char *kwnames
[] = {
18017 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18026 if (arg2
== NULL
) {
18027 PyErr_SetString(PyExc_TypeError
,"null reference");
18030 arg3
= (double) SWIG_AsDouble(obj2
);
18031 if (PyErr_Occurred()) SWIG_fail
;
18032 arg4
= (double) SWIG_AsDouble(obj3
);
18033 if (PyErr_Occurred()) SWIG_fail
;
18034 arg5
= (double) SWIG_AsDouble(obj4
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18036 arg6
= (double) SWIG_AsDouble(obj5
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18039 arg7
= (bool) SWIG_AsBool(obj6
);
18040 if (PyErr_Occurred()) SWIG_fail
;
18043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18044 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18046 wxPyEndAllowThreads(__tstate
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18058 static PyObject
*_wrap_PyCompositeShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18059 PyObject
*resultobj
;
18060 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18066 bool arg7
= (bool) True
;
18067 PyObject
* obj0
= 0 ;
18068 PyObject
* obj1
= 0 ;
18069 PyObject
* obj2
= 0 ;
18070 PyObject
* obj3
= 0 ;
18071 PyObject
* obj4
= 0 ;
18072 PyObject
* obj5
= 0 ;
18073 PyObject
* obj6
= 0 ;
18074 char *kwnames
[] = {
18075 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18084 if (arg2
== NULL
) {
18085 PyErr_SetString(PyExc_TypeError
,"null reference");
18088 arg3
= (double) SWIG_AsDouble(obj2
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18090 arg4
= (double) SWIG_AsDouble(obj3
);
18091 if (PyErr_Occurred()) SWIG_fail
;
18092 arg5
= (double) SWIG_AsDouble(obj4
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18094 arg6
= (double) SWIG_AsDouble(obj5
);
18095 if (PyErr_Occurred()) SWIG_fail
;
18097 arg7
= (bool) SWIG_AsBool(obj6
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 Py_INCREF(Py_None
); resultobj
= Py_None
;
18114 static PyObject
*_wrap_PyCompositeShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18115 PyObject
*resultobj
;
18116 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18120 int arg5
= (int) 0 ;
18121 int arg6
= (int) 0 ;
18122 PyObject
* obj0
= 0 ;
18123 PyObject
* obj1
= 0 ;
18124 PyObject
* obj2
= 0 ;
18125 PyObject
* obj3
= 0 ;
18126 PyObject
* obj4
= 0 ;
18127 PyObject
* obj5
= 0 ;
18128 char *kwnames
[] = {
18129 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18135 arg2
= (bool) SWIG_AsBool(obj1
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18137 arg3
= (double) SWIG_AsDouble(obj2
);
18138 if (PyErr_Occurred()) SWIG_fail
;
18139 arg4
= (double) SWIG_AsDouble(obj3
);
18140 if (PyErr_Occurred()) SWIG_fail
;
18142 arg5
= (int) SWIG_AsInt(obj4
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18146 arg6
= (int) SWIG_AsInt(obj5
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18151 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18153 wxPyEndAllowThreads(__tstate
);
18154 if (PyErr_Occurred()) SWIG_fail
;
18156 Py_INCREF(Py_None
); resultobj
= Py_None
;
18163 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18164 PyObject
*resultobj
;
18165 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18168 int arg4
= (int) 0 ;
18169 int arg5
= (int) 0 ;
18170 PyObject
* obj0
= 0 ;
18171 PyObject
* obj1
= 0 ;
18172 PyObject
* obj2
= 0 ;
18173 PyObject
* obj3
= 0 ;
18174 PyObject
* obj4
= 0 ;
18175 char *kwnames
[] = {
18176 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18182 arg2
= (double) SWIG_AsDouble(obj1
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18184 arg3
= (double) SWIG_AsDouble(obj2
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18187 arg4
= (int) SWIG_AsInt(obj3
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18191 arg5
= (int) SWIG_AsInt(obj4
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18196 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
18198 wxPyEndAllowThreads(__tstate
);
18199 if (PyErr_Occurred()) SWIG_fail
;
18201 Py_INCREF(Py_None
); resultobj
= Py_None
;
18208 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18209 PyObject
*resultobj
;
18210 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18213 int arg4
= (int) 0 ;
18214 int arg5
= (int) 0 ;
18215 PyObject
* obj0
= 0 ;
18216 PyObject
* obj1
= 0 ;
18217 PyObject
* obj2
= 0 ;
18218 PyObject
* obj3
= 0 ;
18219 PyObject
* obj4
= 0 ;
18220 char *kwnames
[] = {
18221 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18227 arg2
= (double) SWIG_AsDouble(obj1
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18229 arg3
= (double) SWIG_AsDouble(obj2
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18232 arg4
= (int) SWIG_AsInt(obj3
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18236 arg5
= (int) SWIG_AsInt(obj4
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18241 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
18243 wxPyEndAllowThreads(__tstate
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18246 Py_INCREF(Py_None
); resultobj
= Py_None
;
18253 static PyObject
*_wrap_PyCompositeShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18254 PyObject
*resultobj
;
18255 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18259 int arg5
= (int) 0 ;
18260 int arg6
= (int) 0 ;
18261 PyObject
* obj0
= 0 ;
18262 PyObject
* obj1
= 0 ;
18263 PyObject
* obj2
= 0 ;
18264 PyObject
* obj3
= 0 ;
18265 PyObject
* obj4
= 0 ;
18266 PyObject
* obj5
= 0 ;
18267 char *kwnames
[] = {
18268 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18274 arg2
= (bool) SWIG_AsBool(obj1
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18276 arg3
= (double) SWIG_AsDouble(obj2
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18278 arg4
= (double) SWIG_AsDouble(obj3
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18281 arg5
= (int) SWIG_AsInt(obj4
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18285 arg6
= (int) SWIG_AsInt(obj5
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18290 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
18292 wxPyEndAllowThreads(__tstate
);
18293 if (PyErr_Occurred()) SWIG_fail
;
18295 Py_INCREF(Py_None
); resultobj
= Py_None
;
18302 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18303 PyObject
*resultobj
;
18304 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18307 int arg4
= (int) 0 ;
18308 int arg5
= (int) 0 ;
18309 PyObject
* obj0
= 0 ;
18310 PyObject
* obj1
= 0 ;
18311 PyObject
* obj2
= 0 ;
18312 PyObject
* obj3
= 0 ;
18313 PyObject
* obj4
= 0 ;
18314 char *kwnames
[] = {
18315 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18321 arg2
= (double) SWIG_AsDouble(obj1
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18323 arg3
= (double) SWIG_AsDouble(obj2
);
18324 if (PyErr_Occurred()) SWIG_fail
;
18326 arg4
= (int) SWIG_AsInt(obj3
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18330 arg5
= (int) SWIG_AsInt(obj4
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18335 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18340 Py_INCREF(Py_None
); resultobj
= Py_None
;
18347 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18348 PyObject
*resultobj
;
18349 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18352 int arg4
= (int) 0 ;
18353 int arg5
= (int) 0 ;
18354 PyObject
* obj0
= 0 ;
18355 PyObject
* obj1
= 0 ;
18356 PyObject
* obj2
= 0 ;
18357 PyObject
* obj3
= 0 ;
18358 PyObject
* obj4
= 0 ;
18359 char *kwnames
[] = {
18360 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18366 arg2
= (double) SWIG_AsDouble(obj1
);
18367 if (PyErr_Occurred()) SWIG_fail
;
18368 arg3
= (double) SWIG_AsDouble(obj2
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18371 arg4
= (int) SWIG_AsInt(obj3
);
18372 if (PyErr_Occurred()) SWIG_fail
;
18375 arg5
= (int) SWIG_AsInt(obj4
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18380 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
18382 wxPyEndAllowThreads(__tstate
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18385 Py_INCREF(Py_None
); resultobj
= Py_None
;
18392 static PyObject
*_wrap_PyCompositeShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18393 PyObject
*resultobj
;
18394 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18400 PyObject
* obj0
= 0 ;
18401 PyObject
* obj1
= 0 ;
18402 PyObject
* obj2
= 0 ;
18403 PyObject
* obj3
= 0 ;
18404 PyObject
* obj4
= 0 ;
18405 PyObject
* obj5
= 0 ;
18406 char *kwnames
[] = {
18407 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyCompositeShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18414 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18416 if (arg2
== NULL
) {
18417 PyErr_SetString(PyExc_TypeError
,"null reference");
18420 arg3
= (double) SWIG_AsDouble(obj2
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18422 arg4
= (double) SWIG_AsDouble(obj3
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18424 arg5
= (double) SWIG_AsDouble(obj4
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18426 arg6
= (double) SWIG_AsDouble(obj5
);
18427 if (PyErr_Occurred()) SWIG_fail
;
18429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18430 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
18432 wxPyEndAllowThreads(__tstate
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18435 Py_INCREF(Py_None
); resultobj
= Py_None
;
18442 static PyObject
*_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18443 PyObject
*resultobj
;
18444 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18446 PyObject
* obj0
= 0 ;
18447 PyObject
* obj1
= 0 ;
18448 char *kwnames
[] = {
18449 (char *) "self",(char *) "dc", NULL
18452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18456 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18458 if (arg2
== NULL
) {
18459 PyErr_SetString(PyExc_TypeError
,"null reference");
18463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18464 (arg1
)->base_OnDrawControlPoints(*arg2
);
18466 wxPyEndAllowThreads(__tstate
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18469 Py_INCREF(Py_None
); resultobj
= Py_None
;
18476 static PyObject
*_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18477 PyObject
*resultobj
;
18478 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18480 PyObject
* obj0
= 0 ;
18481 PyObject
* obj1
= 0 ;
18482 char *kwnames
[] = {
18483 (char *) "self",(char *) "dc", NULL
18486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18490 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18492 if (arg2
== NULL
) {
18493 PyErr_SetString(PyExc_TypeError
,"null reference");
18497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18498 (arg1
)->base_OnEraseControlPoints(*arg2
);
18500 wxPyEndAllowThreads(__tstate
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18503 Py_INCREF(Py_None
); resultobj
= Py_None
;
18510 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18511 PyObject
*resultobj
;
18512 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18514 bool arg3
= (bool) True
;
18515 PyObject
* obj0
= 0 ;
18516 PyObject
* obj1
= 0 ;
18517 PyObject
* obj2
= 0 ;
18518 char *kwnames
[] = {
18519 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18528 if (arg2
== NULL
) {
18529 PyErr_SetString(PyExc_TypeError
,"null reference");
18533 arg3
= (bool) SWIG_AsBool(obj2
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18543 Py_INCREF(Py_None
); resultobj
= Py_None
;
18550 static PyObject
*_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18551 PyObject
*resultobj
;
18552 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18553 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18557 int arg6
= (int) 0 ;
18558 int arg7
= (int) 0 ;
18559 PyObject
* obj0
= 0 ;
18560 PyObject
* obj1
= 0 ;
18561 PyObject
* obj2
= 0 ;
18562 PyObject
* obj3
= 0 ;
18563 PyObject
* obj4
= 0 ;
18564 PyObject
* obj5
= 0 ;
18565 PyObject
* obj6
= 0 ;
18566 char *kwnames
[] = {
18567 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyCompositeShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18575 arg3
= (bool) SWIG_AsBool(obj2
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18577 arg4
= (double) SWIG_AsDouble(obj3
);
18578 if (PyErr_Occurred()) SWIG_fail
;
18579 arg5
= (double) SWIG_AsDouble(obj4
);
18580 if (PyErr_Occurred()) SWIG_fail
;
18582 arg6
= (int) SWIG_AsInt(obj5
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18586 arg7
= (int) SWIG_AsInt(obj6
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18591 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18593 wxPyEndAllowThreads(__tstate
);
18594 if (PyErr_Occurred()) SWIG_fail
;
18596 Py_INCREF(Py_None
); resultobj
= Py_None
;
18603 static PyObject
*_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18604 PyObject
*resultobj
;
18605 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18606 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18609 int arg5
= (int) 0 ;
18610 int arg6
= (int) 0 ;
18611 PyObject
* obj0
= 0 ;
18612 PyObject
* obj1
= 0 ;
18613 PyObject
* obj2
= 0 ;
18614 PyObject
* obj3
= 0 ;
18615 PyObject
* obj4
= 0 ;
18616 PyObject
* obj5
= 0 ;
18617 char *kwnames
[] = {
18618 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18626 arg3
= (double) SWIG_AsDouble(obj2
);
18627 if (PyErr_Occurred()) SWIG_fail
;
18628 arg4
= (double) SWIG_AsDouble(obj3
);
18629 if (PyErr_Occurred()) SWIG_fail
;
18631 arg5
= (int) SWIG_AsInt(obj4
);
18632 if (PyErr_Occurred()) SWIG_fail
;
18635 arg6
= (int) SWIG_AsInt(obj5
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18640 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18642 wxPyEndAllowThreads(__tstate
);
18643 if (PyErr_Occurred()) SWIG_fail
;
18645 Py_INCREF(Py_None
); resultobj
= Py_None
;
18652 static PyObject
*_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18653 PyObject
*resultobj
;
18654 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18655 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18658 int arg5
= (int) 0 ;
18659 int arg6
= (int) 0 ;
18660 PyObject
* obj0
= 0 ;
18661 PyObject
* obj1
= 0 ;
18662 PyObject
* obj2
= 0 ;
18663 PyObject
* obj3
= 0 ;
18664 PyObject
* obj4
= 0 ;
18665 PyObject
* obj5
= 0 ;
18666 char *kwnames
[] = {
18667 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18675 arg3
= (double) SWIG_AsDouble(obj2
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18677 arg4
= (double) SWIG_AsDouble(obj3
);
18678 if (PyErr_Occurred()) SWIG_fail
;
18680 arg5
= (int) SWIG_AsInt(obj4
);
18681 if (PyErr_Occurred()) SWIG_fail
;
18684 arg6
= (int) SWIG_AsInt(obj5
);
18685 if (PyErr_Occurred()) SWIG_fail
;
18688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18689 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18691 wxPyEndAllowThreads(__tstate
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18694 Py_INCREF(Py_None
); resultobj
= Py_None
;
18701 static PyObject
*_wrap_PyCompositeShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18702 PyObject
*resultobj
;
18703 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18706 PyObject
* obj0
= 0 ;
18707 PyObject
* obj1
= 0 ;
18708 PyObject
* obj2
= 0 ;
18709 char *kwnames
[] = {
18710 (char *) "self",(char *) "w",(char *) "h", NULL
18713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18716 arg2
= (double) SWIG_AsDouble(obj1
);
18717 if (PyErr_Occurred()) SWIG_fail
;
18718 arg3
= (double) SWIG_AsDouble(obj2
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 (arg1
)->base_OnBeginSize(arg2
,arg3
);
18724 wxPyEndAllowThreads(__tstate
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18727 Py_INCREF(Py_None
); resultobj
= Py_None
;
18734 static PyObject
*_wrap_PyCompositeShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18735 PyObject
*resultobj
;
18736 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18739 PyObject
* obj0
= 0 ;
18740 PyObject
* obj1
= 0 ;
18741 PyObject
* obj2
= 0 ;
18742 char *kwnames
[] = {
18743 (char *) "self",(char *) "w",(char *) "h", NULL
18746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18749 arg2
= (double) SWIG_AsDouble(obj1
);
18750 if (PyErr_Occurred()) SWIG_fail
;
18751 arg3
= (double) SWIG_AsDouble(obj2
);
18752 if (PyErr_Occurred()) SWIG_fail
;
18754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18755 (arg1
)->base_OnEndSize(arg2
,arg3
);
18757 wxPyEndAllowThreads(__tstate
);
18758 if (PyErr_Occurred()) SWIG_fail
;
18760 Py_INCREF(Py_None
); resultobj
= Py_None
;
18767 static PyObject
* PyCompositeShape_swigregister(PyObject
*, PyObject
*args
) {
18769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18770 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape
, obj
);
18772 return Py_BuildValue((char *)"");
18774 static PyObject
*_wrap_new_PyDividedShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
;
18776 double arg1
= (double) 0.0 ;
18777 double arg2
= (double) 0.0 ;
18778 wxPyDividedShape
*result
;
18779 PyObject
* obj0
= 0 ;
18780 PyObject
* obj1
= 0 ;
18781 char *kwnames
[] = {
18782 (char *) "width",(char *) "height", NULL
18785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyDividedShape",kwnames
,&obj0
,&obj1
)) goto fail
;
18787 arg1
= (double) SWIG_AsDouble(obj0
);
18788 if (PyErr_Occurred()) SWIG_fail
;
18791 arg2
= (double) SWIG_AsDouble(obj1
);
18792 if (PyErr_Occurred()) SWIG_fail
;
18795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18796 result
= (wxPyDividedShape
*)new wxPyDividedShape(arg1
,arg2
);
18798 wxPyEndAllowThreads(__tstate
);
18799 if (PyErr_Occurred()) SWIG_fail
;
18801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDividedShape
, 1);
18808 static PyObject
*_wrap_PyDividedShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18809 PyObject
*resultobj
;
18810 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18811 PyObject
*arg2
= (PyObject
*) 0 ;
18812 PyObject
*arg3
= (PyObject
*) 0 ;
18813 PyObject
* obj0
= 0 ;
18814 PyObject
* obj1
= 0 ;
18815 PyObject
* obj2
= 0 ;
18816 char *kwnames
[] = {
18817 (char *) "self",(char *) "self",(char *) "_class", NULL
18820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18827 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18829 wxPyEndAllowThreads(__tstate
);
18830 if (PyErr_Occurred()) SWIG_fail
;
18832 Py_INCREF(Py_None
); resultobj
= Py_None
;
18839 static PyObject
*_wrap_PyDividedShape_EditRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18840 PyObject
*resultobj
;
18841 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18842 PyObject
* obj0
= 0 ;
18843 char *kwnames
[] = {
18844 (char *) "self", NULL
18847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_EditRegions",kwnames
,&obj0
)) goto fail
;
18848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 (arg1
)->EditRegions();
18854 wxPyEndAllowThreads(__tstate
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18857 Py_INCREF(Py_None
); resultobj
= Py_None
;
18864 static PyObject
*_wrap_PyDividedShape_SetRegionSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18865 PyObject
*resultobj
;
18866 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18867 PyObject
* obj0
= 0 ;
18868 char *kwnames
[] = {
18869 (char *) "self", NULL
18872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_SetRegionSizes",kwnames
,&obj0
)) goto fail
;
18873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 (arg1
)->SetRegionSizes();
18879 wxPyEndAllowThreads(__tstate
);
18880 if (PyErr_Occurred()) SWIG_fail
;
18882 Py_INCREF(Py_None
); resultobj
= Py_None
;
18889 static PyObject
*_wrap_PyDividedShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18890 PyObject
*resultobj
;
18891 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18892 PyObject
* obj0
= 0 ;
18893 char *kwnames
[] = {
18894 (char *) "self", NULL
18897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
18898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18902 (arg1
)->base_OnDelete();
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18907 Py_INCREF(Py_None
); resultobj
= Py_None
;
18914 static PyObject
*_wrap_PyDividedShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18915 PyObject
*resultobj
;
18916 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18918 PyObject
* obj0
= 0 ;
18919 PyObject
* obj1
= 0 ;
18920 char *kwnames
[] = {
18921 (char *) "self",(char *) "dc", NULL
18924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
18925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18928 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18930 if (arg2
== NULL
) {
18931 PyErr_SetString(PyExc_TypeError
,"null reference");
18935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18936 (arg1
)->base_OnDraw(*arg2
);
18938 wxPyEndAllowThreads(__tstate
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18941 Py_INCREF(Py_None
); resultobj
= Py_None
;
18948 static PyObject
*_wrap_PyDividedShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
;
18950 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18952 PyObject
* obj0
= 0 ;
18953 PyObject
* obj1
= 0 ;
18954 char *kwnames
[] = {
18955 (char *) "self",(char *) "dc", NULL
18958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
18959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18962 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18964 if (arg2
== NULL
) {
18965 PyErr_SetString(PyExc_TypeError
,"null reference");
18969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18970 (arg1
)->base_OnDrawContents(*arg2
);
18972 wxPyEndAllowThreads(__tstate
);
18973 if (PyErr_Occurred()) SWIG_fail
;
18975 Py_INCREF(Py_None
); resultobj
= Py_None
;
18982 static PyObject
*_wrap_PyDividedShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18983 PyObject
*resultobj
;
18984 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18986 bool arg3
= (bool) FALSE
;
18987 PyObject
* obj0
= 0 ;
18988 PyObject
* obj1
= 0 ;
18989 PyObject
* obj2
= 0 ;
18990 char *kwnames
[] = {
18991 (char *) "self",(char *) "dc",(char *) "erase", NULL
18994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18998 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19000 if (arg2
== NULL
) {
19001 PyErr_SetString(PyExc_TypeError
,"null reference");
19005 arg3
= (bool) SWIG_AsBool(obj2
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19010 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
19012 wxPyEndAllowThreads(__tstate
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19015 Py_INCREF(Py_None
); resultobj
= Py_None
;
19022 static PyObject
*_wrap_PyDividedShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
;
19024 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19026 PyObject
* obj0
= 0 ;
19027 PyObject
* obj1
= 0 ;
19028 char *kwnames
[] = {
19029 (char *) "self",(char *) "dc", NULL
19032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
19033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19036 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19038 if (arg2
== NULL
) {
19039 PyErr_SetString(PyExc_TypeError
,"null reference");
19043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19044 (arg1
)->base_OnMoveLinks(*arg2
);
19046 wxPyEndAllowThreads(__tstate
);
19047 if (PyErr_Occurred()) SWIG_fail
;
19049 Py_INCREF(Py_None
); resultobj
= Py_None
;
19056 static PyObject
*_wrap_PyDividedShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19057 PyObject
*resultobj
;
19058 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19060 PyObject
* obj0
= 0 ;
19061 PyObject
* obj1
= 0 ;
19062 char *kwnames
[] = {
19063 (char *) "self",(char *) "dc", NULL
19066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
19067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19069 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19070 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19072 if (arg2
== NULL
) {
19073 PyErr_SetString(PyExc_TypeError
,"null reference");
19077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19078 (arg1
)->base_OnErase(*arg2
);
19080 wxPyEndAllowThreads(__tstate
);
19081 if (PyErr_Occurred()) SWIG_fail
;
19083 Py_INCREF(Py_None
); resultobj
= Py_None
;
19090 static PyObject
*_wrap_PyDividedShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19091 PyObject
*resultobj
;
19092 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19094 PyObject
* obj0
= 0 ;
19095 PyObject
* obj1
= 0 ;
19096 char *kwnames
[] = {
19097 (char *) "self",(char *) "dc", NULL
19100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
19101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19103 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19104 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19106 if (arg2
== NULL
) {
19107 PyErr_SetString(PyExc_TypeError
,"null reference");
19111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19112 (arg1
)->base_OnEraseContents(*arg2
);
19114 wxPyEndAllowThreads(__tstate
);
19115 if (PyErr_Occurred()) SWIG_fail
;
19117 Py_INCREF(Py_None
); resultobj
= Py_None
;
19124 static PyObject
*_wrap_PyDividedShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19125 PyObject
*resultobj
;
19126 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19128 PyObject
* obj0
= 0 ;
19129 PyObject
* obj1
= 0 ;
19130 char *kwnames
[] = {
19131 (char *) "self",(char *) "dc", NULL
19134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
19135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19138 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19140 if (arg2
== NULL
) {
19141 PyErr_SetString(PyExc_TypeError
,"null reference");
19145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19146 (arg1
)->base_OnHighlight(*arg2
);
19148 wxPyEndAllowThreads(__tstate
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19151 Py_INCREF(Py_None
); resultobj
= Py_None
;
19158 static PyObject
*_wrap_PyDividedShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19159 PyObject
*resultobj
;
19160 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19163 int arg4
= (int) 0 ;
19164 int arg5
= (int) 0 ;
19165 PyObject
* obj0
= 0 ;
19166 PyObject
* obj1
= 0 ;
19167 PyObject
* obj2
= 0 ;
19168 PyObject
* obj3
= 0 ;
19169 PyObject
* obj4
= 0 ;
19170 char *kwnames
[] = {
19171 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19177 arg2
= (double) SWIG_AsDouble(obj1
);
19178 if (PyErr_Occurred()) SWIG_fail
;
19179 arg3
= (double) SWIG_AsDouble(obj2
);
19180 if (PyErr_Occurred()) SWIG_fail
;
19182 arg4
= (int) SWIG_AsInt(obj3
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19186 arg5
= (int) SWIG_AsInt(obj4
);
19187 if (PyErr_Occurred()) SWIG_fail
;
19190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19191 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
19193 wxPyEndAllowThreads(__tstate
);
19194 if (PyErr_Occurred()) SWIG_fail
;
19196 Py_INCREF(Py_None
); resultobj
= Py_None
;
19203 static PyObject
*_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19204 PyObject
*resultobj
;
19205 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19208 int arg4
= (int) 0 ;
19209 int arg5
= (int) 0 ;
19210 PyObject
* obj0
= 0 ;
19211 PyObject
* obj1
= 0 ;
19212 PyObject
* obj2
= 0 ;
19213 PyObject
* obj3
= 0 ;
19214 PyObject
* obj4
= 0 ;
19215 char *kwnames
[] = {
19216 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19222 arg2
= (double) SWIG_AsDouble(obj1
);
19223 if (PyErr_Occurred()) SWIG_fail
;
19224 arg3
= (double) SWIG_AsDouble(obj2
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19227 arg4
= (int) SWIG_AsInt(obj3
);
19228 if (PyErr_Occurred()) SWIG_fail
;
19231 arg5
= (int) SWIG_AsInt(obj4
);
19232 if (PyErr_Occurred()) SWIG_fail
;
19235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19236 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
19238 wxPyEndAllowThreads(__tstate
);
19239 if (PyErr_Occurred()) SWIG_fail
;
19241 Py_INCREF(Py_None
); resultobj
= Py_None
;
19248 static PyObject
*_wrap_PyDividedShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19249 PyObject
*resultobj
;
19250 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19253 int arg4
= (int) 0 ;
19254 int arg5
= (int) 0 ;
19255 PyObject
* obj0
= 0 ;
19256 PyObject
* obj1
= 0 ;
19257 PyObject
* obj2
= 0 ;
19258 PyObject
* obj3
= 0 ;
19259 PyObject
* obj4
= 0 ;
19260 char *kwnames
[] = {
19261 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19267 arg2
= (double) SWIG_AsDouble(obj1
);
19268 if (PyErr_Occurred()) SWIG_fail
;
19269 arg3
= (double) SWIG_AsDouble(obj2
);
19270 if (PyErr_Occurred()) SWIG_fail
;
19272 arg4
= (int) SWIG_AsInt(obj3
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19276 arg5
= (int) SWIG_AsInt(obj4
);
19277 if (PyErr_Occurred()) SWIG_fail
;
19280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19281 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
19283 wxPyEndAllowThreads(__tstate
);
19284 if (PyErr_Occurred()) SWIG_fail
;
19286 Py_INCREF(Py_None
); resultobj
= Py_None
;
19293 static PyObject
*_wrap_PyDividedShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19294 PyObject
*resultobj
;
19295 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19298 PyObject
* obj0
= 0 ;
19299 PyObject
* obj1
= 0 ;
19300 PyObject
* obj2
= 0 ;
19301 char *kwnames
[] = {
19302 (char *) "self",(char *) "x",(char *) "y", NULL
19305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19308 arg2
= (double) SWIG_AsDouble(obj1
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19310 arg3
= (double) SWIG_AsDouble(obj2
);
19311 if (PyErr_Occurred()) SWIG_fail
;
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19314 (arg1
)->base_OnSize(arg2
,arg3
);
19316 wxPyEndAllowThreads(__tstate
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19319 Py_INCREF(Py_None
); resultobj
= Py_None
;
19326 static PyObject
*_wrap_PyDividedShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19327 PyObject
*resultobj
;
19328 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19334 bool arg7
= (bool) True
;
19336 PyObject
* obj0
= 0 ;
19337 PyObject
* obj1
= 0 ;
19338 PyObject
* obj2
= 0 ;
19339 PyObject
* obj3
= 0 ;
19340 PyObject
* obj4
= 0 ;
19341 PyObject
* obj5
= 0 ;
19342 PyObject
* obj6
= 0 ;
19343 char *kwnames
[] = {
19344 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19351 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19353 if (arg2
== NULL
) {
19354 PyErr_SetString(PyExc_TypeError
,"null reference");
19357 arg3
= (double) SWIG_AsDouble(obj2
);
19358 if (PyErr_Occurred()) SWIG_fail
;
19359 arg4
= (double) SWIG_AsDouble(obj3
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19361 arg5
= (double) SWIG_AsDouble(obj4
);
19362 if (PyErr_Occurred()) SWIG_fail
;
19363 arg6
= (double) SWIG_AsDouble(obj5
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19366 arg7
= (bool) SWIG_AsBool(obj6
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19371 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19373 wxPyEndAllowThreads(__tstate
);
19374 if (PyErr_Occurred()) SWIG_fail
;
19377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19385 static PyObject
*_wrap_PyDividedShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19386 PyObject
*resultobj
;
19387 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19393 bool arg7
= (bool) True
;
19394 PyObject
* obj0
= 0 ;
19395 PyObject
* obj1
= 0 ;
19396 PyObject
* obj2
= 0 ;
19397 PyObject
* obj3
= 0 ;
19398 PyObject
* obj4
= 0 ;
19399 PyObject
* obj5
= 0 ;
19400 PyObject
* obj6
= 0 ;
19401 char *kwnames
[] = {
19402 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19409 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19411 if (arg2
== NULL
) {
19412 PyErr_SetString(PyExc_TypeError
,"null reference");
19415 arg3
= (double) SWIG_AsDouble(obj2
);
19416 if (PyErr_Occurred()) SWIG_fail
;
19417 arg4
= (double) SWIG_AsDouble(obj3
);
19418 if (PyErr_Occurred()) SWIG_fail
;
19419 arg5
= (double) SWIG_AsDouble(obj4
);
19420 if (PyErr_Occurred()) SWIG_fail
;
19421 arg6
= (double) SWIG_AsDouble(obj5
);
19422 if (PyErr_Occurred()) SWIG_fail
;
19424 arg7
= (bool) SWIG_AsBool(obj6
);
19425 if (PyErr_Occurred()) SWIG_fail
;
19428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19429 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19431 wxPyEndAllowThreads(__tstate
);
19432 if (PyErr_Occurred()) SWIG_fail
;
19434 Py_INCREF(Py_None
); resultobj
= Py_None
;
19441 static PyObject
*_wrap_PyDividedShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19442 PyObject
*resultobj
;
19443 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19447 int arg5
= (int) 0 ;
19448 int arg6
= (int) 0 ;
19449 PyObject
* obj0
= 0 ;
19450 PyObject
* obj1
= 0 ;
19451 PyObject
* obj2
= 0 ;
19452 PyObject
* obj3
= 0 ;
19453 PyObject
* obj4
= 0 ;
19454 PyObject
* obj5
= 0 ;
19455 char *kwnames
[] = {
19456 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19462 arg2
= (bool) SWIG_AsBool(obj1
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19464 arg3
= (double) SWIG_AsDouble(obj2
);
19465 if (PyErr_Occurred()) SWIG_fail
;
19466 arg4
= (double) SWIG_AsDouble(obj3
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19469 arg5
= (int) SWIG_AsInt(obj4
);
19470 if (PyErr_Occurred()) SWIG_fail
;
19473 arg6
= (int) SWIG_AsInt(obj5
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19478 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19480 wxPyEndAllowThreads(__tstate
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19483 Py_INCREF(Py_None
); resultobj
= Py_None
;
19490 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19491 PyObject
*resultobj
;
19492 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19495 int arg4
= (int) 0 ;
19496 int arg5
= (int) 0 ;
19497 PyObject
* obj0
= 0 ;
19498 PyObject
* obj1
= 0 ;
19499 PyObject
* obj2
= 0 ;
19500 PyObject
* obj3
= 0 ;
19501 PyObject
* obj4
= 0 ;
19502 char *kwnames
[] = {
19503 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19509 arg2
= (double) SWIG_AsDouble(obj1
);
19510 if (PyErr_Occurred()) SWIG_fail
;
19511 arg3
= (double) SWIG_AsDouble(obj2
);
19512 if (PyErr_Occurred()) SWIG_fail
;
19514 arg4
= (int) SWIG_AsInt(obj3
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19518 arg5
= (int) SWIG_AsInt(obj4
);
19519 if (PyErr_Occurred()) SWIG_fail
;
19522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19523 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
19525 wxPyEndAllowThreads(__tstate
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19528 Py_INCREF(Py_None
); resultobj
= Py_None
;
19535 static PyObject
*_wrap_PyDividedShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19536 PyObject
*resultobj
;
19537 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19540 int arg4
= (int) 0 ;
19541 int arg5
= (int) 0 ;
19542 PyObject
* obj0
= 0 ;
19543 PyObject
* obj1
= 0 ;
19544 PyObject
* obj2
= 0 ;
19545 PyObject
* obj3
= 0 ;
19546 PyObject
* obj4
= 0 ;
19547 char *kwnames
[] = {
19548 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19554 arg2
= (double) SWIG_AsDouble(obj1
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19556 arg3
= (double) SWIG_AsDouble(obj2
);
19557 if (PyErr_Occurred()) SWIG_fail
;
19559 arg4
= (int) SWIG_AsInt(obj3
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19563 arg5
= (int) SWIG_AsInt(obj4
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19568 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
19570 wxPyEndAllowThreads(__tstate
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19573 Py_INCREF(Py_None
); resultobj
= Py_None
;
19580 static PyObject
*_wrap_PyDividedShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19581 PyObject
*resultobj
;
19582 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19586 int arg5
= (int) 0 ;
19587 int arg6
= (int) 0 ;
19588 PyObject
* obj0
= 0 ;
19589 PyObject
* obj1
= 0 ;
19590 PyObject
* obj2
= 0 ;
19591 PyObject
* obj3
= 0 ;
19592 PyObject
* obj4
= 0 ;
19593 PyObject
* obj5
= 0 ;
19594 char *kwnames
[] = {
19595 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19601 arg2
= (bool) SWIG_AsBool(obj1
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19603 arg3
= (double) SWIG_AsDouble(obj2
);
19604 if (PyErr_Occurred()) SWIG_fail
;
19605 arg4
= (double) SWIG_AsDouble(obj3
);
19606 if (PyErr_Occurred()) SWIG_fail
;
19608 arg5
= (int) SWIG_AsInt(obj4
);
19609 if (PyErr_Occurred()) SWIG_fail
;
19612 arg6
= (int) SWIG_AsInt(obj5
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19617 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
19619 wxPyEndAllowThreads(__tstate
);
19620 if (PyErr_Occurred()) SWIG_fail
;
19622 Py_INCREF(Py_None
); resultobj
= Py_None
;
19629 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19630 PyObject
*resultobj
;
19631 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19634 int arg4
= (int) 0 ;
19635 int arg5
= (int) 0 ;
19636 PyObject
* obj0
= 0 ;
19637 PyObject
* obj1
= 0 ;
19638 PyObject
* obj2
= 0 ;
19639 PyObject
* obj3
= 0 ;
19640 PyObject
* obj4
= 0 ;
19641 char *kwnames
[] = {
19642 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19648 arg2
= (double) SWIG_AsDouble(obj1
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19650 arg3
= (double) SWIG_AsDouble(obj2
);
19651 if (PyErr_Occurred()) SWIG_fail
;
19653 arg4
= (int) SWIG_AsInt(obj3
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19657 arg5
= (int) SWIG_AsInt(obj4
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19667 Py_INCREF(Py_None
); resultobj
= Py_None
;
19674 static PyObject
*_wrap_PyDividedShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19675 PyObject
*resultobj
;
19676 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19679 int arg4
= (int) 0 ;
19680 int arg5
= (int) 0 ;
19681 PyObject
* obj0
= 0 ;
19682 PyObject
* obj1
= 0 ;
19683 PyObject
* obj2
= 0 ;
19684 PyObject
* obj3
= 0 ;
19685 PyObject
* obj4
= 0 ;
19686 char *kwnames
[] = {
19687 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19693 arg2
= (double) SWIG_AsDouble(obj1
);
19694 if (PyErr_Occurred()) SWIG_fail
;
19695 arg3
= (double) SWIG_AsDouble(obj2
);
19696 if (PyErr_Occurred()) SWIG_fail
;
19698 arg4
= (int) SWIG_AsInt(obj3
);
19699 if (PyErr_Occurred()) SWIG_fail
;
19702 arg5
= (int) SWIG_AsInt(obj4
);
19703 if (PyErr_Occurred()) SWIG_fail
;
19706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19707 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
19709 wxPyEndAllowThreads(__tstate
);
19710 if (PyErr_Occurred()) SWIG_fail
;
19712 Py_INCREF(Py_None
); resultobj
= Py_None
;
19719 static PyObject
*_wrap_PyDividedShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19720 PyObject
*resultobj
;
19721 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19727 PyObject
* obj0
= 0 ;
19728 PyObject
* obj1
= 0 ;
19729 PyObject
* obj2
= 0 ;
19730 PyObject
* obj3
= 0 ;
19731 PyObject
* obj4
= 0 ;
19732 PyObject
* obj5
= 0 ;
19733 char *kwnames
[] = {
19734 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDividedShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19741 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19743 if (arg2
== NULL
) {
19744 PyErr_SetString(PyExc_TypeError
,"null reference");
19747 arg3
= (double) SWIG_AsDouble(obj2
);
19748 if (PyErr_Occurred()) SWIG_fail
;
19749 arg4
= (double) SWIG_AsDouble(obj3
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19751 arg5
= (double) SWIG_AsDouble(obj4
);
19752 if (PyErr_Occurred()) SWIG_fail
;
19753 arg6
= (double) SWIG_AsDouble(obj5
);
19754 if (PyErr_Occurred()) SWIG_fail
;
19756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19757 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
19759 wxPyEndAllowThreads(__tstate
);
19760 if (PyErr_Occurred()) SWIG_fail
;
19762 Py_INCREF(Py_None
); resultobj
= Py_None
;
19769 static PyObject
*_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19770 PyObject
*resultobj
;
19771 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19773 PyObject
* obj0
= 0 ;
19774 PyObject
* obj1
= 0 ;
19775 char *kwnames
[] = {
19776 (char *) "self",(char *) "dc", NULL
19779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19783 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19785 if (arg2
== NULL
) {
19786 PyErr_SetString(PyExc_TypeError
,"null reference");
19790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19791 (arg1
)->base_OnDrawControlPoints(*arg2
);
19793 wxPyEndAllowThreads(__tstate
);
19794 if (PyErr_Occurred()) SWIG_fail
;
19796 Py_INCREF(Py_None
); resultobj
= Py_None
;
19803 static PyObject
*_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19804 PyObject
*resultobj
;
19805 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19807 PyObject
* obj0
= 0 ;
19808 PyObject
* obj1
= 0 ;
19809 char *kwnames
[] = {
19810 (char *) "self",(char *) "dc", NULL
19813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19817 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19819 if (arg2
== NULL
) {
19820 PyErr_SetString(PyExc_TypeError
,"null reference");
19824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19825 (arg1
)->base_OnEraseControlPoints(*arg2
);
19827 wxPyEndAllowThreads(__tstate
);
19828 if (PyErr_Occurred()) SWIG_fail
;
19830 Py_INCREF(Py_None
); resultobj
= Py_None
;
19837 static PyObject
*_wrap_PyDividedShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19838 PyObject
*resultobj
;
19839 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19841 bool arg3
= (bool) True
;
19842 PyObject
* obj0
= 0 ;
19843 PyObject
* obj1
= 0 ;
19844 PyObject
* obj2
= 0 ;
19845 char *kwnames
[] = {
19846 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19855 if (arg2
== NULL
) {
19856 PyErr_SetString(PyExc_TypeError
,"null reference");
19860 arg3
= (bool) SWIG_AsBool(obj2
);
19861 if (PyErr_Occurred()) SWIG_fail
;
19864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19865 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
19867 wxPyEndAllowThreads(__tstate
);
19868 if (PyErr_Occurred()) SWIG_fail
;
19870 Py_INCREF(Py_None
); resultobj
= Py_None
;
19877 static PyObject
*_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19878 PyObject
*resultobj
;
19879 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19880 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19884 int arg6
= (int) 0 ;
19885 int arg7
= (int) 0 ;
19886 PyObject
* obj0
= 0 ;
19887 PyObject
* obj1
= 0 ;
19888 PyObject
* obj2
= 0 ;
19889 PyObject
* obj3
= 0 ;
19890 PyObject
* obj4
= 0 ;
19891 PyObject
* obj5
= 0 ;
19892 PyObject
* obj6
= 0 ;
19893 char *kwnames
[] = {
19894 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDividedShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
19901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19902 arg3
= (bool) SWIG_AsBool(obj2
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19904 arg4
= (double) SWIG_AsDouble(obj3
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19906 arg5
= (double) SWIG_AsDouble(obj4
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19909 arg6
= (int) SWIG_AsInt(obj5
);
19910 if (PyErr_Occurred()) SWIG_fail
;
19913 arg7
= (int) SWIG_AsInt(obj6
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19918 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19920 wxPyEndAllowThreads(__tstate
);
19921 if (PyErr_Occurred()) SWIG_fail
;
19923 Py_INCREF(Py_None
); resultobj
= Py_None
;
19930 static PyObject
*_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
;
19932 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19933 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19936 int arg5
= (int) 0 ;
19937 int arg6
= (int) 0 ;
19938 PyObject
* obj0
= 0 ;
19939 PyObject
* obj1
= 0 ;
19940 PyObject
* obj2
= 0 ;
19941 PyObject
* obj3
= 0 ;
19942 PyObject
* obj4
= 0 ;
19943 PyObject
* obj5
= 0 ;
19944 char *kwnames
[] = {
19945 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
19952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19953 arg3
= (double) SWIG_AsDouble(obj2
);
19954 if (PyErr_Occurred()) SWIG_fail
;
19955 arg4
= (double) SWIG_AsDouble(obj3
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19958 arg5
= (int) SWIG_AsInt(obj4
);
19959 if (PyErr_Occurred()) SWIG_fail
;
19962 arg6
= (int) SWIG_AsInt(obj5
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19967 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19969 wxPyEndAllowThreads(__tstate
);
19970 if (PyErr_Occurred()) SWIG_fail
;
19972 Py_INCREF(Py_None
); resultobj
= Py_None
;
19979 static PyObject
*_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19980 PyObject
*resultobj
;
19981 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19982 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19985 int arg5
= (int) 0 ;
19986 int arg6
= (int) 0 ;
19987 PyObject
* obj0
= 0 ;
19988 PyObject
* obj1
= 0 ;
19989 PyObject
* obj2
= 0 ;
19990 PyObject
* obj3
= 0 ;
19991 PyObject
* obj4
= 0 ;
19992 PyObject
* obj5
= 0 ;
19993 char *kwnames
[] = {
19994 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
20001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20002 arg3
= (double) SWIG_AsDouble(obj2
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20004 arg4
= (double) SWIG_AsDouble(obj3
);
20005 if (PyErr_Occurred()) SWIG_fail
;
20007 arg5
= (int) SWIG_AsInt(obj4
);
20008 if (PyErr_Occurred()) SWIG_fail
;
20011 arg6
= (int) SWIG_AsInt(obj5
);
20012 if (PyErr_Occurred()) SWIG_fail
;
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 Py_INCREF(Py_None
); resultobj
= Py_None
;
20028 static PyObject
*_wrap_PyDividedShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20029 PyObject
*resultobj
;
20030 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20033 PyObject
* obj0
= 0 ;
20034 PyObject
* obj1
= 0 ;
20035 PyObject
* obj2
= 0 ;
20036 char *kwnames
[] = {
20037 (char *) "self",(char *) "w",(char *) "h", NULL
20040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20043 arg2
= (double) SWIG_AsDouble(obj1
);
20044 if (PyErr_Occurred()) SWIG_fail
;
20045 arg3
= (double) SWIG_AsDouble(obj2
);
20046 if (PyErr_Occurred()) SWIG_fail
;
20048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20049 (arg1
)->base_OnBeginSize(arg2
,arg3
);
20051 wxPyEndAllowThreads(__tstate
);
20052 if (PyErr_Occurred()) SWIG_fail
;
20054 Py_INCREF(Py_None
); resultobj
= Py_None
;
20061 static PyObject
*_wrap_PyDividedShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20062 PyObject
*resultobj
;
20063 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20066 PyObject
* obj0
= 0 ;
20067 PyObject
* obj1
= 0 ;
20068 PyObject
* obj2
= 0 ;
20069 char *kwnames
[] = {
20070 (char *) "self",(char *) "w",(char *) "h", NULL
20073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20076 arg2
= (double) SWIG_AsDouble(obj1
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20078 arg3
= (double) SWIG_AsDouble(obj2
);
20079 if (PyErr_Occurred()) SWIG_fail
;
20081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20082 (arg1
)->base_OnEndSize(arg2
,arg3
);
20084 wxPyEndAllowThreads(__tstate
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20087 Py_INCREF(Py_None
); resultobj
= Py_None
;
20094 static PyObject
* PyDividedShape_swigregister(PyObject
*, PyObject
*args
) {
20096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20097 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape
, obj
);
20099 return Py_BuildValue((char *)"");
20101 static PyObject
*_wrap_new_PyDivisionShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20102 PyObject
*resultobj
;
20103 wxPyDivisionShape
*result
;
20104 char *kwnames
[] = {
20108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDivisionShape",kwnames
)) goto fail
;
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20111 result
= (wxPyDivisionShape
*)new wxPyDivisionShape();
20113 wxPyEndAllowThreads(__tstate
);
20114 if (PyErr_Occurred()) SWIG_fail
;
20117 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20125 static PyObject
*_wrap_PyDivisionShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20126 PyObject
*resultobj
;
20127 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20128 PyObject
*arg2
= (PyObject
*) 0 ;
20129 PyObject
*arg3
= (PyObject
*) 0 ;
20130 PyObject
* obj0
= 0 ;
20131 PyObject
* obj1
= 0 ;
20132 PyObject
* obj2
= 0 ;
20133 char *kwnames
[] = {
20134 (char *) "self",(char *) "self",(char *) "_class", NULL
20137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20144 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20149 Py_INCREF(Py_None
); resultobj
= Py_None
;
20156 static PyObject
*_wrap_PyDivisionShape_AdjustBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
;
20158 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20161 PyObject
* obj0
= 0 ;
20162 PyObject
* obj1
= 0 ;
20163 PyObject
* obj2
= 0 ;
20164 char *kwnames
[] = {
20165 (char *) "self",(char *) "bottom",(char *) "test", NULL
20168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustBottom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20171 arg2
= (double) SWIG_AsDouble(obj1
);
20172 if (PyErr_Occurred()) SWIG_fail
;
20173 arg3
= (bool) SWIG_AsBool(obj2
);
20174 if (PyErr_Occurred()) SWIG_fail
;
20176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20177 (arg1
)->AdjustBottom(arg2
,arg3
);
20179 wxPyEndAllowThreads(__tstate
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20182 Py_INCREF(Py_None
); resultobj
= Py_None
;
20189 static PyObject
*_wrap_PyDivisionShape_AdjustLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20190 PyObject
*resultobj
;
20191 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20194 PyObject
* obj0
= 0 ;
20195 PyObject
* obj1
= 0 ;
20196 PyObject
* obj2
= 0 ;
20197 char *kwnames
[] = {
20198 (char *) "self",(char *) "left",(char *) "test", NULL
20201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustLeft",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20204 arg2
= (double) SWIG_AsDouble(obj1
);
20205 if (PyErr_Occurred()) SWIG_fail
;
20206 arg3
= (bool) SWIG_AsBool(obj2
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20210 (arg1
)->AdjustLeft(arg2
,arg3
);
20212 wxPyEndAllowThreads(__tstate
);
20213 if (PyErr_Occurred()) SWIG_fail
;
20215 Py_INCREF(Py_None
); resultobj
= Py_None
;
20222 static PyObject
*_wrap_PyDivisionShape_AdjustRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20223 PyObject
*resultobj
;
20224 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20227 PyObject
* obj0
= 0 ;
20228 PyObject
* obj1
= 0 ;
20229 PyObject
* obj2
= 0 ;
20230 char *kwnames
[] = {
20231 (char *) "self",(char *) "right",(char *) "test", NULL
20234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustRight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20237 arg2
= (double) SWIG_AsDouble(obj1
);
20238 if (PyErr_Occurred()) SWIG_fail
;
20239 arg3
= (bool) SWIG_AsBool(obj2
);
20240 if (PyErr_Occurred()) SWIG_fail
;
20242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20243 (arg1
)->AdjustRight(arg2
,arg3
);
20245 wxPyEndAllowThreads(__tstate
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20248 Py_INCREF(Py_None
); resultobj
= Py_None
;
20255 static PyObject
*_wrap_PyDivisionShape_AdjustTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20256 PyObject
*resultobj
;
20257 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20260 PyObject
* obj0
= 0 ;
20261 PyObject
* obj1
= 0 ;
20262 PyObject
* obj2
= 0 ;
20263 char *kwnames
[] = {
20264 (char *) "self",(char *) "top",(char *) "test", NULL
20267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20270 arg2
= (double) SWIG_AsDouble(obj1
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20272 arg3
= (bool) SWIG_AsBool(obj2
);
20273 if (PyErr_Occurred()) SWIG_fail
;
20275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20276 (arg1
)->AdjustTop(arg2
,arg3
);
20278 wxPyEndAllowThreads(__tstate
);
20279 if (PyErr_Occurred()) SWIG_fail
;
20281 Py_INCREF(Py_None
); resultobj
= Py_None
;
20288 static PyObject
*_wrap_PyDivisionShape_Divide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20289 PyObject
*resultobj
;
20290 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20292 PyObject
* obj0
= 0 ;
20293 PyObject
* obj1
= 0 ;
20294 char *kwnames
[] = {
20295 (char *) "self",(char *) "direction", NULL
20298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_Divide",kwnames
,&obj0
,&obj1
)) goto fail
;
20299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20301 arg2
= (int) SWIG_AsInt(obj1
);
20302 if (PyErr_Occurred()) SWIG_fail
;
20304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20305 (arg1
)->Divide(arg2
);
20307 wxPyEndAllowThreads(__tstate
);
20308 if (PyErr_Occurred()) SWIG_fail
;
20310 Py_INCREF(Py_None
); resultobj
= Py_None
;
20317 static PyObject
*_wrap_PyDivisionShape_EditEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20318 PyObject
*resultobj
;
20319 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20321 PyObject
* obj0
= 0 ;
20322 PyObject
* obj1
= 0 ;
20323 char *kwnames
[] = {
20324 (char *) "self",(char *) "side", NULL
20327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_EditEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
20328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20330 arg2
= (int) SWIG_AsInt(obj1
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20334 (arg1
)->EditEdge(arg2
);
20336 wxPyEndAllowThreads(__tstate
);
20337 if (PyErr_Occurred()) SWIG_fail
;
20339 Py_INCREF(Py_None
); resultobj
= Py_None
;
20346 static PyObject
*_wrap_PyDivisionShape_GetBottomSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20347 PyObject
*resultobj
;
20348 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20349 wxPyDivisionShape
*result
;
20350 PyObject
* obj0
= 0 ;
20351 char *kwnames
[] = {
20352 (char *) "self", NULL
20355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetBottomSide",kwnames
,&obj0
)) goto fail
;
20356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20360 result
= (wxPyDivisionShape
*)(arg1
)->GetBottomSide();
20362 wxPyEndAllowThreads(__tstate
);
20363 if (PyErr_Occurred()) SWIG_fail
;
20366 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20374 static PyObject
*_wrap_PyDivisionShape_GetHandleSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20375 PyObject
*resultobj
;
20376 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20378 PyObject
* obj0
= 0 ;
20379 char *kwnames
[] = {
20380 (char *) "self", NULL
20383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetHandleSide",kwnames
,&obj0
)) goto fail
;
20384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20388 result
= (int)(arg1
)->GetHandleSide();
20390 wxPyEndAllowThreads(__tstate
);
20391 if (PyErr_Occurred()) SWIG_fail
;
20393 resultobj
= SWIG_FromInt((int)result
);
20400 static PyObject
*_wrap_PyDivisionShape_GetLeftSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20401 PyObject
*resultobj
;
20402 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20403 wxPyDivisionShape
*result
;
20404 PyObject
* obj0
= 0 ;
20405 char *kwnames
[] = {
20406 (char *) "self", NULL
20409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSide",kwnames
,&obj0
)) goto fail
;
20410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20414 result
= (wxPyDivisionShape
*)(arg1
)->GetLeftSide();
20416 wxPyEndAllowThreads(__tstate
);
20417 if (PyErr_Occurred()) SWIG_fail
;
20420 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20428 static PyObject
*_wrap_PyDivisionShape_GetLeftSideColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20429 PyObject
*resultobj
;
20430 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20432 PyObject
* obj0
= 0 ;
20433 char *kwnames
[] = {
20434 (char *) "self", NULL
20437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames
,&obj0
)) goto fail
;
20438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20442 result
= (arg1
)->GetLeftSideColour();
20444 wxPyEndAllowThreads(__tstate
);
20445 if (PyErr_Occurred()) SWIG_fail
;
20449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20460 static PyObject
*_wrap_PyDivisionShape_GetLeftSidePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20461 PyObject
*resultobj
;
20462 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20464 PyObject
* obj0
= 0 ;
20465 char *kwnames
[] = {
20466 (char *) "self", NULL
20469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames
,&obj0
)) goto fail
;
20470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20474 result
= (wxPen
*)(arg1
)->GetLeftSidePen();
20476 wxPyEndAllowThreads(__tstate
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
20486 static PyObject
*_wrap_PyDivisionShape_GetRightSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20487 PyObject
*resultobj
;
20488 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20489 wxPyDivisionShape
*result
;
20490 PyObject
* obj0
= 0 ;
20491 char *kwnames
[] = {
20492 (char *) "self", NULL
20495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetRightSide",kwnames
,&obj0
)) goto fail
;
20496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20500 result
= (wxPyDivisionShape
*)(arg1
)->GetRightSide();
20502 wxPyEndAllowThreads(__tstate
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20506 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20514 static PyObject
*_wrap_PyDivisionShape_GetTopSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20515 PyObject
*resultobj
;
20516 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20517 wxPyDivisionShape
*result
;
20518 PyObject
* obj0
= 0 ;
20519 char *kwnames
[] = {
20520 (char *) "self", NULL
20523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSide",kwnames
,&obj0
)) goto fail
;
20524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20528 result
= (wxPyDivisionShape
*)(arg1
)->GetTopSide();
20530 wxPyEndAllowThreads(__tstate
);
20531 if (PyErr_Occurred()) SWIG_fail
;
20534 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20542 static PyObject
*_wrap_PyDivisionShape_GetTopSidePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20543 PyObject
*resultobj
;
20544 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20546 PyObject
* obj0
= 0 ;
20547 char *kwnames
[] = {
20548 (char *) "self", NULL
20551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames
,&obj0
)) goto fail
;
20552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20556 result
= (wxPen
*)(arg1
)->GetTopSidePen();
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
20568 static PyObject
*_wrap_PyDivisionShape_ResizeAdjoining(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20569 PyObject
*resultobj
;
20570 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20574 PyObject
* obj0
= 0 ;
20575 PyObject
* obj1
= 0 ;
20576 PyObject
* obj2
= 0 ;
20577 PyObject
* obj3
= 0 ;
20578 char *kwnames
[] = {
20579 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
20582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDivisionShape_ResizeAdjoining",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20585 arg2
= (int) SWIG_AsInt(obj1
);
20586 if (PyErr_Occurred()) SWIG_fail
;
20587 arg3
= (double) SWIG_AsDouble(obj2
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20589 arg4
= (bool) SWIG_AsBool(obj3
);
20590 if (PyErr_Occurred()) SWIG_fail
;
20592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20593 (arg1
)->ResizeAdjoining(arg2
,arg3
,arg4
);
20595 wxPyEndAllowThreads(__tstate
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20598 Py_INCREF(Py_None
); resultobj
= Py_None
;
20605 static PyObject
*_wrap_PyDivisionShape_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20606 PyObject
*resultobj
;
20607 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20610 PyObject
* obj0
= 0 ;
20611 PyObject
* obj1
= 0 ;
20612 PyObject
* obj2
= 0 ;
20613 char *kwnames
[] = {
20614 (char *) "self",(char *) "x",(char *) "y", NULL
20617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20620 arg2
= (double) SWIG_AsDouble(obj1
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20622 arg3
= (double) SWIG_AsDouble(obj2
);
20623 if (PyErr_Occurred()) SWIG_fail
;
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 (arg1
)->PopupMenu(arg2
,arg3
);
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20631 Py_INCREF(Py_None
); resultobj
= Py_None
;
20638 static PyObject
*_wrap_PyDivisionShape_SetBottomSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
;
20640 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20641 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20642 PyObject
* obj0
= 0 ;
20643 PyObject
* obj1
= 0 ;
20644 char *kwnames
[] = {
20645 (char *) "self",(char *) "shape", NULL
20648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20655 (arg1
)->SetBottomSide(arg2
);
20657 wxPyEndAllowThreads(__tstate
);
20658 if (PyErr_Occurred()) SWIG_fail
;
20660 Py_INCREF(Py_None
); resultobj
= Py_None
;
20667 static PyObject
*_wrap_PyDivisionShape_SetHandleSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20668 PyObject
*resultobj
;
20669 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20671 PyObject
* obj0
= 0 ;
20672 PyObject
* obj1
= 0 ;
20673 char *kwnames
[] = {
20674 (char *) "self",(char *) "side", NULL
20677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetHandleSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20680 arg2
= (int) SWIG_AsInt(obj1
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20684 (arg1
)->SetHandleSide(arg2
);
20686 wxPyEndAllowThreads(__tstate
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20689 Py_INCREF(Py_None
); resultobj
= Py_None
;
20696 static PyObject
*_wrap_PyDivisionShape_SetLeftSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20697 PyObject
*resultobj
;
20698 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20699 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20700 PyObject
* obj0
= 0 ;
20701 PyObject
* obj1
= 0 ;
20702 char *kwnames
[] = {
20703 (char *) "self",(char *) "shape", NULL
20706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20713 (arg1
)->SetLeftSide(arg2
);
20715 wxPyEndAllowThreads(__tstate
);
20716 if (PyErr_Occurred()) SWIG_fail
;
20718 Py_INCREF(Py_None
); resultobj
= Py_None
;
20725 static PyObject
*_wrap_PyDivisionShape_SetLeftSideColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20726 PyObject
*resultobj
;
20727 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20728 wxString
*arg2
= 0 ;
20729 bool temp2
= False
;
20730 PyObject
* obj0
= 0 ;
20731 PyObject
* obj1
= 0 ;
20732 char *kwnames
[] = {
20733 (char *) "self",(char *) "colour", NULL
20736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20740 arg2
= wxString_in_helper(obj1
);
20741 if (arg2
== NULL
) SWIG_fail
;
20745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20746 (arg1
)->SetLeftSideColour((wxString
const &)*arg2
);
20748 wxPyEndAllowThreads(__tstate
);
20749 if (PyErr_Occurred()) SWIG_fail
;
20751 Py_INCREF(Py_None
); resultobj
= Py_None
;
20766 static PyObject
*_wrap_PyDivisionShape_SetLeftSidePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20767 PyObject
*resultobj
;
20768 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20769 wxPen
*arg2
= (wxPen
*) 0 ;
20770 PyObject
* obj0
= 0 ;
20771 PyObject
* obj1
= 0 ;
20772 char *kwnames
[] = {
20773 (char *) "self",(char *) "pen", NULL
20776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
20777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20782 if (obj1
== Py_None
) {
20785 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
20786 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
20791 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 (arg1
)->SetLeftSidePen(arg2
);
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20804 Py_INCREF(Py_None
); resultobj
= Py_None
;
20811 static PyObject
*_wrap_PyDivisionShape_SetRightSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20812 PyObject
*resultobj
;
20813 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20814 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20815 PyObject
* obj0
= 0 ;
20816 PyObject
* obj1
= 0 ;
20817 char *kwnames
[] = {
20818 (char *) "self",(char *) "shape", NULL
20821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetRightSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20828 (arg1
)->SetRightSide(arg2
);
20830 wxPyEndAllowThreads(__tstate
);
20831 if (PyErr_Occurred()) SWIG_fail
;
20833 Py_INCREF(Py_None
); resultobj
= Py_None
;
20840 static PyObject
*_wrap_PyDivisionShape_SetTopSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20841 PyObject
*resultobj
;
20842 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20843 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20844 PyObject
* obj0
= 0 ;
20845 PyObject
* obj1
= 0 ;
20846 char *kwnames
[] = {
20847 (char *) "self",(char *) "shape", NULL
20850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20853 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20857 (arg1
)->SetTopSide(arg2
);
20859 wxPyEndAllowThreads(__tstate
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20862 Py_INCREF(Py_None
); resultobj
= Py_None
;
20869 static PyObject
*_wrap_PyDivisionShape_SetTopSideColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20870 PyObject
*resultobj
;
20871 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20872 wxString
*arg2
= 0 ;
20873 bool temp2
= False
;
20874 PyObject
* obj0
= 0 ;
20875 PyObject
* obj1
= 0 ;
20876 char *kwnames
[] = {
20877 (char *) "self",(char *) "colour", NULL
20880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20884 arg2
= wxString_in_helper(obj1
);
20885 if (arg2
== NULL
) SWIG_fail
;
20889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20890 (arg1
)->SetTopSideColour((wxString
const &)*arg2
);
20892 wxPyEndAllowThreads(__tstate
);
20893 if (PyErr_Occurred()) SWIG_fail
;
20895 Py_INCREF(Py_None
); resultobj
= Py_None
;
20910 static PyObject
*_wrap_PyDivisionShape_SetTopSidePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20911 PyObject
*resultobj
;
20912 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20913 wxPen
*arg2
= (wxPen
*) 0 ;
20914 PyObject
* obj0
= 0 ;
20915 PyObject
* obj1
= 0 ;
20916 char *kwnames
[] = {
20917 (char *) "self",(char *) "pen", NULL
20920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
20921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20926 if (obj1
== Py_None
) {
20929 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
20930 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
20935 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 (arg1
)->SetTopSidePen(arg2
);
20945 wxPyEndAllowThreads(__tstate
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20948 Py_INCREF(Py_None
); resultobj
= Py_None
;
20955 static PyObject
*_wrap_PyDivisionShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20956 PyObject
*resultobj
;
20957 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20958 PyObject
* obj0
= 0 ;
20959 char *kwnames
[] = {
20960 (char *) "self", NULL
20963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
20964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20968 (arg1
)->base_OnDelete();
20970 wxPyEndAllowThreads(__tstate
);
20971 if (PyErr_Occurred()) SWIG_fail
;
20973 Py_INCREF(Py_None
); resultobj
= Py_None
;
20980 static PyObject
*_wrap_PyDivisionShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20981 PyObject
*resultobj
;
20982 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20984 PyObject
* obj0
= 0 ;
20985 PyObject
* obj1
= 0 ;
20986 char *kwnames
[] = {
20987 (char *) "self",(char *) "dc", NULL
20990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
20991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
20994 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20996 if (arg2
== NULL
) {
20997 PyErr_SetString(PyExc_TypeError
,"null reference");
21001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21002 (arg1
)->base_OnDraw(*arg2
);
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21007 Py_INCREF(Py_None
); resultobj
= Py_None
;
21014 static PyObject
*_wrap_PyDivisionShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21015 PyObject
*resultobj
;
21016 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21018 PyObject
* obj0
= 0 ;
21019 PyObject
* obj1
= 0 ;
21020 char *kwnames
[] = {
21021 (char *) "self",(char *) "dc", NULL
21024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21028 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21030 if (arg2
== NULL
) {
21031 PyErr_SetString(PyExc_TypeError
,"null reference");
21035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21036 (arg1
)->base_OnDrawContents(*arg2
);
21038 wxPyEndAllowThreads(__tstate
);
21039 if (PyErr_Occurred()) SWIG_fail
;
21041 Py_INCREF(Py_None
); resultobj
= Py_None
;
21048 static PyObject
*_wrap_PyDivisionShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21049 PyObject
*resultobj
;
21050 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21052 bool arg3
= (bool) FALSE
;
21053 PyObject
* obj0
= 0 ;
21054 PyObject
* obj1
= 0 ;
21055 PyObject
* obj2
= 0 ;
21056 char *kwnames
[] = {
21057 (char *) "self",(char *) "dc",(char *) "erase", NULL
21060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21064 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21066 if (arg2
== NULL
) {
21067 PyErr_SetString(PyExc_TypeError
,"null reference");
21071 arg3
= (bool) SWIG_AsBool(obj2
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21076 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
21078 wxPyEndAllowThreads(__tstate
);
21079 if (PyErr_Occurred()) SWIG_fail
;
21081 Py_INCREF(Py_None
); resultobj
= Py_None
;
21088 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21089 PyObject
*resultobj
;
21090 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21092 PyObject
* obj0
= 0 ;
21093 PyObject
* obj1
= 0 ;
21094 char *kwnames
[] = {
21095 (char *) "self",(char *) "dc", NULL
21098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
21099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21102 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21104 if (arg2
== NULL
) {
21105 PyErr_SetString(PyExc_TypeError
,"null reference");
21109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21110 (arg1
)->base_OnMoveLinks(*arg2
);
21112 wxPyEndAllowThreads(__tstate
);
21113 if (PyErr_Occurred()) SWIG_fail
;
21115 Py_INCREF(Py_None
); resultobj
= Py_None
;
21122 static PyObject
*_wrap_PyDivisionShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21123 PyObject
*resultobj
;
21124 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21126 PyObject
* obj0
= 0 ;
21127 PyObject
* obj1
= 0 ;
21128 char *kwnames
[] = {
21129 (char *) "self",(char *) "dc", NULL
21132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
21133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21136 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21138 if (arg2
== NULL
) {
21139 PyErr_SetString(PyExc_TypeError
,"null reference");
21143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21144 (arg1
)->base_OnErase(*arg2
);
21146 wxPyEndAllowThreads(__tstate
);
21147 if (PyErr_Occurred()) SWIG_fail
;
21149 Py_INCREF(Py_None
); resultobj
= Py_None
;
21156 static PyObject
*_wrap_PyDivisionShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21157 PyObject
*resultobj
;
21158 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21160 PyObject
* obj0
= 0 ;
21161 PyObject
* obj1
= 0 ;
21162 char *kwnames
[] = {
21163 (char *) "self",(char *) "dc", NULL
21166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21169 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21170 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21172 if (arg2
== NULL
) {
21173 PyErr_SetString(PyExc_TypeError
,"null reference");
21177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21178 (arg1
)->base_OnEraseContents(*arg2
);
21180 wxPyEndAllowThreads(__tstate
);
21181 if (PyErr_Occurred()) SWIG_fail
;
21183 Py_INCREF(Py_None
); resultobj
= Py_None
;
21190 static PyObject
*_wrap_PyDivisionShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21191 PyObject
*resultobj
;
21192 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21194 PyObject
* obj0
= 0 ;
21195 PyObject
* obj1
= 0 ;
21196 char *kwnames
[] = {
21197 (char *) "self",(char *) "dc", NULL
21200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
21201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21204 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21206 if (arg2
== NULL
) {
21207 PyErr_SetString(PyExc_TypeError
,"null reference");
21211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21212 (arg1
)->base_OnHighlight(*arg2
);
21214 wxPyEndAllowThreads(__tstate
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21217 Py_INCREF(Py_None
); resultobj
= Py_None
;
21224 static PyObject
*_wrap_PyDivisionShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21225 PyObject
*resultobj
;
21226 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21229 int arg4
= (int) 0 ;
21230 int arg5
= (int) 0 ;
21231 PyObject
* obj0
= 0 ;
21232 PyObject
* obj1
= 0 ;
21233 PyObject
* obj2
= 0 ;
21234 PyObject
* obj3
= 0 ;
21235 PyObject
* obj4
= 0 ;
21236 char *kwnames
[] = {
21237 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21243 arg2
= (double) SWIG_AsDouble(obj1
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21245 arg3
= (double) SWIG_AsDouble(obj2
);
21246 if (PyErr_Occurred()) SWIG_fail
;
21248 arg4
= (int) SWIG_AsInt(obj3
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21252 arg5
= (int) SWIG_AsInt(obj4
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21257 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
21259 wxPyEndAllowThreads(__tstate
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21262 Py_INCREF(Py_None
); resultobj
= Py_None
;
21269 static PyObject
*_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21270 PyObject
*resultobj
;
21271 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21274 int arg4
= (int) 0 ;
21275 int arg5
= (int) 0 ;
21276 PyObject
* obj0
= 0 ;
21277 PyObject
* obj1
= 0 ;
21278 PyObject
* obj2
= 0 ;
21279 PyObject
* obj3
= 0 ;
21280 PyObject
* obj4
= 0 ;
21281 char *kwnames
[] = {
21282 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21288 arg2
= (double) SWIG_AsDouble(obj1
);
21289 if (PyErr_Occurred()) SWIG_fail
;
21290 arg3
= (double) SWIG_AsDouble(obj2
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21293 arg4
= (int) SWIG_AsInt(obj3
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21297 arg5
= (int) SWIG_AsInt(obj4
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21302 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
21304 wxPyEndAllowThreads(__tstate
);
21305 if (PyErr_Occurred()) SWIG_fail
;
21307 Py_INCREF(Py_None
); resultobj
= Py_None
;
21314 static PyObject
*_wrap_PyDivisionShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21315 PyObject
*resultobj
;
21316 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21319 int arg4
= (int) 0 ;
21320 int arg5
= (int) 0 ;
21321 PyObject
* obj0
= 0 ;
21322 PyObject
* obj1
= 0 ;
21323 PyObject
* obj2
= 0 ;
21324 PyObject
* obj3
= 0 ;
21325 PyObject
* obj4
= 0 ;
21326 char *kwnames
[] = {
21327 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21333 arg2
= (double) SWIG_AsDouble(obj1
);
21334 if (PyErr_Occurred()) SWIG_fail
;
21335 arg3
= (double) SWIG_AsDouble(obj2
);
21336 if (PyErr_Occurred()) SWIG_fail
;
21338 arg4
= (int) SWIG_AsInt(obj3
);
21339 if (PyErr_Occurred()) SWIG_fail
;
21342 arg5
= (int) SWIG_AsInt(obj4
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
21349 wxPyEndAllowThreads(__tstate
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21352 Py_INCREF(Py_None
); resultobj
= Py_None
;
21359 static PyObject
*_wrap_PyDivisionShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21360 PyObject
*resultobj
;
21361 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21364 PyObject
* obj0
= 0 ;
21365 PyObject
* obj1
= 0 ;
21366 PyObject
* obj2
= 0 ;
21367 char *kwnames
[] = {
21368 (char *) "self",(char *) "x",(char *) "y", NULL
21371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21374 arg2
= (double) SWIG_AsDouble(obj1
);
21375 if (PyErr_Occurred()) SWIG_fail
;
21376 arg3
= (double) SWIG_AsDouble(obj2
);
21377 if (PyErr_Occurred()) SWIG_fail
;
21379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21380 (arg1
)->base_OnSize(arg2
,arg3
);
21382 wxPyEndAllowThreads(__tstate
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21385 Py_INCREF(Py_None
); resultobj
= Py_None
;
21392 static PyObject
*_wrap_PyDivisionShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21393 PyObject
*resultobj
;
21394 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21400 bool arg7
= (bool) True
;
21402 PyObject
* obj0
= 0 ;
21403 PyObject
* obj1
= 0 ;
21404 PyObject
* obj2
= 0 ;
21405 PyObject
* obj3
= 0 ;
21406 PyObject
* obj4
= 0 ;
21407 PyObject
* obj5
= 0 ;
21408 PyObject
* obj6
= 0 ;
21409 char *kwnames
[] = {
21410 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21417 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21419 if (arg2
== NULL
) {
21420 PyErr_SetString(PyExc_TypeError
,"null reference");
21423 arg3
= (double) SWIG_AsDouble(obj2
);
21424 if (PyErr_Occurred()) SWIG_fail
;
21425 arg4
= (double) SWIG_AsDouble(obj3
);
21426 if (PyErr_Occurred()) SWIG_fail
;
21427 arg5
= (double) SWIG_AsDouble(obj4
);
21428 if (PyErr_Occurred()) SWIG_fail
;
21429 arg6
= (double) SWIG_AsDouble(obj5
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21432 arg7
= (bool) SWIG_AsBool(obj6
);
21433 if (PyErr_Occurred()) SWIG_fail
;
21436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21437 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21439 wxPyEndAllowThreads(__tstate
);
21440 if (PyErr_Occurred()) SWIG_fail
;
21443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21451 static PyObject
*_wrap_PyDivisionShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21452 PyObject
*resultobj
;
21453 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21459 bool arg7
= (bool) True
;
21460 PyObject
* obj0
= 0 ;
21461 PyObject
* obj1
= 0 ;
21462 PyObject
* obj2
= 0 ;
21463 PyObject
* obj3
= 0 ;
21464 PyObject
* obj4
= 0 ;
21465 PyObject
* obj5
= 0 ;
21466 PyObject
* obj6
= 0 ;
21467 char *kwnames
[] = {
21468 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21475 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21477 if (arg2
== NULL
) {
21478 PyErr_SetString(PyExc_TypeError
,"null reference");
21481 arg3
= (double) SWIG_AsDouble(obj2
);
21482 if (PyErr_Occurred()) SWIG_fail
;
21483 arg4
= (double) SWIG_AsDouble(obj3
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21485 arg5
= (double) SWIG_AsDouble(obj4
);
21486 if (PyErr_Occurred()) SWIG_fail
;
21487 arg6
= (double) SWIG_AsDouble(obj5
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21490 arg7
= (bool) SWIG_AsBool(obj6
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21500 Py_INCREF(Py_None
); resultobj
= Py_None
;
21507 static PyObject
*_wrap_PyDivisionShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21508 PyObject
*resultobj
;
21509 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21513 int arg5
= (int) 0 ;
21514 int arg6
= (int) 0 ;
21515 PyObject
* obj0
= 0 ;
21516 PyObject
* obj1
= 0 ;
21517 PyObject
* obj2
= 0 ;
21518 PyObject
* obj3
= 0 ;
21519 PyObject
* obj4
= 0 ;
21520 PyObject
* obj5
= 0 ;
21521 char *kwnames
[] = {
21522 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21528 arg2
= (bool) SWIG_AsBool(obj1
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21530 arg3
= (double) SWIG_AsDouble(obj2
);
21531 if (PyErr_Occurred()) SWIG_fail
;
21532 arg4
= (double) SWIG_AsDouble(obj3
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 arg5
= (int) SWIG_AsInt(obj4
);
21536 if (PyErr_Occurred()) SWIG_fail
;
21539 arg6
= (int) SWIG_AsInt(obj5
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21544 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21549 Py_INCREF(Py_None
); resultobj
= Py_None
;
21556 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21557 PyObject
*resultobj
;
21558 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21561 int arg4
= (int) 0 ;
21562 int arg5
= (int) 0 ;
21563 PyObject
* obj0
= 0 ;
21564 PyObject
* obj1
= 0 ;
21565 PyObject
* obj2
= 0 ;
21566 PyObject
* obj3
= 0 ;
21567 PyObject
* obj4
= 0 ;
21568 char *kwnames
[] = {
21569 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21575 arg2
= (double) SWIG_AsDouble(obj1
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21577 arg3
= (double) SWIG_AsDouble(obj2
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21580 arg4
= (int) SWIG_AsInt(obj3
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21584 arg5
= (int) SWIG_AsInt(obj4
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21589 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
21591 wxPyEndAllowThreads(__tstate
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21594 Py_INCREF(Py_None
); resultobj
= Py_None
;
21601 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21602 PyObject
*resultobj
;
21603 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21606 int arg4
= (int) 0 ;
21607 int arg5
= (int) 0 ;
21608 PyObject
* obj0
= 0 ;
21609 PyObject
* obj1
= 0 ;
21610 PyObject
* obj2
= 0 ;
21611 PyObject
* obj3
= 0 ;
21612 PyObject
* obj4
= 0 ;
21613 char *kwnames
[] = {
21614 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21620 arg2
= (double) SWIG_AsDouble(obj1
);
21621 if (PyErr_Occurred()) SWIG_fail
;
21622 arg3
= (double) SWIG_AsDouble(obj2
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21625 arg4
= (int) SWIG_AsInt(obj3
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21629 arg5
= (int) SWIG_AsInt(obj4
);
21630 if (PyErr_Occurred()) SWIG_fail
;
21633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21634 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
21636 wxPyEndAllowThreads(__tstate
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21639 Py_INCREF(Py_None
); resultobj
= Py_None
;
21646 static PyObject
*_wrap_PyDivisionShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21647 PyObject
*resultobj
;
21648 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21652 int arg5
= (int) 0 ;
21653 int arg6
= (int) 0 ;
21654 PyObject
* obj0
= 0 ;
21655 PyObject
* obj1
= 0 ;
21656 PyObject
* obj2
= 0 ;
21657 PyObject
* obj3
= 0 ;
21658 PyObject
* obj4
= 0 ;
21659 PyObject
* obj5
= 0 ;
21660 char *kwnames
[] = {
21661 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21667 arg2
= (bool) SWIG_AsBool(obj1
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21669 arg3
= (double) SWIG_AsDouble(obj2
);
21670 if (PyErr_Occurred()) SWIG_fail
;
21671 arg4
= (double) SWIG_AsDouble(obj3
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21674 arg5
= (int) SWIG_AsInt(obj4
);
21675 if (PyErr_Occurred()) SWIG_fail
;
21678 arg6
= (int) SWIG_AsInt(obj5
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21683 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
21685 wxPyEndAllowThreads(__tstate
);
21686 if (PyErr_Occurred()) SWIG_fail
;
21688 Py_INCREF(Py_None
); resultobj
= Py_None
;
21695 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21696 PyObject
*resultobj
;
21697 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21700 int arg4
= (int) 0 ;
21701 int arg5
= (int) 0 ;
21702 PyObject
* obj0
= 0 ;
21703 PyObject
* obj1
= 0 ;
21704 PyObject
* obj2
= 0 ;
21705 PyObject
* obj3
= 0 ;
21706 PyObject
* obj4
= 0 ;
21707 char *kwnames
[] = {
21708 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21714 arg2
= (double) SWIG_AsDouble(obj1
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21716 arg3
= (double) SWIG_AsDouble(obj2
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21719 arg4
= (int) SWIG_AsInt(obj3
);
21720 if (PyErr_Occurred()) SWIG_fail
;
21723 arg5
= (int) SWIG_AsInt(obj4
);
21724 if (PyErr_Occurred()) SWIG_fail
;
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21728 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
21730 wxPyEndAllowThreads(__tstate
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21733 Py_INCREF(Py_None
); resultobj
= Py_None
;
21740 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21741 PyObject
*resultobj
;
21742 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21745 int arg4
= (int) 0 ;
21746 int arg5
= (int) 0 ;
21747 PyObject
* obj0
= 0 ;
21748 PyObject
* obj1
= 0 ;
21749 PyObject
* obj2
= 0 ;
21750 PyObject
* obj3
= 0 ;
21751 PyObject
* obj4
= 0 ;
21752 char *kwnames
[] = {
21753 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21759 arg2
= (double) SWIG_AsDouble(obj1
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21761 arg3
= (double) SWIG_AsDouble(obj2
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21764 arg4
= (int) SWIG_AsInt(obj3
);
21765 if (PyErr_Occurred()) SWIG_fail
;
21768 arg5
= (int) SWIG_AsInt(obj4
);
21769 if (PyErr_Occurred()) SWIG_fail
;
21772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21773 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
21775 wxPyEndAllowThreads(__tstate
);
21776 if (PyErr_Occurred()) SWIG_fail
;
21778 Py_INCREF(Py_None
); resultobj
= Py_None
;
21785 static PyObject
*_wrap_PyDivisionShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21786 PyObject
*resultobj
;
21787 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21793 PyObject
* obj0
= 0 ;
21794 PyObject
* obj1
= 0 ;
21795 PyObject
* obj2
= 0 ;
21796 PyObject
* obj3
= 0 ;
21797 PyObject
* obj4
= 0 ;
21798 PyObject
* obj5
= 0 ;
21799 char *kwnames
[] = {
21800 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
21803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDivisionShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21807 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21809 if (arg2
== NULL
) {
21810 PyErr_SetString(PyExc_TypeError
,"null reference");
21813 arg3
= (double) SWIG_AsDouble(obj2
);
21814 if (PyErr_Occurred()) SWIG_fail
;
21815 arg4
= (double) SWIG_AsDouble(obj3
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21817 arg5
= (double) SWIG_AsDouble(obj4
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21819 arg6
= (double) SWIG_AsDouble(obj5
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21823 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
21825 wxPyEndAllowThreads(__tstate
);
21826 if (PyErr_Occurred()) SWIG_fail
;
21828 Py_INCREF(Py_None
); resultobj
= Py_None
;
21835 static PyObject
*_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21836 PyObject
*resultobj
;
21837 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21839 PyObject
* obj0
= 0 ;
21840 PyObject
* obj1
= 0 ;
21841 char *kwnames
[] = {
21842 (char *) "self",(char *) "dc", NULL
21845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
21846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21848 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21849 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21851 if (arg2
== NULL
) {
21852 PyErr_SetString(PyExc_TypeError
,"null reference");
21856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21857 (arg1
)->base_OnDrawControlPoints(*arg2
);
21859 wxPyEndAllowThreads(__tstate
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21862 Py_INCREF(Py_None
); resultobj
= Py_None
;
21869 static PyObject
*_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21870 PyObject
*resultobj
;
21871 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21873 PyObject
* obj0
= 0 ;
21874 PyObject
* obj1
= 0 ;
21875 char *kwnames
[] = {
21876 (char *) "self",(char *) "dc", NULL
21879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
21880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21883 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21885 if (arg2
== NULL
) {
21886 PyErr_SetString(PyExc_TypeError
,"null reference");
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 (arg1
)->base_OnEraseControlPoints(*arg2
);
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21896 Py_INCREF(Py_None
); resultobj
= Py_None
;
21903 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
;
21905 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21907 bool arg3
= (bool) True
;
21908 PyObject
* obj0
= 0 ;
21909 PyObject
* obj1
= 0 ;
21910 PyObject
* obj2
= 0 ;
21911 char *kwnames
[] = {
21912 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
21915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21918 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21919 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21921 if (arg2
== NULL
) {
21922 PyErr_SetString(PyExc_TypeError
,"null reference");
21926 arg3
= (bool) SWIG_AsBool(obj2
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21936 Py_INCREF(Py_None
); resultobj
= Py_None
;
21943 static PyObject
*_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21944 PyObject
*resultobj
;
21945 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21946 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
21950 int arg6
= (int) 0 ;
21951 int arg7
= (int) 0 ;
21952 PyObject
* obj0
= 0 ;
21953 PyObject
* obj1
= 0 ;
21954 PyObject
* obj2
= 0 ;
21955 PyObject
* obj3
= 0 ;
21956 PyObject
* obj4
= 0 ;
21957 PyObject
* obj5
= 0 ;
21958 PyObject
* obj6
= 0 ;
21959 char *kwnames
[] = {
21960 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDivisionShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
21967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21968 arg3
= (bool) SWIG_AsBool(obj2
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21970 arg4
= (double) SWIG_AsDouble(obj3
);
21971 if (PyErr_Occurred()) SWIG_fail
;
21972 arg5
= (double) SWIG_AsDouble(obj4
);
21973 if (PyErr_Occurred()) SWIG_fail
;
21975 arg6
= (int) SWIG_AsInt(obj5
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21979 arg7
= (int) SWIG_AsInt(obj6
);
21980 if (PyErr_Occurred()) SWIG_fail
;
21983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21984 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21986 wxPyEndAllowThreads(__tstate
);
21987 if (PyErr_Occurred()) SWIG_fail
;
21989 Py_INCREF(Py_None
); resultobj
= Py_None
;
21996 static PyObject
*_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21997 PyObject
*resultobj
;
21998 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21999 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22002 int arg5
= (int) 0 ;
22003 int arg6
= (int) 0 ;
22004 PyObject
* obj0
= 0 ;
22005 PyObject
* obj1
= 0 ;
22006 PyObject
* obj2
= 0 ;
22007 PyObject
* obj3
= 0 ;
22008 PyObject
* obj4
= 0 ;
22009 PyObject
* obj5
= 0 ;
22010 char *kwnames
[] = {
22011 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
22018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22019 arg3
= (double) SWIG_AsDouble(obj2
);
22020 if (PyErr_Occurred()) SWIG_fail
;
22021 arg4
= (double) SWIG_AsDouble(obj3
);
22022 if (PyErr_Occurred()) SWIG_fail
;
22024 arg5
= (int) SWIG_AsInt(obj4
);
22025 if (PyErr_Occurred()) SWIG_fail
;
22028 arg6
= (int) SWIG_AsInt(obj5
);
22029 if (PyErr_Occurred()) SWIG_fail
;
22032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22033 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22035 wxPyEndAllowThreads(__tstate
);
22036 if (PyErr_Occurred()) SWIG_fail
;
22038 Py_INCREF(Py_None
); resultobj
= Py_None
;
22045 static PyObject
*_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22046 PyObject
*resultobj
;
22047 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22048 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22051 int arg5
= (int) 0 ;
22052 int arg6
= (int) 0 ;
22053 PyObject
* obj0
= 0 ;
22054 PyObject
* obj1
= 0 ;
22055 PyObject
* obj2
= 0 ;
22056 PyObject
* obj3
= 0 ;
22057 PyObject
* obj4
= 0 ;
22058 PyObject
* obj5
= 0 ;
22059 char *kwnames
[] = {
22060 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22066 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
22067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22068 arg3
= (double) SWIG_AsDouble(obj2
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22070 arg4
= (double) SWIG_AsDouble(obj3
);
22071 if (PyErr_Occurred()) SWIG_fail
;
22073 arg5
= (int) SWIG_AsInt(obj4
);
22074 if (PyErr_Occurred()) SWIG_fail
;
22077 arg6
= (int) SWIG_AsInt(obj5
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22082 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22084 wxPyEndAllowThreads(__tstate
);
22085 if (PyErr_Occurred()) SWIG_fail
;
22087 Py_INCREF(Py_None
); resultobj
= Py_None
;
22094 static PyObject
*_wrap_PyDivisionShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22095 PyObject
*resultobj
;
22096 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22099 PyObject
* obj0
= 0 ;
22100 PyObject
* obj1
= 0 ;
22101 PyObject
* obj2
= 0 ;
22102 char *kwnames
[] = {
22103 (char *) "self",(char *) "w",(char *) "h", NULL
22106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22109 arg2
= (double) SWIG_AsDouble(obj1
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22111 arg3
= (double) SWIG_AsDouble(obj2
);
22112 if (PyErr_Occurred()) SWIG_fail
;
22114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22115 (arg1
)->base_OnBeginSize(arg2
,arg3
);
22117 wxPyEndAllowThreads(__tstate
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22120 Py_INCREF(Py_None
); resultobj
= Py_None
;
22127 static PyObject
*_wrap_PyDivisionShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22128 PyObject
*resultobj
;
22129 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22132 PyObject
* obj0
= 0 ;
22133 PyObject
* obj1
= 0 ;
22134 PyObject
* obj2
= 0 ;
22135 char *kwnames
[] = {
22136 (char *) "self",(char *) "w",(char *) "h", NULL
22139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22142 arg2
= (double) SWIG_AsDouble(obj1
);
22143 if (PyErr_Occurred()) SWIG_fail
;
22144 arg3
= (double) SWIG_AsDouble(obj2
);
22145 if (PyErr_Occurred()) SWIG_fail
;
22147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22148 (arg1
)->base_OnEndSize(arg2
,arg3
);
22150 wxPyEndAllowThreads(__tstate
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22153 Py_INCREF(Py_None
); resultobj
= Py_None
;
22160 static PyObject
* PyDivisionShape_swigregister(PyObject
*, PyObject
*args
) {
22162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22163 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape
, obj
);
22165 return Py_BuildValue((char *)"");
22167 static PyObject
*_wrap_new_PyEllipseShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22168 PyObject
*resultobj
;
22169 double arg1
= (double) 0.0 ;
22170 double arg2
= (double) 0.0 ;
22171 wxPyEllipseShape
*result
;
22172 PyObject
* obj0
= 0 ;
22173 PyObject
* obj1
= 0 ;
22174 char *kwnames
[] = {
22175 (char *) "width",(char *) "height", NULL
22178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEllipseShape",kwnames
,&obj0
,&obj1
)) goto fail
;
22180 arg1
= (double) SWIG_AsDouble(obj0
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22184 arg2
= (double) SWIG_AsDouble(obj1
);
22185 if (PyErr_Occurred()) SWIG_fail
;
22188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22189 result
= (wxPyEllipseShape
*)new wxPyEllipseShape(arg1
,arg2
);
22191 wxPyEndAllowThreads(__tstate
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEllipseShape
, 1);
22201 static PyObject
*_wrap_PyEllipseShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22204 PyObject
*arg2
= (PyObject
*) 0 ;
22205 PyObject
*arg3
= (PyObject
*) 0 ;
22206 PyObject
* obj0
= 0 ;
22207 PyObject
* obj1
= 0 ;
22208 PyObject
* obj2
= 0 ;
22209 char *kwnames
[] = {
22210 (char *) "self",(char *) "self",(char *) "_class", NULL
22213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22222 wxPyEndAllowThreads(__tstate
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22225 Py_INCREF(Py_None
); resultobj
= Py_None
;
22232 static PyObject
*_wrap_PyEllipseShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
;
22234 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22236 PyObject
* obj0
= 0 ;
22237 PyObject
* obj1
= 0 ;
22238 char *kwnames
[] = {
22239 (char *) "self",(char *) "dc", NULL
22242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
22243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22245 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22246 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22248 if (arg2
== NULL
) {
22249 PyErr_SetString(PyExc_TypeError
,"null reference");
22253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22254 (arg1
)->base_OnDraw(*arg2
);
22256 wxPyEndAllowThreads(__tstate
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22259 Py_INCREF(Py_None
); resultobj
= Py_None
;
22266 static PyObject
*_wrap_PyEllipseShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22267 PyObject
*resultobj
;
22268 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22270 PyObject
* obj0
= 0 ;
22271 PyObject
* obj1
= 0 ;
22272 char *kwnames
[] = {
22273 (char *) "self",(char *) "dc", NULL
22276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22280 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22282 if (arg2
== NULL
) {
22283 PyErr_SetString(PyExc_TypeError
,"null reference");
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22288 (arg1
)->base_OnDrawContents(*arg2
);
22290 wxPyEndAllowThreads(__tstate
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22293 Py_INCREF(Py_None
); resultobj
= Py_None
;
22300 static PyObject
*_wrap_PyEllipseShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22301 PyObject
*resultobj
;
22302 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22304 bool arg3
= (bool) FALSE
;
22305 PyObject
* obj0
= 0 ;
22306 PyObject
* obj1
= 0 ;
22307 PyObject
* obj2
= 0 ;
22308 char *kwnames
[] = {
22309 (char *) "self",(char *) "dc",(char *) "erase", NULL
22312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22318 if (arg2
== NULL
) {
22319 PyErr_SetString(PyExc_TypeError
,"null reference");
22323 arg3
= (bool) SWIG_AsBool(obj2
);
22324 if (PyErr_Occurred()) SWIG_fail
;
22327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22328 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
22330 wxPyEndAllowThreads(__tstate
);
22331 if (PyErr_Occurred()) SWIG_fail
;
22333 Py_INCREF(Py_None
); resultobj
= Py_None
;
22340 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22341 PyObject
*resultobj
;
22342 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22344 PyObject
* obj0
= 0 ;
22345 PyObject
* obj1
= 0 ;
22346 char *kwnames
[] = {
22347 (char *) "self",(char *) "dc", NULL
22350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
22351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22354 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22356 if (arg2
== NULL
) {
22357 PyErr_SetString(PyExc_TypeError
,"null reference");
22361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22362 (arg1
)->base_OnMoveLinks(*arg2
);
22364 wxPyEndAllowThreads(__tstate
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22367 Py_INCREF(Py_None
); resultobj
= Py_None
;
22374 static PyObject
*_wrap_PyEllipseShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22375 PyObject
*resultobj
;
22376 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22378 PyObject
* obj0
= 0 ;
22379 PyObject
* obj1
= 0 ;
22380 char *kwnames
[] = {
22381 (char *) "self",(char *) "dc", NULL
22384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
22385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22388 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22390 if (arg2
== NULL
) {
22391 PyErr_SetString(PyExc_TypeError
,"null reference");
22395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22396 (arg1
)->base_OnErase(*arg2
);
22398 wxPyEndAllowThreads(__tstate
);
22399 if (PyErr_Occurred()) SWIG_fail
;
22401 Py_INCREF(Py_None
); resultobj
= Py_None
;
22408 static PyObject
*_wrap_PyEllipseShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22409 PyObject
*resultobj
;
22410 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22412 PyObject
* obj0
= 0 ;
22413 PyObject
* obj1
= 0 ;
22414 char *kwnames
[] = {
22415 (char *) "self",(char *) "dc", NULL
22418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22422 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22424 if (arg2
== NULL
) {
22425 PyErr_SetString(PyExc_TypeError
,"null reference");
22429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22430 (arg1
)->base_OnEraseContents(*arg2
);
22432 wxPyEndAllowThreads(__tstate
);
22433 if (PyErr_Occurred()) SWIG_fail
;
22435 Py_INCREF(Py_None
); resultobj
= Py_None
;
22442 static PyObject
*_wrap_PyEllipseShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22443 PyObject
*resultobj
;
22444 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22446 PyObject
* obj0
= 0 ;
22447 PyObject
* obj1
= 0 ;
22448 char *kwnames
[] = {
22449 (char *) "self",(char *) "dc", NULL
22452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
22453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22456 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22458 if (arg2
== NULL
) {
22459 PyErr_SetString(PyExc_TypeError
,"null reference");
22463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22464 (arg1
)->base_OnHighlight(*arg2
);
22466 wxPyEndAllowThreads(__tstate
);
22467 if (PyErr_Occurred()) SWIG_fail
;
22469 Py_INCREF(Py_None
); resultobj
= Py_None
;
22476 static PyObject
*_wrap_PyEllipseShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22477 PyObject
*resultobj
;
22478 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22481 int arg4
= (int) 0 ;
22482 int arg5
= (int) 0 ;
22483 PyObject
* obj0
= 0 ;
22484 PyObject
* obj1
= 0 ;
22485 PyObject
* obj2
= 0 ;
22486 PyObject
* obj3
= 0 ;
22487 PyObject
* obj4
= 0 ;
22488 char *kwnames
[] = {
22489 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22495 arg2
= (double) SWIG_AsDouble(obj1
);
22496 if (PyErr_Occurred()) SWIG_fail
;
22497 arg3
= (double) SWIG_AsDouble(obj2
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22500 arg4
= (int) SWIG_AsInt(obj3
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22504 arg5
= (int) SWIG_AsInt(obj4
);
22505 if (PyErr_Occurred()) SWIG_fail
;
22508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22509 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
22511 wxPyEndAllowThreads(__tstate
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22514 Py_INCREF(Py_None
); resultobj
= Py_None
;
22521 static PyObject
*_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22522 PyObject
*resultobj
;
22523 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22526 int arg4
= (int) 0 ;
22527 int arg5
= (int) 0 ;
22528 PyObject
* obj0
= 0 ;
22529 PyObject
* obj1
= 0 ;
22530 PyObject
* obj2
= 0 ;
22531 PyObject
* obj3
= 0 ;
22532 PyObject
* obj4
= 0 ;
22533 char *kwnames
[] = {
22534 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22540 arg2
= (double) SWIG_AsDouble(obj1
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22542 arg3
= (double) SWIG_AsDouble(obj2
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22545 arg4
= (int) SWIG_AsInt(obj3
);
22546 if (PyErr_Occurred()) SWIG_fail
;
22549 arg5
= (int) SWIG_AsInt(obj4
);
22550 if (PyErr_Occurred()) SWIG_fail
;
22553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22554 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
22556 wxPyEndAllowThreads(__tstate
);
22557 if (PyErr_Occurred()) SWIG_fail
;
22559 Py_INCREF(Py_None
); resultobj
= Py_None
;
22566 static PyObject
*_wrap_PyEllipseShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22567 PyObject
*resultobj
;
22568 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22571 int arg4
= (int) 0 ;
22572 int arg5
= (int) 0 ;
22573 PyObject
* obj0
= 0 ;
22574 PyObject
* obj1
= 0 ;
22575 PyObject
* obj2
= 0 ;
22576 PyObject
* obj3
= 0 ;
22577 PyObject
* obj4
= 0 ;
22578 char *kwnames
[] = {
22579 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22585 arg2
= (double) SWIG_AsDouble(obj1
);
22586 if (PyErr_Occurred()) SWIG_fail
;
22587 arg3
= (double) SWIG_AsDouble(obj2
);
22588 if (PyErr_Occurred()) SWIG_fail
;
22590 arg4
= (int) SWIG_AsInt(obj3
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22594 arg5
= (int) SWIG_AsInt(obj4
);
22595 if (PyErr_Occurred()) SWIG_fail
;
22598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22599 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22604 Py_INCREF(Py_None
); resultobj
= Py_None
;
22611 static PyObject
*_wrap_PyEllipseShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22612 PyObject
*resultobj
;
22613 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22616 PyObject
* obj0
= 0 ;
22617 PyObject
* obj1
= 0 ;
22618 PyObject
* obj2
= 0 ;
22619 char *kwnames
[] = {
22620 (char *) "self",(char *) "x",(char *) "y", NULL
22623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22626 arg2
= (double) SWIG_AsDouble(obj1
);
22627 if (PyErr_Occurred()) SWIG_fail
;
22628 arg3
= (double) SWIG_AsDouble(obj2
);
22629 if (PyErr_Occurred()) SWIG_fail
;
22631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22632 (arg1
)->base_OnSize(arg2
,arg3
);
22634 wxPyEndAllowThreads(__tstate
);
22635 if (PyErr_Occurred()) SWIG_fail
;
22637 Py_INCREF(Py_None
); resultobj
= Py_None
;
22644 static PyObject
*_wrap_PyEllipseShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22645 PyObject
*resultobj
;
22646 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22652 bool arg7
= (bool) True
;
22654 PyObject
* obj0
= 0 ;
22655 PyObject
* obj1
= 0 ;
22656 PyObject
* obj2
= 0 ;
22657 PyObject
* obj3
= 0 ;
22658 PyObject
* obj4
= 0 ;
22659 PyObject
* obj5
= 0 ;
22660 PyObject
* obj6
= 0 ;
22661 char *kwnames
[] = {
22662 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22671 if (arg2
== NULL
) {
22672 PyErr_SetString(PyExc_TypeError
,"null reference");
22675 arg3
= (double) SWIG_AsDouble(obj2
);
22676 if (PyErr_Occurred()) SWIG_fail
;
22677 arg4
= (double) SWIG_AsDouble(obj3
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22679 arg5
= (double) SWIG_AsDouble(obj4
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22681 arg6
= (double) SWIG_AsDouble(obj5
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22684 arg7
= (bool) SWIG_AsBool(obj6
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22689 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22691 wxPyEndAllowThreads(__tstate
);
22692 if (PyErr_Occurred()) SWIG_fail
;
22695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22703 static PyObject
*_wrap_PyEllipseShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22704 PyObject
*resultobj
;
22705 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22711 bool arg7
= (bool) True
;
22712 PyObject
* obj0
= 0 ;
22713 PyObject
* obj1
= 0 ;
22714 PyObject
* obj2
= 0 ;
22715 PyObject
* obj3
= 0 ;
22716 PyObject
* obj4
= 0 ;
22717 PyObject
* obj5
= 0 ;
22718 PyObject
* obj6
= 0 ;
22719 char *kwnames
[] = {
22720 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22729 if (arg2
== NULL
) {
22730 PyErr_SetString(PyExc_TypeError
,"null reference");
22733 arg3
= (double) SWIG_AsDouble(obj2
);
22734 if (PyErr_Occurred()) SWIG_fail
;
22735 arg4
= (double) SWIG_AsDouble(obj3
);
22736 if (PyErr_Occurred()) SWIG_fail
;
22737 arg5
= (double) SWIG_AsDouble(obj4
);
22738 if (PyErr_Occurred()) SWIG_fail
;
22739 arg6
= (double) SWIG_AsDouble(obj5
);
22740 if (PyErr_Occurred()) SWIG_fail
;
22742 arg7
= (bool) SWIG_AsBool(obj6
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22747 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22749 wxPyEndAllowThreads(__tstate
);
22750 if (PyErr_Occurred()) SWIG_fail
;
22752 Py_INCREF(Py_None
); resultobj
= Py_None
;
22759 static PyObject
*_wrap_PyEllipseShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22760 PyObject
*resultobj
;
22761 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22765 int arg5
= (int) 0 ;
22766 int arg6
= (int) 0 ;
22767 PyObject
* obj0
= 0 ;
22768 PyObject
* obj1
= 0 ;
22769 PyObject
* obj2
= 0 ;
22770 PyObject
* obj3
= 0 ;
22771 PyObject
* obj4
= 0 ;
22772 PyObject
* obj5
= 0 ;
22773 char *kwnames
[] = {
22774 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22780 arg2
= (bool) SWIG_AsBool(obj1
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22782 arg3
= (double) SWIG_AsDouble(obj2
);
22783 if (PyErr_Occurred()) SWIG_fail
;
22784 arg4
= (double) SWIG_AsDouble(obj3
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22787 arg5
= (int) SWIG_AsInt(obj4
);
22788 if (PyErr_Occurred()) SWIG_fail
;
22791 arg6
= (int) SWIG_AsInt(obj5
);
22792 if (PyErr_Occurred()) SWIG_fail
;
22795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22796 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22798 wxPyEndAllowThreads(__tstate
);
22799 if (PyErr_Occurred()) SWIG_fail
;
22801 Py_INCREF(Py_None
); resultobj
= Py_None
;
22808 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22809 PyObject
*resultobj
;
22810 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22813 int arg4
= (int) 0 ;
22814 int arg5
= (int) 0 ;
22815 PyObject
* obj0
= 0 ;
22816 PyObject
* obj1
= 0 ;
22817 PyObject
* obj2
= 0 ;
22818 PyObject
* obj3
= 0 ;
22819 PyObject
* obj4
= 0 ;
22820 char *kwnames
[] = {
22821 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22827 arg2
= (double) SWIG_AsDouble(obj1
);
22828 if (PyErr_Occurred()) SWIG_fail
;
22829 arg3
= (double) SWIG_AsDouble(obj2
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22832 arg4
= (int) SWIG_AsInt(obj3
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22836 arg5
= (int) SWIG_AsInt(obj4
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22841 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
22843 wxPyEndAllowThreads(__tstate
);
22844 if (PyErr_Occurred()) SWIG_fail
;
22846 Py_INCREF(Py_None
); resultobj
= Py_None
;
22853 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22854 PyObject
*resultobj
;
22855 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22858 int arg4
= (int) 0 ;
22859 int arg5
= (int) 0 ;
22860 PyObject
* obj0
= 0 ;
22861 PyObject
* obj1
= 0 ;
22862 PyObject
* obj2
= 0 ;
22863 PyObject
* obj3
= 0 ;
22864 PyObject
* obj4
= 0 ;
22865 char *kwnames
[] = {
22866 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22872 arg2
= (double) SWIG_AsDouble(obj1
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22874 arg3
= (double) SWIG_AsDouble(obj2
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22877 arg4
= (int) SWIG_AsInt(obj3
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22881 arg5
= (int) SWIG_AsInt(obj4
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22886 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22891 Py_INCREF(Py_None
); resultobj
= Py_None
;
22898 static PyObject
*_wrap_PyEllipseShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22899 PyObject
*resultobj
;
22900 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22904 int arg5
= (int) 0 ;
22905 int arg6
= (int) 0 ;
22906 PyObject
* obj0
= 0 ;
22907 PyObject
* obj1
= 0 ;
22908 PyObject
* obj2
= 0 ;
22909 PyObject
* obj3
= 0 ;
22910 PyObject
* obj4
= 0 ;
22911 PyObject
* obj5
= 0 ;
22912 char *kwnames
[] = {
22913 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22919 arg2
= (bool) SWIG_AsBool(obj1
);
22920 if (PyErr_Occurred()) SWIG_fail
;
22921 arg3
= (double) SWIG_AsDouble(obj2
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22923 arg4
= (double) SWIG_AsDouble(obj3
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22926 arg5
= (int) SWIG_AsInt(obj4
);
22927 if (PyErr_Occurred()) SWIG_fail
;
22930 arg6
= (int) SWIG_AsInt(obj5
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22935 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
22937 wxPyEndAllowThreads(__tstate
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22940 Py_INCREF(Py_None
); resultobj
= Py_None
;
22947 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22948 PyObject
*resultobj
;
22949 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22952 int arg4
= (int) 0 ;
22953 int arg5
= (int) 0 ;
22954 PyObject
* obj0
= 0 ;
22955 PyObject
* obj1
= 0 ;
22956 PyObject
* obj2
= 0 ;
22957 PyObject
* obj3
= 0 ;
22958 PyObject
* obj4
= 0 ;
22959 char *kwnames
[] = {
22960 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22966 arg2
= (double) SWIG_AsDouble(obj1
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22968 arg3
= (double) SWIG_AsDouble(obj2
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22971 arg4
= (int) SWIG_AsInt(obj3
);
22972 if (PyErr_Occurred()) SWIG_fail
;
22975 arg5
= (int) SWIG_AsInt(obj4
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22980 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
22982 wxPyEndAllowThreads(__tstate
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22985 Py_INCREF(Py_None
); resultobj
= Py_None
;
22992 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22993 PyObject
*resultobj
;
22994 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22997 int arg4
= (int) 0 ;
22998 int arg5
= (int) 0 ;
22999 PyObject
* obj0
= 0 ;
23000 PyObject
* obj1
= 0 ;
23001 PyObject
* obj2
= 0 ;
23002 PyObject
* obj3
= 0 ;
23003 PyObject
* obj4
= 0 ;
23004 char *kwnames
[] = {
23005 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23011 arg2
= (double) SWIG_AsDouble(obj1
);
23012 if (PyErr_Occurred()) SWIG_fail
;
23013 arg3
= (double) SWIG_AsDouble(obj2
);
23014 if (PyErr_Occurred()) SWIG_fail
;
23016 arg4
= (int) SWIG_AsInt(obj3
);
23017 if (PyErr_Occurred()) SWIG_fail
;
23020 arg5
= (int) SWIG_AsInt(obj4
);
23021 if (PyErr_Occurred()) SWIG_fail
;
23024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23025 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
23027 wxPyEndAllowThreads(__tstate
);
23028 if (PyErr_Occurred()) SWIG_fail
;
23030 Py_INCREF(Py_None
); resultobj
= Py_None
;
23037 static PyObject
*_wrap_PyEllipseShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23038 PyObject
*resultobj
;
23039 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23045 PyObject
* obj0
= 0 ;
23046 PyObject
* obj1
= 0 ;
23047 PyObject
* obj2
= 0 ;
23048 PyObject
* obj3
= 0 ;
23049 PyObject
* obj4
= 0 ;
23050 PyObject
* obj5
= 0 ;
23051 char *kwnames
[] = {
23052 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyEllipseShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23061 if (arg2
== NULL
) {
23062 PyErr_SetString(PyExc_TypeError
,"null reference");
23065 arg3
= (double) SWIG_AsDouble(obj2
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23067 arg4
= (double) SWIG_AsDouble(obj3
);
23068 if (PyErr_Occurred()) SWIG_fail
;
23069 arg5
= (double) SWIG_AsDouble(obj4
);
23070 if (PyErr_Occurred()) SWIG_fail
;
23071 arg6
= (double) SWIG_AsDouble(obj5
);
23072 if (PyErr_Occurred()) SWIG_fail
;
23074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23075 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
23077 wxPyEndAllowThreads(__tstate
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23080 Py_INCREF(Py_None
); resultobj
= Py_None
;
23087 static PyObject
*_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23088 PyObject
*resultobj
;
23089 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23091 PyObject
* obj0
= 0 ;
23092 PyObject
* obj1
= 0 ;
23093 char *kwnames
[] = {
23094 (char *) "self",(char *) "dc", NULL
23097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23101 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23103 if (arg2
== NULL
) {
23104 PyErr_SetString(PyExc_TypeError
,"null reference");
23108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23109 (arg1
)->base_OnDrawControlPoints(*arg2
);
23111 wxPyEndAllowThreads(__tstate
);
23112 if (PyErr_Occurred()) SWIG_fail
;
23114 Py_INCREF(Py_None
); resultobj
= Py_None
;
23121 static PyObject
*_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23122 PyObject
*resultobj
;
23123 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23125 PyObject
* obj0
= 0 ;
23126 PyObject
* obj1
= 0 ;
23127 char *kwnames
[] = {
23128 (char *) "self",(char *) "dc", NULL
23131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23135 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23137 if (arg2
== NULL
) {
23138 PyErr_SetString(PyExc_TypeError
,"null reference");
23142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23143 (arg1
)->base_OnEraseControlPoints(*arg2
);
23145 wxPyEndAllowThreads(__tstate
);
23146 if (PyErr_Occurred()) SWIG_fail
;
23148 Py_INCREF(Py_None
); resultobj
= Py_None
;
23155 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23156 PyObject
*resultobj
;
23157 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23159 bool arg3
= (bool) True
;
23160 PyObject
* obj0
= 0 ;
23161 PyObject
* obj1
= 0 ;
23162 PyObject
* obj2
= 0 ;
23163 char *kwnames
[] = {
23164 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23171 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23173 if (arg2
== NULL
) {
23174 PyErr_SetString(PyExc_TypeError
,"null reference");
23178 arg3
= (bool) SWIG_AsBool(obj2
);
23179 if (PyErr_Occurred()) SWIG_fail
;
23182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23183 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
23185 wxPyEndAllowThreads(__tstate
);
23186 if (PyErr_Occurred()) SWIG_fail
;
23188 Py_INCREF(Py_None
); resultobj
= Py_None
;
23195 static PyObject
*_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23196 PyObject
*resultobj
;
23197 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23198 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23202 int arg6
= (int) 0 ;
23203 int arg7
= (int) 0 ;
23204 PyObject
* obj0
= 0 ;
23205 PyObject
* obj1
= 0 ;
23206 PyObject
* obj2
= 0 ;
23207 PyObject
* obj3
= 0 ;
23208 PyObject
* obj4
= 0 ;
23209 PyObject
* obj5
= 0 ;
23210 PyObject
* obj6
= 0 ;
23211 char *kwnames
[] = {
23212 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyEllipseShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23220 arg3
= (bool) SWIG_AsBool(obj2
);
23221 if (PyErr_Occurred()) SWIG_fail
;
23222 arg4
= (double) SWIG_AsDouble(obj3
);
23223 if (PyErr_Occurred()) SWIG_fail
;
23224 arg5
= (double) SWIG_AsDouble(obj4
);
23225 if (PyErr_Occurred()) SWIG_fail
;
23227 arg6
= (int) SWIG_AsInt(obj5
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23231 arg7
= (int) SWIG_AsInt(obj6
);
23232 if (PyErr_Occurred()) SWIG_fail
;
23235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23236 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23238 wxPyEndAllowThreads(__tstate
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23241 Py_INCREF(Py_None
); resultobj
= Py_None
;
23248 static PyObject
*_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23249 PyObject
*resultobj
;
23250 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23251 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23254 int arg5
= (int) 0 ;
23255 int arg6
= (int) 0 ;
23256 PyObject
* obj0
= 0 ;
23257 PyObject
* obj1
= 0 ;
23258 PyObject
* obj2
= 0 ;
23259 PyObject
* obj3
= 0 ;
23260 PyObject
* obj4
= 0 ;
23261 PyObject
* obj5
= 0 ;
23262 char *kwnames
[] = {
23263 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23271 arg3
= (double) SWIG_AsDouble(obj2
);
23272 if (PyErr_Occurred()) SWIG_fail
;
23273 arg4
= (double) SWIG_AsDouble(obj3
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23276 arg5
= (int) SWIG_AsInt(obj4
);
23277 if (PyErr_Occurred()) SWIG_fail
;
23280 arg6
= (int) SWIG_AsInt(obj5
);
23281 if (PyErr_Occurred()) SWIG_fail
;
23284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23285 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23290 Py_INCREF(Py_None
); resultobj
= Py_None
;
23297 static PyObject
*_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23298 PyObject
*resultobj
;
23299 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23300 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23303 int arg5
= (int) 0 ;
23304 int arg6
= (int) 0 ;
23305 PyObject
* obj0
= 0 ;
23306 PyObject
* obj1
= 0 ;
23307 PyObject
* obj2
= 0 ;
23308 PyObject
* obj3
= 0 ;
23309 PyObject
* obj4
= 0 ;
23310 PyObject
* obj5
= 0 ;
23311 char *kwnames
[] = {
23312 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23320 arg3
= (double) SWIG_AsDouble(obj2
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23322 arg4
= (double) SWIG_AsDouble(obj3
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23325 arg5
= (int) SWIG_AsInt(obj4
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23329 arg6
= (int) SWIG_AsInt(obj5
);
23330 if (PyErr_Occurred()) SWIG_fail
;
23333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23334 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23339 Py_INCREF(Py_None
); resultobj
= Py_None
;
23346 static PyObject
*_wrap_PyEllipseShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23347 PyObject
*resultobj
;
23348 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23351 PyObject
* obj0
= 0 ;
23352 PyObject
* obj1
= 0 ;
23353 PyObject
* obj2
= 0 ;
23354 char *kwnames
[] = {
23355 (char *) "self",(char *) "w",(char *) "h", NULL
23358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23361 arg2
= (double) SWIG_AsDouble(obj1
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23363 arg3
= (double) SWIG_AsDouble(obj2
);
23364 if (PyErr_Occurred()) SWIG_fail
;
23366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23367 (arg1
)->base_OnBeginSize(arg2
,arg3
);
23369 wxPyEndAllowThreads(__tstate
);
23370 if (PyErr_Occurred()) SWIG_fail
;
23372 Py_INCREF(Py_None
); resultobj
= Py_None
;
23379 static PyObject
*_wrap_PyEllipseShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23380 PyObject
*resultobj
;
23381 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23384 PyObject
* obj0
= 0 ;
23385 PyObject
* obj1
= 0 ;
23386 PyObject
* obj2
= 0 ;
23387 char *kwnames
[] = {
23388 (char *) "self",(char *) "w",(char *) "h", NULL
23391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23394 arg2
= (double) SWIG_AsDouble(obj1
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23396 arg3
= (double) SWIG_AsDouble(obj2
);
23397 if (PyErr_Occurred()) SWIG_fail
;
23399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23400 (arg1
)->base_OnEndSize(arg2
,arg3
);
23402 wxPyEndAllowThreads(__tstate
);
23403 if (PyErr_Occurred()) SWIG_fail
;
23405 Py_INCREF(Py_None
); resultobj
= Py_None
;
23412 static PyObject
* PyEllipseShape_swigregister(PyObject
*, PyObject
*args
) {
23414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23415 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape
, obj
);
23417 return Py_BuildValue((char *)"");
23419 static PyObject
*_wrap_new_PyCircleShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
;
23421 double arg1
= (double) 0.0 ;
23422 wxPyCircleShape
*result
;
23423 PyObject
* obj0
= 0 ;
23424 char *kwnames
[] = {
23425 (char *) "width", NULL
23428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyCircleShape",kwnames
,&obj0
)) goto fail
;
23430 arg1
= (double) SWIG_AsDouble(obj0
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23435 result
= (wxPyCircleShape
*)new wxPyCircleShape(arg1
);
23437 wxPyEndAllowThreads(__tstate
);
23438 if (PyErr_Occurred()) SWIG_fail
;
23440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCircleShape
, 1);
23447 static PyObject
*_wrap_PyCircleShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23448 PyObject
*resultobj
;
23449 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23450 PyObject
*arg2
= (PyObject
*) 0 ;
23451 PyObject
*arg3
= (PyObject
*) 0 ;
23452 PyObject
* obj0
= 0 ;
23453 PyObject
* obj1
= 0 ;
23454 PyObject
* obj2
= 0 ;
23455 char *kwnames
[] = {
23456 (char *) "self",(char *) "self",(char *) "_class", NULL
23459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23468 wxPyEndAllowThreads(__tstate
);
23469 if (PyErr_Occurred()) SWIG_fail
;
23471 Py_INCREF(Py_None
); resultobj
= Py_None
;
23478 static PyObject
*_wrap_PyCircleShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23479 PyObject
*resultobj
;
23480 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23482 PyObject
* obj0
= 0 ;
23483 PyObject
* obj1
= 0 ;
23484 char *kwnames
[] = {
23485 (char *) "self",(char *) "dc", NULL
23488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
23489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23492 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23494 if (arg2
== NULL
) {
23495 PyErr_SetString(PyExc_TypeError
,"null reference");
23499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23500 (arg1
)->base_OnDraw(*arg2
);
23502 wxPyEndAllowThreads(__tstate
);
23503 if (PyErr_Occurred()) SWIG_fail
;
23505 Py_INCREF(Py_None
); resultobj
= Py_None
;
23512 static PyObject
*_wrap_PyCircleShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23513 PyObject
*resultobj
;
23514 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23516 PyObject
* obj0
= 0 ;
23517 PyObject
* obj1
= 0 ;
23518 char *kwnames
[] = {
23519 (char *) "self",(char *) "dc", NULL
23522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23528 if (arg2
== NULL
) {
23529 PyErr_SetString(PyExc_TypeError
,"null reference");
23533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23534 (arg1
)->base_OnDrawContents(*arg2
);
23536 wxPyEndAllowThreads(__tstate
);
23537 if (PyErr_Occurred()) SWIG_fail
;
23539 Py_INCREF(Py_None
); resultobj
= Py_None
;
23546 static PyObject
*_wrap_PyCircleShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23547 PyObject
*resultobj
;
23548 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23550 bool arg3
= (bool) FALSE
;
23551 PyObject
* obj0
= 0 ;
23552 PyObject
* obj1
= 0 ;
23553 PyObject
* obj2
= 0 ;
23554 char *kwnames
[] = {
23555 (char *) "self",(char *) "dc",(char *) "erase", NULL
23558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23562 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23564 if (arg2
== NULL
) {
23565 PyErr_SetString(PyExc_TypeError
,"null reference");
23569 arg3
= (bool) SWIG_AsBool(obj2
);
23570 if (PyErr_Occurred()) SWIG_fail
;
23573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23574 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
23576 wxPyEndAllowThreads(__tstate
);
23577 if (PyErr_Occurred()) SWIG_fail
;
23579 Py_INCREF(Py_None
); resultobj
= Py_None
;
23586 static PyObject
*_wrap_PyCircleShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23587 PyObject
*resultobj
;
23588 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23590 PyObject
* obj0
= 0 ;
23591 PyObject
* obj1
= 0 ;
23592 char *kwnames
[] = {
23593 (char *) "self",(char *) "dc", NULL
23596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
23597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23600 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23602 if (arg2
== NULL
) {
23603 PyErr_SetString(PyExc_TypeError
,"null reference");
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 (arg1
)->base_OnMoveLinks(*arg2
);
23610 wxPyEndAllowThreads(__tstate
);
23611 if (PyErr_Occurred()) SWIG_fail
;
23613 Py_INCREF(Py_None
); resultobj
= Py_None
;
23620 static PyObject
*_wrap_PyCircleShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23621 PyObject
*resultobj
;
23622 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23624 PyObject
* obj0
= 0 ;
23625 PyObject
* obj1
= 0 ;
23626 char *kwnames
[] = {
23627 (char *) "self",(char *) "dc", NULL
23630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
23631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23634 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23636 if (arg2
== NULL
) {
23637 PyErr_SetString(PyExc_TypeError
,"null reference");
23641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23642 (arg1
)->base_OnErase(*arg2
);
23644 wxPyEndAllowThreads(__tstate
);
23645 if (PyErr_Occurred()) SWIG_fail
;
23647 Py_INCREF(Py_None
); resultobj
= Py_None
;
23654 static PyObject
*_wrap_PyCircleShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23655 PyObject
*resultobj
;
23656 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23658 PyObject
* obj0
= 0 ;
23659 PyObject
* obj1
= 0 ;
23660 char *kwnames
[] = {
23661 (char *) "self",(char *) "dc", NULL
23664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23670 if (arg2
== NULL
) {
23671 PyErr_SetString(PyExc_TypeError
,"null reference");
23675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23676 (arg1
)->base_OnEraseContents(*arg2
);
23678 wxPyEndAllowThreads(__tstate
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23681 Py_INCREF(Py_None
); resultobj
= Py_None
;
23688 static PyObject
*_wrap_PyCircleShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
;
23690 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23692 PyObject
* obj0
= 0 ;
23693 PyObject
* obj1
= 0 ;
23694 char *kwnames
[] = {
23695 (char *) "self",(char *) "dc", NULL
23698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
23699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23702 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23704 if (arg2
== NULL
) {
23705 PyErr_SetString(PyExc_TypeError
,"null reference");
23709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23710 (arg1
)->base_OnHighlight(*arg2
);
23712 wxPyEndAllowThreads(__tstate
);
23713 if (PyErr_Occurred()) SWIG_fail
;
23715 Py_INCREF(Py_None
); resultobj
= Py_None
;
23722 static PyObject
*_wrap_PyCircleShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23723 PyObject
*resultobj
;
23724 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23727 int arg4
= (int) 0 ;
23728 int arg5
= (int) 0 ;
23729 PyObject
* obj0
= 0 ;
23730 PyObject
* obj1
= 0 ;
23731 PyObject
* obj2
= 0 ;
23732 PyObject
* obj3
= 0 ;
23733 PyObject
* obj4
= 0 ;
23734 char *kwnames
[] = {
23735 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23741 arg2
= (double) SWIG_AsDouble(obj1
);
23742 if (PyErr_Occurred()) SWIG_fail
;
23743 arg3
= (double) SWIG_AsDouble(obj2
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23746 arg4
= (int) SWIG_AsInt(obj3
);
23747 if (PyErr_Occurred()) SWIG_fail
;
23750 arg5
= (int) SWIG_AsInt(obj4
);
23751 if (PyErr_Occurred()) SWIG_fail
;
23754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23755 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
23757 wxPyEndAllowThreads(__tstate
);
23758 if (PyErr_Occurred()) SWIG_fail
;
23760 Py_INCREF(Py_None
); resultobj
= Py_None
;
23767 static PyObject
*_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23768 PyObject
*resultobj
;
23769 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23772 int arg4
= (int) 0 ;
23773 int arg5
= (int) 0 ;
23774 PyObject
* obj0
= 0 ;
23775 PyObject
* obj1
= 0 ;
23776 PyObject
* obj2
= 0 ;
23777 PyObject
* obj3
= 0 ;
23778 PyObject
* obj4
= 0 ;
23779 char *kwnames
[] = {
23780 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23786 arg2
= (double) SWIG_AsDouble(obj1
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23788 arg3
= (double) SWIG_AsDouble(obj2
);
23789 if (PyErr_Occurred()) SWIG_fail
;
23791 arg4
= (int) SWIG_AsInt(obj3
);
23792 if (PyErr_Occurred()) SWIG_fail
;
23795 arg5
= (int) SWIG_AsInt(obj4
);
23796 if (PyErr_Occurred()) SWIG_fail
;
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23805 Py_INCREF(Py_None
); resultobj
= Py_None
;
23812 static PyObject
*_wrap_PyCircleShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23813 PyObject
*resultobj
;
23814 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23817 int arg4
= (int) 0 ;
23818 int arg5
= (int) 0 ;
23819 PyObject
* obj0
= 0 ;
23820 PyObject
* obj1
= 0 ;
23821 PyObject
* obj2
= 0 ;
23822 PyObject
* obj3
= 0 ;
23823 PyObject
* obj4
= 0 ;
23824 char *kwnames
[] = {
23825 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23831 arg2
= (double) SWIG_AsDouble(obj1
);
23832 if (PyErr_Occurred()) SWIG_fail
;
23833 arg3
= (double) SWIG_AsDouble(obj2
);
23834 if (PyErr_Occurred()) SWIG_fail
;
23836 arg4
= (int) SWIG_AsInt(obj3
);
23837 if (PyErr_Occurred()) SWIG_fail
;
23840 arg5
= (int) SWIG_AsInt(obj4
);
23841 if (PyErr_Occurred()) SWIG_fail
;
23844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23845 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
23847 wxPyEndAllowThreads(__tstate
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23850 Py_INCREF(Py_None
); resultobj
= Py_None
;
23857 static PyObject
*_wrap_PyCircleShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23858 PyObject
*resultobj
;
23859 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23862 PyObject
* obj0
= 0 ;
23863 PyObject
* obj1
= 0 ;
23864 PyObject
* obj2
= 0 ;
23865 char *kwnames
[] = {
23866 (char *) "self",(char *) "x",(char *) "y", NULL
23869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23872 arg2
= (double) SWIG_AsDouble(obj1
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23874 arg3
= (double) SWIG_AsDouble(obj2
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23878 (arg1
)->base_OnSize(arg2
,arg3
);
23880 wxPyEndAllowThreads(__tstate
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23883 Py_INCREF(Py_None
); resultobj
= Py_None
;
23890 static PyObject
*_wrap_PyCircleShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23891 PyObject
*resultobj
;
23892 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23898 bool arg7
= (bool) True
;
23900 PyObject
* obj0
= 0 ;
23901 PyObject
* obj1
= 0 ;
23902 PyObject
* obj2
= 0 ;
23903 PyObject
* obj3
= 0 ;
23904 PyObject
* obj4
= 0 ;
23905 PyObject
* obj5
= 0 ;
23906 PyObject
* obj6
= 0 ;
23907 char *kwnames
[] = {
23908 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23917 if (arg2
== NULL
) {
23918 PyErr_SetString(PyExc_TypeError
,"null reference");
23921 arg3
= (double) SWIG_AsDouble(obj2
);
23922 if (PyErr_Occurred()) SWIG_fail
;
23923 arg4
= (double) SWIG_AsDouble(obj3
);
23924 if (PyErr_Occurred()) SWIG_fail
;
23925 arg5
= (double) SWIG_AsDouble(obj4
);
23926 if (PyErr_Occurred()) SWIG_fail
;
23927 arg6
= (double) SWIG_AsDouble(obj5
);
23928 if (PyErr_Occurred()) SWIG_fail
;
23930 arg7
= (bool) SWIG_AsBool(obj6
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23935 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23937 wxPyEndAllowThreads(__tstate
);
23938 if (PyErr_Occurred()) SWIG_fail
;
23941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23949 static PyObject
*_wrap_PyCircleShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23950 PyObject
*resultobj
;
23951 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23957 bool arg7
= (bool) True
;
23958 PyObject
* obj0
= 0 ;
23959 PyObject
* obj1
= 0 ;
23960 PyObject
* obj2
= 0 ;
23961 PyObject
* obj3
= 0 ;
23962 PyObject
* obj4
= 0 ;
23963 PyObject
* obj5
= 0 ;
23964 PyObject
* obj6
= 0 ;
23965 char *kwnames
[] = {
23966 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23972 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23973 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23975 if (arg2
== NULL
) {
23976 PyErr_SetString(PyExc_TypeError
,"null reference");
23979 arg3
= (double) SWIG_AsDouble(obj2
);
23980 if (PyErr_Occurred()) SWIG_fail
;
23981 arg4
= (double) SWIG_AsDouble(obj3
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23983 arg5
= (double) SWIG_AsDouble(obj4
);
23984 if (PyErr_Occurred()) SWIG_fail
;
23985 arg6
= (double) SWIG_AsDouble(obj5
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23988 arg7
= (bool) SWIG_AsBool(obj6
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23993 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23995 wxPyEndAllowThreads(__tstate
);
23996 if (PyErr_Occurred()) SWIG_fail
;
23998 Py_INCREF(Py_None
); resultobj
= Py_None
;
24005 static PyObject
*_wrap_PyCircleShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24006 PyObject
*resultobj
;
24007 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24011 int arg5
= (int) 0 ;
24012 int arg6
= (int) 0 ;
24013 PyObject
* obj0
= 0 ;
24014 PyObject
* obj1
= 0 ;
24015 PyObject
* obj2
= 0 ;
24016 PyObject
* obj3
= 0 ;
24017 PyObject
* obj4
= 0 ;
24018 PyObject
* obj5
= 0 ;
24019 char *kwnames
[] = {
24020 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24026 arg2
= (bool) SWIG_AsBool(obj1
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24028 arg3
= (double) SWIG_AsDouble(obj2
);
24029 if (PyErr_Occurred()) SWIG_fail
;
24030 arg4
= (double) SWIG_AsDouble(obj3
);
24031 if (PyErr_Occurred()) SWIG_fail
;
24033 arg5
= (int) SWIG_AsInt(obj4
);
24034 if (PyErr_Occurred()) SWIG_fail
;
24037 arg6
= (int) SWIG_AsInt(obj5
);
24038 if (PyErr_Occurred()) SWIG_fail
;
24041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24042 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24044 wxPyEndAllowThreads(__tstate
);
24045 if (PyErr_Occurred()) SWIG_fail
;
24047 Py_INCREF(Py_None
); resultobj
= Py_None
;
24054 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24055 PyObject
*resultobj
;
24056 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24059 int arg4
= (int) 0 ;
24060 int arg5
= (int) 0 ;
24061 PyObject
* obj0
= 0 ;
24062 PyObject
* obj1
= 0 ;
24063 PyObject
* obj2
= 0 ;
24064 PyObject
* obj3
= 0 ;
24065 PyObject
* obj4
= 0 ;
24066 char *kwnames
[] = {
24067 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24073 arg2
= (double) SWIG_AsDouble(obj1
);
24074 if (PyErr_Occurred()) SWIG_fail
;
24075 arg3
= (double) SWIG_AsDouble(obj2
);
24076 if (PyErr_Occurred()) SWIG_fail
;
24078 arg4
= (int) SWIG_AsInt(obj3
);
24079 if (PyErr_Occurred()) SWIG_fail
;
24082 arg5
= (int) SWIG_AsInt(obj4
);
24083 if (PyErr_Occurred()) SWIG_fail
;
24086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24087 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
24089 wxPyEndAllowThreads(__tstate
);
24090 if (PyErr_Occurred()) SWIG_fail
;
24092 Py_INCREF(Py_None
); resultobj
= Py_None
;
24099 static PyObject
*_wrap_PyCircleShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24100 PyObject
*resultobj
;
24101 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24104 int arg4
= (int) 0 ;
24105 int arg5
= (int) 0 ;
24106 PyObject
* obj0
= 0 ;
24107 PyObject
* obj1
= 0 ;
24108 PyObject
* obj2
= 0 ;
24109 PyObject
* obj3
= 0 ;
24110 PyObject
* obj4
= 0 ;
24111 char *kwnames
[] = {
24112 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24118 arg2
= (double) SWIG_AsDouble(obj1
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24120 arg3
= (double) SWIG_AsDouble(obj2
);
24121 if (PyErr_Occurred()) SWIG_fail
;
24123 arg4
= (int) SWIG_AsInt(obj3
);
24124 if (PyErr_Occurred()) SWIG_fail
;
24127 arg5
= (int) SWIG_AsInt(obj4
);
24128 if (PyErr_Occurred()) SWIG_fail
;
24131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24132 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
24134 wxPyEndAllowThreads(__tstate
);
24135 if (PyErr_Occurred()) SWIG_fail
;
24137 Py_INCREF(Py_None
); resultobj
= Py_None
;
24144 static PyObject
*_wrap_PyCircleShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24145 PyObject
*resultobj
;
24146 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24150 int arg5
= (int) 0 ;
24151 int arg6
= (int) 0 ;
24152 PyObject
* obj0
= 0 ;
24153 PyObject
* obj1
= 0 ;
24154 PyObject
* obj2
= 0 ;
24155 PyObject
* obj3
= 0 ;
24156 PyObject
* obj4
= 0 ;
24157 PyObject
* obj5
= 0 ;
24158 char *kwnames
[] = {
24159 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24165 arg2
= (bool) SWIG_AsBool(obj1
);
24166 if (PyErr_Occurred()) SWIG_fail
;
24167 arg3
= (double) SWIG_AsDouble(obj2
);
24168 if (PyErr_Occurred()) SWIG_fail
;
24169 arg4
= (double) SWIG_AsDouble(obj3
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24172 arg5
= (int) SWIG_AsInt(obj4
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24176 arg6
= (int) SWIG_AsInt(obj5
);
24177 if (PyErr_Occurred()) SWIG_fail
;
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24186 Py_INCREF(Py_None
); resultobj
= Py_None
;
24193 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24194 PyObject
*resultobj
;
24195 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24198 int arg4
= (int) 0 ;
24199 int arg5
= (int) 0 ;
24200 PyObject
* obj0
= 0 ;
24201 PyObject
* obj1
= 0 ;
24202 PyObject
* obj2
= 0 ;
24203 PyObject
* obj3
= 0 ;
24204 PyObject
* obj4
= 0 ;
24205 char *kwnames
[] = {
24206 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24212 arg2
= (double) SWIG_AsDouble(obj1
);
24213 if (PyErr_Occurred()) SWIG_fail
;
24214 arg3
= (double) SWIG_AsDouble(obj2
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24217 arg4
= (int) SWIG_AsInt(obj3
);
24218 if (PyErr_Occurred()) SWIG_fail
;
24221 arg5
= (int) SWIG_AsInt(obj4
);
24222 if (PyErr_Occurred()) SWIG_fail
;
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24226 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
24228 wxPyEndAllowThreads(__tstate
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24231 Py_INCREF(Py_None
); resultobj
= Py_None
;
24238 static PyObject
*_wrap_PyCircleShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24239 PyObject
*resultobj
;
24240 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24243 int arg4
= (int) 0 ;
24244 int arg5
= (int) 0 ;
24245 PyObject
* obj0
= 0 ;
24246 PyObject
* obj1
= 0 ;
24247 PyObject
* obj2
= 0 ;
24248 PyObject
* obj3
= 0 ;
24249 PyObject
* obj4
= 0 ;
24250 char *kwnames
[] = {
24251 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24257 arg2
= (double) SWIG_AsDouble(obj1
);
24258 if (PyErr_Occurred()) SWIG_fail
;
24259 arg3
= (double) SWIG_AsDouble(obj2
);
24260 if (PyErr_Occurred()) SWIG_fail
;
24262 arg4
= (int) SWIG_AsInt(obj3
);
24263 if (PyErr_Occurred()) SWIG_fail
;
24266 arg5
= (int) SWIG_AsInt(obj4
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24271 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
24273 wxPyEndAllowThreads(__tstate
);
24274 if (PyErr_Occurred()) SWIG_fail
;
24276 Py_INCREF(Py_None
); resultobj
= Py_None
;
24283 static PyObject
*_wrap_PyCircleShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24284 PyObject
*resultobj
;
24285 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24291 PyObject
* obj0
= 0 ;
24292 PyObject
* obj1
= 0 ;
24293 PyObject
* obj2
= 0 ;
24294 PyObject
* obj3
= 0 ;
24295 PyObject
* obj4
= 0 ;
24296 PyObject
* obj5
= 0 ;
24297 char *kwnames
[] = {
24298 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyCircleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24305 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24307 if (arg2
== NULL
) {
24308 PyErr_SetString(PyExc_TypeError
,"null reference");
24311 arg3
= (double) SWIG_AsDouble(obj2
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24313 arg4
= (double) SWIG_AsDouble(obj3
);
24314 if (PyErr_Occurred()) SWIG_fail
;
24315 arg5
= (double) SWIG_AsDouble(obj4
);
24316 if (PyErr_Occurred()) SWIG_fail
;
24317 arg6
= (double) SWIG_AsDouble(obj5
);
24318 if (PyErr_Occurred()) SWIG_fail
;
24320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24321 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
24323 wxPyEndAllowThreads(__tstate
);
24324 if (PyErr_Occurred()) SWIG_fail
;
24326 Py_INCREF(Py_None
); resultobj
= Py_None
;
24333 static PyObject
*_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24334 PyObject
*resultobj
;
24335 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24337 PyObject
* obj0
= 0 ;
24338 PyObject
* obj1
= 0 ;
24339 char *kwnames
[] = {
24340 (char *) "self",(char *) "dc", NULL
24343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24347 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24349 if (arg2
== NULL
) {
24350 PyErr_SetString(PyExc_TypeError
,"null reference");
24354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24355 (arg1
)->base_OnDrawControlPoints(*arg2
);
24357 wxPyEndAllowThreads(__tstate
);
24358 if (PyErr_Occurred()) SWIG_fail
;
24360 Py_INCREF(Py_None
); resultobj
= Py_None
;
24367 static PyObject
*_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24368 PyObject
*resultobj
;
24369 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24371 PyObject
* obj0
= 0 ;
24372 PyObject
* obj1
= 0 ;
24373 char *kwnames
[] = {
24374 (char *) "self",(char *) "dc", NULL
24377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24381 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24383 if (arg2
== NULL
) {
24384 PyErr_SetString(PyExc_TypeError
,"null reference");
24388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24389 (arg1
)->base_OnEraseControlPoints(*arg2
);
24391 wxPyEndAllowThreads(__tstate
);
24392 if (PyErr_Occurred()) SWIG_fail
;
24394 Py_INCREF(Py_None
); resultobj
= Py_None
;
24401 static PyObject
*_wrap_PyCircleShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24402 PyObject
*resultobj
;
24403 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24405 bool arg3
= (bool) True
;
24406 PyObject
* obj0
= 0 ;
24407 PyObject
* obj1
= 0 ;
24408 PyObject
* obj2
= 0 ;
24409 char *kwnames
[] = {
24410 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24417 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24419 if (arg2
== NULL
) {
24420 PyErr_SetString(PyExc_TypeError
,"null reference");
24424 arg3
= (bool) SWIG_AsBool(obj2
);
24425 if (PyErr_Occurred()) SWIG_fail
;
24428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
24431 wxPyEndAllowThreads(__tstate
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24434 Py_INCREF(Py_None
); resultobj
= Py_None
;
24441 static PyObject
*_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24442 PyObject
*resultobj
;
24443 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24444 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24448 int arg6
= (int) 0 ;
24449 int arg7
= (int) 0 ;
24450 PyObject
* obj0
= 0 ;
24451 PyObject
* obj1
= 0 ;
24452 PyObject
* obj2
= 0 ;
24453 PyObject
* obj3
= 0 ;
24454 PyObject
* obj4
= 0 ;
24455 PyObject
* obj5
= 0 ;
24456 PyObject
* obj6
= 0 ;
24457 char *kwnames
[] = {
24458 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyCircleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24466 arg3
= (bool) SWIG_AsBool(obj2
);
24467 if (PyErr_Occurred()) SWIG_fail
;
24468 arg4
= (double) SWIG_AsDouble(obj3
);
24469 if (PyErr_Occurred()) SWIG_fail
;
24470 arg5
= (double) SWIG_AsDouble(obj4
);
24471 if (PyErr_Occurred()) SWIG_fail
;
24473 arg6
= (int) SWIG_AsInt(obj5
);
24474 if (PyErr_Occurred()) SWIG_fail
;
24477 arg7
= (int) SWIG_AsInt(obj6
);
24478 if (PyErr_Occurred()) SWIG_fail
;
24481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24482 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24484 wxPyEndAllowThreads(__tstate
);
24485 if (PyErr_Occurred()) SWIG_fail
;
24487 Py_INCREF(Py_None
); resultobj
= Py_None
;
24494 static PyObject
*_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24495 PyObject
*resultobj
;
24496 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24497 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24500 int arg5
= (int) 0 ;
24501 int arg6
= (int) 0 ;
24502 PyObject
* obj0
= 0 ;
24503 PyObject
* obj1
= 0 ;
24504 PyObject
* obj2
= 0 ;
24505 PyObject
* obj3
= 0 ;
24506 PyObject
* obj4
= 0 ;
24507 PyObject
* obj5
= 0 ;
24508 char *kwnames
[] = {
24509 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24515 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24517 arg3
= (double) SWIG_AsDouble(obj2
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24519 arg4
= (double) SWIG_AsDouble(obj3
);
24520 if (PyErr_Occurred()) SWIG_fail
;
24522 arg5
= (int) SWIG_AsInt(obj4
);
24523 if (PyErr_Occurred()) SWIG_fail
;
24526 arg6
= (int) SWIG_AsInt(obj5
);
24527 if (PyErr_Occurred()) SWIG_fail
;
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24536 Py_INCREF(Py_None
); resultobj
= Py_None
;
24543 static PyObject
*_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24544 PyObject
*resultobj
;
24545 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24546 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24549 int arg5
= (int) 0 ;
24550 int arg6
= (int) 0 ;
24551 PyObject
* obj0
= 0 ;
24552 PyObject
* obj1
= 0 ;
24553 PyObject
* obj2
= 0 ;
24554 PyObject
* obj3
= 0 ;
24555 PyObject
* obj4
= 0 ;
24556 PyObject
* obj5
= 0 ;
24557 char *kwnames
[] = {
24558 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24566 arg3
= (double) SWIG_AsDouble(obj2
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24568 arg4
= (double) SWIG_AsDouble(obj3
);
24569 if (PyErr_Occurred()) SWIG_fail
;
24571 arg5
= (int) SWIG_AsInt(obj4
);
24572 if (PyErr_Occurred()) SWIG_fail
;
24575 arg6
= (int) SWIG_AsInt(obj5
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24580 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24582 wxPyEndAllowThreads(__tstate
);
24583 if (PyErr_Occurred()) SWIG_fail
;
24585 Py_INCREF(Py_None
); resultobj
= Py_None
;
24592 static PyObject
*_wrap_PyCircleShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24593 PyObject
*resultobj
;
24594 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24597 PyObject
* obj0
= 0 ;
24598 PyObject
* obj1
= 0 ;
24599 PyObject
* obj2
= 0 ;
24600 char *kwnames
[] = {
24601 (char *) "self",(char *) "w",(char *) "h", NULL
24604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24607 arg2
= (double) SWIG_AsDouble(obj1
);
24608 if (PyErr_Occurred()) SWIG_fail
;
24609 arg3
= (double) SWIG_AsDouble(obj2
);
24610 if (PyErr_Occurred()) SWIG_fail
;
24612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24613 (arg1
)->base_OnBeginSize(arg2
,arg3
);
24615 wxPyEndAllowThreads(__tstate
);
24616 if (PyErr_Occurred()) SWIG_fail
;
24618 Py_INCREF(Py_None
); resultobj
= Py_None
;
24625 static PyObject
*_wrap_PyCircleShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24626 PyObject
*resultobj
;
24627 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24630 PyObject
* obj0
= 0 ;
24631 PyObject
* obj1
= 0 ;
24632 PyObject
* obj2
= 0 ;
24633 char *kwnames
[] = {
24634 (char *) "self",(char *) "w",(char *) "h", NULL
24637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24640 arg2
= (double) SWIG_AsDouble(obj1
);
24641 if (PyErr_Occurred()) SWIG_fail
;
24642 arg3
= (double) SWIG_AsDouble(obj2
);
24643 if (PyErr_Occurred()) SWIG_fail
;
24645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24646 (arg1
)->base_OnEndSize(arg2
,arg3
);
24648 wxPyEndAllowThreads(__tstate
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24651 Py_INCREF(Py_None
); resultobj
= Py_None
;
24658 static PyObject
* PyCircleShape_swigregister(PyObject
*, PyObject
*args
) {
24660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24661 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape
, obj
);
24663 return Py_BuildValue((char *)"");
24665 static PyObject
*_wrap_new_ArrowHead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24666 PyObject
*resultobj
;
24667 int arg1
= (int) 0 ;
24668 int arg2
= (int) 0 ;
24669 double arg3
= (double) 0.0 ;
24670 double arg4
= (double) 0.0 ;
24671 wxString
const &arg5_defvalue
= wxPyEmptyString
;
24672 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
24673 wxPseudoMetaFile
*arg6
= (wxPseudoMetaFile
*) NULL
;
24674 long arg7
= (long) -1 ;
24675 wxArrowHead
*result
;
24676 bool temp5
= False
;
24677 PyObject
* obj0
= 0 ;
24678 PyObject
* obj1
= 0 ;
24679 PyObject
* obj2
= 0 ;
24680 PyObject
* obj3
= 0 ;
24681 PyObject
* obj4
= 0 ;
24682 PyObject
* obj5
= 0 ;
24683 PyObject
* obj6
= 0 ;
24684 char *kwnames
[] = {
24685 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
24688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOO:new_ArrowHead",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24690 arg1
= (int) SWIG_AsInt(obj0
);
24691 if (PyErr_Occurred()) SWIG_fail
;
24694 arg2
= (int) SWIG_AsInt(obj1
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24698 arg3
= (double) SWIG_AsDouble(obj2
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24702 arg4
= (double) SWIG_AsDouble(obj3
);
24703 if (PyErr_Occurred()) SWIG_fail
;
24707 arg5
= wxString_in_helper(obj4
);
24708 if (arg5
== NULL
) SWIG_fail
;
24713 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPseudoMetaFile
,
24714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24717 arg7
= (long) SWIG_AsLong(obj6
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24722 result
= (wxArrowHead
*)new wxArrowHead(arg1
,arg2
,arg3
,arg4
,(wxString
const &)*arg5
,arg6
,arg7
);
24724 wxPyEndAllowThreads(__tstate
);
24725 if (PyErr_Occurred()) SWIG_fail
;
24728 resultobj
= wxPyMake_wxObject(result
);
24744 static PyObject
*_wrap_delete_ArrowHead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24745 PyObject
*resultobj
;
24746 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24747 PyObject
* obj0
= 0 ;
24748 char *kwnames
[] = {
24749 (char *) "self", NULL
24752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArrowHead",kwnames
,&obj0
)) goto fail
;
24753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 wxPyEndAllowThreads(__tstate
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24762 Py_INCREF(Py_None
); resultobj
= Py_None
;
24769 static PyObject
*_wrap_ArrowHead__GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24770 PyObject
*resultobj
;
24771 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24773 PyObject
* obj0
= 0 ;
24774 char *kwnames
[] = {
24775 (char *) "self", NULL
24778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead__GetType",kwnames
,&obj0
)) goto fail
;
24779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24783 result
= (int)(arg1
)->_GetType();
24785 wxPyEndAllowThreads(__tstate
);
24786 if (PyErr_Occurred()) SWIG_fail
;
24788 resultobj
= SWIG_FromInt((int)result
);
24795 static PyObject
*_wrap_ArrowHead_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24796 PyObject
*resultobj
;
24797 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24799 PyObject
* obj0
= 0 ;
24800 char *kwnames
[] = {
24801 (char *) "self", NULL
24804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetPosition",kwnames
,&obj0
)) goto fail
;
24805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24809 result
= (int)(arg1
)->GetPosition();
24811 wxPyEndAllowThreads(__tstate
);
24812 if (PyErr_Occurred()) SWIG_fail
;
24814 resultobj
= SWIG_FromInt((int)result
);
24821 static PyObject
*_wrap_ArrowHead_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24822 PyObject
*resultobj
;
24823 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24825 PyObject
* obj0
= 0 ;
24826 PyObject
* obj1
= 0 ;
24827 char *kwnames
[] = {
24828 (char *) "self",(char *) "pos", NULL
24831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24834 arg2
= (int) SWIG_AsInt(obj1
);
24835 if (PyErr_Occurred()) SWIG_fail
;
24837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24838 (arg1
)->SetPosition(arg2
);
24840 wxPyEndAllowThreads(__tstate
);
24841 if (PyErr_Occurred()) SWIG_fail
;
24843 Py_INCREF(Py_None
); resultobj
= Py_None
;
24850 static PyObject
*_wrap_ArrowHead_GetXOffset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24851 PyObject
*resultobj
;
24852 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24854 PyObject
* obj0
= 0 ;
24855 char *kwnames
[] = {
24856 (char *) "self", NULL
24859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetXOffset",kwnames
,&obj0
)) goto fail
;
24860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24864 result
= (double)(arg1
)->GetXOffset();
24866 wxPyEndAllowThreads(__tstate
);
24867 if (PyErr_Occurred()) SWIG_fail
;
24869 resultobj
= SWIG_FromDouble((double)result
);
24876 static PyObject
*_wrap_ArrowHead_GetYOffset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24877 PyObject
*resultobj
;
24878 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24880 PyObject
* obj0
= 0 ;
24881 char *kwnames
[] = {
24882 (char *) "self", NULL
24885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetYOffset",kwnames
,&obj0
)) goto fail
;
24886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24890 result
= (double)(arg1
)->GetYOffset();
24892 wxPyEndAllowThreads(__tstate
);
24893 if (PyErr_Occurred()) SWIG_fail
;
24895 resultobj
= SWIG_FromDouble((double)result
);
24902 static PyObject
*_wrap_ArrowHead_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24903 PyObject
*resultobj
;
24904 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24906 PyObject
* obj0
= 0 ;
24907 char *kwnames
[] = {
24908 (char *) "self", NULL
24911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSpacing",kwnames
,&obj0
)) goto fail
;
24912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24916 result
= (double)(arg1
)->GetSpacing();
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= SWIG_FromDouble((double)result
);
24928 static PyObject
*_wrap_ArrowHead_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
;
24930 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24932 PyObject
* obj0
= 0 ;
24933 char *kwnames
[] = {
24934 (char *) "self", NULL
24937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSize",kwnames
,&obj0
)) goto fail
;
24938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24942 result
= (double)(arg1
)->GetSize();
24944 wxPyEndAllowThreads(__tstate
);
24945 if (PyErr_Occurred()) SWIG_fail
;
24947 resultobj
= SWIG_FromDouble((double)result
);
24954 static PyObject
*_wrap_ArrowHead_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24955 PyObject
*resultobj
;
24956 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24958 PyObject
* obj0
= 0 ;
24959 char *kwnames
[] = {
24960 (char *) "self", NULL
24963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetName",kwnames
,&obj0
)) goto fail
;
24964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24968 result
= (arg1
)->GetName();
24970 wxPyEndAllowThreads(__tstate
);
24971 if (PyErr_Occurred()) SWIG_fail
;
24975 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24977 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24986 static PyObject
*_wrap_ArrowHead_SetXOffset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24987 PyObject
*resultobj
;
24988 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24990 PyObject
* obj0
= 0 ;
24991 PyObject
* obj1
= 0 ;
24992 char *kwnames
[] = {
24993 (char *) "self",(char *) "x", NULL
24996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetXOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
24997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24999 arg2
= (double) SWIG_AsDouble(obj1
);
25000 if (PyErr_Occurred()) SWIG_fail
;
25002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25003 (arg1
)->SetXOffset(arg2
);
25005 wxPyEndAllowThreads(__tstate
);
25006 if (PyErr_Occurred()) SWIG_fail
;
25008 Py_INCREF(Py_None
); resultobj
= Py_None
;
25015 static PyObject
*_wrap_ArrowHead_SetYOffset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25016 PyObject
*resultobj
;
25017 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25019 PyObject
* obj0
= 0 ;
25020 PyObject
* obj1
= 0 ;
25021 char *kwnames
[] = {
25022 (char *) "self",(char *) "y", NULL
25025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetYOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
25026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25028 arg2
= (double) SWIG_AsDouble(obj1
);
25029 if (PyErr_Occurred()) SWIG_fail
;
25031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25032 (arg1
)->SetYOffset(arg2
);
25034 wxPyEndAllowThreads(__tstate
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25037 Py_INCREF(Py_None
); resultobj
= Py_None
;
25044 static PyObject
*_wrap_ArrowHead_GetMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25045 PyObject
*resultobj
;
25046 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25047 wxPseudoMetaFile
*result
;
25048 PyObject
* obj0
= 0 ;
25049 char *kwnames
[] = {
25050 (char *) "self", NULL
25053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetMetaFile",kwnames
,&obj0
)) goto fail
;
25054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25058 result
= (wxPseudoMetaFile
*)(arg1
)->GetMetaFile();
25060 wxPyEndAllowThreads(__tstate
);
25061 if (PyErr_Occurred()) SWIG_fail
;
25064 resultobj
= wxPyMake_wxObject(result
);
25072 static PyObject
*_wrap_ArrowHead_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25073 PyObject
*resultobj
;
25074 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25076 PyObject
* obj0
= 0 ;
25077 char *kwnames
[] = {
25078 (char *) "self", NULL
25081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetId",kwnames
,&obj0
)) goto fail
;
25082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25086 result
= (long)(arg1
)->GetId();
25088 wxPyEndAllowThreads(__tstate
);
25089 if (PyErr_Occurred()) SWIG_fail
;
25091 resultobj
= SWIG_FromLong((long)result
);
25098 static PyObject
*_wrap_ArrowHead_GetArrowEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25099 PyObject
*resultobj
;
25100 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25102 PyObject
* obj0
= 0 ;
25103 char *kwnames
[] = {
25104 (char *) "self", NULL
25107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowEnd",kwnames
,&obj0
)) goto fail
;
25108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25112 result
= (int)(arg1
)->GetArrowEnd();
25114 wxPyEndAllowThreads(__tstate
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25117 resultobj
= SWIG_FromInt((int)result
);
25124 static PyObject
*_wrap_ArrowHead_GetArrowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25125 PyObject
*resultobj
;
25126 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25128 PyObject
* obj0
= 0 ;
25129 char *kwnames
[] = {
25130 (char *) "self", NULL
25133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowSize",kwnames
,&obj0
)) goto fail
;
25134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25138 result
= (double)(arg1
)->GetArrowSize();
25140 wxPyEndAllowThreads(__tstate
);
25141 if (PyErr_Occurred()) SWIG_fail
;
25143 resultobj
= SWIG_FromDouble((double)result
);
25150 static PyObject
*_wrap_ArrowHead_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25151 PyObject
*resultobj
;
25152 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25154 PyObject
* obj0
= 0 ;
25155 PyObject
* obj1
= 0 ;
25156 char *kwnames
[] = {
25157 (char *) "self",(char *) "size", NULL
25160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25163 arg2
= (double) SWIG_AsDouble(obj1
);
25164 if (PyErr_Occurred()) SWIG_fail
;
25166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25167 (arg1
)->SetSize(arg2
);
25169 wxPyEndAllowThreads(__tstate
);
25170 if (PyErr_Occurred()) SWIG_fail
;
25172 Py_INCREF(Py_None
); resultobj
= Py_None
;
25179 static PyObject
*_wrap_ArrowHead_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25180 PyObject
*resultobj
;
25181 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25183 PyObject
* obj0
= 0 ;
25184 PyObject
* obj1
= 0 ;
25185 char *kwnames
[] = {
25186 (char *) "self",(char *) "sp", NULL
25189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25192 arg2
= (double) SWIG_AsDouble(obj1
);
25193 if (PyErr_Occurred()) SWIG_fail
;
25195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25196 (arg1
)->SetSpacing(arg2
);
25198 wxPyEndAllowThreads(__tstate
);
25199 if (PyErr_Occurred()) SWIG_fail
;
25201 Py_INCREF(Py_None
); resultobj
= Py_None
;
25208 static PyObject
* ArrowHead_swigregister(PyObject
*, PyObject
*args
) {
25210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25211 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead
, obj
);
25213 return Py_BuildValue((char *)"");
25215 static PyObject
*_wrap_new_PyLineShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25216 PyObject
*resultobj
;
25217 wxPyLineShape
*result
;
25218 char *kwnames
[] = {
25222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLineShape",kwnames
)) goto fail
;
25224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25225 result
= (wxPyLineShape
*)new wxPyLineShape();
25227 wxPyEndAllowThreads(__tstate
);
25228 if (PyErr_Occurred()) SWIG_fail
;
25230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLineShape
, 1);
25237 static PyObject
*_wrap_PyLineShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25238 PyObject
*resultobj
;
25239 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25240 PyObject
*arg2
= (PyObject
*) 0 ;
25241 PyObject
*arg3
= (PyObject
*) 0 ;
25242 PyObject
* obj0
= 0 ;
25243 PyObject
* obj1
= 0 ;
25244 PyObject
* obj2
= 0 ;
25245 char *kwnames
[] = {
25246 (char *) "self",(char *) "self",(char *) "_class", NULL
25249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25256 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25258 wxPyEndAllowThreads(__tstate
);
25259 if (PyErr_Occurred()) SWIG_fail
;
25261 Py_INCREF(Py_None
); resultobj
= Py_None
;
25268 static PyObject
*_wrap_PyLineShape_AddArrow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25269 PyObject
*resultobj
;
25270 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25272 int arg3
= (int) ARROW_POSITION_END
;
25273 double arg4
= (double) 10.0 ;
25274 double arg5
= (double) 0.0 ;
25275 wxString
const &arg6_defvalue
= wxPyEmptyString
;
25276 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25277 wxPseudoMetaFile
*arg7
= (wxPseudoMetaFile
*) NULL
;
25278 long arg8
= (long) -1 ;
25279 bool temp6
= False
;
25280 PyObject
* obj0
= 0 ;
25281 PyObject
* obj1
= 0 ;
25282 PyObject
* obj2
= 0 ;
25283 PyObject
* obj3
= 0 ;
25284 PyObject
* obj4
= 0 ;
25285 PyObject
* obj5
= 0 ;
25286 PyObject
* obj6
= 0 ;
25287 PyObject
* obj7
= 0 ;
25288 char *kwnames
[] = {
25289 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:PyLineShape_AddArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25295 arg2
= (int) SWIG_AsInt(obj1
);
25296 if (PyErr_Occurred()) SWIG_fail
;
25298 arg3
= (int) SWIG_AsInt(obj2
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25302 arg4
= (double) SWIG_AsDouble(obj3
);
25303 if (PyErr_Occurred()) SWIG_fail
;
25306 arg5
= (double) SWIG_AsDouble(obj4
);
25307 if (PyErr_Occurred()) SWIG_fail
;
25311 arg6
= wxString_in_helper(obj5
);
25312 if (arg6
== NULL
) SWIG_fail
;
25317 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPseudoMetaFile
,
25318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25321 arg8
= (long) SWIG_AsLong(obj7
);
25322 if (PyErr_Occurred()) SWIG_fail
;
25325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25326 (arg1
)->AddArrow(arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
,arg8
);
25328 wxPyEndAllowThreads(__tstate
);
25329 if (PyErr_Occurred()) SWIG_fail
;
25331 Py_INCREF(Py_None
); resultobj
= Py_None
;
25346 static PyObject
*_wrap_PyLineShape_AddArrowOrdered(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25347 PyObject
*resultobj
;
25348 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25349 wxArrowHead
*arg2
= (wxArrowHead
*) 0 ;
25350 PyObject
*arg3
= (PyObject
*) 0 ;
25352 PyObject
* obj0
= 0 ;
25353 PyObject
* obj1
= 0 ;
25354 PyObject
* obj2
= 0 ;
25355 PyObject
* obj3
= 0 ;
25356 char *kwnames
[] = {
25357 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
25360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyLineShape_AddArrowOrdered",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxArrowHead
,
25364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25366 arg4
= (int) SWIG_AsInt(obj3
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25370 wxPyLineShape_AddArrowOrdered(arg1
,arg2
,arg3
,arg4
);
25372 wxPyEndAllowThreads(__tstate
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25375 Py_INCREF(Py_None
); resultobj
= Py_None
;
25382 static PyObject
*_wrap_PyLineShape_ClearArrow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25383 PyObject
*resultobj
;
25384 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25385 wxString
*arg2
= 0 ;
25387 bool temp2
= False
;
25388 PyObject
* obj0
= 0 ;
25389 PyObject
* obj1
= 0 ;
25390 char *kwnames
[] = {
25391 (char *) "self",(char *) "name", NULL
25394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_ClearArrow",kwnames
,&obj0
,&obj1
)) goto fail
;
25395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25398 arg2
= wxString_in_helper(obj1
);
25399 if (arg2
== NULL
) SWIG_fail
;
25403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25404 result
= (bool)(arg1
)->ClearArrow((wxString
const &)*arg2
);
25406 wxPyEndAllowThreads(__tstate
);
25407 if (PyErr_Occurred()) SWIG_fail
;
25410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25426 static PyObject
*_wrap_PyLineShape_ClearArrowsAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25427 PyObject
*resultobj
;
25428 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25429 int arg2
= (int) -1 ;
25430 PyObject
* obj0
= 0 ;
25431 PyObject
* obj1
= 0 ;
25432 char *kwnames
[] = {
25433 (char *) "self",(char *) "position", NULL
25436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_ClearArrowsAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25440 arg2
= (int) SWIG_AsInt(obj1
);
25441 if (PyErr_Occurred()) SWIG_fail
;
25444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25445 (arg1
)->ClearArrowsAtPosition(arg2
);
25447 wxPyEndAllowThreads(__tstate
);
25448 if (PyErr_Occurred()) SWIG_fail
;
25450 Py_INCREF(Py_None
); resultobj
= Py_None
;
25457 static PyObject
*_wrap_PyLineShape_DrawArrow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25458 PyObject
*resultobj
;
25459 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25461 wxArrowHead
*arg3
= (wxArrowHead
*) 0 ;
25464 PyObject
* obj0
= 0 ;
25465 PyObject
* obj1
= 0 ;
25466 PyObject
* obj2
= 0 ;
25467 PyObject
* obj3
= 0 ;
25468 PyObject
* obj4
= 0 ;
25469 char *kwnames
[] = {
25470 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
25473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_DrawArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25477 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25479 if (arg2
== NULL
) {
25480 PyErr_SetString(PyExc_TypeError
,"null reference");
25483 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxArrowHead
,
25484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25485 arg4
= (double) SWIG_AsDouble(obj3
);
25486 if (PyErr_Occurred()) SWIG_fail
;
25487 arg5
= (bool) SWIG_AsBool(obj4
);
25488 if (PyErr_Occurred()) SWIG_fail
;
25490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25491 (arg1
)->DrawArrow(*arg2
,arg3
,arg4
,arg5
);
25493 wxPyEndAllowThreads(__tstate
);
25494 if (PyErr_Occurred()) SWIG_fail
;
25496 Py_INCREF(Py_None
); resultobj
= Py_None
;
25503 static PyObject
*_wrap_PyLineShape_DeleteArrowHeadId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25504 PyObject
*resultobj
;
25505 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25508 PyObject
* obj0
= 0 ;
25509 PyObject
* obj1
= 0 ;
25510 char *kwnames
[] = {
25511 (char *) "self",(char *) "arrowId", NULL
25514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DeleteArrowHeadId",kwnames
,&obj0
,&obj1
)) goto fail
;
25515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25517 arg2
= (long) SWIG_AsLong(obj1
);
25518 if (PyErr_Occurred()) SWIG_fail
;
25520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25521 result
= (bool)(arg1
)->DeleteArrowHead(arg2
);
25523 wxPyEndAllowThreads(__tstate
);
25524 if (PyErr_Occurred()) SWIG_fail
;
25527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25535 static PyObject
*_wrap_PyLineShape_DeleteArrowHead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25536 PyObject
*resultobj
;
25537 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25539 wxString
*arg3
= 0 ;
25541 bool temp3
= False
;
25542 PyObject
* obj0
= 0 ;
25543 PyObject
* obj1
= 0 ;
25544 PyObject
* obj2
= 0 ;
25545 char *kwnames
[] = {
25546 (char *) "self",(char *) "position",(char *) "name", NULL
25549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_DeleteArrowHead",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25552 arg2
= (int) SWIG_AsInt(obj1
);
25553 if (PyErr_Occurred()) SWIG_fail
;
25555 arg3
= wxString_in_helper(obj2
);
25556 if (arg3
== NULL
) SWIG_fail
;
25560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25561 result
= (bool)(arg1
)->DeleteArrowHead(arg2
,(wxString
const &)*arg3
);
25563 wxPyEndAllowThreads(__tstate
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25583 static PyObject
*_wrap_PyLineShape_DeleteLineControlPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25584 PyObject
*resultobj
;
25585 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25587 PyObject
* obj0
= 0 ;
25588 char *kwnames
[] = {
25589 (char *) "self", NULL
25592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames
,&obj0
)) goto fail
;
25593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25597 result
= (bool)(arg1
)->DeleteLineControlPoint();
25599 wxPyEndAllowThreads(__tstate
);
25600 if (PyErr_Occurred()) SWIG_fail
;
25603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25611 static PyObject
*_wrap_PyLineShape_DrawArrows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25612 PyObject
*resultobj
;
25613 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25615 PyObject
* obj0
= 0 ;
25616 PyObject
* obj1
= 0 ;
25617 char *kwnames
[] = {
25618 (char *) "self",(char *) "dc", NULL
25621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DrawArrows",kwnames
,&obj0
,&obj1
)) goto fail
;
25622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25627 if (arg2
== NULL
) {
25628 PyErr_SetString(PyExc_TypeError
,"null reference");
25632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25633 (arg1
)->DrawArrows(*arg2
);
25635 wxPyEndAllowThreads(__tstate
);
25636 if (PyErr_Occurred()) SWIG_fail
;
25638 Py_INCREF(Py_None
); resultobj
= Py_None
;
25645 static PyObject
*_wrap_PyLineShape_DrawRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25646 PyObject
*resultobj
;
25647 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25649 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
25652 PyObject
* obj0
= 0 ;
25653 PyObject
* obj1
= 0 ;
25654 PyObject
* obj2
= 0 ;
25655 PyObject
* obj3
= 0 ;
25656 PyObject
* obj4
= 0 ;
25657 char *kwnames
[] = {
25658 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_DrawRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25665 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25667 if (arg2
== NULL
) {
25668 PyErr_SetString(PyExc_TypeError
,"null reference");
25671 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxShapeRegion
,
25672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25673 arg4
= (double) SWIG_AsDouble(obj3
);
25674 if (PyErr_Occurred()) SWIG_fail
;
25675 arg5
= (double) SWIG_AsDouble(obj4
);
25676 if (PyErr_Occurred()) SWIG_fail
;
25678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25679 (arg1
)->DrawRegion(*arg2
,arg3
,arg4
,arg5
);
25681 wxPyEndAllowThreads(__tstate
);
25682 if (PyErr_Occurred()) SWIG_fail
;
25684 Py_INCREF(Py_None
); resultobj
= Py_None
;
25691 static PyObject
*_wrap_PyLineShape_EraseRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25692 PyObject
*resultobj
;
25693 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25695 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
25698 PyObject
* obj0
= 0 ;
25699 PyObject
* obj1
= 0 ;
25700 PyObject
* obj2
= 0 ;
25701 PyObject
* obj3
= 0 ;
25702 PyObject
* obj4
= 0 ;
25703 char *kwnames
[] = {
25704 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_EraseRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25711 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25713 if (arg2
== NULL
) {
25714 PyErr_SetString(PyExc_TypeError
,"null reference");
25717 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxShapeRegion
,
25718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25719 arg4
= (double) SWIG_AsDouble(obj3
);
25720 if (PyErr_Occurred()) SWIG_fail
;
25721 arg5
= (double) SWIG_AsDouble(obj4
);
25722 if (PyErr_Occurred()) SWIG_fail
;
25724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25725 (arg1
)->EraseRegion(*arg2
,arg3
,arg4
,arg5
);
25727 wxPyEndAllowThreads(__tstate
);
25728 if (PyErr_Occurred()) SWIG_fail
;
25730 Py_INCREF(Py_None
); resultobj
= Py_None
;
25737 static PyObject
*_wrap_PyLineShape_FindArrowHeadId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25738 PyObject
*resultobj
;
25739 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25741 wxArrowHead
*result
;
25742 PyObject
* obj0
= 0 ;
25743 PyObject
* obj1
= 0 ;
25744 char *kwnames
[] = {
25745 (char *) "self",(char *) "arrowId", NULL
25748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_FindArrowHeadId",kwnames
,&obj0
,&obj1
)) goto fail
;
25749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25751 arg2
= (long) SWIG_AsLong(obj1
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25755 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
);
25757 wxPyEndAllowThreads(__tstate
);
25758 if (PyErr_Occurred()) SWIG_fail
;
25761 resultobj
= wxPyMake_wxObject(result
);
25769 static PyObject
*_wrap_PyLineShape_FindArrowHead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25770 PyObject
*resultobj
;
25771 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25773 wxString
*arg3
= 0 ;
25774 wxArrowHead
*result
;
25775 bool temp3
= False
;
25776 PyObject
* obj0
= 0 ;
25777 PyObject
* obj1
= 0 ;
25778 PyObject
* obj2
= 0 ;
25779 char *kwnames
[] = {
25780 (char *) "self",(char *) "position",(char *) "name", NULL
25783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindArrowHead",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25786 arg2
= (int) SWIG_AsInt(obj1
);
25787 if (PyErr_Occurred()) SWIG_fail
;
25789 arg3
= wxString_in_helper(obj2
);
25790 if (arg3
== NULL
) SWIG_fail
;
25794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25795 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
,(wxString
const &)*arg3
);
25797 wxPyEndAllowThreads(__tstate
);
25798 if (PyErr_Occurred()) SWIG_fail
;
25801 resultobj
= wxPyMake_wxObject(result
);
25817 static PyObject
*_wrap_PyLineShape_FindLineEndPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25818 PyObject
*resultobj
;
25819 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25820 double *arg2
= (double *) 0 ;
25821 double *arg3
= (double *) 0 ;
25822 double *arg4
= (double *) 0 ;
25823 double *arg5
= (double *) 0 ;
25828 PyObject
* obj0
= 0 ;
25829 char *kwnames
[] = {
25830 (char *) "self", NULL
25837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindLineEndPoints",kwnames
,&obj0
)) goto fail
;
25838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25842 (arg1
)->FindLineEndPoints(arg2
,arg3
,arg4
,arg5
);
25844 wxPyEndAllowThreads(__tstate
);
25845 if (PyErr_Occurred()) SWIG_fail
;
25847 Py_INCREF(Py_None
); resultobj
= Py_None
;
25849 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
25850 resultobj
= t_output_helper(resultobj
,o
);
25853 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
25854 resultobj
= t_output_helper(resultobj
,o
);
25857 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
25858 resultobj
= t_output_helper(resultobj
,o
);
25861 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
25862 resultobj
= t_output_helper(resultobj
,o
);
25870 static PyObject
*_wrap_PyLineShape_FindLinePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25871 PyObject
*resultobj
;
25872 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25876 PyObject
* obj0
= 0 ;
25877 PyObject
* obj1
= 0 ;
25878 PyObject
* obj2
= 0 ;
25879 char *kwnames
[] = {
25880 (char *) "self",(char *) "x",(char *) "y", NULL
25883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindLinePosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25886 arg2
= (double) SWIG_AsDouble(obj1
);
25887 if (PyErr_Occurred()) SWIG_fail
;
25888 arg3
= (double) SWIG_AsDouble(obj2
);
25889 if (PyErr_Occurred()) SWIG_fail
;
25891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25892 result
= (int)(arg1
)->FindLinePosition(arg2
,arg3
);
25894 wxPyEndAllowThreads(__tstate
);
25895 if (PyErr_Occurred()) SWIG_fail
;
25897 resultobj
= SWIG_FromInt((int)result
);
25904 static PyObject
*_wrap_PyLineShape_FindMinimumWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25905 PyObject
*resultobj
;
25906 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25908 PyObject
* obj0
= 0 ;
25909 char *kwnames
[] = {
25910 (char *) "self", NULL
25913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindMinimumWidth",kwnames
,&obj0
)) goto fail
;
25914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25918 result
= (double)(arg1
)->FindMinimumWidth();
25920 wxPyEndAllowThreads(__tstate
);
25921 if (PyErr_Occurred()) SWIG_fail
;
25923 resultobj
= SWIG_FromDouble((double)result
);
25930 static PyObject
*_wrap_PyLineShape_FindNth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25931 PyObject
*resultobj
;
25932 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25933 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
25934 int *arg3
= (int *) 0 ;
25935 int *arg4
= (int *) 0 ;
25939 PyObject
* obj0
= 0 ;
25940 PyObject
* obj1
= 0 ;
25941 PyObject
* obj2
= 0 ;
25942 char *kwnames
[] = {
25943 (char *) "self",(char *) "image",(char *) "incoming", NULL
25948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindNth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
25952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25953 arg5
= (bool) SWIG_AsBool(obj2
);
25954 if (PyErr_Occurred()) SWIG_fail
;
25956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25957 (arg1
)->FindNth(arg2
,arg3
,arg4
,arg5
);
25959 wxPyEndAllowThreads(__tstate
);
25960 if (PyErr_Occurred()) SWIG_fail
;
25962 Py_INCREF(Py_None
); resultobj
= Py_None
;
25964 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25965 resultobj
= t_output_helper(resultobj
,o
);
25968 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25969 resultobj
= t_output_helper(resultobj
,o
);
25977 static PyObject
*_wrap_PyLineShape_GetAttachmentFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25978 PyObject
*resultobj
;
25979 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25981 PyObject
* obj0
= 0 ;
25982 char *kwnames
[] = {
25983 (char *) "self", NULL
25986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames
,&obj0
)) goto fail
;
25987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25991 result
= (int)(arg1
)->GetAttachmentFrom();
25993 wxPyEndAllowThreads(__tstate
);
25994 if (PyErr_Occurred()) SWIG_fail
;
25996 resultobj
= SWIG_FromInt((int)result
);
26003 static PyObject
*_wrap_PyLineShape_GetAttachmentTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26004 PyObject
*resultobj
;
26005 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26007 PyObject
* obj0
= 0 ;
26008 char *kwnames
[] = {
26009 (char *) "self", NULL
26012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentTo",kwnames
,&obj0
)) goto fail
;
26013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26017 result
= (int)(arg1
)->GetAttachmentTo();
26019 wxPyEndAllowThreads(__tstate
);
26020 if (PyErr_Occurred()) SWIG_fail
;
26022 resultobj
= SWIG_FromInt((int)result
);
26029 static PyObject
*_wrap_PyLineShape_GetEnds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26030 PyObject
*resultobj
;
26031 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26032 double *arg2
= (double *) 0 ;
26033 double *arg3
= (double *) 0 ;
26034 double *arg4
= (double *) 0 ;
26035 double *arg5
= (double *) 0 ;
26040 PyObject
* obj0
= 0 ;
26041 char *kwnames
[] = {
26042 (char *) "self", NULL
26049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetEnds",kwnames
,&obj0
)) goto fail
;
26050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26054 (arg1
)->GetEnds(arg2
,arg3
,arg4
,arg5
);
26056 wxPyEndAllowThreads(__tstate
);
26057 if (PyErr_Occurred()) SWIG_fail
;
26059 Py_INCREF(Py_None
); resultobj
= Py_None
;
26061 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
26062 resultobj
= t_output_helper(resultobj
,o
);
26065 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
26066 resultobj
= t_output_helper(resultobj
,o
);
26069 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
26070 resultobj
= t_output_helper(resultobj
,o
);
26073 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
26074 resultobj
= t_output_helper(resultobj
,o
);
26082 static PyObject
*_wrap_PyLineShape_GetFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26083 PyObject
*resultobj
;
26084 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26086 PyObject
* obj0
= 0 ;
26087 char *kwnames
[] = {
26088 (char *) "self", NULL
26091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetFrom",kwnames
,&obj0
)) goto fail
;
26092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26096 result
= (wxPyShape
*)(arg1
)->GetFrom();
26098 wxPyEndAllowThreads(__tstate
);
26099 if (PyErr_Occurred()) SWIG_fail
;
26102 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
26110 static PyObject
*_wrap_PyLineShape_GetLabelPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26111 PyObject
*resultobj
;
26112 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26114 double *arg3
= (double *) 0 ;
26115 double *arg4
= (double *) 0 ;
26118 PyObject
* obj0
= 0 ;
26119 PyObject
* obj1
= 0 ;
26120 char *kwnames
[] = {
26121 (char *) "self",(char *) "position", NULL
26126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetLabelPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
26127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26129 arg2
= (int) SWIG_AsInt(obj1
);
26130 if (PyErr_Occurred()) SWIG_fail
;
26132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26133 (arg1
)->GetLabelPosition(arg2
,arg3
,arg4
);
26135 wxPyEndAllowThreads(__tstate
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26138 Py_INCREF(Py_None
); resultobj
= Py_None
;
26140 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
26141 resultobj
= t_output_helper(resultobj
,o
);
26144 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
26145 resultobj
= t_output_helper(resultobj
,o
);
26153 static PyObject
*_wrap_PyLineShape_GetNextControlPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26154 PyObject
*resultobj
;
26155 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26156 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26157 wxRealPoint
*result
;
26158 PyObject
* obj0
= 0 ;
26159 PyObject
* obj1
= 0 ;
26160 char *kwnames
[] = {
26161 (char *) "self",(char *) "shape", NULL
26164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26171 result
= (wxRealPoint
*)(arg1
)->GetNextControlPoint(arg2
);
26173 wxPyEndAllowThreads(__tstate
);
26174 if (PyErr_Occurred()) SWIG_fail
;
26176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 0);
26183 static PyObject
*_wrap_PyLineShape_GetTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26184 PyObject
*resultobj
;
26185 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26187 PyObject
* obj0
= 0 ;
26188 char *kwnames
[] = {
26189 (char *) "self", NULL
26192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetTo",kwnames
,&obj0
)) goto fail
;
26193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26197 result
= (wxPyShape
*)(arg1
)->GetTo();
26199 wxPyEndAllowThreads(__tstate
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26203 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
26211 static PyObject
*_wrap_PyLineShape_Initialise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26212 PyObject
*resultobj
;
26213 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26214 PyObject
* obj0
= 0 ;
26215 char *kwnames
[] = {
26216 (char *) "self", NULL
26219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Initialise",kwnames
,&obj0
)) goto fail
;
26220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26224 (arg1
)->Initialise();
26226 wxPyEndAllowThreads(__tstate
);
26227 if (PyErr_Occurred()) SWIG_fail
;
26229 Py_INCREF(Py_None
); resultobj
= Py_None
;
26236 static PyObject
*_wrap_PyLineShape_InsertLineControlPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26237 PyObject
*resultobj
;
26238 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26239 wxDC
*arg2
= (wxDC
*) 0 ;
26240 PyObject
* obj0
= 0 ;
26241 PyObject
* obj1
= 0 ;
26242 char *kwnames
[] = {
26243 (char *) "self",(char *) "dc", NULL
26246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26253 (arg1
)->InsertLineControlPoint(arg2
);
26255 wxPyEndAllowThreads(__tstate
);
26256 if (PyErr_Occurred()) SWIG_fail
;
26258 Py_INCREF(Py_None
); resultobj
= Py_None
;
26265 static PyObject
*_wrap_PyLineShape_IsEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26266 PyObject
*resultobj
;
26267 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26268 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26270 PyObject
* obj0
= 0 ;
26271 PyObject
* obj1
= 0 ;
26272 char *kwnames
[] = {
26273 (char *) "self",(char *) "shape", NULL
26276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_IsEnd",kwnames
,&obj0
,&obj1
)) goto fail
;
26277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26283 result
= (bool)(arg1
)->IsEnd(arg2
);
26285 wxPyEndAllowThreads(__tstate
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26297 static PyObject
*_wrap_PyLineShape_IsSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26298 PyObject
*resultobj
;
26299 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26301 PyObject
* obj0
= 0 ;
26302 char *kwnames
[] = {
26303 (char *) "self", NULL
26306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_IsSpline",kwnames
,&obj0
)) goto fail
;
26307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26311 result
= (bool)(arg1
)->IsSpline();
26313 wxPyEndAllowThreads(__tstate
);
26314 if (PyErr_Occurred()) SWIG_fail
;
26317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26325 static PyObject
*_wrap_PyLineShape_MakeLineControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26326 PyObject
*resultobj
;
26327 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26329 PyObject
* obj0
= 0 ;
26330 PyObject
* obj1
= 0 ;
26331 char *kwnames
[] = {
26332 (char *) "self",(char *) "n", NULL
26335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_MakeLineControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
26336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26338 arg2
= (int) SWIG_AsInt(obj1
);
26339 if (PyErr_Occurred()) SWIG_fail
;
26341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26342 (arg1
)->MakeLineControlPoints(arg2
);
26344 wxPyEndAllowThreads(__tstate
);
26345 if (PyErr_Occurred()) SWIG_fail
;
26347 Py_INCREF(Py_None
); resultobj
= Py_None
;
26354 static PyObject
*_wrap_PyLineShape_GetLineControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26355 PyObject
*resultobj
;
26356 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26358 PyObject
* obj0
= 0 ;
26359 char *kwnames
[] = {
26360 (char *) "self", NULL
26363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetLineControlPoints",kwnames
,&obj0
)) goto fail
;
26364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26368 result
= (PyObject
*)wxPyLineShape_GetLineControlPoints(arg1
);
26370 wxPyEndAllowThreads(__tstate
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26373 resultobj
= result
;
26380 static PyObject
*_wrap_PyLineShape_SetAttachmentFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26381 PyObject
*resultobj
;
26382 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26384 PyObject
* obj0
= 0 ;
26385 PyObject
* obj1
= 0 ;
26386 char *kwnames
[] = {
26387 (char *) "self",(char *) "fromAttach", NULL
26390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetAttachmentFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
26391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26393 arg2
= (int) SWIG_AsInt(obj1
);
26394 if (PyErr_Occurred()) SWIG_fail
;
26396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26397 (arg1
)->SetAttachmentFrom(arg2
);
26399 wxPyEndAllowThreads(__tstate
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26402 Py_INCREF(Py_None
); resultobj
= Py_None
;
26409 static PyObject
*_wrap_PyLineShape_SetAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26410 PyObject
*resultobj
;
26411 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26414 PyObject
* obj0
= 0 ;
26415 PyObject
* obj1
= 0 ;
26416 PyObject
* obj2
= 0 ;
26417 char *kwnames
[] = {
26418 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
26421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAttachments",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26424 arg2
= (int) SWIG_AsInt(obj1
);
26425 if (PyErr_Occurred()) SWIG_fail
;
26426 arg3
= (int) SWIG_AsInt(obj2
);
26427 if (PyErr_Occurred()) SWIG_fail
;
26429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26430 (arg1
)->SetAttachments(arg2
,arg3
);
26432 wxPyEndAllowThreads(__tstate
);
26433 if (PyErr_Occurred()) SWIG_fail
;
26435 Py_INCREF(Py_None
); resultobj
= Py_None
;
26442 static PyObject
*_wrap_PyLineShape_SetAttachmentTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26443 PyObject
*resultobj
;
26444 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26446 PyObject
* obj0
= 0 ;
26447 PyObject
* obj1
= 0 ;
26448 char *kwnames
[] = {
26449 (char *) "self",(char *) "toAttach", NULL
26452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetAttachmentTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26455 arg2
= (int) SWIG_AsInt(obj1
);
26456 if (PyErr_Occurred()) SWIG_fail
;
26458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26459 (arg1
)->SetAttachmentTo(arg2
);
26461 wxPyEndAllowThreads(__tstate
);
26462 if (PyErr_Occurred()) SWIG_fail
;
26464 Py_INCREF(Py_None
); resultobj
= Py_None
;
26471 static PyObject
*_wrap_PyLineShape_SetEnds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26472 PyObject
*resultobj
;
26473 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26478 PyObject
* obj0
= 0 ;
26479 PyObject
* obj1
= 0 ;
26480 PyObject
* obj2
= 0 ;
26481 PyObject
* obj3
= 0 ;
26482 PyObject
* obj4
= 0 ;
26483 char *kwnames
[] = {
26484 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_SetEnds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26490 arg2
= (double) SWIG_AsDouble(obj1
);
26491 if (PyErr_Occurred()) SWIG_fail
;
26492 arg3
= (double) SWIG_AsDouble(obj2
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26494 arg4
= (double) SWIG_AsDouble(obj3
);
26495 if (PyErr_Occurred()) SWIG_fail
;
26496 arg5
= (double) SWIG_AsDouble(obj4
);
26497 if (PyErr_Occurred()) SWIG_fail
;
26499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26500 (arg1
)->SetEnds(arg2
,arg3
,arg4
,arg5
);
26502 wxPyEndAllowThreads(__tstate
);
26503 if (PyErr_Occurred()) SWIG_fail
;
26505 Py_INCREF(Py_None
); resultobj
= Py_None
;
26512 static PyObject
*_wrap_PyLineShape_SetFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26513 PyObject
*resultobj
;
26514 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26515 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26516 PyObject
* obj0
= 0 ;
26517 PyObject
* obj1
= 0 ;
26518 char *kwnames
[] = {
26519 (char *) "self",(char *) "object", NULL
26522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
26523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26529 (arg1
)->SetFrom(arg2
);
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26534 Py_INCREF(Py_None
); resultobj
= Py_None
;
26541 static PyObject
*_wrap_PyLineShape_SetIgnoreOffsets(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26542 PyObject
*resultobj
;
26543 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26545 PyObject
* obj0
= 0 ;
26546 PyObject
* obj1
= 0 ;
26547 char *kwnames
[] = {
26548 (char *) "self",(char *) "ignore", NULL
26551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames
,&obj0
,&obj1
)) goto fail
;
26552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26554 arg2
= (bool) SWIG_AsBool(obj1
);
26555 if (PyErr_Occurred()) SWIG_fail
;
26557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26558 (arg1
)->SetIgnoreOffsets(arg2
);
26560 wxPyEndAllowThreads(__tstate
);
26561 if (PyErr_Occurred()) SWIG_fail
;
26563 Py_INCREF(Py_None
); resultobj
= Py_None
;
26570 static PyObject
*_wrap_PyLineShape_SetSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26571 PyObject
*resultobj
;
26572 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26574 PyObject
* obj0
= 0 ;
26575 PyObject
* obj1
= 0 ;
26576 char *kwnames
[] = {
26577 (char *) "self",(char *) "spline", NULL
26580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
26581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26583 arg2
= (bool) SWIG_AsBool(obj1
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26587 (arg1
)->SetSpline(arg2
);
26589 wxPyEndAllowThreads(__tstate
);
26590 if (PyErr_Occurred()) SWIG_fail
;
26592 Py_INCREF(Py_None
); resultobj
= Py_None
;
26599 static PyObject
*_wrap_PyLineShape_SetTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26600 PyObject
*resultobj
;
26601 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26602 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26603 PyObject
* obj0
= 0 ;
26604 PyObject
* obj1
= 0 ;
26605 char *kwnames
[] = {
26606 (char *) "self",(char *) "object", NULL
26609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26616 (arg1
)->SetTo(arg2
);
26618 wxPyEndAllowThreads(__tstate
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26621 Py_INCREF(Py_None
); resultobj
= Py_None
;
26628 static PyObject
*_wrap_PyLineShape_Straighten(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26629 PyObject
*resultobj
;
26630 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26631 wxDC
*arg2
= (wxDC
*) NULL
;
26632 PyObject
* obj0
= 0 ;
26633 PyObject
* obj1
= 0 ;
26634 char *kwnames
[] = {
26635 (char *) "self",(char *) "dc", NULL
26638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_Straighten",kwnames
,&obj0
,&obj1
)) goto fail
;
26639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26647 (arg1
)->Straighten(arg2
);
26649 wxPyEndAllowThreads(__tstate
);
26650 if (PyErr_Occurred()) SWIG_fail
;
26652 Py_INCREF(Py_None
); resultobj
= Py_None
;
26659 static PyObject
*_wrap_PyLineShape_Unlink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26660 PyObject
*resultobj
;
26661 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26662 PyObject
* obj0
= 0 ;
26663 char *kwnames
[] = {
26664 (char *) "self", NULL
26667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Unlink",kwnames
,&obj0
)) goto fail
;
26668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26674 wxPyEndAllowThreads(__tstate
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26677 Py_INCREF(Py_None
); resultobj
= Py_None
;
26684 static PyObject
*_wrap_PyLineShape_SetAlignmentOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26685 PyObject
*resultobj
;
26686 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26689 PyObject
* obj0
= 0 ;
26690 PyObject
* obj1
= 0 ;
26691 PyObject
* obj2
= 0 ;
26692 char *kwnames
[] = {
26693 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
26696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26699 arg2
= (bool) SWIG_AsBool(obj1
);
26700 if (PyErr_Occurred()) SWIG_fail
;
26701 arg3
= (bool) SWIG_AsBool(obj2
);
26702 if (PyErr_Occurred()) SWIG_fail
;
26704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26705 (arg1
)->SetAlignmentOrientation(arg2
,arg3
);
26707 wxPyEndAllowThreads(__tstate
);
26708 if (PyErr_Occurred()) SWIG_fail
;
26710 Py_INCREF(Py_None
); resultobj
= Py_None
;
26717 static PyObject
*_wrap_PyLineShape_SetAlignmentType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26718 PyObject
*resultobj
;
26719 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26722 PyObject
* obj0
= 0 ;
26723 PyObject
* obj1
= 0 ;
26724 PyObject
* obj2
= 0 ;
26725 char *kwnames
[] = {
26726 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
26729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentType",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26732 arg2
= (bool) SWIG_AsBool(obj1
);
26733 if (PyErr_Occurred()) SWIG_fail
;
26734 arg3
= (int) SWIG_AsInt(obj2
);
26735 if (PyErr_Occurred()) SWIG_fail
;
26737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26738 (arg1
)->SetAlignmentType(arg2
,arg3
);
26740 wxPyEndAllowThreads(__tstate
);
26741 if (PyErr_Occurred()) SWIG_fail
;
26743 Py_INCREF(Py_None
); resultobj
= Py_None
;
26750 static PyObject
*_wrap_PyLineShape_GetAlignmentOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26751 PyObject
*resultobj
;
26752 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26755 PyObject
* obj0
= 0 ;
26756 PyObject
* obj1
= 0 ;
26757 char *kwnames
[] = {
26758 (char *) "self",(char *) "isEnd", NULL
26761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
26762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26764 arg2
= (bool) SWIG_AsBool(obj1
);
26765 if (PyErr_Occurred()) SWIG_fail
;
26767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26768 result
= (bool)(arg1
)->GetAlignmentOrientation(arg2
);
26770 wxPyEndAllowThreads(__tstate
);
26771 if (PyErr_Occurred()) SWIG_fail
;
26774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26782 static PyObject
*_wrap_PyLineShape_GetAlignmentType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26783 PyObject
*resultobj
;
26784 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26787 PyObject
* obj0
= 0 ;
26788 PyObject
* obj1
= 0 ;
26789 char *kwnames
[] = {
26790 (char *) "self",(char *) "isEnd", NULL
26793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentType",kwnames
,&obj0
,&obj1
)) goto fail
;
26794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26796 arg2
= (bool) SWIG_AsBool(obj1
);
26797 if (PyErr_Occurred()) SWIG_fail
;
26799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26800 result
= (int)(arg1
)->GetAlignmentType(arg2
);
26802 wxPyEndAllowThreads(__tstate
);
26803 if (PyErr_Occurred()) SWIG_fail
;
26805 resultobj
= SWIG_FromInt((int)result
);
26812 static PyObject
*_wrap_PyLineShape_GetAlignmentStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26813 PyObject
*resultobj
;
26814 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26816 PyObject
* obj0
= 0 ;
26817 char *kwnames
[] = {
26818 (char *) "self", NULL
26821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentStart",kwnames
,&obj0
)) goto fail
;
26822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26826 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentStart();
26828 wxPyEndAllowThreads(__tstate
);
26829 if (PyErr_Occurred()) SWIG_fail
;
26831 resultobj
= SWIG_FromInt((int)result
);
26838 static PyObject
*_wrap_PyLineShape_GetAlignmentEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26839 PyObject
*resultobj
;
26840 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26842 PyObject
* obj0
= 0 ;
26843 char *kwnames
[] = {
26844 (char *) "self", NULL
26847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames
,&obj0
)) goto fail
;
26848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26852 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentEnd();
26854 wxPyEndAllowThreads(__tstate
);
26855 if (PyErr_Occurred()) SWIG_fail
;
26857 resultobj
= SWIG_FromInt((int)result
);
26864 static PyObject
*_wrap_PyLineShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26865 PyObject
*resultobj
;
26866 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26868 PyObject
* obj0
= 0 ;
26869 PyObject
* obj1
= 0 ;
26870 char *kwnames
[] = {
26871 (char *) "self",(char *) "dc", NULL
26874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
26875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26878 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26880 if (arg2
== NULL
) {
26881 PyErr_SetString(PyExc_TypeError
,"null reference");
26885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26886 (arg1
)->base_OnDraw(*arg2
);
26888 wxPyEndAllowThreads(__tstate
);
26889 if (PyErr_Occurred()) SWIG_fail
;
26891 Py_INCREF(Py_None
); resultobj
= Py_None
;
26898 static PyObject
*_wrap_PyLineShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26899 PyObject
*resultobj
;
26900 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26902 PyObject
* obj0
= 0 ;
26903 PyObject
* obj1
= 0 ;
26904 char *kwnames
[] = {
26905 (char *) "self",(char *) "dc", NULL
26908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
26909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26914 if (arg2
== NULL
) {
26915 PyErr_SetString(PyExc_TypeError
,"null reference");
26919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26920 (arg1
)->base_OnDrawContents(*arg2
);
26922 wxPyEndAllowThreads(__tstate
);
26923 if (PyErr_Occurred()) SWIG_fail
;
26925 Py_INCREF(Py_None
); resultobj
= Py_None
;
26932 static PyObject
*_wrap_PyLineShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26933 PyObject
*resultobj
;
26934 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26936 bool arg3
= (bool) FALSE
;
26937 PyObject
* obj0
= 0 ;
26938 PyObject
* obj1
= 0 ;
26939 PyObject
* obj2
= 0 ;
26940 char *kwnames
[] = {
26941 (char *) "self",(char *) "dc",(char *) "erase", NULL
26944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26948 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26950 if (arg2
== NULL
) {
26951 PyErr_SetString(PyExc_TypeError
,"null reference");
26955 arg3
= (bool) SWIG_AsBool(obj2
);
26956 if (PyErr_Occurred()) SWIG_fail
;
26959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26960 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
26962 wxPyEndAllowThreads(__tstate
);
26963 if (PyErr_Occurred()) SWIG_fail
;
26965 Py_INCREF(Py_None
); resultobj
= Py_None
;
26972 static PyObject
*_wrap_PyLineShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26973 PyObject
*resultobj
;
26974 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26976 PyObject
* obj0
= 0 ;
26977 PyObject
* obj1
= 0 ;
26978 char *kwnames
[] = {
26979 (char *) "self",(char *) "dc", NULL
26982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
26983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26986 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26988 if (arg2
== NULL
) {
26989 PyErr_SetString(PyExc_TypeError
,"null reference");
26993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26994 (arg1
)->base_OnMoveLinks(*arg2
);
26996 wxPyEndAllowThreads(__tstate
);
26997 if (PyErr_Occurred()) SWIG_fail
;
26999 Py_INCREF(Py_None
); resultobj
= Py_None
;
27006 static PyObject
*_wrap_PyLineShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27007 PyObject
*resultobj
;
27008 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27010 PyObject
* obj0
= 0 ;
27011 PyObject
* obj1
= 0 ;
27012 char *kwnames
[] = {
27013 (char *) "self",(char *) "dc", NULL
27016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
27017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27019 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27020 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27022 if (arg2
== NULL
) {
27023 PyErr_SetString(PyExc_TypeError
,"null reference");
27027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27028 (arg1
)->base_OnErase(*arg2
);
27030 wxPyEndAllowThreads(__tstate
);
27031 if (PyErr_Occurred()) SWIG_fail
;
27033 Py_INCREF(Py_None
); resultobj
= Py_None
;
27040 static PyObject
*_wrap_PyLineShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27041 PyObject
*resultobj
;
27042 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27044 PyObject
* obj0
= 0 ;
27045 PyObject
* obj1
= 0 ;
27046 char *kwnames
[] = {
27047 (char *) "self",(char *) "dc", NULL
27050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
27051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27054 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27056 if (arg2
== NULL
) {
27057 PyErr_SetString(PyExc_TypeError
,"null reference");
27061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27062 (arg1
)->base_OnEraseContents(*arg2
);
27064 wxPyEndAllowThreads(__tstate
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27067 Py_INCREF(Py_None
); resultobj
= Py_None
;
27074 static PyObject
*_wrap_PyLineShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27075 PyObject
*resultobj
;
27076 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27078 PyObject
* obj0
= 0 ;
27079 PyObject
* obj1
= 0 ;
27080 char *kwnames
[] = {
27081 (char *) "self",(char *) "dc", NULL
27084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
27085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27088 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27090 if (arg2
== NULL
) {
27091 PyErr_SetString(PyExc_TypeError
,"null reference");
27095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27096 (arg1
)->base_OnHighlight(*arg2
);
27098 wxPyEndAllowThreads(__tstate
);
27099 if (PyErr_Occurred()) SWIG_fail
;
27101 Py_INCREF(Py_None
); resultobj
= Py_None
;
27108 static PyObject
*_wrap_PyLineShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27109 PyObject
*resultobj
;
27110 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27113 int arg4
= (int) 0 ;
27114 int arg5
= (int) 0 ;
27115 PyObject
* obj0
= 0 ;
27116 PyObject
* obj1
= 0 ;
27117 PyObject
* obj2
= 0 ;
27118 PyObject
* obj3
= 0 ;
27119 PyObject
* obj4
= 0 ;
27120 char *kwnames
[] = {
27121 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27127 arg2
= (double) SWIG_AsDouble(obj1
);
27128 if (PyErr_Occurred()) SWIG_fail
;
27129 arg3
= (double) SWIG_AsDouble(obj2
);
27130 if (PyErr_Occurred()) SWIG_fail
;
27132 arg4
= (int) SWIG_AsInt(obj3
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27136 arg5
= (int) SWIG_AsInt(obj4
);
27137 if (PyErr_Occurred()) SWIG_fail
;
27140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27141 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
27143 wxPyEndAllowThreads(__tstate
);
27144 if (PyErr_Occurred()) SWIG_fail
;
27146 Py_INCREF(Py_None
); resultobj
= Py_None
;
27153 static PyObject
*_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27154 PyObject
*resultobj
;
27155 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27158 int arg4
= (int) 0 ;
27159 int arg5
= (int) 0 ;
27160 PyObject
* obj0
= 0 ;
27161 PyObject
* obj1
= 0 ;
27162 PyObject
* obj2
= 0 ;
27163 PyObject
* obj3
= 0 ;
27164 PyObject
* obj4
= 0 ;
27165 char *kwnames
[] = {
27166 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27172 arg2
= (double) SWIG_AsDouble(obj1
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27174 arg3
= (double) SWIG_AsDouble(obj2
);
27175 if (PyErr_Occurred()) SWIG_fail
;
27177 arg4
= (int) SWIG_AsInt(obj3
);
27178 if (PyErr_Occurred()) SWIG_fail
;
27181 arg5
= (int) SWIG_AsInt(obj4
);
27182 if (PyErr_Occurred()) SWIG_fail
;
27185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27186 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
27188 wxPyEndAllowThreads(__tstate
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27191 Py_INCREF(Py_None
); resultobj
= Py_None
;
27198 static PyObject
*_wrap_PyLineShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27199 PyObject
*resultobj
;
27200 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27203 int arg4
= (int) 0 ;
27204 int arg5
= (int) 0 ;
27205 PyObject
* obj0
= 0 ;
27206 PyObject
* obj1
= 0 ;
27207 PyObject
* obj2
= 0 ;
27208 PyObject
* obj3
= 0 ;
27209 PyObject
* obj4
= 0 ;
27210 char *kwnames
[] = {
27211 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27217 arg2
= (double) SWIG_AsDouble(obj1
);
27218 if (PyErr_Occurred()) SWIG_fail
;
27219 arg3
= (double) SWIG_AsDouble(obj2
);
27220 if (PyErr_Occurred()) SWIG_fail
;
27222 arg4
= (int) SWIG_AsInt(obj3
);
27223 if (PyErr_Occurred()) SWIG_fail
;
27226 arg5
= (int) SWIG_AsInt(obj4
);
27227 if (PyErr_Occurred()) SWIG_fail
;
27230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27231 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
27233 wxPyEndAllowThreads(__tstate
);
27234 if (PyErr_Occurred()) SWIG_fail
;
27236 Py_INCREF(Py_None
); resultobj
= Py_None
;
27243 static PyObject
*_wrap_PyLineShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27244 PyObject
*resultobj
;
27245 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27248 PyObject
* obj0
= 0 ;
27249 PyObject
* obj1
= 0 ;
27250 PyObject
* obj2
= 0 ;
27251 char *kwnames
[] = {
27252 (char *) "self",(char *) "x",(char *) "y", NULL
27255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27258 arg2
= (double) SWIG_AsDouble(obj1
);
27259 if (PyErr_Occurred()) SWIG_fail
;
27260 arg3
= (double) SWIG_AsDouble(obj2
);
27261 if (PyErr_Occurred()) SWIG_fail
;
27263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27264 (arg1
)->base_OnSize(arg2
,arg3
);
27266 wxPyEndAllowThreads(__tstate
);
27267 if (PyErr_Occurred()) SWIG_fail
;
27269 Py_INCREF(Py_None
); resultobj
= Py_None
;
27276 static PyObject
*_wrap_PyLineShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27277 PyObject
*resultobj
;
27278 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27284 bool arg7
= (bool) True
;
27286 PyObject
* obj0
= 0 ;
27287 PyObject
* obj1
= 0 ;
27288 PyObject
* obj2
= 0 ;
27289 PyObject
* obj3
= 0 ;
27290 PyObject
* obj4
= 0 ;
27291 PyObject
* obj5
= 0 ;
27292 PyObject
* obj6
= 0 ;
27293 char *kwnames
[] = {
27294 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyLineShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27301 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27303 if (arg2
== NULL
) {
27304 PyErr_SetString(PyExc_TypeError
,"null reference");
27307 arg3
= (double) SWIG_AsDouble(obj2
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27309 arg4
= (double) SWIG_AsDouble(obj3
);
27310 if (PyErr_Occurred()) SWIG_fail
;
27311 arg5
= (double) SWIG_AsDouble(obj4
);
27312 if (PyErr_Occurred()) SWIG_fail
;
27313 arg6
= (double) SWIG_AsDouble(obj5
);
27314 if (PyErr_Occurred()) SWIG_fail
;
27316 arg7
= (bool) SWIG_AsBool(obj6
);
27317 if (PyErr_Occurred()) SWIG_fail
;
27320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27321 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27323 wxPyEndAllowThreads(__tstate
);
27324 if (PyErr_Occurred()) SWIG_fail
;
27327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27335 static PyObject
*_wrap_PyLineShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27336 PyObject
*resultobj
;
27337 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27343 bool arg7
= (bool) True
;
27344 PyObject
* obj0
= 0 ;
27345 PyObject
* obj1
= 0 ;
27346 PyObject
* obj2
= 0 ;
27347 PyObject
* obj3
= 0 ;
27348 PyObject
* obj4
= 0 ;
27349 PyObject
* obj5
= 0 ;
27350 PyObject
* obj6
= 0 ;
27351 char *kwnames
[] = {
27352 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyLineShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27358 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27359 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27361 if (arg2
== NULL
) {
27362 PyErr_SetString(PyExc_TypeError
,"null reference");
27365 arg3
= (double) SWIG_AsDouble(obj2
);
27366 if (PyErr_Occurred()) SWIG_fail
;
27367 arg4
= (double) SWIG_AsDouble(obj3
);
27368 if (PyErr_Occurred()) SWIG_fail
;
27369 arg5
= (double) SWIG_AsDouble(obj4
);
27370 if (PyErr_Occurred()) SWIG_fail
;
27371 arg6
= (double) SWIG_AsDouble(obj5
);
27372 if (PyErr_Occurred()) SWIG_fail
;
27374 arg7
= (bool) SWIG_AsBool(obj6
);
27375 if (PyErr_Occurred()) SWIG_fail
;
27378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27379 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27381 wxPyEndAllowThreads(__tstate
);
27382 if (PyErr_Occurred()) SWIG_fail
;
27384 Py_INCREF(Py_None
); resultobj
= Py_None
;
27391 static PyObject
*_wrap_PyLineShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27392 PyObject
*resultobj
;
27393 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27397 int arg5
= (int) 0 ;
27398 int arg6
= (int) 0 ;
27399 PyObject
* obj0
= 0 ;
27400 PyObject
* obj1
= 0 ;
27401 PyObject
* obj2
= 0 ;
27402 PyObject
* obj3
= 0 ;
27403 PyObject
* obj4
= 0 ;
27404 PyObject
* obj5
= 0 ;
27405 char *kwnames
[] = {
27406 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27412 arg2
= (bool) SWIG_AsBool(obj1
);
27413 if (PyErr_Occurred()) SWIG_fail
;
27414 arg3
= (double) SWIG_AsDouble(obj2
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27416 arg4
= (double) SWIG_AsDouble(obj3
);
27417 if (PyErr_Occurred()) SWIG_fail
;
27419 arg5
= (int) SWIG_AsInt(obj4
);
27420 if (PyErr_Occurred()) SWIG_fail
;
27423 arg6
= (int) SWIG_AsInt(obj5
);
27424 if (PyErr_Occurred()) SWIG_fail
;
27427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27428 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
27430 wxPyEndAllowThreads(__tstate
);
27431 if (PyErr_Occurred()) SWIG_fail
;
27433 Py_INCREF(Py_None
); resultobj
= Py_None
;
27440 static PyObject
*_wrap_PyLineShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27441 PyObject
*resultobj
;
27442 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27445 int arg4
= (int) 0 ;
27446 int arg5
= (int) 0 ;
27447 PyObject
* obj0
= 0 ;
27448 PyObject
* obj1
= 0 ;
27449 PyObject
* obj2
= 0 ;
27450 PyObject
* obj3
= 0 ;
27451 PyObject
* obj4
= 0 ;
27452 char *kwnames
[] = {
27453 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27459 arg2
= (double) SWIG_AsDouble(obj1
);
27460 if (PyErr_Occurred()) SWIG_fail
;
27461 arg3
= (double) SWIG_AsDouble(obj2
);
27462 if (PyErr_Occurred()) SWIG_fail
;
27464 arg4
= (int) SWIG_AsInt(obj3
);
27465 if (PyErr_Occurred()) SWIG_fail
;
27468 arg5
= (int) SWIG_AsInt(obj4
);
27469 if (PyErr_Occurred()) SWIG_fail
;
27472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27473 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
27475 wxPyEndAllowThreads(__tstate
);
27476 if (PyErr_Occurred()) SWIG_fail
;
27478 Py_INCREF(Py_None
); resultobj
= Py_None
;
27485 static PyObject
*_wrap_PyLineShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27486 PyObject
*resultobj
;
27487 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27490 int arg4
= (int) 0 ;
27491 int arg5
= (int) 0 ;
27492 PyObject
* obj0
= 0 ;
27493 PyObject
* obj1
= 0 ;
27494 PyObject
* obj2
= 0 ;
27495 PyObject
* obj3
= 0 ;
27496 PyObject
* obj4
= 0 ;
27497 char *kwnames
[] = {
27498 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27504 arg2
= (double) SWIG_AsDouble(obj1
);
27505 if (PyErr_Occurred()) SWIG_fail
;
27506 arg3
= (double) SWIG_AsDouble(obj2
);
27507 if (PyErr_Occurred()) SWIG_fail
;
27509 arg4
= (int) SWIG_AsInt(obj3
);
27510 if (PyErr_Occurred()) SWIG_fail
;
27513 arg5
= (int) SWIG_AsInt(obj4
);
27514 if (PyErr_Occurred()) SWIG_fail
;
27517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27518 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
27520 wxPyEndAllowThreads(__tstate
);
27521 if (PyErr_Occurred()) SWIG_fail
;
27523 Py_INCREF(Py_None
); resultobj
= Py_None
;
27530 static PyObject
*_wrap_PyLineShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27531 PyObject
*resultobj
;
27532 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27536 int arg5
= (int) 0 ;
27537 int arg6
= (int) 0 ;
27538 PyObject
* obj0
= 0 ;
27539 PyObject
* obj1
= 0 ;
27540 PyObject
* obj2
= 0 ;
27541 PyObject
* obj3
= 0 ;
27542 PyObject
* obj4
= 0 ;
27543 PyObject
* obj5
= 0 ;
27544 char *kwnames
[] = {
27545 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27551 arg2
= (bool) SWIG_AsBool(obj1
);
27552 if (PyErr_Occurred()) SWIG_fail
;
27553 arg3
= (double) SWIG_AsDouble(obj2
);
27554 if (PyErr_Occurred()) SWIG_fail
;
27555 arg4
= (double) SWIG_AsDouble(obj3
);
27556 if (PyErr_Occurred()) SWIG_fail
;
27558 arg5
= (int) SWIG_AsInt(obj4
);
27559 if (PyErr_Occurred()) SWIG_fail
;
27562 arg6
= (int) SWIG_AsInt(obj5
);
27563 if (PyErr_Occurred()) SWIG_fail
;
27566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27567 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
27569 wxPyEndAllowThreads(__tstate
);
27570 if (PyErr_Occurred()) SWIG_fail
;
27572 Py_INCREF(Py_None
); resultobj
= Py_None
;
27579 static PyObject
*_wrap_PyLineShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27580 PyObject
*resultobj
;
27581 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27584 int arg4
= (int) 0 ;
27585 int arg5
= (int) 0 ;
27586 PyObject
* obj0
= 0 ;
27587 PyObject
* obj1
= 0 ;
27588 PyObject
* obj2
= 0 ;
27589 PyObject
* obj3
= 0 ;
27590 PyObject
* obj4
= 0 ;
27591 char *kwnames
[] = {
27592 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27598 arg2
= (double) SWIG_AsDouble(obj1
);
27599 if (PyErr_Occurred()) SWIG_fail
;
27600 arg3
= (double) SWIG_AsDouble(obj2
);
27601 if (PyErr_Occurred()) SWIG_fail
;
27603 arg4
= (int) SWIG_AsInt(obj3
);
27604 if (PyErr_Occurred()) SWIG_fail
;
27607 arg5
= (int) SWIG_AsInt(obj4
);
27608 if (PyErr_Occurred()) SWIG_fail
;
27611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27612 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
27614 wxPyEndAllowThreads(__tstate
);
27615 if (PyErr_Occurred()) SWIG_fail
;
27617 Py_INCREF(Py_None
); resultobj
= Py_None
;
27624 static PyObject
*_wrap_PyLineShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27625 PyObject
*resultobj
;
27626 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27629 int arg4
= (int) 0 ;
27630 int arg5
= (int) 0 ;
27631 PyObject
* obj0
= 0 ;
27632 PyObject
* obj1
= 0 ;
27633 PyObject
* obj2
= 0 ;
27634 PyObject
* obj3
= 0 ;
27635 PyObject
* obj4
= 0 ;
27636 char *kwnames
[] = {
27637 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27643 arg2
= (double) SWIG_AsDouble(obj1
);
27644 if (PyErr_Occurred()) SWIG_fail
;
27645 arg3
= (double) SWIG_AsDouble(obj2
);
27646 if (PyErr_Occurred()) SWIG_fail
;
27648 arg4
= (int) SWIG_AsInt(obj3
);
27649 if (PyErr_Occurred()) SWIG_fail
;
27652 arg5
= (int) SWIG_AsInt(obj4
);
27653 if (PyErr_Occurred()) SWIG_fail
;
27656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27657 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
27659 wxPyEndAllowThreads(__tstate
);
27660 if (PyErr_Occurred()) SWIG_fail
;
27662 Py_INCREF(Py_None
); resultobj
= Py_None
;
27669 static PyObject
*_wrap_PyLineShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27670 PyObject
*resultobj
;
27671 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27677 PyObject
* obj0
= 0 ;
27678 PyObject
* obj1
= 0 ;
27679 PyObject
* obj2
= 0 ;
27680 PyObject
* obj3
= 0 ;
27681 PyObject
* obj4
= 0 ;
27682 PyObject
* obj5
= 0 ;
27683 char *kwnames
[] = {
27684 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyLineShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27691 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27693 if (arg2
== NULL
) {
27694 PyErr_SetString(PyExc_TypeError
,"null reference");
27697 arg3
= (double) SWIG_AsDouble(obj2
);
27698 if (PyErr_Occurred()) SWIG_fail
;
27699 arg4
= (double) SWIG_AsDouble(obj3
);
27700 if (PyErr_Occurred()) SWIG_fail
;
27701 arg5
= (double) SWIG_AsDouble(obj4
);
27702 if (PyErr_Occurred()) SWIG_fail
;
27703 arg6
= (double) SWIG_AsDouble(obj5
);
27704 if (PyErr_Occurred()) SWIG_fail
;
27706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27707 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
27709 wxPyEndAllowThreads(__tstate
);
27710 if (PyErr_Occurred()) SWIG_fail
;
27712 Py_INCREF(Py_None
); resultobj
= Py_None
;
27719 static PyObject
*_wrap_PyLineShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27720 PyObject
*resultobj
;
27721 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27723 PyObject
* obj0
= 0 ;
27724 PyObject
* obj1
= 0 ;
27725 char *kwnames
[] = {
27726 (char *) "self",(char *) "dc", NULL
27729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
27730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27733 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27735 if (arg2
== NULL
) {
27736 PyErr_SetString(PyExc_TypeError
,"null reference");
27740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27741 (arg1
)->base_OnDrawControlPoints(*arg2
);
27743 wxPyEndAllowThreads(__tstate
);
27744 if (PyErr_Occurred()) SWIG_fail
;
27746 Py_INCREF(Py_None
); resultobj
= Py_None
;
27753 static PyObject
*_wrap_PyLineShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27754 PyObject
*resultobj
;
27755 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27757 PyObject
* obj0
= 0 ;
27758 PyObject
* obj1
= 0 ;
27759 char *kwnames
[] = {
27760 (char *) "self",(char *) "dc", NULL
27763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
27764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27767 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27769 if (arg2
== NULL
) {
27770 PyErr_SetString(PyExc_TypeError
,"null reference");
27774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27775 (arg1
)->base_OnEraseControlPoints(*arg2
);
27777 wxPyEndAllowThreads(__tstate
);
27778 if (PyErr_Occurred()) SWIG_fail
;
27780 Py_INCREF(Py_None
); resultobj
= Py_None
;
27787 static PyObject
*_wrap_PyLineShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27788 PyObject
*resultobj
;
27789 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27791 bool arg3
= (bool) True
;
27792 PyObject
* obj0
= 0 ;
27793 PyObject
* obj1
= 0 ;
27794 PyObject
* obj2
= 0 ;
27795 char *kwnames
[] = {
27796 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
27799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27803 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27805 if (arg2
== NULL
) {
27806 PyErr_SetString(PyExc_TypeError
,"null reference");
27810 arg3
= (bool) SWIG_AsBool(obj2
);
27811 if (PyErr_Occurred()) SWIG_fail
;
27814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27815 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
27817 wxPyEndAllowThreads(__tstate
);
27818 if (PyErr_Occurred()) SWIG_fail
;
27820 Py_INCREF(Py_None
); resultobj
= Py_None
;
27827 static PyObject
*_wrap_PyLineShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27828 PyObject
*resultobj
;
27829 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27830 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
27834 int arg6
= (int) 0 ;
27835 int arg7
= (int) 0 ;
27836 PyObject
* obj0
= 0 ;
27837 PyObject
* obj1
= 0 ;
27838 PyObject
* obj2
= 0 ;
27839 PyObject
* obj3
= 0 ;
27840 PyObject
* obj4
= 0 ;
27841 PyObject
* obj5
= 0 ;
27842 PyObject
* obj6
= 0 ;
27843 char *kwnames
[] = {
27844 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyLineShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27850 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
27851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27852 arg3
= (bool) SWIG_AsBool(obj2
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27854 arg4
= (double) SWIG_AsDouble(obj3
);
27855 if (PyErr_Occurred()) SWIG_fail
;
27856 arg5
= (double) SWIG_AsDouble(obj4
);
27857 if (PyErr_Occurred()) SWIG_fail
;
27859 arg6
= (int) SWIG_AsInt(obj5
);
27860 if (PyErr_Occurred()) SWIG_fail
;
27863 arg7
= (int) SWIG_AsInt(obj6
);
27864 if (PyErr_Occurred()) SWIG_fail
;
27867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27868 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27870 wxPyEndAllowThreads(__tstate
);
27871 if (PyErr_Occurred()) SWIG_fail
;
27873 Py_INCREF(Py_None
); resultobj
= Py_None
;
27880 static PyObject
*_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27881 PyObject
*resultobj
;
27882 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27883 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
27886 int arg5
= (int) 0 ;
27887 int arg6
= (int) 0 ;
27888 PyObject
* obj0
= 0 ;
27889 PyObject
* obj1
= 0 ;
27890 PyObject
* obj2
= 0 ;
27891 PyObject
* obj3
= 0 ;
27892 PyObject
* obj4
= 0 ;
27893 PyObject
* obj5
= 0 ;
27894 char *kwnames
[] = {
27895 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27901 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
27902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27903 arg3
= (double) SWIG_AsDouble(obj2
);
27904 if (PyErr_Occurred()) SWIG_fail
;
27905 arg4
= (double) SWIG_AsDouble(obj3
);
27906 if (PyErr_Occurred()) SWIG_fail
;
27908 arg5
= (int) SWIG_AsInt(obj4
);
27909 if (PyErr_Occurred()) SWIG_fail
;
27912 arg6
= (int) SWIG_AsInt(obj5
);
27913 if (PyErr_Occurred()) SWIG_fail
;
27916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27917 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
27919 wxPyEndAllowThreads(__tstate
);
27920 if (PyErr_Occurred()) SWIG_fail
;
27922 Py_INCREF(Py_None
); resultobj
= Py_None
;
27929 static PyObject
*_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27930 PyObject
*resultobj
;
27931 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27932 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
27935 int arg5
= (int) 0 ;
27936 int arg6
= (int) 0 ;
27937 PyObject
* obj0
= 0 ;
27938 PyObject
* obj1
= 0 ;
27939 PyObject
* obj2
= 0 ;
27940 PyObject
* obj3
= 0 ;
27941 PyObject
* obj4
= 0 ;
27942 PyObject
* obj5
= 0 ;
27943 char *kwnames
[] = {
27944 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
27951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27952 arg3
= (double) SWIG_AsDouble(obj2
);
27953 if (PyErr_Occurred()) SWIG_fail
;
27954 arg4
= (double) SWIG_AsDouble(obj3
);
27955 if (PyErr_Occurred()) SWIG_fail
;
27957 arg5
= (int) SWIG_AsInt(obj4
);
27958 if (PyErr_Occurred()) SWIG_fail
;
27961 arg6
= (int) SWIG_AsInt(obj5
);
27962 if (PyErr_Occurred()) SWIG_fail
;
27965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27966 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
27968 wxPyEndAllowThreads(__tstate
);
27969 if (PyErr_Occurred()) SWIG_fail
;
27971 Py_INCREF(Py_None
); resultobj
= Py_None
;
27978 static PyObject
*_wrap_PyLineShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27979 PyObject
*resultobj
;
27980 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27983 PyObject
* obj0
= 0 ;
27984 PyObject
* obj1
= 0 ;
27985 PyObject
* obj2
= 0 ;
27986 char *kwnames
[] = {
27987 (char *) "self",(char *) "w",(char *) "h", NULL
27990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27993 arg2
= (double) SWIG_AsDouble(obj1
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27995 arg3
= (double) SWIG_AsDouble(obj2
);
27996 if (PyErr_Occurred()) SWIG_fail
;
27998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27999 (arg1
)->base_OnBeginSize(arg2
,arg3
);
28001 wxPyEndAllowThreads(__tstate
);
28002 if (PyErr_Occurred()) SWIG_fail
;
28004 Py_INCREF(Py_None
); resultobj
= Py_None
;
28011 static PyObject
*_wrap_PyLineShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28012 PyObject
*resultobj
;
28013 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28016 PyObject
* obj0
= 0 ;
28017 PyObject
* obj1
= 0 ;
28018 PyObject
* obj2
= 0 ;
28019 char *kwnames
[] = {
28020 (char *) "self",(char *) "w",(char *) "h", NULL
28023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
28025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28026 arg2
= (double) SWIG_AsDouble(obj1
);
28027 if (PyErr_Occurred()) SWIG_fail
;
28028 arg3
= (double) SWIG_AsDouble(obj2
);
28029 if (PyErr_Occurred()) SWIG_fail
;
28031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28032 (arg1
)->base_OnEndSize(arg2
,arg3
);
28034 wxPyEndAllowThreads(__tstate
);
28035 if (PyErr_Occurred()) SWIG_fail
;
28037 Py_INCREF(Py_None
); resultobj
= Py_None
;
28044 static PyObject
* PyLineShape_swigregister(PyObject
*, PyObject
*args
) {
28046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28047 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape
, obj
);
28049 return Py_BuildValue((char *)"");
28051 static PyObject
*_wrap_new_PyPolygonShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28052 PyObject
*resultobj
;
28053 wxPyPolygonShape
*result
;
28054 char *kwnames
[] = {
28058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyPolygonShape",kwnames
)) goto fail
;
28060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28061 result
= (wxPyPolygonShape
*)new wxPyPolygonShape();
28063 wxPyEndAllowThreads(__tstate
);
28064 if (PyErr_Occurred()) SWIG_fail
;
28066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPolygonShape
, 1);
28073 static PyObject
*_wrap_PyPolygonShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28074 PyObject
*resultobj
;
28075 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28076 PyObject
*arg2
= (PyObject
*) 0 ;
28077 PyObject
*arg3
= (PyObject
*) 0 ;
28078 PyObject
* obj0
= 0 ;
28079 PyObject
* obj1
= 0 ;
28080 PyObject
* obj2
= 0 ;
28081 char *kwnames
[] = {
28082 (char *) "self",(char *) "self",(char *) "_class", NULL
28085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28092 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28094 wxPyEndAllowThreads(__tstate
);
28095 if (PyErr_Occurred()) SWIG_fail
;
28097 Py_INCREF(Py_None
); resultobj
= Py_None
;
28104 static PyObject
*_wrap_PyPolygonShape_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28105 PyObject
*resultobj
;
28106 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28107 PyObject
*arg2
= (PyObject
*) 0 ;
28109 PyObject
* obj0
= 0 ;
28110 PyObject
* obj1
= 0 ;
28111 char *kwnames
[] = {
28112 (char *) "self",(char *) "points", NULL
28115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
28116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28121 result
= (PyObject
*)wxPyPolygonShape_Create(arg1
,arg2
);
28123 wxPyEndAllowThreads(__tstate
);
28124 if (PyErr_Occurred()) SWIG_fail
;
28126 resultobj
= result
;
28133 static PyObject
*_wrap_PyPolygonShape_AddPolygonPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28134 PyObject
*resultobj
;
28135 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28136 int arg2
= (int) 0 ;
28137 PyObject
* obj0
= 0 ;
28138 PyObject
* obj1
= 0 ;
28139 char *kwnames
[] = {
28140 (char *) "self",(char *) "pos", NULL
28143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyPolygonShape_AddPolygonPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28147 arg2
= (int) SWIG_AsInt(obj1
);
28148 if (PyErr_Occurred()) SWIG_fail
;
28151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28152 (arg1
)->AddPolygonPoint(arg2
);
28154 wxPyEndAllowThreads(__tstate
);
28155 if (PyErr_Occurred()) SWIG_fail
;
28157 Py_INCREF(Py_None
); resultobj
= Py_None
;
28164 static PyObject
*_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28165 PyObject
*resultobj
;
28166 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28167 PyObject
* obj0
= 0 ;
28168 char *kwnames
[] = {
28169 (char *) "self", NULL
28172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames
,&obj0
)) goto fail
;
28173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28177 (arg1
)->CalculatePolygonCentre();
28179 wxPyEndAllowThreads(__tstate
);
28180 if (PyErr_Occurred()) SWIG_fail
;
28182 Py_INCREF(Py_None
); resultobj
= Py_None
;
28189 static PyObject
*_wrap_PyPolygonShape_DeletePolygonPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28190 PyObject
*resultobj
;
28191 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28192 int arg2
= (int) 0 ;
28193 PyObject
* obj0
= 0 ;
28194 PyObject
* obj1
= 0 ;
28195 char *kwnames
[] = {
28196 (char *) "self",(char *) "pos", NULL
28199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyPolygonShape_DeletePolygonPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28203 arg2
= (int) SWIG_AsInt(obj1
);
28204 if (PyErr_Occurred()) SWIG_fail
;
28207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28208 (arg1
)->DeletePolygonPoint(arg2
);
28210 wxPyEndAllowThreads(__tstate
);
28211 if (PyErr_Occurred()) SWIG_fail
;
28213 Py_INCREF(Py_None
); resultobj
= Py_None
;
28220 static PyObject
*_wrap_PyPolygonShape_GetPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28221 PyObject
*resultobj
;
28222 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28224 PyObject
* obj0
= 0 ;
28225 char *kwnames
[] = {
28226 (char *) "self", NULL
28229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetPoints",kwnames
,&obj0
)) goto fail
;
28230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28234 result
= (PyObject
*)wxPyPolygonShape_GetPoints(arg1
);
28236 wxPyEndAllowThreads(__tstate
);
28237 if (PyErr_Occurred()) SWIG_fail
;
28239 resultobj
= result
;
28246 static PyObject
*_wrap_PyPolygonShape_GetOriginalPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28247 PyObject
*resultobj
;
28248 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28250 PyObject
* obj0
= 0 ;
28251 char *kwnames
[] = {
28252 (char *) "self", NULL
28255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames
,&obj0
)) goto fail
;
28256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28260 result
= (PyObject
*)wxPyPolygonShape_GetOriginalPoints(arg1
);
28262 wxPyEndAllowThreads(__tstate
);
28263 if (PyErr_Occurred()) SWIG_fail
;
28265 resultobj
= result
;
28272 static PyObject
*_wrap_PyPolygonShape_GetOriginalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28273 PyObject
*resultobj
;
28274 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28276 PyObject
* obj0
= 0 ;
28277 char *kwnames
[] = {
28278 (char *) "self", NULL
28281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames
,&obj0
)) goto fail
;
28282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28286 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalWidth();
28288 wxPyEndAllowThreads(__tstate
);
28289 if (PyErr_Occurred()) SWIG_fail
;
28291 resultobj
= SWIG_FromDouble((double)result
);
28298 static PyObject
*_wrap_PyPolygonShape_GetOriginalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28299 PyObject
*resultobj
;
28300 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28302 PyObject
* obj0
= 0 ;
28303 char *kwnames
[] = {
28304 (char *) "self", NULL
28307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames
,&obj0
)) goto fail
;
28308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28312 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalHeight();
28314 wxPyEndAllowThreads(__tstate
);
28315 if (PyErr_Occurred()) SWIG_fail
;
28317 resultobj
= SWIG_FromDouble((double)result
);
28324 static PyObject
*_wrap_PyPolygonShape_SetOriginalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28325 PyObject
*resultobj
;
28326 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28328 PyObject
* obj0
= 0 ;
28329 PyObject
* obj1
= 0 ;
28330 char *kwnames
[] = {
28331 (char *) "self",(char *) "w", NULL
28334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_SetOriginalWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
28335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28337 arg2
= (double) SWIG_AsDouble(obj1
);
28338 if (PyErr_Occurred()) SWIG_fail
;
28340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28341 (arg1
)->SetOriginalWidth(arg2
);
28343 wxPyEndAllowThreads(__tstate
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28346 Py_INCREF(Py_None
); resultobj
= Py_None
;
28353 static PyObject
*_wrap_PyPolygonShape_SetOriginalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28354 PyObject
*resultobj
;
28355 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28357 PyObject
* obj0
= 0 ;
28358 PyObject
* obj1
= 0 ;
28359 char *kwnames
[] = {
28360 (char *) "self",(char *) "h", NULL
28363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_SetOriginalHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
28364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28366 arg2
= (double) SWIG_AsDouble(obj1
);
28367 if (PyErr_Occurred()) SWIG_fail
;
28369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28370 (arg1
)->SetOriginalHeight(arg2
);
28372 wxPyEndAllowThreads(__tstate
);
28373 if (PyErr_Occurred()) SWIG_fail
;
28375 Py_INCREF(Py_None
); resultobj
= Py_None
;
28382 static PyObject
*_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28383 PyObject
*resultobj
;
28384 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28385 PyObject
* obj0
= 0 ;
28386 char *kwnames
[] = {
28387 (char *) "self", NULL
28390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames
,&obj0
)) goto fail
;
28391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28395 (arg1
)->UpdateOriginalPoints();
28397 wxPyEndAllowThreads(__tstate
);
28398 if (PyErr_Occurred()) SWIG_fail
;
28400 Py_INCREF(Py_None
); resultobj
= Py_None
;
28407 static PyObject
*_wrap_PyPolygonShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28408 PyObject
*resultobj
;
28409 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28411 PyObject
* obj0
= 0 ;
28412 PyObject
* obj1
= 0 ;
28413 char *kwnames
[] = {
28414 (char *) "self",(char *) "dc", NULL
28417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
28418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28423 if (arg2
== NULL
) {
28424 PyErr_SetString(PyExc_TypeError
,"null reference");
28428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28429 (arg1
)->base_OnDraw(*arg2
);
28431 wxPyEndAllowThreads(__tstate
);
28432 if (PyErr_Occurred()) SWIG_fail
;
28434 Py_INCREF(Py_None
); resultobj
= Py_None
;
28441 static PyObject
*_wrap_PyPolygonShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28442 PyObject
*resultobj
;
28443 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28445 PyObject
* obj0
= 0 ;
28446 PyObject
* obj1
= 0 ;
28447 char *kwnames
[] = {
28448 (char *) "self",(char *) "dc", NULL
28451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
28452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28455 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28457 if (arg2
== NULL
) {
28458 PyErr_SetString(PyExc_TypeError
,"null reference");
28462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28463 (arg1
)->base_OnDrawContents(*arg2
);
28465 wxPyEndAllowThreads(__tstate
);
28466 if (PyErr_Occurred()) SWIG_fail
;
28468 Py_INCREF(Py_None
); resultobj
= Py_None
;
28475 static PyObject
*_wrap_PyPolygonShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28476 PyObject
*resultobj
;
28477 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28479 bool arg3
= (bool) FALSE
;
28480 PyObject
* obj0
= 0 ;
28481 PyObject
* obj1
= 0 ;
28482 PyObject
* obj2
= 0 ;
28483 char *kwnames
[] = {
28484 (char *) "self",(char *) "dc",(char *) "erase", NULL
28487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28493 if (arg2
== NULL
) {
28494 PyErr_SetString(PyExc_TypeError
,"null reference");
28498 arg3
= (bool) SWIG_AsBool(obj2
);
28499 if (PyErr_Occurred()) SWIG_fail
;
28502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28503 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
28505 wxPyEndAllowThreads(__tstate
);
28506 if (PyErr_Occurred()) SWIG_fail
;
28508 Py_INCREF(Py_None
); resultobj
= Py_None
;
28515 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28516 PyObject
*resultobj
;
28517 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28519 PyObject
* obj0
= 0 ;
28520 PyObject
* obj1
= 0 ;
28521 char *kwnames
[] = {
28522 (char *) "self",(char *) "dc", NULL
28525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
28526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28529 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28531 if (arg2
== NULL
) {
28532 PyErr_SetString(PyExc_TypeError
,"null reference");
28536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28537 (arg1
)->base_OnMoveLinks(*arg2
);
28539 wxPyEndAllowThreads(__tstate
);
28540 if (PyErr_Occurred()) SWIG_fail
;
28542 Py_INCREF(Py_None
); resultobj
= Py_None
;
28549 static PyObject
*_wrap_PyPolygonShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28550 PyObject
*resultobj
;
28551 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28553 PyObject
* obj0
= 0 ;
28554 PyObject
* obj1
= 0 ;
28555 char *kwnames
[] = {
28556 (char *) "self",(char *) "dc", NULL
28559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
28560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28563 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28565 if (arg2
== NULL
) {
28566 PyErr_SetString(PyExc_TypeError
,"null reference");
28570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28571 (arg1
)->base_OnErase(*arg2
);
28573 wxPyEndAllowThreads(__tstate
);
28574 if (PyErr_Occurred()) SWIG_fail
;
28576 Py_INCREF(Py_None
); resultobj
= Py_None
;
28583 static PyObject
*_wrap_PyPolygonShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28584 PyObject
*resultobj
;
28585 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28587 PyObject
* obj0
= 0 ;
28588 PyObject
* obj1
= 0 ;
28589 char *kwnames
[] = {
28590 (char *) "self",(char *) "dc", NULL
28593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
28594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28599 if (arg2
== NULL
) {
28600 PyErr_SetString(PyExc_TypeError
,"null reference");
28604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28605 (arg1
)->base_OnEraseContents(*arg2
);
28607 wxPyEndAllowThreads(__tstate
);
28608 if (PyErr_Occurred()) SWIG_fail
;
28610 Py_INCREF(Py_None
); resultobj
= Py_None
;
28617 static PyObject
*_wrap_PyPolygonShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28618 PyObject
*resultobj
;
28619 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28621 PyObject
* obj0
= 0 ;
28622 PyObject
* obj1
= 0 ;
28623 char *kwnames
[] = {
28624 (char *) "self",(char *) "dc", NULL
28627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
28628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28633 if (arg2
== NULL
) {
28634 PyErr_SetString(PyExc_TypeError
,"null reference");
28638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28639 (arg1
)->base_OnHighlight(*arg2
);
28641 wxPyEndAllowThreads(__tstate
);
28642 if (PyErr_Occurred()) SWIG_fail
;
28644 Py_INCREF(Py_None
); resultobj
= Py_None
;
28651 static PyObject
*_wrap_PyPolygonShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28652 PyObject
*resultobj
;
28653 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28656 int arg4
= (int) 0 ;
28657 int arg5
= (int) 0 ;
28658 PyObject
* obj0
= 0 ;
28659 PyObject
* obj1
= 0 ;
28660 PyObject
* obj2
= 0 ;
28661 PyObject
* obj3
= 0 ;
28662 PyObject
* obj4
= 0 ;
28663 char *kwnames
[] = {
28664 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28670 arg2
= (double) SWIG_AsDouble(obj1
);
28671 if (PyErr_Occurred()) SWIG_fail
;
28672 arg3
= (double) SWIG_AsDouble(obj2
);
28673 if (PyErr_Occurred()) SWIG_fail
;
28675 arg4
= (int) SWIG_AsInt(obj3
);
28676 if (PyErr_Occurred()) SWIG_fail
;
28679 arg5
= (int) SWIG_AsInt(obj4
);
28680 if (PyErr_Occurred()) SWIG_fail
;
28683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28684 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
28686 wxPyEndAllowThreads(__tstate
);
28687 if (PyErr_Occurred()) SWIG_fail
;
28689 Py_INCREF(Py_None
); resultobj
= Py_None
;
28696 static PyObject
*_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28697 PyObject
*resultobj
;
28698 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28701 int arg4
= (int) 0 ;
28702 int arg5
= (int) 0 ;
28703 PyObject
* obj0
= 0 ;
28704 PyObject
* obj1
= 0 ;
28705 PyObject
* obj2
= 0 ;
28706 PyObject
* obj3
= 0 ;
28707 PyObject
* obj4
= 0 ;
28708 char *kwnames
[] = {
28709 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28715 arg2
= (double) SWIG_AsDouble(obj1
);
28716 if (PyErr_Occurred()) SWIG_fail
;
28717 arg3
= (double) SWIG_AsDouble(obj2
);
28718 if (PyErr_Occurred()) SWIG_fail
;
28720 arg4
= (int) SWIG_AsInt(obj3
);
28721 if (PyErr_Occurred()) SWIG_fail
;
28724 arg5
= (int) SWIG_AsInt(obj4
);
28725 if (PyErr_Occurred()) SWIG_fail
;
28728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28729 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
28731 wxPyEndAllowThreads(__tstate
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28734 Py_INCREF(Py_None
); resultobj
= Py_None
;
28741 static PyObject
*_wrap_PyPolygonShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28742 PyObject
*resultobj
;
28743 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28746 int arg4
= (int) 0 ;
28747 int arg5
= (int) 0 ;
28748 PyObject
* obj0
= 0 ;
28749 PyObject
* obj1
= 0 ;
28750 PyObject
* obj2
= 0 ;
28751 PyObject
* obj3
= 0 ;
28752 PyObject
* obj4
= 0 ;
28753 char *kwnames
[] = {
28754 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28760 arg2
= (double) SWIG_AsDouble(obj1
);
28761 if (PyErr_Occurred()) SWIG_fail
;
28762 arg3
= (double) SWIG_AsDouble(obj2
);
28763 if (PyErr_Occurred()) SWIG_fail
;
28765 arg4
= (int) SWIG_AsInt(obj3
);
28766 if (PyErr_Occurred()) SWIG_fail
;
28769 arg5
= (int) SWIG_AsInt(obj4
);
28770 if (PyErr_Occurred()) SWIG_fail
;
28773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28774 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
28776 wxPyEndAllowThreads(__tstate
);
28777 if (PyErr_Occurred()) SWIG_fail
;
28779 Py_INCREF(Py_None
); resultobj
= Py_None
;
28786 static PyObject
*_wrap_PyPolygonShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28787 PyObject
*resultobj
;
28788 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28791 PyObject
* obj0
= 0 ;
28792 PyObject
* obj1
= 0 ;
28793 PyObject
* obj2
= 0 ;
28794 char *kwnames
[] = {
28795 (char *) "self",(char *) "x",(char *) "y", NULL
28798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28801 arg2
= (double) SWIG_AsDouble(obj1
);
28802 if (PyErr_Occurred()) SWIG_fail
;
28803 arg3
= (double) SWIG_AsDouble(obj2
);
28804 if (PyErr_Occurred()) SWIG_fail
;
28806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28807 (arg1
)->base_OnSize(arg2
,arg3
);
28809 wxPyEndAllowThreads(__tstate
);
28810 if (PyErr_Occurred()) SWIG_fail
;
28812 Py_INCREF(Py_None
); resultobj
= Py_None
;
28819 static PyObject
*_wrap_PyPolygonShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28820 PyObject
*resultobj
;
28821 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28827 bool arg7
= (bool) True
;
28829 PyObject
* obj0
= 0 ;
28830 PyObject
* obj1
= 0 ;
28831 PyObject
* obj2
= 0 ;
28832 PyObject
* obj3
= 0 ;
28833 PyObject
* obj4
= 0 ;
28834 PyObject
* obj5
= 0 ;
28835 PyObject
* obj6
= 0 ;
28836 char *kwnames
[] = {
28837 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28846 if (arg2
== NULL
) {
28847 PyErr_SetString(PyExc_TypeError
,"null reference");
28850 arg3
= (double) SWIG_AsDouble(obj2
);
28851 if (PyErr_Occurred()) SWIG_fail
;
28852 arg4
= (double) SWIG_AsDouble(obj3
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28854 arg5
= (double) SWIG_AsDouble(obj4
);
28855 if (PyErr_Occurred()) SWIG_fail
;
28856 arg6
= (double) SWIG_AsDouble(obj5
);
28857 if (PyErr_Occurred()) SWIG_fail
;
28859 arg7
= (bool) SWIG_AsBool(obj6
);
28860 if (PyErr_Occurred()) SWIG_fail
;
28863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28864 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28866 wxPyEndAllowThreads(__tstate
);
28867 if (PyErr_Occurred()) SWIG_fail
;
28870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28878 static PyObject
*_wrap_PyPolygonShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28879 PyObject
*resultobj
;
28880 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28886 bool arg7
= (bool) True
;
28887 PyObject
* obj0
= 0 ;
28888 PyObject
* obj1
= 0 ;
28889 PyObject
* obj2
= 0 ;
28890 PyObject
* obj3
= 0 ;
28891 PyObject
* obj4
= 0 ;
28892 PyObject
* obj5
= 0 ;
28893 PyObject
* obj6
= 0 ;
28894 char *kwnames
[] = {
28895 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28901 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28902 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28904 if (arg2
== NULL
) {
28905 PyErr_SetString(PyExc_TypeError
,"null reference");
28908 arg3
= (double) SWIG_AsDouble(obj2
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28910 arg4
= (double) SWIG_AsDouble(obj3
);
28911 if (PyErr_Occurred()) SWIG_fail
;
28912 arg5
= (double) SWIG_AsDouble(obj4
);
28913 if (PyErr_Occurred()) SWIG_fail
;
28914 arg6
= (double) SWIG_AsDouble(obj5
);
28915 if (PyErr_Occurred()) SWIG_fail
;
28917 arg7
= (bool) SWIG_AsBool(obj6
);
28918 if (PyErr_Occurred()) SWIG_fail
;
28921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28922 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28924 wxPyEndAllowThreads(__tstate
);
28925 if (PyErr_Occurred()) SWIG_fail
;
28927 Py_INCREF(Py_None
); resultobj
= Py_None
;
28934 static PyObject
*_wrap_PyPolygonShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28935 PyObject
*resultobj
;
28936 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28940 int arg5
= (int) 0 ;
28941 int arg6
= (int) 0 ;
28942 PyObject
* obj0
= 0 ;
28943 PyObject
* obj1
= 0 ;
28944 PyObject
* obj2
= 0 ;
28945 PyObject
* obj3
= 0 ;
28946 PyObject
* obj4
= 0 ;
28947 PyObject
* obj5
= 0 ;
28948 char *kwnames
[] = {
28949 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28955 arg2
= (bool) SWIG_AsBool(obj1
);
28956 if (PyErr_Occurred()) SWIG_fail
;
28957 arg3
= (double) SWIG_AsDouble(obj2
);
28958 if (PyErr_Occurred()) SWIG_fail
;
28959 arg4
= (double) SWIG_AsDouble(obj3
);
28960 if (PyErr_Occurred()) SWIG_fail
;
28962 arg5
= (int) SWIG_AsInt(obj4
);
28963 if (PyErr_Occurred()) SWIG_fail
;
28966 arg6
= (int) SWIG_AsInt(obj5
);
28967 if (PyErr_Occurred()) SWIG_fail
;
28970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28971 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
28973 wxPyEndAllowThreads(__tstate
);
28974 if (PyErr_Occurred()) SWIG_fail
;
28976 Py_INCREF(Py_None
); resultobj
= Py_None
;
28983 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28984 PyObject
*resultobj
;
28985 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28988 int arg4
= (int) 0 ;
28989 int arg5
= (int) 0 ;
28990 PyObject
* obj0
= 0 ;
28991 PyObject
* obj1
= 0 ;
28992 PyObject
* obj2
= 0 ;
28993 PyObject
* obj3
= 0 ;
28994 PyObject
* obj4
= 0 ;
28995 char *kwnames
[] = {
28996 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29002 arg2
= (double) SWIG_AsDouble(obj1
);
29003 if (PyErr_Occurred()) SWIG_fail
;
29004 arg3
= (double) SWIG_AsDouble(obj2
);
29005 if (PyErr_Occurred()) SWIG_fail
;
29007 arg4
= (int) SWIG_AsInt(obj3
);
29008 if (PyErr_Occurred()) SWIG_fail
;
29011 arg5
= (int) SWIG_AsInt(obj4
);
29012 if (PyErr_Occurred()) SWIG_fail
;
29015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29016 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
29018 wxPyEndAllowThreads(__tstate
);
29019 if (PyErr_Occurred()) SWIG_fail
;
29021 Py_INCREF(Py_None
); resultobj
= Py_None
;
29028 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29029 PyObject
*resultobj
;
29030 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29033 int arg4
= (int) 0 ;
29034 int arg5
= (int) 0 ;
29035 PyObject
* obj0
= 0 ;
29036 PyObject
* obj1
= 0 ;
29037 PyObject
* obj2
= 0 ;
29038 PyObject
* obj3
= 0 ;
29039 PyObject
* obj4
= 0 ;
29040 char *kwnames
[] = {
29041 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29047 arg2
= (double) SWIG_AsDouble(obj1
);
29048 if (PyErr_Occurred()) SWIG_fail
;
29049 arg3
= (double) SWIG_AsDouble(obj2
);
29050 if (PyErr_Occurred()) SWIG_fail
;
29052 arg4
= (int) SWIG_AsInt(obj3
);
29053 if (PyErr_Occurred()) SWIG_fail
;
29056 arg5
= (int) SWIG_AsInt(obj4
);
29057 if (PyErr_Occurred()) SWIG_fail
;
29060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29061 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
29063 wxPyEndAllowThreads(__tstate
);
29064 if (PyErr_Occurred()) SWIG_fail
;
29066 Py_INCREF(Py_None
); resultobj
= Py_None
;
29073 static PyObject
*_wrap_PyPolygonShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29074 PyObject
*resultobj
;
29075 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29079 int arg5
= (int) 0 ;
29080 int arg6
= (int) 0 ;
29081 PyObject
* obj0
= 0 ;
29082 PyObject
* obj1
= 0 ;
29083 PyObject
* obj2
= 0 ;
29084 PyObject
* obj3
= 0 ;
29085 PyObject
* obj4
= 0 ;
29086 PyObject
* obj5
= 0 ;
29087 char *kwnames
[] = {
29088 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29094 arg2
= (bool) SWIG_AsBool(obj1
);
29095 if (PyErr_Occurred()) SWIG_fail
;
29096 arg3
= (double) SWIG_AsDouble(obj2
);
29097 if (PyErr_Occurred()) SWIG_fail
;
29098 arg4
= (double) SWIG_AsDouble(obj3
);
29099 if (PyErr_Occurred()) SWIG_fail
;
29101 arg5
= (int) SWIG_AsInt(obj4
);
29102 if (PyErr_Occurred()) SWIG_fail
;
29105 arg6
= (int) SWIG_AsInt(obj5
);
29106 if (PyErr_Occurred()) SWIG_fail
;
29109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29110 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
29112 wxPyEndAllowThreads(__tstate
);
29113 if (PyErr_Occurred()) SWIG_fail
;
29115 Py_INCREF(Py_None
); resultobj
= Py_None
;
29122 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29123 PyObject
*resultobj
;
29124 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29127 int arg4
= (int) 0 ;
29128 int arg5
= (int) 0 ;
29129 PyObject
* obj0
= 0 ;
29130 PyObject
* obj1
= 0 ;
29131 PyObject
* obj2
= 0 ;
29132 PyObject
* obj3
= 0 ;
29133 PyObject
* obj4
= 0 ;
29134 char *kwnames
[] = {
29135 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29141 arg2
= (double) SWIG_AsDouble(obj1
);
29142 if (PyErr_Occurred()) SWIG_fail
;
29143 arg3
= (double) SWIG_AsDouble(obj2
);
29144 if (PyErr_Occurred()) SWIG_fail
;
29146 arg4
= (int) SWIG_AsInt(obj3
);
29147 if (PyErr_Occurred()) SWIG_fail
;
29150 arg5
= (int) SWIG_AsInt(obj4
);
29151 if (PyErr_Occurred()) SWIG_fail
;
29154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29155 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
29157 wxPyEndAllowThreads(__tstate
);
29158 if (PyErr_Occurred()) SWIG_fail
;
29160 Py_INCREF(Py_None
); resultobj
= Py_None
;
29167 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29168 PyObject
*resultobj
;
29169 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29172 int arg4
= (int) 0 ;
29173 int arg5
= (int) 0 ;
29174 PyObject
* obj0
= 0 ;
29175 PyObject
* obj1
= 0 ;
29176 PyObject
* obj2
= 0 ;
29177 PyObject
* obj3
= 0 ;
29178 PyObject
* obj4
= 0 ;
29179 char *kwnames
[] = {
29180 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29186 arg2
= (double) SWIG_AsDouble(obj1
);
29187 if (PyErr_Occurred()) SWIG_fail
;
29188 arg3
= (double) SWIG_AsDouble(obj2
);
29189 if (PyErr_Occurred()) SWIG_fail
;
29191 arg4
= (int) SWIG_AsInt(obj3
);
29192 if (PyErr_Occurred()) SWIG_fail
;
29195 arg5
= (int) SWIG_AsInt(obj4
);
29196 if (PyErr_Occurred()) SWIG_fail
;
29199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29200 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
29202 wxPyEndAllowThreads(__tstate
);
29203 if (PyErr_Occurred()) SWIG_fail
;
29205 Py_INCREF(Py_None
); resultobj
= Py_None
;
29212 static PyObject
*_wrap_PyPolygonShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29213 PyObject
*resultobj
;
29214 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29220 PyObject
* obj0
= 0 ;
29221 PyObject
* obj1
= 0 ;
29222 PyObject
* obj2
= 0 ;
29223 PyObject
* obj3
= 0 ;
29224 PyObject
* obj4
= 0 ;
29225 PyObject
* obj5
= 0 ;
29226 char *kwnames
[] = {
29227 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyPolygonShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29236 if (arg2
== NULL
) {
29237 PyErr_SetString(PyExc_TypeError
,"null reference");
29240 arg3
= (double) SWIG_AsDouble(obj2
);
29241 if (PyErr_Occurred()) SWIG_fail
;
29242 arg4
= (double) SWIG_AsDouble(obj3
);
29243 if (PyErr_Occurred()) SWIG_fail
;
29244 arg5
= (double) SWIG_AsDouble(obj4
);
29245 if (PyErr_Occurred()) SWIG_fail
;
29246 arg6
= (double) SWIG_AsDouble(obj5
);
29247 if (PyErr_Occurred()) SWIG_fail
;
29249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29250 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
29252 wxPyEndAllowThreads(__tstate
);
29253 if (PyErr_Occurred()) SWIG_fail
;
29255 Py_INCREF(Py_None
); resultobj
= Py_None
;
29262 static PyObject
*_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29263 PyObject
*resultobj
;
29264 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29266 PyObject
* obj0
= 0 ;
29267 PyObject
* obj1
= 0 ;
29268 char *kwnames
[] = {
29269 (char *) "self",(char *) "dc", NULL
29272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
29273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29278 if (arg2
== NULL
) {
29279 PyErr_SetString(PyExc_TypeError
,"null reference");
29283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29284 (arg1
)->base_OnDrawControlPoints(*arg2
);
29286 wxPyEndAllowThreads(__tstate
);
29287 if (PyErr_Occurred()) SWIG_fail
;
29289 Py_INCREF(Py_None
); resultobj
= Py_None
;
29296 static PyObject
*_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29297 PyObject
*resultobj
;
29298 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29300 PyObject
* obj0
= 0 ;
29301 PyObject
* obj1
= 0 ;
29302 char *kwnames
[] = {
29303 (char *) "self",(char *) "dc", NULL
29306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
29307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29310 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29312 if (arg2
== NULL
) {
29313 PyErr_SetString(PyExc_TypeError
,"null reference");
29317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29318 (arg1
)->base_OnEraseControlPoints(*arg2
);
29320 wxPyEndAllowThreads(__tstate
);
29321 if (PyErr_Occurred()) SWIG_fail
;
29323 Py_INCREF(Py_None
); resultobj
= Py_None
;
29330 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29331 PyObject
*resultobj
;
29332 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29334 bool arg3
= (bool) True
;
29335 PyObject
* obj0
= 0 ;
29336 PyObject
* obj1
= 0 ;
29337 PyObject
* obj2
= 0 ;
29338 char *kwnames
[] = {
29339 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
29342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29346 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29348 if (arg2
== NULL
) {
29349 PyErr_SetString(PyExc_TypeError
,"null reference");
29353 arg3
= (bool) SWIG_AsBool(obj2
);
29354 if (PyErr_Occurred()) SWIG_fail
;
29357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29358 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
29360 wxPyEndAllowThreads(__tstate
);
29361 if (PyErr_Occurred()) SWIG_fail
;
29363 Py_INCREF(Py_None
); resultobj
= Py_None
;
29370 static PyObject
*_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29371 PyObject
*resultobj
;
29372 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29373 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29377 int arg6
= (int) 0 ;
29378 int arg7
= (int) 0 ;
29379 PyObject
* obj0
= 0 ;
29380 PyObject
* obj1
= 0 ;
29381 PyObject
* obj2
= 0 ;
29382 PyObject
* obj3
= 0 ;
29383 PyObject
* obj4
= 0 ;
29384 PyObject
* obj5
= 0 ;
29385 PyObject
* obj6
= 0 ;
29386 char *kwnames
[] = {
29387 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyPolygonShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29393 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29395 arg3
= (bool) SWIG_AsBool(obj2
);
29396 if (PyErr_Occurred()) SWIG_fail
;
29397 arg4
= (double) SWIG_AsDouble(obj3
);
29398 if (PyErr_Occurred()) SWIG_fail
;
29399 arg5
= (double) SWIG_AsDouble(obj4
);
29400 if (PyErr_Occurred()) SWIG_fail
;
29402 arg6
= (int) SWIG_AsInt(obj5
);
29403 if (PyErr_Occurred()) SWIG_fail
;
29406 arg7
= (int) SWIG_AsInt(obj6
);
29407 if (PyErr_Occurred()) SWIG_fail
;
29410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29411 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29413 wxPyEndAllowThreads(__tstate
);
29414 if (PyErr_Occurred()) SWIG_fail
;
29416 Py_INCREF(Py_None
); resultobj
= Py_None
;
29423 static PyObject
*_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29424 PyObject
*resultobj
;
29425 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29426 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29429 int arg5
= (int) 0 ;
29430 int arg6
= (int) 0 ;
29431 PyObject
* obj0
= 0 ;
29432 PyObject
* obj1
= 0 ;
29433 PyObject
* obj2
= 0 ;
29434 PyObject
* obj3
= 0 ;
29435 PyObject
* obj4
= 0 ;
29436 PyObject
* obj5
= 0 ;
29437 char *kwnames
[] = {
29438 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29446 arg3
= (double) SWIG_AsDouble(obj2
);
29447 if (PyErr_Occurred()) SWIG_fail
;
29448 arg4
= (double) SWIG_AsDouble(obj3
);
29449 if (PyErr_Occurred()) SWIG_fail
;
29451 arg5
= (int) SWIG_AsInt(obj4
);
29452 if (PyErr_Occurred()) SWIG_fail
;
29455 arg6
= (int) SWIG_AsInt(obj5
);
29456 if (PyErr_Occurred()) SWIG_fail
;
29459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29460 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29462 wxPyEndAllowThreads(__tstate
);
29463 if (PyErr_Occurred()) SWIG_fail
;
29465 Py_INCREF(Py_None
); resultobj
= Py_None
;
29472 static PyObject
*_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29473 PyObject
*resultobj
;
29474 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29475 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29478 int arg5
= (int) 0 ;
29479 int arg6
= (int) 0 ;
29480 PyObject
* obj0
= 0 ;
29481 PyObject
* obj1
= 0 ;
29482 PyObject
* obj2
= 0 ;
29483 PyObject
* obj3
= 0 ;
29484 PyObject
* obj4
= 0 ;
29485 PyObject
* obj5
= 0 ;
29486 char *kwnames
[] = {
29487 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29495 arg3
= (double) SWIG_AsDouble(obj2
);
29496 if (PyErr_Occurred()) SWIG_fail
;
29497 arg4
= (double) SWIG_AsDouble(obj3
);
29498 if (PyErr_Occurred()) SWIG_fail
;
29500 arg5
= (int) SWIG_AsInt(obj4
);
29501 if (PyErr_Occurred()) SWIG_fail
;
29504 arg6
= (int) SWIG_AsInt(obj5
);
29505 if (PyErr_Occurred()) SWIG_fail
;
29508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29509 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29511 wxPyEndAllowThreads(__tstate
);
29512 if (PyErr_Occurred()) SWIG_fail
;
29514 Py_INCREF(Py_None
); resultobj
= Py_None
;
29521 static PyObject
*_wrap_PyPolygonShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29522 PyObject
*resultobj
;
29523 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29526 PyObject
* obj0
= 0 ;
29527 PyObject
* obj1
= 0 ;
29528 PyObject
* obj2
= 0 ;
29529 char *kwnames
[] = {
29530 (char *) "self",(char *) "w",(char *) "h", NULL
29533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29536 arg2
= (double) SWIG_AsDouble(obj1
);
29537 if (PyErr_Occurred()) SWIG_fail
;
29538 arg3
= (double) SWIG_AsDouble(obj2
);
29539 if (PyErr_Occurred()) SWIG_fail
;
29541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29542 (arg1
)->base_OnBeginSize(arg2
,arg3
);
29544 wxPyEndAllowThreads(__tstate
);
29545 if (PyErr_Occurred()) SWIG_fail
;
29547 Py_INCREF(Py_None
); resultobj
= Py_None
;
29554 static PyObject
*_wrap_PyPolygonShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29555 PyObject
*resultobj
;
29556 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29559 PyObject
* obj0
= 0 ;
29560 PyObject
* obj1
= 0 ;
29561 PyObject
* obj2
= 0 ;
29562 char *kwnames
[] = {
29563 (char *) "self",(char *) "w",(char *) "h", NULL
29566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29569 arg2
= (double) SWIG_AsDouble(obj1
);
29570 if (PyErr_Occurred()) SWIG_fail
;
29571 arg3
= (double) SWIG_AsDouble(obj2
);
29572 if (PyErr_Occurred()) SWIG_fail
;
29574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29575 (arg1
)->base_OnEndSize(arg2
,arg3
);
29577 wxPyEndAllowThreads(__tstate
);
29578 if (PyErr_Occurred()) SWIG_fail
;
29580 Py_INCREF(Py_None
); resultobj
= Py_None
;
29587 static PyObject
* PyPolygonShape_swigregister(PyObject
*, PyObject
*args
) {
29589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29590 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape
, obj
);
29592 return Py_BuildValue((char *)"");
29594 static PyObject
*_wrap_new_PyTextShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29595 PyObject
*resultobj
;
29596 double arg1
= (double) 0.0 ;
29597 double arg2
= (double) 0.0 ;
29598 wxPyTextShape
*result
;
29599 PyObject
* obj0
= 0 ;
29600 PyObject
* obj1
= 0 ;
29601 char *kwnames
[] = {
29602 (char *) "width",(char *) "height", NULL
29605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyTextShape",kwnames
,&obj0
,&obj1
)) goto fail
;
29607 arg1
= (double) SWIG_AsDouble(obj0
);
29608 if (PyErr_Occurred()) SWIG_fail
;
29611 arg2
= (double) SWIG_AsDouble(obj1
);
29612 if (PyErr_Occurred()) SWIG_fail
;
29615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29616 result
= (wxPyTextShape
*)new wxPyTextShape(arg1
,arg2
);
29618 wxPyEndAllowThreads(__tstate
);
29619 if (PyErr_Occurred()) SWIG_fail
;
29621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextShape
, 1);
29628 static PyObject
*_wrap_PyTextShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29629 PyObject
*resultobj
;
29630 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29631 PyObject
*arg2
= (PyObject
*) 0 ;
29632 PyObject
*arg3
= (PyObject
*) 0 ;
29633 PyObject
* obj0
= 0 ;
29634 PyObject
* obj1
= 0 ;
29635 PyObject
* obj2
= 0 ;
29636 char *kwnames
[] = {
29637 (char *) "self",(char *) "self",(char *) "_class", NULL
29640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29647 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29649 wxPyEndAllowThreads(__tstate
);
29650 if (PyErr_Occurred()) SWIG_fail
;
29652 Py_INCREF(Py_None
); resultobj
= Py_None
;
29659 static PyObject
*_wrap_PyTextShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29660 PyObject
*resultobj
;
29661 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29662 PyObject
* obj0
= 0 ;
29663 char *kwnames
[] = {
29664 (char *) "self", NULL
29667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyTextShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
29668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29672 (arg1
)->base_OnDelete();
29674 wxPyEndAllowThreads(__tstate
);
29675 if (PyErr_Occurred()) SWIG_fail
;
29677 Py_INCREF(Py_None
); resultobj
= Py_None
;
29684 static PyObject
*_wrap_PyTextShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29685 PyObject
*resultobj
;
29686 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29688 PyObject
* obj0
= 0 ;
29689 PyObject
* obj1
= 0 ;
29690 char *kwnames
[] = {
29691 (char *) "self",(char *) "dc", NULL
29694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
29695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29700 if (arg2
== NULL
) {
29701 PyErr_SetString(PyExc_TypeError
,"null reference");
29705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29706 (arg1
)->base_OnDraw(*arg2
);
29708 wxPyEndAllowThreads(__tstate
);
29709 if (PyErr_Occurred()) SWIG_fail
;
29711 Py_INCREF(Py_None
); resultobj
= Py_None
;
29718 static PyObject
*_wrap_PyTextShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29719 PyObject
*resultobj
;
29720 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29722 PyObject
* obj0
= 0 ;
29723 PyObject
* obj1
= 0 ;
29724 char *kwnames
[] = {
29725 (char *) "self",(char *) "dc", NULL
29728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
29729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29732 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29734 if (arg2
== NULL
) {
29735 PyErr_SetString(PyExc_TypeError
,"null reference");
29739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29740 (arg1
)->base_OnDrawContents(*arg2
);
29742 wxPyEndAllowThreads(__tstate
);
29743 if (PyErr_Occurred()) SWIG_fail
;
29745 Py_INCREF(Py_None
); resultobj
= Py_None
;
29752 static PyObject
*_wrap_PyTextShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29753 PyObject
*resultobj
;
29754 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29756 bool arg3
= (bool) FALSE
;
29757 PyObject
* obj0
= 0 ;
29758 PyObject
* obj1
= 0 ;
29759 PyObject
* obj2
= 0 ;
29760 char *kwnames
[] = {
29761 (char *) "self",(char *) "dc",(char *) "erase", NULL
29764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29768 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29770 if (arg2
== NULL
) {
29771 PyErr_SetString(PyExc_TypeError
,"null reference");
29775 arg3
= (bool) SWIG_AsBool(obj2
);
29776 if (PyErr_Occurred()) SWIG_fail
;
29779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29780 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
29782 wxPyEndAllowThreads(__tstate
);
29783 if (PyErr_Occurred()) SWIG_fail
;
29785 Py_INCREF(Py_None
); resultobj
= Py_None
;
29792 static PyObject
*_wrap_PyTextShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29793 PyObject
*resultobj
;
29794 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29796 PyObject
* obj0
= 0 ;
29797 PyObject
* obj1
= 0 ;
29798 char *kwnames
[] = {
29799 (char *) "self",(char *) "dc", NULL
29802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
29803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29806 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29808 if (arg2
== NULL
) {
29809 PyErr_SetString(PyExc_TypeError
,"null reference");
29813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29814 (arg1
)->base_OnMoveLinks(*arg2
);
29816 wxPyEndAllowThreads(__tstate
);
29817 if (PyErr_Occurred()) SWIG_fail
;
29819 Py_INCREF(Py_None
); resultobj
= Py_None
;
29826 static PyObject
*_wrap_PyTextShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29827 PyObject
*resultobj
;
29828 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29830 PyObject
* obj0
= 0 ;
29831 PyObject
* obj1
= 0 ;
29832 char *kwnames
[] = {
29833 (char *) "self",(char *) "dc", NULL
29836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
29837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29840 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29842 if (arg2
== NULL
) {
29843 PyErr_SetString(PyExc_TypeError
,"null reference");
29847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29848 (arg1
)->base_OnErase(*arg2
);
29850 wxPyEndAllowThreads(__tstate
);
29851 if (PyErr_Occurred()) SWIG_fail
;
29853 Py_INCREF(Py_None
); resultobj
= Py_None
;
29860 static PyObject
*_wrap_PyTextShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29861 PyObject
*resultobj
;
29862 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29864 PyObject
* obj0
= 0 ;
29865 PyObject
* obj1
= 0 ;
29866 char *kwnames
[] = {
29867 (char *) "self",(char *) "dc", NULL
29870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
29871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29874 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29876 if (arg2
== NULL
) {
29877 PyErr_SetString(PyExc_TypeError
,"null reference");
29881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29882 (arg1
)->base_OnEraseContents(*arg2
);
29884 wxPyEndAllowThreads(__tstate
);
29885 if (PyErr_Occurred()) SWIG_fail
;
29887 Py_INCREF(Py_None
); resultobj
= Py_None
;
29894 static PyObject
*_wrap_PyTextShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29895 PyObject
*resultobj
;
29896 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29898 PyObject
* obj0
= 0 ;
29899 PyObject
* obj1
= 0 ;
29900 char *kwnames
[] = {
29901 (char *) "self",(char *) "dc", NULL
29904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
29905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29908 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29910 if (arg2
== NULL
) {
29911 PyErr_SetString(PyExc_TypeError
,"null reference");
29915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29916 (arg1
)->base_OnHighlight(*arg2
);
29918 wxPyEndAllowThreads(__tstate
);
29919 if (PyErr_Occurred()) SWIG_fail
;
29921 Py_INCREF(Py_None
); resultobj
= Py_None
;
29928 static PyObject
*_wrap_PyTextShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29929 PyObject
*resultobj
;
29930 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29933 int arg4
= (int) 0 ;
29934 int arg5
= (int) 0 ;
29935 PyObject
* obj0
= 0 ;
29936 PyObject
* obj1
= 0 ;
29937 PyObject
* obj2
= 0 ;
29938 PyObject
* obj3
= 0 ;
29939 PyObject
* obj4
= 0 ;
29940 char *kwnames
[] = {
29941 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29947 arg2
= (double) SWIG_AsDouble(obj1
);
29948 if (PyErr_Occurred()) SWIG_fail
;
29949 arg3
= (double) SWIG_AsDouble(obj2
);
29950 if (PyErr_Occurred()) SWIG_fail
;
29952 arg4
= (int) SWIG_AsInt(obj3
);
29953 if (PyErr_Occurred()) SWIG_fail
;
29956 arg5
= (int) SWIG_AsInt(obj4
);
29957 if (PyErr_Occurred()) SWIG_fail
;
29960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29961 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
29963 wxPyEndAllowThreads(__tstate
);
29964 if (PyErr_Occurred()) SWIG_fail
;
29966 Py_INCREF(Py_None
); resultobj
= Py_None
;
29973 static PyObject
*_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29974 PyObject
*resultobj
;
29975 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29978 int arg4
= (int) 0 ;
29979 int arg5
= (int) 0 ;
29980 PyObject
* obj0
= 0 ;
29981 PyObject
* obj1
= 0 ;
29982 PyObject
* obj2
= 0 ;
29983 PyObject
* obj3
= 0 ;
29984 PyObject
* obj4
= 0 ;
29985 char *kwnames
[] = {
29986 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29992 arg2
= (double) SWIG_AsDouble(obj1
);
29993 if (PyErr_Occurred()) SWIG_fail
;
29994 arg3
= (double) SWIG_AsDouble(obj2
);
29995 if (PyErr_Occurred()) SWIG_fail
;
29997 arg4
= (int) SWIG_AsInt(obj3
);
29998 if (PyErr_Occurred()) SWIG_fail
;
30001 arg5
= (int) SWIG_AsInt(obj4
);
30002 if (PyErr_Occurred()) SWIG_fail
;
30005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30006 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
30008 wxPyEndAllowThreads(__tstate
);
30009 if (PyErr_Occurred()) SWIG_fail
;
30011 Py_INCREF(Py_None
); resultobj
= Py_None
;
30018 static PyObject
*_wrap_PyTextShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30019 PyObject
*resultobj
;
30020 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30023 int arg4
= (int) 0 ;
30024 int arg5
= (int) 0 ;
30025 PyObject
* obj0
= 0 ;
30026 PyObject
* obj1
= 0 ;
30027 PyObject
* obj2
= 0 ;
30028 PyObject
* obj3
= 0 ;
30029 PyObject
* obj4
= 0 ;
30030 char *kwnames
[] = {
30031 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30037 arg2
= (double) SWIG_AsDouble(obj1
);
30038 if (PyErr_Occurred()) SWIG_fail
;
30039 arg3
= (double) SWIG_AsDouble(obj2
);
30040 if (PyErr_Occurred()) SWIG_fail
;
30042 arg4
= (int) SWIG_AsInt(obj3
);
30043 if (PyErr_Occurred()) SWIG_fail
;
30046 arg5
= (int) SWIG_AsInt(obj4
);
30047 if (PyErr_Occurred()) SWIG_fail
;
30050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30051 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
30053 wxPyEndAllowThreads(__tstate
);
30054 if (PyErr_Occurred()) SWIG_fail
;
30056 Py_INCREF(Py_None
); resultobj
= Py_None
;
30063 static PyObject
*_wrap_PyTextShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30064 PyObject
*resultobj
;
30065 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30068 PyObject
* obj0
= 0 ;
30069 PyObject
* obj1
= 0 ;
30070 PyObject
* obj2
= 0 ;
30071 char *kwnames
[] = {
30072 (char *) "self",(char *) "x",(char *) "y", NULL
30075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30078 arg2
= (double) SWIG_AsDouble(obj1
);
30079 if (PyErr_Occurred()) SWIG_fail
;
30080 arg3
= (double) SWIG_AsDouble(obj2
);
30081 if (PyErr_Occurred()) SWIG_fail
;
30083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30084 (arg1
)->base_OnSize(arg2
,arg3
);
30086 wxPyEndAllowThreads(__tstate
);
30087 if (PyErr_Occurred()) SWIG_fail
;
30089 Py_INCREF(Py_None
); resultobj
= Py_None
;
30096 static PyObject
*_wrap_PyTextShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30097 PyObject
*resultobj
;
30098 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30104 bool arg7
= (bool) True
;
30106 PyObject
* obj0
= 0 ;
30107 PyObject
* obj1
= 0 ;
30108 PyObject
* obj2
= 0 ;
30109 PyObject
* obj3
= 0 ;
30110 PyObject
* obj4
= 0 ;
30111 PyObject
* obj5
= 0 ;
30112 PyObject
* obj6
= 0 ;
30113 char *kwnames
[] = {
30114 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyTextShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30121 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30123 if (arg2
== NULL
) {
30124 PyErr_SetString(PyExc_TypeError
,"null reference");
30127 arg3
= (double) SWIG_AsDouble(obj2
);
30128 if (PyErr_Occurred()) SWIG_fail
;
30129 arg4
= (double) SWIG_AsDouble(obj3
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30131 arg5
= (double) SWIG_AsDouble(obj4
);
30132 if (PyErr_Occurred()) SWIG_fail
;
30133 arg6
= (double) SWIG_AsDouble(obj5
);
30134 if (PyErr_Occurred()) SWIG_fail
;
30136 arg7
= (bool) SWIG_AsBool(obj6
);
30137 if (PyErr_Occurred()) SWIG_fail
;
30140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30141 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30143 wxPyEndAllowThreads(__tstate
);
30144 if (PyErr_Occurred()) SWIG_fail
;
30147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30155 static PyObject
*_wrap_PyTextShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30156 PyObject
*resultobj
;
30157 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30163 bool arg7
= (bool) True
;
30164 PyObject
* obj0
= 0 ;
30165 PyObject
* obj1
= 0 ;
30166 PyObject
* obj2
= 0 ;
30167 PyObject
* obj3
= 0 ;
30168 PyObject
* obj4
= 0 ;
30169 PyObject
* obj5
= 0 ;
30170 PyObject
* obj6
= 0 ;
30171 char *kwnames
[] = {
30172 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyTextShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30179 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30181 if (arg2
== NULL
) {
30182 PyErr_SetString(PyExc_TypeError
,"null reference");
30185 arg3
= (double) SWIG_AsDouble(obj2
);
30186 if (PyErr_Occurred()) SWIG_fail
;
30187 arg4
= (double) SWIG_AsDouble(obj3
);
30188 if (PyErr_Occurred()) SWIG_fail
;
30189 arg5
= (double) SWIG_AsDouble(obj4
);
30190 if (PyErr_Occurred()) SWIG_fail
;
30191 arg6
= (double) SWIG_AsDouble(obj5
);
30192 if (PyErr_Occurred()) SWIG_fail
;
30194 arg7
= (bool) SWIG_AsBool(obj6
);
30195 if (PyErr_Occurred()) SWIG_fail
;
30198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30199 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30201 wxPyEndAllowThreads(__tstate
);
30202 if (PyErr_Occurred()) SWIG_fail
;
30204 Py_INCREF(Py_None
); resultobj
= Py_None
;
30211 static PyObject
*_wrap_PyTextShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30212 PyObject
*resultobj
;
30213 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30217 int arg5
= (int) 0 ;
30218 int arg6
= (int) 0 ;
30219 PyObject
* obj0
= 0 ;
30220 PyObject
* obj1
= 0 ;
30221 PyObject
* obj2
= 0 ;
30222 PyObject
* obj3
= 0 ;
30223 PyObject
* obj4
= 0 ;
30224 PyObject
* obj5
= 0 ;
30225 char *kwnames
[] = {
30226 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30232 arg2
= (bool) SWIG_AsBool(obj1
);
30233 if (PyErr_Occurred()) SWIG_fail
;
30234 arg3
= (double) SWIG_AsDouble(obj2
);
30235 if (PyErr_Occurred()) SWIG_fail
;
30236 arg4
= (double) SWIG_AsDouble(obj3
);
30237 if (PyErr_Occurred()) SWIG_fail
;
30239 arg5
= (int) SWIG_AsInt(obj4
);
30240 if (PyErr_Occurred()) SWIG_fail
;
30243 arg6
= (int) SWIG_AsInt(obj5
);
30244 if (PyErr_Occurred()) SWIG_fail
;
30247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30248 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30250 wxPyEndAllowThreads(__tstate
);
30251 if (PyErr_Occurred()) SWIG_fail
;
30253 Py_INCREF(Py_None
); resultobj
= Py_None
;
30260 static PyObject
*_wrap_PyTextShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30261 PyObject
*resultobj
;
30262 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30265 int arg4
= (int) 0 ;
30266 int arg5
= (int) 0 ;
30267 PyObject
* obj0
= 0 ;
30268 PyObject
* obj1
= 0 ;
30269 PyObject
* obj2
= 0 ;
30270 PyObject
* obj3
= 0 ;
30271 PyObject
* obj4
= 0 ;
30272 char *kwnames
[] = {
30273 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30279 arg2
= (double) SWIG_AsDouble(obj1
);
30280 if (PyErr_Occurred()) SWIG_fail
;
30281 arg3
= (double) SWIG_AsDouble(obj2
);
30282 if (PyErr_Occurred()) SWIG_fail
;
30284 arg4
= (int) SWIG_AsInt(obj3
);
30285 if (PyErr_Occurred()) SWIG_fail
;
30288 arg5
= (int) SWIG_AsInt(obj4
);
30289 if (PyErr_Occurred()) SWIG_fail
;
30292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30293 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
30295 wxPyEndAllowThreads(__tstate
);
30296 if (PyErr_Occurred()) SWIG_fail
;
30298 Py_INCREF(Py_None
); resultobj
= Py_None
;
30305 static PyObject
*_wrap_PyTextShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30306 PyObject
*resultobj
;
30307 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30310 int arg4
= (int) 0 ;
30311 int arg5
= (int) 0 ;
30312 PyObject
* obj0
= 0 ;
30313 PyObject
* obj1
= 0 ;
30314 PyObject
* obj2
= 0 ;
30315 PyObject
* obj3
= 0 ;
30316 PyObject
* obj4
= 0 ;
30317 char *kwnames
[] = {
30318 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30324 arg2
= (double) SWIG_AsDouble(obj1
);
30325 if (PyErr_Occurred()) SWIG_fail
;
30326 arg3
= (double) SWIG_AsDouble(obj2
);
30327 if (PyErr_Occurred()) SWIG_fail
;
30329 arg4
= (int) SWIG_AsInt(obj3
);
30330 if (PyErr_Occurred()) SWIG_fail
;
30333 arg5
= (int) SWIG_AsInt(obj4
);
30334 if (PyErr_Occurred()) SWIG_fail
;
30337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30338 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
30340 wxPyEndAllowThreads(__tstate
);
30341 if (PyErr_Occurred()) SWIG_fail
;
30343 Py_INCREF(Py_None
); resultobj
= Py_None
;
30350 static PyObject
*_wrap_PyTextShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30351 PyObject
*resultobj
;
30352 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30356 int arg5
= (int) 0 ;
30357 int arg6
= (int) 0 ;
30358 PyObject
* obj0
= 0 ;
30359 PyObject
* obj1
= 0 ;
30360 PyObject
* obj2
= 0 ;
30361 PyObject
* obj3
= 0 ;
30362 PyObject
* obj4
= 0 ;
30363 PyObject
* obj5
= 0 ;
30364 char *kwnames
[] = {
30365 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30371 arg2
= (bool) SWIG_AsBool(obj1
);
30372 if (PyErr_Occurred()) SWIG_fail
;
30373 arg3
= (double) SWIG_AsDouble(obj2
);
30374 if (PyErr_Occurred()) SWIG_fail
;
30375 arg4
= (double) SWIG_AsDouble(obj3
);
30376 if (PyErr_Occurred()) SWIG_fail
;
30378 arg5
= (int) SWIG_AsInt(obj4
);
30379 if (PyErr_Occurred()) SWIG_fail
;
30382 arg6
= (int) SWIG_AsInt(obj5
);
30383 if (PyErr_Occurred()) SWIG_fail
;
30386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30387 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
30389 wxPyEndAllowThreads(__tstate
);
30390 if (PyErr_Occurred()) SWIG_fail
;
30392 Py_INCREF(Py_None
); resultobj
= Py_None
;
30399 static PyObject
*_wrap_PyTextShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30400 PyObject
*resultobj
;
30401 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30404 int arg4
= (int) 0 ;
30405 int arg5
= (int) 0 ;
30406 PyObject
* obj0
= 0 ;
30407 PyObject
* obj1
= 0 ;
30408 PyObject
* obj2
= 0 ;
30409 PyObject
* obj3
= 0 ;
30410 PyObject
* obj4
= 0 ;
30411 char *kwnames
[] = {
30412 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30418 arg2
= (double) SWIG_AsDouble(obj1
);
30419 if (PyErr_Occurred()) SWIG_fail
;
30420 arg3
= (double) SWIG_AsDouble(obj2
);
30421 if (PyErr_Occurred()) SWIG_fail
;
30423 arg4
= (int) SWIG_AsInt(obj3
);
30424 if (PyErr_Occurred()) SWIG_fail
;
30427 arg5
= (int) SWIG_AsInt(obj4
);
30428 if (PyErr_Occurred()) SWIG_fail
;
30431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30432 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
30434 wxPyEndAllowThreads(__tstate
);
30435 if (PyErr_Occurred()) SWIG_fail
;
30437 Py_INCREF(Py_None
); resultobj
= Py_None
;
30444 static PyObject
*_wrap_PyTextShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30445 PyObject
*resultobj
;
30446 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30449 int arg4
= (int) 0 ;
30450 int arg5
= (int) 0 ;
30451 PyObject
* obj0
= 0 ;
30452 PyObject
* obj1
= 0 ;
30453 PyObject
* obj2
= 0 ;
30454 PyObject
* obj3
= 0 ;
30455 PyObject
* obj4
= 0 ;
30456 char *kwnames
[] = {
30457 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30463 arg2
= (double) SWIG_AsDouble(obj1
);
30464 if (PyErr_Occurred()) SWIG_fail
;
30465 arg3
= (double) SWIG_AsDouble(obj2
);
30466 if (PyErr_Occurred()) SWIG_fail
;
30468 arg4
= (int) SWIG_AsInt(obj3
);
30469 if (PyErr_Occurred()) SWIG_fail
;
30472 arg5
= (int) SWIG_AsInt(obj4
);
30473 if (PyErr_Occurred()) SWIG_fail
;
30476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30477 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
30479 wxPyEndAllowThreads(__tstate
);
30480 if (PyErr_Occurred()) SWIG_fail
;
30482 Py_INCREF(Py_None
); resultobj
= Py_None
;
30489 static PyObject
*_wrap_PyTextShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30490 PyObject
*resultobj
;
30491 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30497 PyObject
* obj0
= 0 ;
30498 PyObject
* obj1
= 0 ;
30499 PyObject
* obj2
= 0 ;
30500 PyObject
* obj3
= 0 ;
30501 PyObject
* obj4
= 0 ;
30502 PyObject
* obj5
= 0 ;
30503 char *kwnames
[] = {
30504 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyTextShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30511 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30513 if (arg2
== NULL
) {
30514 PyErr_SetString(PyExc_TypeError
,"null reference");
30517 arg3
= (double) SWIG_AsDouble(obj2
);
30518 if (PyErr_Occurred()) SWIG_fail
;
30519 arg4
= (double) SWIG_AsDouble(obj3
);
30520 if (PyErr_Occurred()) SWIG_fail
;
30521 arg5
= (double) SWIG_AsDouble(obj4
);
30522 if (PyErr_Occurred()) SWIG_fail
;
30523 arg6
= (double) SWIG_AsDouble(obj5
);
30524 if (PyErr_Occurred()) SWIG_fail
;
30526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30527 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
30529 wxPyEndAllowThreads(__tstate
);
30530 if (PyErr_Occurred()) SWIG_fail
;
30532 Py_INCREF(Py_None
); resultobj
= Py_None
;
30539 static PyObject
*_wrap_PyTextShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30540 PyObject
*resultobj
;
30541 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30543 PyObject
* obj0
= 0 ;
30544 PyObject
* obj1
= 0 ;
30545 char *kwnames
[] = {
30546 (char *) "self",(char *) "dc", NULL
30549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
30550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30553 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30555 if (arg2
== NULL
) {
30556 PyErr_SetString(PyExc_TypeError
,"null reference");
30560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30561 (arg1
)->base_OnDrawControlPoints(*arg2
);
30563 wxPyEndAllowThreads(__tstate
);
30564 if (PyErr_Occurred()) SWIG_fail
;
30566 Py_INCREF(Py_None
); resultobj
= Py_None
;
30573 static PyObject
*_wrap_PyTextShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30574 PyObject
*resultobj
;
30575 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30577 PyObject
* obj0
= 0 ;
30578 PyObject
* obj1
= 0 ;
30579 char *kwnames
[] = {
30580 (char *) "self",(char *) "dc", NULL
30583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
30584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30587 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30589 if (arg2
== NULL
) {
30590 PyErr_SetString(PyExc_TypeError
,"null reference");
30594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30595 (arg1
)->base_OnEraseControlPoints(*arg2
);
30597 wxPyEndAllowThreads(__tstate
);
30598 if (PyErr_Occurred()) SWIG_fail
;
30600 Py_INCREF(Py_None
); resultobj
= Py_None
;
30607 static PyObject
*_wrap_PyTextShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30608 PyObject
*resultobj
;
30609 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30611 bool arg3
= (bool) True
;
30612 PyObject
* obj0
= 0 ;
30613 PyObject
* obj1
= 0 ;
30614 PyObject
* obj2
= 0 ;
30615 char *kwnames
[] = {
30616 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
30619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30625 if (arg2
== NULL
) {
30626 PyErr_SetString(PyExc_TypeError
,"null reference");
30630 arg3
= (bool) SWIG_AsBool(obj2
);
30631 if (PyErr_Occurred()) SWIG_fail
;
30634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30635 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
30637 wxPyEndAllowThreads(__tstate
);
30638 if (PyErr_Occurred()) SWIG_fail
;
30640 Py_INCREF(Py_None
); resultobj
= Py_None
;
30647 static PyObject
*_wrap_PyTextShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30648 PyObject
*resultobj
;
30649 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30650 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30654 int arg6
= (int) 0 ;
30655 int arg7
= (int) 0 ;
30656 PyObject
* obj0
= 0 ;
30657 PyObject
* obj1
= 0 ;
30658 PyObject
* obj2
= 0 ;
30659 PyObject
* obj3
= 0 ;
30660 PyObject
* obj4
= 0 ;
30661 PyObject
* obj5
= 0 ;
30662 PyObject
* obj6
= 0 ;
30663 char *kwnames
[] = {
30664 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyTextShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30672 arg3
= (bool) SWIG_AsBool(obj2
);
30673 if (PyErr_Occurred()) SWIG_fail
;
30674 arg4
= (double) SWIG_AsDouble(obj3
);
30675 if (PyErr_Occurred()) SWIG_fail
;
30676 arg5
= (double) SWIG_AsDouble(obj4
);
30677 if (PyErr_Occurred()) SWIG_fail
;
30679 arg6
= (int) SWIG_AsInt(obj5
);
30680 if (PyErr_Occurred()) SWIG_fail
;
30683 arg7
= (int) SWIG_AsInt(obj6
);
30684 if (PyErr_Occurred()) SWIG_fail
;
30687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30688 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30690 wxPyEndAllowThreads(__tstate
);
30691 if (PyErr_Occurred()) SWIG_fail
;
30693 Py_INCREF(Py_None
); resultobj
= Py_None
;
30700 static PyObject
*_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30701 PyObject
*resultobj
;
30702 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30703 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30706 int arg5
= (int) 0 ;
30707 int arg6
= (int) 0 ;
30708 PyObject
* obj0
= 0 ;
30709 PyObject
* obj1
= 0 ;
30710 PyObject
* obj2
= 0 ;
30711 PyObject
* obj3
= 0 ;
30712 PyObject
* obj4
= 0 ;
30713 PyObject
* obj5
= 0 ;
30714 char *kwnames
[] = {
30715 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30723 arg3
= (double) SWIG_AsDouble(obj2
);
30724 if (PyErr_Occurred()) SWIG_fail
;
30725 arg4
= (double) SWIG_AsDouble(obj3
);
30726 if (PyErr_Occurred()) SWIG_fail
;
30728 arg5
= (int) SWIG_AsInt(obj4
);
30729 if (PyErr_Occurred()) SWIG_fail
;
30732 arg6
= (int) SWIG_AsInt(obj5
);
30733 if (PyErr_Occurred()) SWIG_fail
;
30736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30737 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30739 wxPyEndAllowThreads(__tstate
);
30740 if (PyErr_Occurred()) SWIG_fail
;
30742 Py_INCREF(Py_None
); resultobj
= Py_None
;
30749 static PyObject
*_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30750 PyObject
*resultobj
;
30751 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30752 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30755 int arg5
= (int) 0 ;
30756 int arg6
= (int) 0 ;
30757 PyObject
* obj0
= 0 ;
30758 PyObject
* obj1
= 0 ;
30759 PyObject
* obj2
= 0 ;
30760 PyObject
* obj3
= 0 ;
30761 PyObject
* obj4
= 0 ;
30762 PyObject
* obj5
= 0 ;
30763 char *kwnames
[] = {
30764 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30772 arg3
= (double) SWIG_AsDouble(obj2
);
30773 if (PyErr_Occurred()) SWIG_fail
;
30774 arg4
= (double) SWIG_AsDouble(obj3
);
30775 if (PyErr_Occurred()) SWIG_fail
;
30777 arg5
= (int) SWIG_AsInt(obj4
);
30778 if (PyErr_Occurred()) SWIG_fail
;
30781 arg6
= (int) SWIG_AsInt(obj5
);
30782 if (PyErr_Occurred()) SWIG_fail
;
30785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30786 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30788 wxPyEndAllowThreads(__tstate
);
30789 if (PyErr_Occurred()) SWIG_fail
;
30791 Py_INCREF(Py_None
); resultobj
= Py_None
;
30798 static PyObject
*_wrap_PyTextShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30799 PyObject
*resultobj
;
30800 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30803 PyObject
* obj0
= 0 ;
30804 PyObject
* obj1
= 0 ;
30805 PyObject
* obj2
= 0 ;
30806 char *kwnames
[] = {
30807 (char *) "self",(char *) "w",(char *) "h", NULL
30810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30813 arg2
= (double) SWIG_AsDouble(obj1
);
30814 if (PyErr_Occurred()) SWIG_fail
;
30815 arg3
= (double) SWIG_AsDouble(obj2
);
30816 if (PyErr_Occurred()) SWIG_fail
;
30818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30819 (arg1
)->base_OnBeginSize(arg2
,arg3
);
30821 wxPyEndAllowThreads(__tstate
);
30822 if (PyErr_Occurred()) SWIG_fail
;
30824 Py_INCREF(Py_None
); resultobj
= Py_None
;
30831 static PyObject
*_wrap_PyTextShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30832 PyObject
*resultobj
;
30833 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30836 PyObject
* obj0
= 0 ;
30837 PyObject
* obj1
= 0 ;
30838 PyObject
* obj2
= 0 ;
30839 char *kwnames
[] = {
30840 (char *) "self",(char *) "w",(char *) "h", NULL
30843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30846 arg2
= (double) SWIG_AsDouble(obj1
);
30847 if (PyErr_Occurred()) SWIG_fail
;
30848 arg3
= (double) SWIG_AsDouble(obj2
);
30849 if (PyErr_Occurred()) SWIG_fail
;
30851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30852 (arg1
)->base_OnEndSize(arg2
,arg3
);
30854 wxPyEndAllowThreads(__tstate
);
30855 if (PyErr_Occurred()) SWIG_fail
;
30857 Py_INCREF(Py_None
); resultobj
= Py_None
;
30864 static PyObject
* PyTextShape_swigregister(PyObject
*, PyObject
*args
) {
30866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30867 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape
, obj
);
30869 return Py_BuildValue((char *)"");
30871 static PyObject
*_wrap_new_Diagram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30872 PyObject
*resultobj
;
30874 char *kwnames
[] = {
30878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Diagram",kwnames
)) goto fail
;
30880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30881 result
= (wxDiagram
*)new wxDiagram();
30883 wxPyEndAllowThreads(__tstate
);
30884 if (PyErr_Occurred()) SWIG_fail
;
30887 resultobj
= wxPyMake_wxObject(result
);
30895 static PyObject
*_wrap_Diagram_AddShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30896 PyObject
*resultobj
;
30897 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30898 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
30899 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
30900 PyObject
* obj0
= 0 ;
30901 PyObject
* obj1
= 0 ;
30902 PyObject
* obj2
= 0 ;
30903 char *kwnames
[] = {
30904 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
30907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Diagram_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
30909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
30911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30913 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
30914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30918 (arg1
)->AddShape(arg2
,arg3
);
30920 wxPyEndAllowThreads(__tstate
);
30921 if (PyErr_Occurred()) SWIG_fail
;
30923 Py_INCREF(Py_None
); resultobj
= Py_None
;
30930 static PyObject
*_wrap_Diagram_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30931 PyObject
*resultobj
;
30932 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30934 PyObject
* obj0
= 0 ;
30935 PyObject
* obj1
= 0 ;
30936 char *kwnames
[] = {
30937 (char *) "self",(char *) "dc", NULL
30940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
30941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
30942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30946 if (arg2
== NULL
) {
30947 PyErr_SetString(PyExc_TypeError
,"null reference");
30951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30952 (arg1
)->Clear(*arg2
);
30954 wxPyEndAllowThreads(__tstate
);
30955 if (PyErr_Occurred()) SWIG_fail
;
30957 Py_INCREF(Py_None
); resultobj
= Py_None
;
30964 static PyObject
*_wrap_Diagram_DeleteAllShapes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30965 PyObject
*resultobj
;
30966 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30967 PyObject
* obj0
= 0 ;
30968 char *kwnames
[] = {
30969 (char *) "self", NULL
30972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_DeleteAllShapes",kwnames
,&obj0
)) goto fail
;
30973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
30974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30977 (arg1
)->DeleteAllShapes();
30979 wxPyEndAllowThreads(__tstate
);
30980 if (PyErr_Occurred()) SWIG_fail
;
30982 Py_INCREF(Py_None
); resultobj
= Py_None
;
30989 static PyObject
*_wrap_Diagram_DrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30990 PyObject
*resultobj
;
30991 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30997 PyObject
* obj0
= 0 ;
30998 PyObject
* obj1
= 0 ;
30999 PyObject
* obj2
= 0 ;
31000 PyObject
* obj3
= 0 ;
31001 PyObject
* obj4
= 0 ;
31002 PyObject
* obj5
= 0 ;
31003 char *kwnames
[] = {
31004 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Diagram_DrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31011 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31013 if (arg2
== NULL
) {
31014 PyErr_SetString(PyExc_TypeError
,"null reference");
31017 arg3
= (double) SWIG_AsDouble(obj2
);
31018 if (PyErr_Occurred()) SWIG_fail
;
31019 arg4
= (double) SWIG_AsDouble(obj3
);
31020 if (PyErr_Occurred()) SWIG_fail
;
31021 arg5
= (double) SWIG_AsDouble(obj4
);
31022 if (PyErr_Occurred()) SWIG_fail
;
31023 arg6
= (double) SWIG_AsDouble(obj5
);
31024 if (PyErr_Occurred()) SWIG_fail
;
31026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31027 (arg1
)->DrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
31029 wxPyEndAllowThreads(__tstate
);
31030 if (PyErr_Occurred()) SWIG_fail
;
31032 Py_INCREF(Py_None
); resultobj
= Py_None
;
31039 static PyObject
*_wrap_Diagram_FindShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31040 PyObject
*resultobj
;
31041 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31044 PyObject
* obj0
= 0 ;
31045 PyObject
* obj1
= 0 ;
31046 char *kwnames
[] = {
31047 (char *) "self",(char *) "id", NULL
31050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_FindShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31053 arg2
= (long) SWIG_AsLong(obj1
);
31054 if (PyErr_Occurred()) SWIG_fail
;
31056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31057 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
);
31059 wxPyEndAllowThreads(__tstate
);
31060 if (PyErr_Occurred()) SWIG_fail
;
31063 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
31071 static PyObject
*_wrap_Diagram_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31072 PyObject
*resultobj
;
31073 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31074 wxPyShapeCanvas
*result
;
31075 PyObject
* obj0
= 0 ;
31076 char *kwnames
[] = {
31077 (char *) "self", NULL
31080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCanvas",kwnames
,&obj0
)) goto fail
;
31081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31085 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
31087 wxPyEndAllowThreads(__tstate
);
31088 if (PyErr_Occurred()) SWIG_fail
;
31091 resultobj
= wxPyMake_wxObject(result
);
31099 static PyObject
*_wrap_Diagram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31100 PyObject
*resultobj
;
31101 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31103 PyObject
* obj0
= 0 ;
31104 char *kwnames
[] = {
31105 (char *) "self", NULL
31108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCount",kwnames
,&obj0
)) goto fail
;
31109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31113 result
= (int)(arg1
)->GetCount();
31115 wxPyEndAllowThreads(__tstate
);
31116 if (PyErr_Occurred()) SWIG_fail
;
31118 resultobj
= SWIG_FromInt((int)result
);
31125 static PyObject
*_wrap_Diagram_GetGridSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31126 PyObject
*resultobj
;
31127 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31129 PyObject
* obj0
= 0 ;
31130 char *kwnames
[] = {
31131 (char *) "self", NULL
31134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetGridSpacing",kwnames
,&obj0
)) goto fail
;
31135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31139 result
= (double)(arg1
)->GetGridSpacing();
31141 wxPyEndAllowThreads(__tstate
);
31142 if (PyErr_Occurred()) SWIG_fail
;
31144 resultobj
= SWIG_FromDouble((double)result
);
31151 static PyObject
*_wrap_Diagram_GetMouseTolerance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31152 PyObject
*resultobj
;
31153 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31155 PyObject
* obj0
= 0 ;
31156 char *kwnames
[] = {
31157 (char *) "self", NULL
31160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetMouseTolerance",kwnames
,&obj0
)) goto fail
;
31161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31165 result
= (int)(arg1
)->GetMouseTolerance();
31167 wxPyEndAllowThreads(__tstate
);
31168 if (PyErr_Occurred()) SWIG_fail
;
31170 resultobj
= SWIG_FromInt((int)result
);
31177 static PyObject
*_wrap_Diagram_GetShapeList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31178 PyObject
*resultobj
;
31179 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31181 PyObject
* obj0
= 0 ;
31182 char *kwnames
[] = {
31183 (char *) "self", NULL
31186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetShapeList",kwnames
,&obj0
)) goto fail
;
31187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31191 result
= (PyObject
*)wxDiagram_GetShapeList(arg1
);
31193 wxPyEndAllowThreads(__tstate
);
31194 if (PyErr_Occurred()) SWIG_fail
;
31196 resultobj
= result
;
31203 static PyObject
*_wrap_Diagram_GetQuickEditMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31204 PyObject
*resultobj
;
31205 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31207 PyObject
* obj0
= 0 ;
31208 char *kwnames
[] = {
31209 (char *) "self", NULL
31212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
31213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31217 result
= (bool)(arg1
)->GetQuickEditMode();
31219 wxPyEndAllowThreads(__tstate
);
31220 if (PyErr_Occurred()) SWIG_fail
;
31223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31231 static PyObject
*_wrap_Diagram_GetSnapToGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31232 PyObject
*resultobj
;
31233 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31235 PyObject
* obj0
= 0 ;
31236 char *kwnames
[] = {
31237 (char *) "self", NULL
31240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetSnapToGrid",kwnames
,&obj0
)) goto fail
;
31241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31245 result
= (bool)(arg1
)->GetSnapToGrid();
31247 wxPyEndAllowThreads(__tstate
);
31248 if (PyErr_Occurred()) SWIG_fail
;
31251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31259 static PyObject
*_wrap_Diagram_InsertShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31260 PyObject
*resultobj
;
31261 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31262 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31263 PyObject
* obj0
= 0 ;
31264 PyObject
* obj1
= 0 ;
31265 char *kwnames
[] = {
31266 (char *) "self",(char *) "shape", NULL
31269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31276 (arg1
)->InsertShape(arg2
);
31278 wxPyEndAllowThreads(__tstate
);
31279 if (PyErr_Occurred()) SWIG_fail
;
31281 Py_INCREF(Py_None
); resultobj
= Py_None
;
31288 static PyObject
*_wrap_Diagram_RecentreAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31289 PyObject
*resultobj
;
31290 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31292 PyObject
* obj0
= 0 ;
31293 PyObject
* obj1
= 0 ;
31294 char *kwnames
[] = {
31295 (char *) "self",(char *) "dc", NULL
31298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RecentreAll",kwnames
,&obj0
,&obj1
)) goto fail
;
31299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31301 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31302 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31304 if (arg2
== NULL
) {
31305 PyErr_SetString(PyExc_TypeError
,"null reference");
31309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31310 (arg1
)->RecentreAll(*arg2
);
31312 wxPyEndAllowThreads(__tstate
);
31313 if (PyErr_Occurred()) SWIG_fail
;
31315 Py_INCREF(Py_None
); resultobj
= Py_None
;
31322 static PyObject
*_wrap_Diagram_Redraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31323 PyObject
*resultobj
;
31324 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31326 PyObject
* obj0
= 0 ;
31327 PyObject
* obj1
= 0 ;
31328 char *kwnames
[] = {
31329 (char *) "self",(char *) "dc", NULL
31332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
31333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31336 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31338 if (arg2
== NULL
) {
31339 PyErr_SetString(PyExc_TypeError
,"null reference");
31343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31344 (arg1
)->Redraw(*arg2
);
31346 wxPyEndAllowThreads(__tstate
);
31347 if (PyErr_Occurred()) SWIG_fail
;
31349 Py_INCREF(Py_None
); resultobj
= Py_None
;
31356 static PyObject
*_wrap_Diagram_RemoveAllShapes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31357 PyObject
*resultobj
;
31358 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31359 PyObject
* obj0
= 0 ;
31360 char *kwnames
[] = {
31361 (char *) "self", NULL
31364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_RemoveAllShapes",kwnames
,&obj0
)) goto fail
;
31365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31369 (arg1
)->RemoveAllShapes();
31371 wxPyEndAllowThreads(__tstate
);
31372 if (PyErr_Occurred()) SWIG_fail
;
31374 Py_INCREF(Py_None
); resultobj
= Py_None
;
31381 static PyObject
*_wrap_Diagram_RemoveShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31382 PyObject
*resultobj
;
31383 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31384 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31385 PyObject
* obj0
= 0 ;
31386 PyObject
* obj1
= 0 ;
31387 char *kwnames
[] = {
31388 (char *) "self",(char *) "shape", NULL
31391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31398 (arg1
)->RemoveShape(arg2
);
31400 wxPyEndAllowThreads(__tstate
);
31401 if (PyErr_Occurred()) SWIG_fail
;
31403 Py_INCREF(Py_None
); resultobj
= Py_None
;
31410 static PyObject
*_wrap_Diagram_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31411 PyObject
*resultobj
;
31412 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31413 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
31414 PyObject
* obj0
= 0 ;
31415 PyObject
* obj1
= 0 ;
31416 char *kwnames
[] = {
31417 (char *) "self",(char *) "canvas", NULL
31420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
31421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
31424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31427 (arg1
)->SetCanvas(arg2
);
31429 wxPyEndAllowThreads(__tstate
);
31430 if (PyErr_Occurred()) SWIG_fail
;
31432 Py_INCREF(Py_None
); resultobj
= Py_None
;
31439 static PyObject
*_wrap_Diagram_SetGridSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31440 PyObject
*resultobj
;
31441 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31443 PyObject
* obj0
= 0 ;
31444 PyObject
* obj1
= 0 ;
31445 char *kwnames
[] = {
31446 (char *) "self",(char *) "spacing", NULL
31449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetGridSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
31450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31452 arg2
= (double) SWIG_AsDouble(obj1
);
31453 if (PyErr_Occurred()) SWIG_fail
;
31455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31456 (arg1
)->SetGridSpacing(arg2
);
31458 wxPyEndAllowThreads(__tstate
);
31459 if (PyErr_Occurred()) SWIG_fail
;
31461 Py_INCREF(Py_None
); resultobj
= Py_None
;
31468 static PyObject
*_wrap_Diagram_SetMouseTolerance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31469 PyObject
*resultobj
;
31470 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31472 PyObject
* obj0
= 0 ;
31473 PyObject
* obj1
= 0 ;
31474 char *kwnames
[] = {
31475 (char *) "self",(char *) "tolerance", NULL
31478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetMouseTolerance",kwnames
,&obj0
,&obj1
)) goto fail
;
31479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31481 arg2
= (int) SWIG_AsInt(obj1
);
31482 if (PyErr_Occurred()) SWIG_fail
;
31484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31485 (arg1
)->SetMouseTolerance(arg2
);
31487 wxPyEndAllowThreads(__tstate
);
31488 if (PyErr_Occurred()) SWIG_fail
;
31490 Py_INCREF(Py_None
); resultobj
= Py_None
;
31497 static PyObject
*_wrap_Diagram_SetQuickEditMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31498 PyObject
*resultobj
;
31499 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31501 PyObject
* obj0
= 0 ;
31502 PyObject
* obj1
= 0 ;
31503 char *kwnames
[] = {
31504 (char *) "self",(char *) "mode", NULL
31507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetQuickEditMode",kwnames
,&obj0
,&obj1
)) goto fail
;
31508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31510 arg2
= (bool) SWIG_AsBool(obj1
);
31511 if (PyErr_Occurred()) SWIG_fail
;
31513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31514 (arg1
)->SetQuickEditMode(arg2
);
31516 wxPyEndAllowThreads(__tstate
);
31517 if (PyErr_Occurred()) SWIG_fail
;
31519 Py_INCREF(Py_None
); resultobj
= Py_None
;
31526 static PyObject
*_wrap_Diagram_SetSnapToGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31527 PyObject
*resultobj
;
31528 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31530 PyObject
* obj0
= 0 ;
31531 PyObject
* obj1
= 0 ;
31532 char *kwnames
[] = {
31533 (char *) "self",(char *) "snap", NULL
31536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetSnapToGrid",kwnames
,&obj0
,&obj1
)) goto fail
;
31537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31539 arg2
= (bool) SWIG_AsBool(obj1
);
31540 if (PyErr_Occurred()) SWIG_fail
;
31542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31543 (arg1
)->SetSnapToGrid(arg2
);
31545 wxPyEndAllowThreads(__tstate
);
31546 if (PyErr_Occurred()) SWIG_fail
;
31548 Py_INCREF(Py_None
); resultobj
= Py_None
;
31555 static PyObject
*_wrap_Diagram_ShowAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31556 PyObject
*resultobj
;
31557 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31559 PyObject
* obj0
= 0 ;
31560 PyObject
* obj1
= 0 ;
31561 char *kwnames
[] = {
31562 (char *) "self",(char *) "show", NULL
31565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_ShowAll",kwnames
,&obj0
,&obj1
)) goto fail
;
31566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31568 arg2
= (bool) SWIG_AsBool(obj1
);
31569 if (PyErr_Occurred()) SWIG_fail
;
31571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31572 (arg1
)->ShowAll(arg2
);
31574 wxPyEndAllowThreads(__tstate
);
31575 if (PyErr_Occurred()) SWIG_fail
;
31577 Py_INCREF(Py_None
); resultobj
= Py_None
;
31584 static PyObject
*_wrap_Diagram_Snap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31585 PyObject
*resultobj
;
31586 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31587 double *arg2
= (double *) 0 ;
31588 double *arg3
= (double *) 0 ;
31591 PyObject
* obj0
= 0 ;
31592 PyObject
* obj1
= 0 ;
31593 PyObject
* obj2
= 0 ;
31594 char *kwnames
[] = {
31595 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
31598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Diagram_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31602 temp2
= PyFloat_AsDouble(obj1
);
31603 if (PyErr_Occurred()) SWIG_fail
;
31607 temp3
= PyFloat_AsDouble(obj2
);
31608 if (PyErr_Occurred()) SWIG_fail
;
31612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31613 (arg1
)->Snap(arg2
,arg3
);
31615 wxPyEndAllowThreads(__tstate
);
31616 if (PyErr_Occurred()) SWIG_fail
;
31618 Py_INCREF(Py_None
); resultobj
= Py_None
;
31620 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
31621 resultobj
= t_output_helper(resultobj
,o
);
31624 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
31625 resultobj
= t_output_helper(resultobj
,o
);
31633 static PyObject
* Diagram_swigregister(PyObject
*, PyObject
*args
) {
31635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31636 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram
, obj
);
31638 return Py_BuildValue((char *)"");
31640 static PyObject
*_wrap_new_PyShapeCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31641 PyObject
*resultobj
;
31642 wxWindow
*arg1
= (wxWindow
*) NULL
;
31643 int arg2
= (int) -1 ;
31644 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31645 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31646 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31647 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31648 long arg5
= (long) wxBORDER
;
31649 wxString
const &arg6_defvalue
= wxPyShapeCanvasNameStr
;
31650 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
31651 wxPyShapeCanvas
*result
;
31654 bool temp6
= False
;
31655 PyObject
* obj0
= 0 ;
31656 PyObject
* obj1
= 0 ;
31657 PyObject
* obj2
= 0 ;
31658 PyObject
* obj3
= 0 ;
31659 PyObject
* obj4
= 0 ;
31660 PyObject
* obj5
= 0 ;
31661 char *kwnames
[] = {
31662 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_PyShapeCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
31668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31671 arg2
= (int) SWIG_AsInt(obj1
);
31672 if (PyErr_Occurred()) SWIG_fail
;
31677 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31683 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31687 arg5
= (long) SWIG_AsLong(obj4
);
31688 if (PyErr_Occurred()) SWIG_fail
;
31692 arg6
= wxString_in_helper(obj5
);
31693 if (arg6
== NULL
) SWIG_fail
;
31698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31699 result
= (wxPyShapeCanvas
*)new wxPyShapeCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
31701 wxPyEndAllowThreads(__tstate
);
31702 if (PyErr_Occurred()) SWIG_fail
;
31705 resultobj
= wxPyMake_wxObject(result
);
31721 static PyObject
*_wrap_PyShapeCanvas__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31722 PyObject
*resultobj
;
31723 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31724 PyObject
*arg2
= (PyObject
*) 0 ;
31725 PyObject
*arg3
= (PyObject
*) 0 ;
31726 PyObject
* obj0
= 0 ;
31727 PyObject
* obj1
= 0 ;
31728 PyObject
* obj2
= 0 ;
31729 char *kwnames
[] = {
31730 (char *) "self",(char *) "self",(char *) "_class", NULL
31733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31740 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31742 wxPyEndAllowThreads(__tstate
);
31743 if (PyErr_Occurred()) SWIG_fail
;
31745 Py_INCREF(Py_None
); resultobj
= Py_None
;
31752 static PyObject
*_wrap_PyShapeCanvas_AddShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31753 PyObject
*resultobj
;
31754 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31755 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31756 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
31757 PyObject
* obj0
= 0 ;
31758 PyObject
* obj1
= 0 ;
31759 PyObject
* obj2
= 0 ;
31760 char *kwnames
[] = {
31761 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
31764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31770 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
31771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31775 (arg1
)->AddShape(arg2
,arg3
);
31777 wxPyEndAllowThreads(__tstate
);
31778 if (PyErr_Occurred()) SWIG_fail
;
31780 Py_INCREF(Py_None
); resultobj
= Py_None
;
31787 static PyObject
*_wrap_PyShapeCanvas_FindShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31788 PyObject
*resultobj
;
31789 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31792 int *arg4
= (int *) 0 ;
31793 wxClassInfo
*arg5
= (wxClassInfo
*) NULL
;
31794 wxPyShape
*arg6
= (wxPyShape
*) NULL
;
31797 PyObject
* obj0
= 0 ;
31798 PyObject
* obj1
= 0 ;
31799 PyObject
* obj2
= 0 ;
31800 PyObject
* obj3
= 0 ;
31801 PyObject
* obj4
= 0 ;
31802 char *kwnames
[] = {
31803 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
31807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeCanvas_FindShape",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31810 arg2
= (double) SWIG_AsDouble(obj1
);
31811 if (PyErr_Occurred()) SWIG_fail
;
31812 arg3
= (double) SWIG_AsDouble(obj2
);
31813 if (PyErr_Occurred()) SWIG_fail
;
31815 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxClassInfo
,
31816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31819 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg6
),SWIGTYPE_p_wxPyShape
,
31820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31824 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
,arg3
,arg4
,arg5
,arg6
);
31826 wxPyEndAllowThreads(__tstate
);
31827 if (PyErr_Occurred()) SWIG_fail
;
31830 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
31833 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
31834 resultobj
= t_output_helper(resultobj
,o
);
31842 static PyObject
*_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31843 PyObject
*resultobj
;
31844 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31847 int *arg4
= (int *) 0 ;
31851 PyObject
* obj0
= 0 ;
31852 PyObject
* obj1
= 0 ;
31853 PyObject
* obj2
= 0 ;
31854 PyObject
* obj3
= 0 ;
31855 char *kwnames
[] = {
31856 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
31860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShapeCanvas_FindFirstSensitiveShape",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31863 arg2
= (double) SWIG_AsDouble(obj1
);
31864 if (PyErr_Occurred()) SWIG_fail
;
31865 arg3
= (double) SWIG_AsDouble(obj2
);
31866 if (PyErr_Occurred()) SWIG_fail
;
31867 arg5
= (int) SWIG_AsInt(obj3
);
31868 if (PyErr_Occurred()) SWIG_fail
;
31870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31871 result
= (wxPyShape
*)(arg1
)->FindFirstSensitiveShape(arg2
,arg3
,arg4
,arg5
);
31873 wxPyEndAllowThreads(__tstate
);
31874 if (PyErr_Occurred()) SWIG_fail
;
31877 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
31880 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
31881 resultobj
= t_output_helper(resultobj
,o
);
31889 static PyObject
*_wrap_PyShapeCanvas_GetDiagram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31890 PyObject
*resultobj
;
31891 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31893 PyObject
* obj0
= 0 ;
31894 char *kwnames
[] = {
31895 (char *) "self", NULL
31898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetDiagram",kwnames
,&obj0
)) goto fail
;
31899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31903 result
= (wxDiagram
*)(arg1
)->GetDiagram();
31905 wxPyEndAllowThreads(__tstate
);
31906 if (PyErr_Occurred()) SWIG_fail
;
31909 resultobj
= wxPyMake_wxObject(result
);
31917 static PyObject
*_wrap_PyShapeCanvas_GetQuickEditMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31918 PyObject
*resultobj
;
31919 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31921 PyObject
* obj0
= 0 ;
31922 char *kwnames
[] = {
31923 (char *) "self", NULL
31926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
31927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31931 result
= (bool)(arg1
)->GetQuickEditMode();
31933 wxPyEndAllowThreads(__tstate
);
31934 if (PyErr_Occurred()) SWIG_fail
;
31937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31945 static PyObject
*_wrap_PyShapeCanvas_InsertShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31946 PyObject
*resultobj
;
31947 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31948 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31949 PyObject
* obj0
= 0 ;
31950 PyObject
* obj1
= 0 ;
31951 char *kwnames
[] = {
31952 (char *) "self",(char *) "shape", NULL
31955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31962 (arg1
)->InsertShape(arg2
);
31964 wxPyEndAllowThreads(__tstate
);
31965 if (PyErr_Occurred()) SWIG_fail
;
31967 Py_INCREF(Py_None
); resultobj
= Py_None
;
31974 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31975 PyObject
*resultobj
;
31976 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31979 int arg4
= (int) 0 ;
31980 PyObject
* obj0
= 0 ;
31981 PyObject
* obj1
= 0 ;
31982 PyObject
* obj2
= 0 ;
31983 PyObject
* obj3
= 0 ;
31984 char *kwnames
[] = {
31985 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
31988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31991 arg2
= (double) SWIG_AsDouble(obj1
);
31992 if (PyErr_Occurred()) SWIG_fail
;
31993 arg3
= (double) SWIG_AsDouble(obj2
);
31994 if (PyErr_Occurred()) SWIG_fail
;
31996 arg4
= (int) SWIG_AsInt(obj3
);
31997 if (PyErr_Occurred()) SWIG_fail
;
32000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32001 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
);
32003 wxPyEndAllowThreads(__tstate
);
32004 if (PyErr_Occurred()) SWIG_fail
;
32006 Py_INCREF(Py_None
); resultobj
= Py_None
;
32013 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32014 PyObject
*resultobj
;
32015 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32018 int arg4
= (int) 0 ;
32019 PyObject
* obj0
= 0 ;
32020 PyObject
* obj1
= 0 ;
32021 PyObject
* obj2
= 0 ;
32022 PyObject
* obj3
= 0 ;
32023 char *kwnames
[] = {
32024 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32030 arg2
= (double) SWIG_AsDouble(obj1
);
32031 if (PyErr_Occurred()) SWIG_fail
;
32032 arg3
= (double) SWIG_AsDouble(obj2
);
32033 if (PyErr_Occurred()) SWIG_fail
;
32035 arg4
= (int) SWIG_AsInt(obj3
);
32036 if (PyErr_Occurred()) SWIG_fail
;
32039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32040 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
);
32042 wxPyEndAllowThreads(__tstate
);
32043 if (PyErr_Occurred()) SWIG_fail
;
32045 Py_INCREF(Py_None
); resultobj
= Py_None
;
32052 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32053 PyObject
*resultobj
;
32054 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32057 int arg4
= (int) 0 ;
32058 PyObject
* obj0
= 0 ;
32059 PyObject
* obj1
= 0 ;
32060 PyObject
* obj2
= 0 ;
32061 PyObject
* obj3
= 0 ;
32062 char *kwnames
[] = {
32063 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32069 arg2
= (double) SWIG_AsDouble(obj1
);
32070 if (PyErr_Occurred()) SWIG_fail
;
32071 arg3
= (double) SWIG_AsDouble(obj2
);
32072 if (PyErr_Occurred()) SWIG_fail
;
32074 arg4
= (int) SWIG_AsInt(obj3
);
32075 if (PyErr_Occurred()) SWIG_fail
;
32078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32079 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
);
32081 wxPyEndAllowThreads(__tstate
);
32082 if (PyErr_Occurred()) SWIG_fail
;
32084 Py_INCREF(Py_None
); resultobj
= Py_None
;
32091 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32092 PyObject
*resultobj
;
32093 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32096 int arg4
= (int) 0 ;
32097 PyObject
* obj0
= 0 ;
32098 PyObject
* obj1
= 0 ;
32099 PyObject
* obj2
= 0 ;
32100 PyObject
* obj3
= 0 ;
32101 char *kwnames
[] = {
32102 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32108 arg2
= (double) SWIG_AsDouble(obj1
);
32109 if (PyErr_Occurred()) SWIG_fail
;
32110 arg3
= (double) SWIG_AsDouble(obj2
);
32111 if (PyErr_Occurred()) SWIG_fail
;
32113 arg4
= (int) SWIG_AsInt(obj3
);
32114 if (PyErr_Occurred()) SWIG_fail
;
32117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32118 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
);
32120 wxPyEndAllowThreads(__tstate
);
32121 if (PyErr_Occurred()) SWIG_fail
;
32123 Py_INCREF(Py_None
); resultobj
= Py_None
;
32130 static PyObject
*_wrap_PyShapeCanvas_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32131 PyObject
*resultobj
;
32132 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32136 int arg5
= (int) 0 ;
32137 PyObject
* obj0
= 0 ;
32138 PyObject
* obj1
= 0 ;
32139 PyObject
* obj2
= 0 ;
32140 PyObject
* obj3
= 0 ;
32141 PyObject
* obj4
= 0 ;
32142 char *kwnames
[] = {
32143 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShapeCanvas_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32149 arg2
= (bool) SWIG_AsBool(obj1
);
32150 if (PyErr_Occurred()) SWIG_fail
;
32151 arg3
= (double) SWIG_AsDouble(obj2
);
32152 if (PyErr_Occurred()) SWIG_fail
;
32153 arg4
= (double) SWIG_AsDouble(obj3
);
32154 if (PyErr_Occurred()) SWIG_fail
;
32156 arg5
= (int) SWIG_AsInt(obj4
);
32157 if (PyErr_Occurred()) SWIG_fail
;
32160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32161 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
);
32163 wxPyEndAllowThreads(__tstate
);
32164 if (PyErr_Occurred()) SWIG_fail
;
32166 Py_INCREF(Py_None
); resultobj
= Py_None
;
32173 static PyObject
*_wrap_PyShapeCanvas_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32174 PyObject
*resultobj
;
32175 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32179 int arg5
= (int) 0 ;
32180 PyObject
* obj0
= 0 ;
32181 PyObject
* obj1
= 0 ;
32182 PyObject
* obj2
= 0 ;
32183 PyObject
* obj3
= 0 ;
32184 PyObject
* obj4
= 0 ;
32185 char *kwnames
[] = {
32186 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShapeCanvas_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32192 arg2
= (bool) SWIG_AsBool(obj1
);
32193 if (PyErr_Occurred()) SWIG_fail
;
32194 arg3
= (double) SWIG_AsDouble(obj2
);
32195 if (PyErr_Occurred()) SWIG_fail
;
32196 arg4
= (double) SWIG_AsDouble(obj3
);
32197 if (PyErr_Occurred()) SWIG_fail
;
32199 arg5
= (int) SWIG_AsInt(obj4
);
32200 if (PyErr_Occurred()) SWIG_fail
;
32203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32204 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
);
32206 wxPyEndAllowThreads(__tstate
);
32207 if (PyErr_Occurred()) SWIG_fail
;
32209 Py_INCREF(Py_None
); resultobj
= Py_None
;
32216 static PyObject
*_wrap_PyShapeCanvas_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32217 PyObject
*resultobj
;
32218 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32221 int arg4
= (int) 0 ;
32222 PyObject
* obj0
= 0 ;
32223 PyObject
* obj1
= 0 ;
32224 PyObject
* obj2
= 0 ;
32225 PyObject
* obj3
= 0 ;
32226 char *kwnames
[] = {
32227 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32233 arg2
= (double) SWIG_AsDouble(obj1
);
32234 if (PyErr_Occurred()) SWIG_fail
;
32235 arg3
= (double) SWIG_AsDouble(obj2
);
32236 if (PyErr_Occurred()) SWIG_fail
;
32238 arg4
= (int) SWIG_AsInt(obj3
);
32239 if (PyErr_Occurred()) SWIG_fail
;
32242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32243 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
);
32245 wxPyEndAllowThreads(__tstate
);
32246 if (PyErr_Occurred()) SWIG_fail
;
32248 Py_INCREF(Py_None
); resultobj
= Py_None
;
32255 static PyObject
*_wrap_PyShapeCanvas_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32256 PyObject
*resultobj
;
32257 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32260 int arg4
= (int) 0 ;
32261 PyObject
* obj0
= 0 ;
32262 PyObject
* obj1
= 0 ;
32263 PyObject
* obj2
= 0 ;
32264 PyObject
* obj3
= 0 ;
32265 char *kwnames
[] = {
32266 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32272 arg2
= (double) SWIG_AsDouble(obj1
);
32273 if (PyErr_Occurred()) SWIG_fail
;
32274 arg3
= (double) SWIG_AsDouble(obj2
);
32275 if (PyErr_Occurred()) SWIG_fail
;
32277 arg4
= (int) SWIG_AsInt(obj3
);
32278 if (PyErr_Occurred()) SWIG_fail
;
32281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32282 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
);
32284 wxPyEndAllowThreads(__tstate
);
32285 if (PyErr_Occurred()) SWIG_fail
;
32287 Py_INCREF(Py_None
); resultobj
= Py_None
;
32294 static PyObject
*_wrap_PyShapeCanvas_Redraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32295 PyObject
*resultobj
;
32296 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32298 PyObject
* obj0
= 0 ;
32299 PyObject
* obj1
= 0 ;
32300 char *kwnames
[] = {
32301 (char *) "self",(char *) "dc", NULL
32304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
32305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
32308 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32310 if (arg2
== NULL
) {
32311 PyErr_SetString(PyExc_TypeError
,"null reference");
32315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32316 (arg1
)->Redraw(*arg2
);
32318 wxPyEndAllowThreads(__tstate
);
32319 if (PyErr_Occurred()) SWIG_fail
;
32321 Py_INCREF(Py_None
); resultobj
= Py_None
;
32328 static PyObject
*_wrap_PyShapeCanvas_RemoveShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32329 PyObject
*resultobj
;
32330 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32331 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
32332 PyObject
* obj0
= 0 ;
32333 PyObject
* obj1
= 0 ;
32334 char *kwnames
[] = {
32335 (char *) "self",(char *) "shape", NULL
32338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
32339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
32342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32345 (arg1
)->RemoveShape(arg2
);
32347 wxPyEndAllowThreads(__tstate
);
32348 if (PyErr_Occurred()) SWIG_fail
;
32350 Py_INCREF(Py_None
); resultobj
= Py_None
;
32357 static PyObject
*_wrap_PyShapeCanvas_SetDiagram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32358 PyObject
*resultobj
;
32359 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32360 wxDiagram
*arg2
= (wxDiagram
*) 0 ;
32361 PyObject
* obj0
= 0 ;
32362 PyObject
* obj1
= 0 ;
32363 char *kwnames
[] = {
32364 (char *) "self",(char *) "diagram", NULL
32367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames
,&obj0
,&obj1
)) goto fail
;
32368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDiagram
,
32371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32374 (arg1
)->SetDiagram(arg2
);
32376 wxPyEndAllowThreads(__tstate
);
32377 if (PyErr_Occurred()) SWIG_fail
;
32379 Py_INCREF(Py_None
); resultobj
= Py_None
;
32386 static PyObject
*_wrap_PyShapeCanvas_Snap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32387 PyObject
*resultobj
;
32388 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32389 double *arg2
= (double *) 0 ;
32390 double *arg3
= (double *) 0 ;
32393 PyObject
* obj0
= 0 ;
32394 PyObject
* obj1
= 0 ;
32395 PyObject
* obj2
= 0 ;
32396 char *kwnames
[] = {
32397 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
32400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32404 temp2
= PyFloat_AsDouble(obj1
);
32405 if (PyErr_Occurred()) SWIG_fail
;
32409 temp3
= PyFloat_AsDouble(obj2
);
32410 if (PyErr_Occurred()) SWIG_fail
;
32414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32415 (arg1
)->Snap(arg2
,arg3
);
32417 wxPyEndAllowThreads(__tstate
);
32418 if (PyErr_Occurred()) SWIG_fail
;
32420 Py_INCREF(Py_None
); resultobj
= Py_None
;
32422 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
32423 resultobj
= t_output_helper(resultobj
,o
);
32426 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
32427 resultobj
= t_output_helper(resultobj
,o
);
32435 static PyObject
* PyShapeCanvas_swigregister(PyObject
*, PyObject
*args
) {
32437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32438 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas
, obj
);
32440 return Py_BuildValue((char *)"");
32442 static PyObject
*_wrap_OGLInitialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32443 PyObject
*resultobj
;
32444 char *kwnames
[] = {
32448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLInitialize",kwnames
)) goto fail
;
32450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32453 wxPyEndAllowThreads(__tstate
);
32454 if (PyErr_Occurred()) SWIG_fail
;
32456 Py_INCREF(Py_None
); resultobj
= Py_None
;
32463 static PyObject
*_wrap_OGLCleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32464 PyObject
*resultobj
;
32465 char *kwnames
[] = {
32469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLCleanUp",kwnames
)) goto fail
;
32471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32474 wxPyEndAllowThreads(__tstate
);
32475 if (PyErr_Occurred()) SWIG_fail
;
32477 Py_INCREF(Py_None
); resultobj
= Py_None
;
32484 static PyMethodDef SwigMethods
[] = {
32485 { (char *)"new_ShapeRegion", (PyCFunction
) _wrap_new_ShapeRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32486 { (char *)"ShapeRegion_SetText", (PyCFunction
) _wrap_ShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32487 { (char *)"ShapeRegion_SetFont", (PyCFunction
) _wrap_ShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32488 { (char *)"ShapeRegion_SetMinSize", (PyCFunction
) _wrap_ShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32489 { (char *)"ShapeRegion_SetSize", (PyCFunction
) _wrap_ShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32490 { (char *)"ShapeRegion_SetPosition", (PyCFunction
) _wrap_ShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32491 { (char *)"ShapeRegion_SetProportions", (PyCFunction
) _wrap_ShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32492 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction
) _wrap_ShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32493 { (char *)"ShapeRegion_SetName", (PyCFunction
) _wrap_ShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32494 { (char *)"ShapeRegion_SetColour", (PyCFunction
) _wrap_ShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32495 { (char *)"ShapeRegion_GetText", (PyCFunction
) _wrap_ShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32496 { (char *)"ShapeRegion_GetFont", (PyCFunction
) _wrap_ShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32497 { (char *)"ShapeRegion_GetMinSize", (PyCFunction
) _wrap_ShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32498 { (char *)"ShapeRegion_GetProportion", (PyCFunction
) _wrap_ShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32499 { (char *)"ShapeRegion_GetSize", (PyCFunction
) _wrap_ShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32500 { (char *)"ShapeRegion_GetPosition", (PyCFunction
) _wrap_ShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32501 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction
) _wrap_ShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32502 { (char *)"ShapeRegion_GetName", (PyCFunction
) _wrap_ShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32503 { (char *)"ShapeRegion_GetColour", (PyCFunction
) _wrap_ShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32504 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_ShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32505 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction
) _wrap_ShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32506 { (char *)"ShapeRegion_GetPenColour", (PyCFunction
) _wrap_ShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32507 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction
) _wrap_ShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32508 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction
) _wrap_ShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32509 { (char *)"ShapeRegion_SetPenColour", (PyCFunction
) _wrap_ShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32510 { (char *)"ShapeRegion_GetActualPen", (PyCFunction
) _wrap_ShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32511 { (char *)"ShapeRegion_GetWidth", (PyCFunction
) _wrap_ShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32512 { (char *)"ShapeRegion_GetHeight", (PyCFunction
) _wrap_ShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32513 { (char *)"ShapeRegion_ClearText", (PyCFunction
) _wrap_ShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32514 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister
, METH_VARARGS
, NULL
},
32515 { (char *)"new_AttachmentPoint", (PyCFunction
) _wrap_new_AttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32516 { (char *)"AttachmentPoint_m_id_set", (PyCFunction
) _wrap_AttachmentPoint_m_id_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32517 { (char *)"AttachmentPoint_m_id_get", (PyCFunction
) _wrap_AttachmentPoint_m_id_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32518 { (char *)"AttachmentPoint_m_x_set", (PyCFunction
) _wrap_AttachmentPoint_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32519 { (char *)"AttachmentPoint_m_x_get", (PyCFunction
) _wrap_AttachmentPoint_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32520 { (char *)"AttachmentPoint_m_y_set", (PyCFunction
) _wrap_AttachmentPoint_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32521 { (char *)"AttachmentPoint_m_y_get", (PyCFunction
) _wrap_AttachmentPoint_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32522 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister
, METH_VARARGS
, NULL
},
32523 { (char *)"new_PyShapeEvtHandler", (PyCFunction
) _wrap_new_PyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32524 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32525 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32526 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32527 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32528 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32529 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32530 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_PyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32531 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32532 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32533 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32534 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32535 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32536 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32537 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32538 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32539 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32540 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32541 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32542 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32543 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32544 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32545 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32546 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32547 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32548 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32549 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32550 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32551 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32552 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32553 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32554 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32555 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32556 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32557 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32558 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32559 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32560 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister
, METH_VARARGS
, NULL
},
32561 { (char *)"new_PyShape", (PyCFunction
) _wrap_new_PyShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32562 { (char *)"PyShape__setCallbackInfo", (PyCFunction
) _wrap_PyShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32563 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32564 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32565 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction
) _wrap_PyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32566 { (char *)"PyShape_GetCanvas", (PyCFunction
) _wrap_PyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32567 { (char *)"PyShape_SetCanvas", (PyCFunction
) _wrap_PyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32568 { (char *)"PyShape_AddToCanvas", (PyCFunction
) _wrap_PyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32569 { (char *)"PyShape_InsertInCanvas", (PyCFunction
) _wrap_PyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32570 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction
) _wrap_PyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32571 { (char *)"PyShape_GetX", (PyCFunction
) _wrap_PyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32572 { (char *)"PyShape_GetY", (PyCFunction
) _wrap_PyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32573 { (char *)"PyShape_SetX", (PyCFunction
) _wrap_PyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32574 { (char *)"PyShape_SetY", (PyCFunction
) _wrap_PyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32575 { (char *)"PyShape_GetParent", (PyCFunction
) _wrap_PyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32576 { (char *)"PyShape_SetParent", (PyCFunction
) _wrap_PyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32577 { (char *)"PyShape_GetTopAncestor", (PyCFunction
) _wrap_PyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32578 { (char *)"PyShape_GetChildren", (PyCFunction
) _wrap_PyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32579 { (char *)"PyShape_Unlink", (PyCFunction
) _wrap_PyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32580 { (char *)"PyShape_SetDrawHandles", (PyCFunction
) _wrap_PyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32581 { (char *)"PyShape_GetDrawHandles", (PyCFunction
) _wrap_PyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32582 { (char *)"PyShape_MakeControlPoints", (PyCFunction
) _wrap_PyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32583 { (char *)"PyShape_DeleteControlPoints", (PyCFunction
) _wrap_PyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32584 { (char *)"PyShape_ResetControlPoints", (PyCFunction
) _wrap_PyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32585 { (char *)"PyShape_GetEventHandler", (PyCFunction
) _wrap_PyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32586 { (char *)"PyShape_SetEventHandler", (PyCFunction
) _wrap_PyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32587 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32588 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32589 { (char *)"PyShape_Recompute", (PyCFunction
) _wrap_PyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32590 { (char *)"PyShape_CalculateSize", (PyCFunction
) _wrap_PyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32591 { (char *)"PyShape_Select", (PyCFunction
) _wrap_PyShape_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32592 { (char *)"PyShape_SetHighlight", (PyCFunction
) _wrap_PyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32593 { (char *)"PyShape_IsHighlighted", (PyCFunction
) _wrap_PyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32594 { (char *)"PyShape_Selected", (PyCFunction
) _wrap_PyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32595 { (char *)"PyShape_AncestorSelected", (PyCFunction
) _wrap_PyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32596 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction
) _wrap_PyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32597 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction
) _wrap_PyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32598 { (char *)"PyShape_SetDraggable", (PyCFunction
) _wrap_PyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32599 { (char *)"PyShape_SetFixedSize", (PyCFunction
) _wrap_PyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32600 { (char *)"PyShape_GetFixedSize", (PyCFunction
) _wrap_PyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32601 { (char *)"PyShape_GetFixedWidth", (PyCFunction
) _wrap_PyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32602 { (char *)"PyShape_GetFixedHeight", (PyCFunction
) _wrap_PyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32603 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction
) _wrap_PyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32604 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction
) _wrap_PyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32605 { (char *)"PyShape_SetShadowMode", (PyCFunction
) _wrap_PyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32606 { (char *)"PyShape_GetShadowMode", (PyCFunction
) _wrap_PyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32607 { (char *)"PyShape_HitTest", (PyCFunction
) _wrap_PyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32608 { (char *)"PyShape_SetCentreResize", (PyCFunction
) _wrap_PyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32609 { (char *)"PyShape_GetCentreResize", (PyCFunction
) _wrap_PyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32610 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32611 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32612 { (char *)"PyShape_GetLines", (PyCFunction
) _wrap_PyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32613 { (char *)"PyShape_SetDisableLabel", (PyCFunction
) _wrap_PyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32614 { (char *)"PyShape_GetDisableLabel", (PyCFunction
) _wrap_PyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32615 { (char *)"PyShape_SetAttachmentMode", (PyCFunction
) _wrap_PyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32616 { (char *)"PyShape_GetAttachmentMode", (PyCFunction
) _wrap_PyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32617 { (char *)"PyShape_SetId", (PyCFunction
) _wrap_PyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32618 { (char *)"PyShape_GetId", (PyCFunction
) _wrap_PyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32619 { (char *)"PyShape_SetPen", (PyCFunction
) _wrap_PyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32620 { (char *)"PyShape_SetBrush", (PyCFunction
) _wrap_PyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32621 { (char *)"PyShape_Show", (PyCFunction
) _wrap_PyShape_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32622 { (char *)"PyShape_IsShown", (PyCFunction
) _wrap_PyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32623 { (char *)"PyShape_Move", (PyCFunction
) _wrap_PyShape_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32624 { (char *)"PyShape_Erase", (PyCFunction
) _wrap_PyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32625 { (char *)"PyShape_EraseContents", (PyCFunction
) _wrap_PyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32626 { (char *)"PyShape_Draw", (PyCFunction
) _wrap_PyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32627 { (char *)"PyShape_Flash", (PyCFunction
) _wrap_PyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32628 { (char *)"PyShape_MoveLinks", (PyCFunction
) _wrap_PyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32629 { (char *)"PyShape_DrawContents", (PyCFunction
) _wrap_PyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32630 { (char *)"PyShape_SetSize", (PyCFunction
) _wrap_PyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32631 { (char *)"PyShape_SetAttachmentSize", (PyCFunction
) _wrap_PyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32632 { (char *)"PyShape_Attach", (PyCFunction
) _wrap_PyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32633 { (char *)"PyShape_Detach", (PyCFunction
) _wrap_PyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32634 { (char *)"PyShape_Constrain", (PyCFunction
) _wrap_PyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32635 { (char *)"PyShape_AddLine", (PyCFunction
) _wrap_PyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32636 { (char *)"PyShape_GetLinePosition", (PyCFunction
) _wrap_PyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32637 { (char *)"PyShape_AddText", (PyCFunction
) _wrap_PyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32638 { (char *)"PyShape_GetPen", (PyCFunction
) _wrap_PyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32639 { (char *)"PyShape_GetBrush", (PyCFunction
) _wrap_PyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32640 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_PyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32641 { (char *)"PyShape_FormatText", (PyCFunction
) _wrap_PyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32642 { (char *)"PyShape_SetFormatMode", (PyCFunction
) _wrap_PyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32643 { (char *)"PyShape_GetFormatMode", (PyCFunction
) _wrap_PyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32644 { (char *)"PyShape_SetFont", (PyCFunction
) _wrap_PyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32645 { (char *)"PyShape_GetFont", (PyCFunction
) _wrap_PyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32646 { (char *)"PyShape_SetTextColour", (PyCFunction
) _wrap_PyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32647 { (char *)"PyShape_GetTextColour", (PyCFunction
) _wrap_PyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32648 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_PyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32649 { (char *)"PyShape_SetRegionName", (PyCFunction
) _wrap_PyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32650 { (char *)"PyShape_GetRegionName", (PyCFunction
) _wrap_PyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32651 { (char *)"PyShape_GetRegionId", (PyCFunction
) _wrap_PyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32652 { (char *)"PyShape_NameRegions", (PyCFunction
) _wrap_PyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32653 { (char *)"PyShape_GetRegions", (PyCFunction
) _wrap_PyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32654 { (char *)"PyShape_AddRegion", (PyCFunction
) _wrap_PyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32655 { (char *)"PyShape_ClearRegions", (PyCFunction
) _wrap_PyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32656 { (char *)"PyShape_AssignNewIds", (PyCFunction
) _wrap_PyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32657 { (char *)"PyShape_FindRegion", (PyCFunction
) _wrap_PyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32658 { (char *)"PyShape_FindRegionNames", (PyCFunction
) _wrap_PyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32659 { (char *)"PyShape_ClearText", (PyCFunction
) _wrap_PyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32660 { (char *)"PyShape_RemoveLine", (PyCFunction
) _wrap_PyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32661 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction
) _wrap_PyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32662 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_PyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32663 { (char *)"PyShape_AttachmentIsValid", (PyCFunction
) _wrap_PyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32664 { (char *)"PyShape_GetAttachments", (PyCFunction
) _wrap_PyShape_GetAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32665 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_PyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32666 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_PyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32667 { (char *)"PyShape_AttachmentSortTest", (PyCFunction
) _wrap_PyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32668 { (char *)"PyShape_EraseLinks", (PyCFunction
) _wrap_PyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32669 { (char *)"PyShape_DrawLinks", (PyCFunction
) _wrap_PyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32670 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_PyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32671 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_PyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32672 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32673 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32674 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32675 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_PyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32676 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction
) _wrap_PyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32677 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction
) _wrap_PyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32678 { (char *)"PyShape_SetBranchStemLength", (PyCFunction
) _wrap_PyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32679 { (char *)"PyShape_GetBranchStemLength", (PyCFunction
) _wrap_PyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32680 { (char *)"PyShape_SetBranchSpacing", (PyCFunction
) _wrap_PyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32681 { (char *)"PyShape_GetBranchSpacing", (PyCFunction
) _wrap_PyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32682 { (char *)"PyShape_SetBranchStyle", (PyCFunction
) _wrap_PyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32683 { (char *)"PyShape_GetBranchStyle", (PyCFunction
) _wrap_PyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32684 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_PyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32685 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_PyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32686 { (char *)"PyShape_Draggable", (PyCFunction
) _wrap_PyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32687 { (char *)"PyShape_HasDescendant", (PyCFunction
) _wrap_PyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32688 { (char *)"PyShape_CreateNewCopy", (PyCFunction
) _wrap_PyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32689 { (char *)"PyShape_Copy", (PyCFunction
) _wrap_PyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32690 { (char *)"PyShape_CopyWithHandler", (PyCFunction
) _wrap_PyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32691 { (char *)"PyShape_Rotate", (PyCFunction
) _wrap_PyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32692 { (char *)"PyShape_GetRotation", (PyCFunction
) _wrap_PyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32693 { (char *)"PyShape_SetRotation", (PyCFunction
) _wrap_PyShape_SetRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32694 { (char *)"PyShape_ClearAttachments", (PyCFunction
) _wrap_PyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32695 { (char *)"PyShape_Recentre", (PyCFunction
) _wrap_PyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32696 { (char *)"PyShape_ClearPointList", (PyCFunction
) _wrap_PyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32697 { (char *)"PyShape_GetBackgroundPen", (PyCFunction
) _wrap_PyShape_GetBackgroundPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32698 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction
) _wrap_PyShape_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32699 { (char *)"PyShape_base_OnDelete", (PyCFunction
) _wrap_PyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32700 { (char *)"PyShape_base_OnDraw", (PyCFunction
) _wrap_PyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32701 { (char *)"PyShape_base_OnDrawContents", (PyCFunction
) _wrap_PyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32702 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32703 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32704 { (char *)"PyShape_base_OnErase", (PyCFunction
) _wrap_PyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32705 { (char *)"PyShape_base_OnEraseContents", (PyCFunction
) _wrap_PyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32706 { (char *)"PyShape_base_OnHighlight", (PyCFunction
) _wrap_PyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32707 { (char *)"PyShape_base_OnLeftClick", (PyCFunction
) _wrap_PyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32708 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32709 { (char *)"PyShape_base_OnRightClick", (PyCFunction
) _wrap_PyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32710 { (char *)"PyShape_base_OnSize", (PyCFunction
) _wrap_PyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32711 { (char *)"PyShape_base_OnMovePre", (PyCFunction
) _wrap_PyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32712 { (char *)"PyShape_base_OnMovePost", (PyCFunction
) _wrap_PyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32713 { (char *)"PyShape_base_OnDragLeft", (PyCFunction
) _wrap_PyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32714 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32715 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32716 { (char *)"PyShape_base_OnDragRight", (PyCFunction
) _wrap_PyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32717 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32718 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32719 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32720 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32721 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32722 { (char *)"PyShape_base_OnMoveLink", (PyCFunction
) _wrap_PyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32723 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32724 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32725 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32726 { (char *)"PyShape_base_OnBeginSize", (PyCFunction
) _wrap_PyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32727 { (char *)"PyShape_base_OnEndSize", (PyCFunction
) _wrap_PyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32728 { (char *)"PyShape_swigregister", PyShape_swigregister
, METH_VARARGS
, NULL
},
32729 { (char *)"new_PseudoMetaFile", (PyCFunction
) _wrap_new_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32730 { (char *)"delete_PseudoMetaFile", (PyCFunction
) _wrap_delete_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32731 { (char *)"PseudoMetaFile_Draw", (PyCFunction
) _wrap_PseudoMetaFile_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32732 { (char *)"PseudoMetaFile_Clear", (PyCFunction
) _wrap_PseudoMetaFile_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32733 { (char *)"PseudoMetaFile_Copy", (PyCFunction
) _wrap_PseudoMetaFile_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32734 { (char *)"PseudoMetaFile_Scale", (PyCFunction
) _wrap_PseudoMetaFile_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32735 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction
) _wrap_PseudoMetaFile_ScaleTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32736 { (char *)"PseudoMetaFile_Translate", (PyCFunction
) _wrap_PseudoMetaFile_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32737 { (char *)"PseudoMetaFile_Rotate", (PyCFunction
) _wrap_PseudoMetaFile_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32738 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction
) _wrap_PseudoMetaFile_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32739 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction
) _wrap_PseudoMetaFile_GetBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32740 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction
) _wrap_PseudoMetaFile_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32741 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_SetRotateable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32742 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_GetRotateable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32743 { (char *)"PseudoMetaFile_SetSize", (PyCFunction
) _wrap_PseudoMetaFile_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32744 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetFillBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32745 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_GetFillBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32746 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32747 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32748 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32749 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32750 { (char *)"PseudoMetaFile_IsValid", (PyCFunction
) _wrap_PseudoMetaFile_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32751 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction
) _wrap_PseudoMetaFile_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32752 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32753 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32754 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32755 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32756 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32757 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction
) _wrap_PseudoMetaFile_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32758 { (char *)"PseudoMetaFile_DrawText", (PyCFunction
) _wrap_PseudoMetaFile_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32759 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction
) _wrap_PseudoMetaFile_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32760 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction
) _wrap_PseudoMetaFile_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32761 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction
) _wrap_PseudoMetaFile_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32762 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32763 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32764 { (char *)"PseudoMetaFile_SetPen", (PyCFunction
) _wrap_PseudoMetaFile_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32765 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32766 { (char *)"PseudoMetaFile_SetFont", (PyCFunction
) _wrap_PseudoMetaFile_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32767 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction
) _wrap_PseudoMetaFile_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32768 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32769 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32770 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister
, METH_VARARGS
, NULL
},
32771 { (char *)"new_PyRectangleShape", (PyCFunction
) _wrap_new_PyRectangleShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32772 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction
) _wrap_PyRectangleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32773 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32774 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_GetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32775 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction
) _wrap_PyRectangleShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32776 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction
) _wrap_PyRectangleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32777 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32778 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32779 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32780 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction
) _wrap_PyRectangleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32781 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32782 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction
) _wrap_PyRectangleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32783 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32784 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32785 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32786 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32787 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32788 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32789 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32790 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32791 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32792 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32793 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32794 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32795 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32796 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32797 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32798 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32799 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32800 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32801 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32802 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32803 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32804 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister
, METH_VARARGS
, NULL
},
32805 { (char *)"new_PyControlPoint", (PyCFunction
) _wrap_new_PyControlPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32806 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction
) _wrap_PyControlPoint__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32807 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction
) _wrap_PyControlPoint_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32808 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction
) _wrap_PyControlPoint_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32809 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction
) _wrap_PyControlPoint_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32810 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32811 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32812 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32813 { (char *)"PyControlPoint_base_OnErase", (PyCFunction
) _wrap_PyControlPoint_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32814 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32815 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction
) _wrap_PyControlPoint_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32816 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32817 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32818 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction
) _wrap_PyControlPoint_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32819 { (char *)"PyControlPoint_base_OnSize", (PyCFunction
) _wrap_PyControlPoint_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32820 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32821 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32822 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32823 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32824 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32825 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32826 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32827 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32828 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32829 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32830 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32831 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32832 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32833 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32834 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32835 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32836 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction
) _wrap_PyControlPoint_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32837 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister
, METH_VARARGS
, NULL
},
32838 { (char *)"new_PyBitmapShape", (PyCFunction
) _wrap_new_PyBitmapShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32839 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32840 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction
) _wrap_PyBitmapShape_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32841 { (char *)"PyBitmapShape_GetFilename", (PyCFunction
) _wrap_PyBitmapShape_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32842 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction
) _wrap_PyBitmapShape_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32843 { (char *)"PyBitmapShape_SetFilename", (PyCFunction
) _wrap_PyBitmapShape_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32844 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction
) _wrap_PyBitmapShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32845 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction
) _wrap_PyBitmapShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32846 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32847 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32848 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32849 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction
) _wrap_PyBitmapShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32850 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32851 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction
) _wrap_PyBitmapShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32852 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32853 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32854 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32855 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32856 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32857 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32858 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32859 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32860 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32861 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32862 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32863 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32864 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32865 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32866 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32867 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32868 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32869 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32870 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32871 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32872 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32873 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister
, METH_VARARGS
, NULL
},
32874 { (char *)"new_PyDrawnShape", (PyCFunction
) _wrap_new_PyDrawnShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32875 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction
) _wrap_PyDrawnShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32876 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction
) _wrap_PyDrawnShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32877 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction
) _wrap_PyDrawnShape_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32878 { (char *)"PyDrawnShape_DrawArc", (PyCFunction
) _wrap_PyDrawnShape_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32879 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction
) _wrap_PyDrawnShape_DrawAtAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32880 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction
) _wrap_PyDrawnShape_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32881 { (char *)"PyDrawnShape_DrawLine", (PyCFunction
) _wrap_PyDrawnShape_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32882 { (char *)"PyDrawnShape_DrawLines", (PyCFunction
) _wrap_PyDrawnShape_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32883 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction
) _wrap_PyDrawnShape_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32884 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction
) _wrap_PyDrawnShape_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32885 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32886 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32887 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction
) _wrap_PyDrawnShape_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32888 { (char *)"PyDrawnShape_DrawText", (PyCFunction
) _wrap_PyDrawnShape_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32889 { (char *)"PyDrawnShape_GetAngle", (PyCFunction
) _wrap_PyDrawnShape_GetAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32890 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction
) _wrap_PyDrawnShape_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32891 { (char *)"PyDrawnShape_GetRotation", (PyCFunction
) _wrap_PyDrawnShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32892 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction
) _wrap_PyDrawnShape_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32893 { (char *)"PyDrawnShape_Rotate", (PyCFunction
) _wrap_PyDrawnShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32894 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction
) _wrap_PyDrawnShape_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32895 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32896 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32897 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32898 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32899 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32900 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32901 { (char *)"PyDrawnShape_Scale", (PyCFunction
) _wrap_PyDrawnShape_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32902 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction
) _wrap_PyDrawnShape_SetSaveToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32903 { (char *)"PyDrawnShape_Translate", (PyCFunction
) _wrap_PyDrawnShape_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32904 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction
) _wrap_PyDrawnShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32905 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction
) _wrap_PyDrawnShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32906 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32907 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32908 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32909 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction
) _wrap_PyDrawnShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32910 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32911 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction
) _wrap_PyDrawnShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32912 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32913 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32914 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32915 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32916 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32917 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32918 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32919 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32920 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32921 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32922 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32923 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32924 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32925 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32926 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32927 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32928 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32929 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32930 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32931 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32932 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32933 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister
, METH_VARARGS
, NULL
},
32934 { (char *)"new_OGLConstraint", (PyCFunction
) _wrap_new_OGLConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32935 { (char *)"OGLConstraint_Evaluate", (PyCFunction
) _wrap_OGLConstraint_Evaluate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32936 { (char *)"OGLConstraint_SetSpacing", (PyCFunction
) _wrap_OGLConstraint_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32937 { (char *)"OGLConstraint_Equals", (PyCFunction
) _wrap_OGLConstraint_Equals
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32938 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister
, METH_VARARGS
, NULL
},
32939 { (char *)"new_PyCompositeShape", (PyCFunction
) _wrap_new_PyCompositeShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32940 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction
) _wrap_PyCompositeShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32941 { (char *)"PyCompositeShape_AddChild", (PyCFunction
) _wrap_PyCompositeShape_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32942 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32943 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction
) _wrap_PyCompositeShape_AddConstrainedShapes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32944 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddSimpleConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32945 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction
) _wrap_PyCompositeShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32946 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction
) _wrap_PyCompositeShape_ContainsDivision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32947 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32948 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32949 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction
) _wrap_PyCompositeShape_FindContainerImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32950 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction
) _wrap_PyCompositeShape_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32951 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction
) _wrap_PyCompositeShape_GetDivisions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32952 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction
) _wrap_PyCompositeShape_MakeContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32953 { (char *)"PyCompositeShape_Recompute", (PyCFunction
) _wrap_PyCompositeShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32954 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction
) _wrap_PyCompositeShape_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32955 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction
) _wrap_PyCompositeShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32956 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction
) _wrap_PyCompositeShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32957 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32958 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32959 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32960 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction
) _wrap_PyCompositeShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32961 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32962 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction
) _wrap_PyCompositeShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32963 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32964 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32965 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32966 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32967 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32968 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32969 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32970 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32971 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32972 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32973 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32974 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32975 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32976 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32977 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32978 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32979 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32980 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32981 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32982 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32983 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32984 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister
, METH_VARARGS
, NULL
},
32985 { (char *)"new_PyDividedShape", (PyCFunction
) _wrap_new_PyDividedShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32986 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction
) _wrap_PyDividedShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32987 { (char *)"PyDividedShape_EditRegions", (PyCFunction
) _wrap_PyDividedShape_EditRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32988 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction
) _wrap_PyDividedShape_SetRegionSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32989 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction
) _wrap_PyDividedShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32990 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction
) _wrap_PyDividedShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32991 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32992 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32993 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32994 { (char *)"PyDividedShape_base_OnErase", (PyCFunction
) _wrap_PyDividedShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32995 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32996 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction
) _wrap_PyDividedShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32997 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32998 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32999 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction
) _wrap_PyDividedShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33000 { (char *)"PyDividedShape_base_OnSize", (PyCFunction
) _wrap_PyDividedShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33001 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33002 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33003 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33004 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33005 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33006 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33007 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33008 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33009 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33010 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33011 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33012 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33013 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33014 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33015 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33016 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33017 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction
) _wrap_PyDividedShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33018 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister
, METH_VARARGS
, NULL
},
33019 { (char *)"new_PyDivisionShape", (PyCFunction
) _wrap_new_PyDivisionShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33020 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction
) _wrap_PyDivisionShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33021 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction
) _wrap_PyDivisionShape_AdjustBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33022 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction
) _wrap_PyDivisionShape_AdjustLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33023 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction
) _wrap_PyDivisionShape_AdjustRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33024 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction
) _wrap_PyDivisionShape_AdjustTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33025 { (char *)"PyDivisionShape_Divide", (PyCFunction
) _wrap_PyDivisionShape_Divide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33026 { (char *)"PyDivisionShape_EditEdge", (PyCFunction
) _wrap_PyDivisionShape_EditEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33027 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_GetBottomSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33028 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_GetHandleSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33029 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33030 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33031 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33032 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction
) _wrap_PyDivisionShape_GetRightSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33033 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction
) _wrap_PyDivisionShape_GetTopSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33034 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33035 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction
) _wrap_PyDivisionShape_ResizeAdjoining
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33036 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction
) _wrap_PyDivisionShape_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33037 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_SetBottomSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33038 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_SetHandleSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33039 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33040 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33041 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33042 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction
) _wrap_PyDivisionShape_SetRightSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33043 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction
) _wrap_PyDivisionShape_SetTopSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33044 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetTopSideColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33045 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33046 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction
) _wrap_PyDivisionShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33047 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction
) _wrap_PyDivisionShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33048 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33049 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33050 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33051 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction
) _wrap_PyDivisionShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33052 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33053 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction
) _wrap_PyDivisionShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33054 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33055 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33056 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33057 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33058 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33059 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33060 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33061 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33062 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33063 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33064 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33065 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33066 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33067 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33068 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33069 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33070 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33071 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33072 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33073 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33074 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33075 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister
, METH_VARARGS
, NULL
},
33076 { (char *)"new_PyEllipseShape", (PyCFunction
) _wrap_new_PyEllipseShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33077 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction
) _wrap_PyEllipseShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33078 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction
) _wrap_PyEllipseShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33079 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33080 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33081 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33082 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction
) _wrap_PyEllipseShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33083 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33084 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction
) _wrap_PyEllipseShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33085 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33086 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33087 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33088 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33089 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33090 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33091 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33092 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33093 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33094 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33095 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33096 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33097 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33098 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33099 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33100 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33101 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33102 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33103 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33104 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33105 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33106 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister
, METH_VARARGS
, NULL
},
33107 { (char *)"new_PyCircleShape", (PyCFunction
) _wrap_new_PyCircleShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33108 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction
) _wrap_PyCircleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33109 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction
) _wrap_PyCircleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33110 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33111 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33112 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33113 { (char *)"PyCircleShape_base_OnErase", (PyCFunction
) _wrap_PyCircleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33114 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33115 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction
) _wrap_PyCircleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33116 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33117 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33118 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction
) _wrap_PyCircleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33119 { (char *)"PyCircleShape_base_OnSize", (PyCFunction
) _wrap_PyCircleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33120 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33121 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33122 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33123 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33124 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33125 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33126 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33127 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33128 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33129 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33130 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33131 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33132 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33133 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33134 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33135 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33136 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction
) _wrap_PyCircleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33137 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister
, METH_VARARGS
, NULL
},
33138 { (char *)"new_ArrowHead", (PyCFunction
) _wrap_new_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33139 { (char *)"delete_ArrowHead", (PyCFunction
) _wrap_delete_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33140 { (char *)"ArrowHead__GetType", (PyCFunction
) _wrap_ArrowHead__GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33141 { (char *)"ArrowHead_GetPosition", (PyCFunction
) _wrap_ArrowHead_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33142 { (char *)"ArrowHead_SetPosition", (PyCFunction
) _wrap_ArrowHead_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33143 { (char *)"ArrowHead_GetXOffset", (PyCFunction
) _wrap_ArrowHead_GetXOffset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33144 { (char *)"ArrowHead_GetYOffset", (PyCFunction
) _wrap_ArrowHead_GetYOffset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33145 { (char *)"ArrowHead_GetSpacing", (PyCFunction
) _wrap_ArrowHead_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33146 { (char *)"ArrowHead_GetSize", (PyCFunction
) _wrap_ArrowHead_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33147 { (char *)"ArrowHead_GetName", (PyCFunction
) _wrap_ArrowHead_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33148 { (char *)"ArrowHead_SetXOffset", (PyCFunction
) _wrap_ArrowHead_SetXOffset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33149 { (char *)"ArrowHead_SetYOffset", (PyCFunction
) _wrap_ArrowHead_SetYOffset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33150 { (char *)"ArrowHead_GetMetaFile", (PyCFunction
) _wrap_ArrowHead_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33151 { (char *)"ArrowHead_GetId", (PyCFunction
) _wrap_ArrowHead_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33152 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction
) _wrap_ArrowHead_GetArrowEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33153 { (char *)"ArrowHead_GetArrowSize", (PyCFunction
) _wrap_ArrowHead_GetArrowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33154 { (char *)"ArrowHead_SetSize", (PyCFunction
) _wrap_ArrowHead_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33155 { (char *)"ArrowHead_SetSpacing", (PyCFunction
) _wrap_ArrowHead_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33156 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister
, METH_VARARGS
, NULL
},
33157 { (char *)"new_PyLineShape", (PyCFunction
) _wrap_new_PyLineShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33158 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction
) _wrap_PyLineShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33159 { (char *)"PyLineShape_AddArrow", (PyCFunction
) _wrap_PyLineShape_AddArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33160 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction
) _wrap_PyLineShape_AddArrowOrdered
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33161 { (char *)"PyLineShape_ClearArrow", (PyCFunction
) _wrap_PyLineShape_ClearArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33162 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction
) _wrap_PyLineShape_ClearArrowsAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33163 { (char *)"PyLineShape_DrawArrow", (PyCFunction
) _wrap_PyLineShape_DrawArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33164 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33165 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33166 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction
) _wrap_PyLineShape_DeleteLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33167 { (char *)"PyLineShape_DrawArrows", (PyCFunction
) _wrap_PyLineShape_DrawArrows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33168 { (char *)"PyLineShape_DrawRegion", (PyCFunction
) _wrap_PyLineShape_DrawRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33169 { (char *)"PyLineShape_EraseRegion", (PyCFunction
) _wrap_PyLineShape_EraseRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33170 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction
) _wrap_PyLineShape_FindArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33171 { (char *)"PyLineShape_FindArrowHead", (PyCFunction
) _wrap_PyLineShape_FindArrowHead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33172 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction
) _wrap_PyLineShape_FindLineEndPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33173 { (char *)"PyLineShape_FindLinePosition", (PyCFunction
) _wrap_PyLineShape_FindLinePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33174 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction
) _wrap_PyLineShape_FindMinimumWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33175 { (char *)"PyLineShape_FindNth", (PyCFunction
) _wrap_PyLineShape_FindNth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33176 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_GetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33177 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_GetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33178 { (char *)"PyLineShape_GetEnds", (PyCFunction
) _wrap_PyLineShape_GetEnds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33179 { (char *)"PyLineShape_GetFrom", (PyCFunction
) _wrap_PyLineShape_GetFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33180 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction
) _wrap_PyLineShape_GetLabelPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33181 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction
) _wrap_PyLineShape_GetNextControlPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33182 { (char *)"PyLineShape_GetTo", (PyCFunction
) _wrap_PyLineShape_GetTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33183 { (char *)"PyLineShape_Initialise", (PyCFunction
) _wrap_PyLineShape_Initialise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33184 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction
) _wrap_PyLineShape_InsertLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33185 { (char *)"PyLineShape_IsEnd", (PyCFunction
) _wrap_PyLineShape_IsEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33186 { (char *)"PyLineShape_IsSpline", (PyCFunction
) _wrap_PyLineShape_IsSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33187 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction
) _wrap_PyLineShape_MakeLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33188 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction
) _wrap_PyLineShape_GetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33189 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_SetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33190 { (char *)"PyLineShape_SetAttachments", (PyCFunction
) _wrap_PyLineShape_SetAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33191 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_SetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33192 { (char *)"PyLineShape_SetEnds", (PyCFunction
) _wrap_PyLineShape_SetEnds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33193 { (char *)"PyLineShape_SetFrom", (PyCFunction
) _wrap_PyLineShape_SetFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33194 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction
) _wrap_PyLineShape_SetIgnoreOffsets
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33195 { (char *)"PyLineShape_SetSpline", (PyCFunction
) _wrap_PyLineShape_SetSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33196 { (char *)"PyLineShape_SetTo", (PyCFunction
) _wrap_PyLineShape_SetTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33197 { (char *)"PyLineShape_Straighten", (PyCFunction
) _wrap_PyLineShape_Straighten
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33198 { (char *)"PyLineShape_Unlink", (PyCFunction
) _wrap_PyLineShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33199 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_SetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33200 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction
) _wrap_PyLineShape_SetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33201 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_GetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33202 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction
) _wrap_PyLineShape_GetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33203 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction
) _wrap_PyLineShape_GetAlignmentStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33204 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction
) _wrap_PyLineShape_GetAlignmentEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33205 { (char *)"PyLineShape_base_OnDraw", (PyCFunction
) _wrap_PyLineShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33206 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction
) _wrap_PyLineShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33207 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyLineShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33208 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33209 { (char *)"PyLineShape_base_OnErase", (PyCFunction
) _wrap_PyLineShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33210 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction
) _wrap_PyLineShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33211 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction
) _wrap_PyLineShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33212 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33213 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33214 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction
) _wrap_PyLineShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33215 { (char *)"PyLineShape_base_OnSize", (PyCFunction
) _wrap_PyLineShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33216 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction
) _wrap_PyLineShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33217 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction
) _wrap_PyLineShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33218 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33219 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33220 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33221 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33222 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33223 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33224 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyLineShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33225 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33226 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33227 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33228 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33229 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33230 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33231 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction
) _wrap_PyLineShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33232 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction
) _wrap_PyLineShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33233 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister
, METH_VARARGS
, NULL
},
33234 { (char *)"new_PyPolygonShape", (PyCFunction
) _wrap_new_PyPolygonShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33235 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction
) _wrap_PyPolygonShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33236 { (char *)"PyPolygonShape_Create", (PyCFunction
) _wrap_PyPolygonShape_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33237 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_AddPolygonPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33238 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction
) _wrap_PyPolygonShape_CalculatePolygonCentre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33239 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_DeletePolygonPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33240 { (char *)"PyPolygonShape_GetPoints", (PyCFunction
) _wrap_PyPolygonShape_GetPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33241 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33242 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33243 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33244 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33245 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33246 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_UpdateOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33247 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction
) _wrap_PyPolygonShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33248 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33249 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33250 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33251 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction
) _wrap_PyPolygonShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33252 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33253 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction
) _wrap_PyPolygonShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33254 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33255 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33256 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33257 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33258 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33259 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33260 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33261 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33262 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33263 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33264 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33265 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33266 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33267 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33268 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33269 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33270 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33271 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33272 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33273 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33274 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33275 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister
, METH_VARARGS
, NULL
},
33276 { (char *)"new_PyTextShape", (PyCFunction
) _wrap_new_PyTextShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33277 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction
) _wrap_PyTextShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33278 { (char *)"PyTextShape_base_OnDelete", (PyCFunction
) _wrap_PyTextShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33279 { (char *)"PyTextShape_base_OnDraw", (PyCFunction
) _wrap_PyTextShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33280 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction
) _wrap_PyTextShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33281 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyTextShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33282 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33283 { (char *)"PyTextShape_base_OnErase", (PyCFunction
) _wrap_PyTextShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33284 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction
) _wrap_PyTextShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33285 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction
) _wrap_PyTextShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33286 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33287 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33288 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction
) _wrap_PyTextShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33289 { (char *)"PyTextShape_base_OnSize", (PyCFunction
) _wrap_PyTextShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33290 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction
) _wrap_PyTextShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33291 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction
) _wrap_PyTextShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33292 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33293 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33294 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33295 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33296 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33297 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33298 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyTextShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33299 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33300 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33301 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33302 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33303 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33304 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33305 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction
) _wrap_PyTextShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33306 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction
) _wrap_PyTextShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33307 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister
, METH_VARARGS
, NULL
},
33308 { (char *)"new_Diagram", (PyCFunction
) _wrap_new_Diagram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33309 { (char *)"Diagram_AddShape", (PyCFunction
) _wrap_Diagram_AddShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33310 { (char *)"Diagram_Clear", (PyCFunction
) _wrap_Diagram_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33311 { (char *)"Diagram_DeleteAllShapes", (PyCFunction
) _wrap_Diagram_DeleteAllShapes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33312 { (char *)"Diagram_DrawOutline", (PyCFunction
) _wrap_Diagram_DrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33313 { (char *)"Diagram_FindShape", (PyCFunction
) _wrap_Diagram_FindShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33314 { (char *)"Diagram_GetCanvas", (PyCFunction
) _wrap_Diagram_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33315 { (char *)"Diagram_GetCount", (PyCFunction
) _wrap_Diagram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33316 { (char *)"Diagram_GetGridSpacing", (PyCFunction
) _wrap_Diagram_GetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33317 { (char *)"Diagram_GetMouseTolerance", (PyCFunction
) _wrap_Diagram_GetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33318 { (char *)"Diagram_GetShapeList", (PyCFunction
) _wrap_Diagram_GetShapeList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33319 { (char *)"Diagram_GetQuickEditMode", (PyCFunction
) _wrap_Diagram_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33320 { (char *)"Diagram_GetSnapToGrid", (PyCFunction
) _wrap_Diagram_GetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33321 { (char *)"Diagram_InsertShape", (PyCFunction
) _wrap_Diagram_InsertShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33322 { (char *)"Diagram_RecentreAll", (PyCFunction
) _wrap_Diagram_RecentreAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33323 { (char *)"Diagram_Redraw", (PyCFunction
) _wrap_Diagram_Redraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33324 { (char *)"Diagram_RemoveAllShapes", (PyCFunction
) _wrap_Diagram_RemoveAllShapes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33325 { (char *)"Diagram_RemoveShape", (PyCFunction
) _wrap_Diagram_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33326 { (char *)"Diagram_SetCanvas", (PyCFunction
) _wrap_Diagram_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33327 { (char *)"Diagram_SetGridSpacing", (PyCFunction
) _wrap_Diagram_SetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33328 { (char *)"Diagram_SetMouseTolerance", (PyCFunction
) _wrap_Diagram_SetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33329 { (char *)"Diagram_SetQuickEditMode", (PyCFunction
) _wrap_Diagram_SetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33330 { (char *)"Diagram_SetSnapToGrid", (PyCFunction
) _wrap_Diagram_SetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33331 { (char *)"Diagram_ShowAll", (PyCFunction
) _wrap_Diagram_ShowAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33332 { (char *)"Diagram_Snap", (PyCFunction
) _wrap_Diagram_Snap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33333 { (char *)"Diagram_swigregister", Diagram_swigregister
, METH_VARARGS
, NULL
},
33334 { (char *)"new_PyShapeCanvas", (PyCFunction
) _wrap_new_PyShapeCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33335 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction
) _wrap_PyShapeCanvas__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33336 { (char *)"PyShapeCanvas_AddShape", (PyCFunction
) _wrap_PyShapeCanvas_AddShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33337 { (char *)"PyShapeCanvas_FindShape", (PyCFunction
) _wrap_PyShapeCanvas_FindShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33338 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction
) _wrap_PyShapeCanvas_FindFirstSensitiveShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33339 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_GetDiagram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33340 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction
) _wrap_PyShapeCanvas_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33341 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction
) _wrap_PyShapeCanvas_InsertShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33342 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33343 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33344 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33345 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33346 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33347 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33348 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33349 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33350 { (char *)"PyShapeCanvas_Redraw", (PyCFunction
) _wrap_PyShapeCanvas_Redraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33351 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction
) _wrap_PyShapeCanvas_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33352 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_SetDiagram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33353 { (char *)"PyShapeCanvas_Snap", (PyCFunction
) _wrap_PyShapeCanvas_Snap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33354 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister
, METH_VARARGS
, NULL
},
33355 { (char *)"OGLInitialize", (PyCFunction
) _wrap_OGLInitialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33356 { (char *)"OGLCleanUp", (PyCFunction
) _wrap_OGLCleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33357 { NULL
, NULL
, 0, NULL
}
33361 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33363 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33364 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33366 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33367 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33369 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33370 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33372 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33373 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33375 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33376 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33378 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33379 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33381 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33382 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33384 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33385 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33387 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x
) {
33388 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33390 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33391 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33393 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x
) {
33394 return (void *)((wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33396 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33397 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33399 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33400 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33402 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33403 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33405 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33406 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33408 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33409 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33411 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33412 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33414 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33415 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33417 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33418 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33420 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33421 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33423 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33424 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33426 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33427 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33429 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33430 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33432 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33433 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33435 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33436 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33438 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33439 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33441 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33442 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
33444 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33445 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33447 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33448 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33450 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33451 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33453 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33454 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33456 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33457 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33459 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33460 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33462 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33463 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33465 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33466 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33468 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33469 return (void *)((wxWindow
*) ((wxControl
*) x
));
33471 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33472 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33474 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33475 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33477 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33478 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33480 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33481 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33483 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33484 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33486 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33487 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33489 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x
) {
33490 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33492 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33493 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33495 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33496 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33498 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33499 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33501 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33502 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33504 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33505 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33507 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33508 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33510 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33511 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33513 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33514 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33516 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33517 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33519 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
33520 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
33522 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
33523 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
33525 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33526 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33528 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33529 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33531 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
33532 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
33534 static void *_p_wxPyControlPointTo_p_wxObject(void *x
) {
33535 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
33537 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
33538 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33540 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
33541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33543 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33544 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33546 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33547 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33549 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33550 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33552 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33553 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33555 static void *_p_wxOGLConstraintTo_p_wxObject(void *x
) {
33556 return (void *)((wxObject
*) ((wxOGLConstraint
*) x
));
33558 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33559 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33561 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33562 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33564 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33565 return (void *)((wxObject
*) ((wxSizer
*) x
));
33567 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x
) {
33568 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
33570 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x
) {
33571 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
33573 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x
) {
33574 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyPolygonShape
*) x
));
33576 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33577 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33579 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33580 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33582 static void *_p_wxArrowHeadTo_p_wxObject(void *x
) {
33583 return (void *)((wxObject
*) ((wxArrowHead
*) x
));
33585 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
33586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
33588 static void *_p_wxEventTo_p_wxObject(void *x
) {
33589 return (void *)((wxObject
*) ((wxEvent
*) x
));
33591 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
33592 return (void *)((wxObject
*) ((wxFontData
*) x
));
33594 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
33595 return (void *)((wxObject
*) ((wxPrintData
*) x
));
33597 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33598 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33600 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33601 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33603 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33604 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33606 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
33607 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
33609 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
33610 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
33612 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
33613 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33615 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33616 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33618 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33619 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33621 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33622 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33624 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33625 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33627 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33628 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33630 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33631 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33633 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
33634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33636 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x
) {
33637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33639 static void *_p_wxControlTo_p_wxObject(void *x
) {
33640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33642 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x
) {
33643 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyEllipseShape
*) x
));
33645 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33646 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33648 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
33649 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33651 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33652 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33654 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
33655 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
33657 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x
) {
33658 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
33660 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33661 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33663 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
33664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33666 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
33667 return (void *)((wxObject
*) ((wxColourData
*) x
));
33669 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33670 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33672 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33673 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33675 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
33676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
33678 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
33679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33681 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
33682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33684 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
33685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33687 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
33688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33690 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
33691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33693 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
33694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33696 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
33697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33699 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
33700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33702 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33703 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33705 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
33706 return (void *)((wxObject
*) ((wxPrinter
*) x
));
33708 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33709 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33711 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33712 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33714 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33715 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33717 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33718 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33720 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33721 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33723 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33724 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33726 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33727 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33729 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33730 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33732 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33733 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33735 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33736 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33738 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33739 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33741 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33742 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33744 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33745 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33747 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33748 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33750 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33751 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33753 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33754 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33756 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33757 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33759 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33760 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33762 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33763 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33765 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33766 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33768 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33769 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33771 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33772 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33774 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
33775 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
33777 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x
) {
33778 return (void *)((wxObject
*) ((wxPyShapeEvtHandler
*) x
));
33780 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
33781 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33783 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
33784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33786 static void *_p_wxPyTextShapeTo_p_wxObject(void *x
) {
33787 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
33789 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33790 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33792 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x
) {
33793 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
33795 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
33796 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33798 static void *_p_wxImageTo_p_wxObject(void *x
) {
33799 return (void *)((wxObject
*) ((wxImage
*) x
));
33801 static void *_p_wxFrameTo_p_wxObject(void *x
) {
33802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
33804 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
33805 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
33807 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33808 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33810 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
33811 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
33813 static void *_p_wxDiagramTo_p_wxObject(void *x
) {
33814 return (void *)((wxObject
*) ((wxDiagram
*) x
));
33816 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
33817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
33819 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
33820 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33822 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33823 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33825 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33826 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33828 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33829 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33831 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33832 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33834 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33835 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33837 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33838 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33840 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
33841 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
33843 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
33844 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
33846 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
33847 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
33849 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
33850 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
33852 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
33853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
33855 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
33856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33858 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
33859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
33861 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
33862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33864 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
33865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
33867 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
33868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33870 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
33871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
33873 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
33874 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
33876 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
33877 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
33879 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
33880 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33882 static void *_p_wxPanelTo_p_wxObject(void *x
) {
33883 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
33885 static void *_p_wxDialogTo_p_wxObject(void *x
) {
33886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
33888 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
33889 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33891 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
33892 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33894 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
33895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33897 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
33898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
33900 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
33901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
33903 static void *_p_wxAttachmentPointTo_p_wxObject(void *x
) {
33904 return (void *)((wxObject
*) ((wxAttachmentPoint
*) x
));
33906 static void *_p_wxPyShapeTo_p_wxObject(void *x
) {
33907 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
33909 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33910 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33912 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33913 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33915 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33916 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33918 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33919 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33921 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33922 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33924 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33925 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33927 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33928 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33930 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33931 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33933 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33934 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33936 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
33937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
33939 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
33940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33942 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33943 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33945 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33946 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33948 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33949 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33951 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x
) {
33952 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyRectangleShape
*) x
));
33954 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x
) {
33955 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
33957 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x
) {
33958 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
33960 static void *_p_wxPyLineShapeTo_p_wxObject(void *x
) {
33961 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyLineShape
*) x
));
33963 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x
) {
33964 return (void *)((wxObject
*) ((wxPseudoMetaFile
*) x
));
33966 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33967 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33969 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
33970 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
33972 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
33973 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
33975 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33976 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33978 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33979 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33981 static void *_p_wxShapeRegionTo_p_wxObject(void *x
) {
33982 return (void *)((wxObject
*) ((wxShapeRegion
*) x
));
33984 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33985 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyRectangleShape
*) x
));
33987 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33988 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
33990 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33991 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
33993 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33994 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
33996 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33997 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyLineShape
*) x
));
33999 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34000 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34002 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x
) {
34003 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34005 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34006 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34008 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34009 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34011 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34012 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyPolygonShape
*) x
));
34014 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34015 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34017 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34018 return (void *)((wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
34020 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34021 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyEllipseShape
*) x
));
34023 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
34024 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
34026 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
34027 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
34029 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
34030 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
34032 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
34033 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
34035 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
34036 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
34038 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
34039 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
34041 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
34042 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
34044 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
34045 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
34047 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
34048 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
34050 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
34051 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
34053 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
34054 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
34056 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
34057 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
34059 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
34060 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
34062 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
34063 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
34065 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
34066 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
34068 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
34069 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
34071 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
34072 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
34074 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
34075 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
34077 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
34078 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
34080 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
34081 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
34083 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
34084 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
34086 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
34087 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
34089 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
34090 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
34092 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
34093 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
34095 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
34096 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
34098 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
34099 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
34101 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
34102 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
34104 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
34105 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
34107 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
34108 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
34110 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
34111 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
34113 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
34114 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
34116 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
34117 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
34119 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
34120 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
34122 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
34123 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34125 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
34126 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
34128 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
34129 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
34131 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x
) {
34132 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
34134 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
34135 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
34137 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
34138 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
34140 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34141 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
34143 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34144 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
34146 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
34147 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
34149 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
34150 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
34152 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
34153 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
34155 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
34156 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
34158 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
34159 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
34161 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
34162 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
34164 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
34165 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
34167 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
34168 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
34170 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
34171 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
34173 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x
) {
34174 return (void *)((wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34176 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x
) {
34177 return (void *)((wxPyShape
*) ((wxPyRectangleShape
*) x
));
34179 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x
) {
34180 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34182 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x
) {
34183 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34185 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x
) {
34186 return (void *)((wxPyShape
*) (wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34188 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x
) {
34189 return (void *)((wxPyShape
*) ((wxPyLineShape
*) x
));
34191 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x
) {
34192 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34194 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x
) {
34195 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34197 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x
) {
34198 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34200 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x
) {
34201 return (void *)((wxPyShape
*) (wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34203 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x
) {
34204 return (void *)((wxPyShape
*) ((wxPyPolygonShape
*) x
));
34206 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x
) {
34207 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34209 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x
) {
34210 return (void *)((wxPyShape
*) ((wxPyEllipseShape
*) x
));
34212 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x
) {
34213 return (void *)((wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34215 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x
) {
34216 return (void *)((wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34218 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x
) {
34219 return (void *)((wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34221 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x
) {
34222 return (void *)((wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34224 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x
) {
34225 return (void *)((wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34227 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x
) {
34228 return (void *)((wxPyRectangleShape
*) (wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34230 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x
) {
34231 return (void *)((wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34233 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x
) {
34234 return (void *)((wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34236 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}};
34237 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}};
34238 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}};
34239 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}};
34240 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}};
34241 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}};
34242 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}};
34243 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}};
34244 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}};
34245 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}};
34246 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}};
34247 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}};
34248 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}};
34249 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}};
34250 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}};
34251 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}};
34252 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}};
34253 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}};
34254 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}};
34255 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}};
34256 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}};
34257 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}};
34258 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}};
34259 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}};
34260 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}};
34261 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}};
34262 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}};
34263 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}};
34264 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}};
34265 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}};
34266 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}};
34267 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}};
34268 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}};
34269 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}};
34270 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}};
34271 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}};
34272 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}};
34273 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}};
34274 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}};
34275 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}};
34276 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}};
34278 static swig_type_info
*swig_types_initial
[] = {
34279 _swigt__p_wxOGLConstraint
,
34281 _swigt__p_wxColour
,
34282 _swigt__p_wxShapeRegion
,
34284 _swigt__p_wxRealPoint
,
34285 _swigt__p_wxPyControlPoint
,
34286 _swigt__p_wxArrowHead
,
34288 _swigt__p_wxStringList
,
34293 _swigt__p_wxScrolledWindow
,
34294 _swigt__p_wxWindow
,
34296 _swigt__p_wxPyDivisionShape
,
34297 _swigt__p_wxPyDrawnShape
,
34298 _swigt__p_wxPyPolygonShape
,
34299 _swigt__p_wxBitmap
,
34300 _swigt__p_wxObject
,
34301 _swigt__p_wxPyBitmapShape
,
34302 _swigt__p_wxPyShapeEvtHandler
,
34303 _swigt__p_wxEvtHandler
,
34304 _swigt__p_wxPyEllipseShape
,
34305 _swigt__p_wxPyShapeCanvas
,
34307 _swigt__p_wxDiagram
,
34308 _swigt__p_wxPyShape
,
34309 _swigt__p_wxAttachmentPoint
,
34310 _swigt__p_wxClassInfo
,
34311 _swigt__p_wxPyLineShape
,
34312 _swigt__p_wxPyRectangleShape
,
34313 _swigt__p_wxPyCompositeShape
,
34314 _swigt__p_wxPyCircleShape
,
34317 _swigt__p_wxPseudoMetaFile
,
34318 _swigt__p_wxPyTextShape
,
34319 _swigt__p_wxPyDividedShape
,
34324 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34326 static swig_const_info swig_const_table
[] = {
34327 {0, 0, 0, 0.0, 0, 0}};
34336 SWIGEXPORT(void) SWIG_init(void) {
34337 static PyObject
*SWIG_globals
= 0;
34338 static int typeinit
= 0;
34341 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
34342 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34343 d
= PyModule_GetDict(m
);
34346 for (i
= 0; swig_types_initial
[i
]; i
++) {
34347 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
34351 SWIG_InstallConstants(d
,swig_const_table
);
34353 PyDict_SetItemString(d
,"oglMETAFLAGS_OUTLINE", SWIG_FromInt((int)oglMETAFLAGS_OUTLINE
));
34354 PyDict_SetItemString(d
,"oglMETAFLAGS_ATTACHMENTS", SWIG_FromInt((int)oglMETAFLAGS_ATTACHMENTS
));
34355 PyDict_SetItemString(d
,"KEY_SHIFT", SWIG_FromInt((int)KEY_SHIFT
));
34356 PyDict_SetItemString(d
,"KEY_CTRL", SWIG_FromInt((int)KEY_CTRL
));
34357 PyDict_SetItemString(d
,"ARROW_NONE", SWIG_FromInt((int)ARROW_NONE
));
34358 PyDict_SetItemString(d
,"ARROW_END", SWIG_FromInt((int)ARROW_END
));
34359 PyDict_SetItemString(d
,"ARROW_BOTH", SWIG_FromInt((int)ARROW_BOTH
));
34360 PyDict_SetItemString(d
,"ARROW_MIDDLE", SWIG_FromInt((int)ARROW_MIDDLE
));
34361 PyDict_SetItemString(d
,"ARROW_START", SWIG_FromInt((int)ARROW_START
));
34362 PyDict_SetItemString(d
,"ARROW_HOLLOW_CIRCLE", SWIG_FromInt((int)ARROW_HOLLOW_CIRCLE
));
34363 PyDict_SetItemString(d
,"ARROW_FILLED_CIRCLE", SWIG_FromInt((int)ARROW_FILLED_CIRCLE
));
34364 PyDict_SetItemString(d
,"ARROW_ARROW", SWIG_FromInt((int)ARROW_ARROW
));
34365 PyDict_SetItemString(d
,"ARROW_SINGLE_OBLIQUE", SWIG_FromInt((int)ARROW_SINGLE_OBLIQUE
));
34366 PyDict_SetItemString(d
,"ARROW_DOUBLE_OBLIQUE", SWIG_FromInt((int)ARROW_DOUBLE_OBLIQUE
));
34367 PyDict_SetItemString(d
,"ARROW_METAFILE", SWIG_FromInt((int)ARROW_METAFILE
));
34368 PyDict_SetItemString(d
,"ARROW_POSITION_END", SWIG_FromInt((int)ARROW_POSITION_END
));
34369 PyDict_SetItemString(d
,"ARROW_POSITION_START", SWIG_FromInt((int)ARROW_POSITION_START
));
34370 PyDict_SetItemString(d
,"CONTROL_POINT_VERTICAL", SWIG_FromInt((int)CONTROL_POINT_VERTICAL
));
34371 PyDict_SetItemString(d
,"CONTROL_POINT_HORIZONTAL", SWIG_FromInt((int)CONTROL_POINT_HORIZONTAL
));
34372 PyDict_SetItemString(d
,"CONTROL_POINT_DIAGONAL", SWIG_FromInt((int)CONTROL_POINT_DIAGONAL
));
34373 PyDict_SetItemString(d
,"CONTROL_POINT_ENDPOINT_TO", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_TO
));
34374 PyDict_SetItemString(d
,"CONTROL_POINT_ENDPOINT_FROM", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_FROM
));
34375 PyDict_SetItemString(d
,"CONTROL_POINT_LINE", SWIG_FromInt((int)CONTROL_POINT_LINE
));
34376 PyDict_SetItemString(d
,"FORMAT_NONE", SWIG_FromInt((int)FORMAT_NONE
));
34377 PyDict_SetItemString(d
,"FORMAT_CENTRE_HORIZ", SWIG_FromInt((int)FORMAT_CENTRE_HORIZ
));
34378 PyDict_SetItemString(d
,"FORMAT_CENTRE_VERT", SWIG_FromInt((int)FORMAT_CENTRE_VERT
));
34379 PyDict_SetItemString(d
,"FORMAT_SIZE_TO_CONTENTS", SWIG_FromInt((int)FORMAT_SIZE_TO_CONTENTS
));
34380 PyDict_SetItemString(d
,"LINE_ALIGNMENT_HORIZ", SWIG_FromInt((int)LINE_ALIGNMENT_HORIZ
));
34381 PyDict_SetItemString(d
,"LINE_ALIGNMENT_VERT", SWIG_FromInt((int)LINE_ALIGNMENT_VERT
));
34382 PyDict_SetItemString(d
,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_FromInt((int)LINE_ALIGNMENT_TO_NEXT_HANDLE
));
34383 PyDict_SetItemString(d
,"LINE_ALIGNMENT_NONE", SWIG_FromInt((int)LINE_ALIGNMENT_NONE
));
34384 PyDict_SetItemString(d
,"SHADOW_NONE", SWIG_FromInt((int)SHADOW_NONE
));
34385 PyDict_SetItemString(d
,"SHADOW_LEFT", SWIG_FromInt((int)SHADOW_LEFT
));
34386 PyDict_SetItemString(d
,"SHADOW_RIGHT", SWIG_FromInt((int)SHADOW_RIGHT
));
34387 PyDict_SetItemString(d
,"OP_CLICK_LEFT", SWIG_FromInt((int)OP_CLICK_LEFT
));
34388 PyDict_SetItemString(d
,"OP_CLICK_RIGHT", SWIG_FromInt((int)OP_CLICK_RIGHT
));
34389 PyDict_SetItemString(d
,"OP_DRAG_LEFT", SWIG_FromInt((int)OP_DRAG_LEFT
));
34390 PyDict_SetItemString(d
,"OP_DRAG_RIGHT", SWIG_FromInt((int)OP_DRAG_RIGHT
));
34391 PyDict_SetItemString(d
,"OP_ALL", SWIG_FromInt((int)OP_ALL
));
34392 PyDict_SetItemString(d
,"ATTACHMENT_MODE_NONE", SWIG_FromInt((int)ATTACHMENT_MODE_NONE
));
34393 PyDict_SetItemString(d
,"ATTACHMENT_MODE_EDGE", SWIG_FromInt((int)ATTACHMENT_MODE_EDGE
));
34394 PyDict_SetItemString(d
,"ATTACHMENT_MODE_BRANCHING", SWIG_FromInt((int)ATTACHMENT_MODE_BRANCHING
));
34395 PyDict_SetItemString(d
,"BRANCHING_ATTACHMENT_NORMAL", SWIG_FromInt((int)BRANCHING_ATTACHMENT_NORMAL
));
34396 PyDict_SetItemString(d
,"BRANCHING_ATTACHMENT_BLOB", SWIG_FromInt((int)BRANCHING_ATTACHMENT_BLOB
));
34397 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_VERTICALLY
));
34398 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_HORIZONTALLY
));
34399 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_BOTH", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_BOTH
));
34400 PyDict_SetItemString(d
,"gyCONSTRAINT_LEFT_OF", SWIG_FromInt((int)gyCONSTRAINT_LEFT_OF
));
34401 PyDict_SetItemString(d
,"gyCONSTRAINT_RIGHT_OF", SWIG_FromInt((int)gyCONSTRAINT_RIGHT_OF
));
34402 PyDict_SetItemString(d
,"gyCONSTRAINT_ABOVE", SWIG_FromInt((int)gyCONSTRAINT_ABOVE
));
34403 PyDict_SetItemString(d
,"gyCONSTRAINT_BELOW", SWIG_FromInt((int)gyCONSTRAINT_BELOW
));
34404 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_TOP
));
34405 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_BOTTOM
));
34406 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_LEFT
));
34407 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_RIGHT
));
34408 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_TOP
));
34409 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_BOTTOM
));
34410 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_LEFT
));
34411 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_RIGHT
));
34412 PyDict_SetItemString(d
,"DIVISION_SIDE_NONE", SWIG_FromInt((int)DIVISION_SIDE_NONE
));
34413 PyDict_SetItemString(d
,"DIVISION_SIDE_LEFT", SWIG_FromInt((int)DIVISION_SIDE_LEFT
));
34414 PyDict_SetItemString(d
,"DIVISION_SIDE_TOP", SWIG_FromInt((int)DIVISION_SIDE_TOP
));
34415 PyDict_SetItemString(d
,"DIVISION_SIDE_RIGHT", SWIG_FromInt((int)DIVISION_SIDE_RIGHT
));
34416 PyDict_SetItemString(d
,"DIVISION_SIDE_BOTTOM", SWIG_FromInt((int)DIVISION_SIDE_BOTTOM
));
34419 // initoglbasicc();
34420 // initoglshapesc();
34421 // initoglshapes2c();
34422 // initoglcanvasc();
34425 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
34426 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
34427 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
34428 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
34429 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
34430 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
34431 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
34432 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
34433 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
34434 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
34435 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
34436 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
34437 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
34438 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");