1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxOGLConstraint swig_types[0]
210 #define SWIGTYPE_p_wxBrush swig_types[1]
211 #define SWIGTYPE_p_wxColour swig_types[2]
212 #define SWIGTYPE_p_wxShapeRegion swig_types[3]
213 #define SWIGTYPE_p_wxDC swig_types[4]
214 #define SWIGTYPE_p_wxRealPoint swig_types[5]
215 #define SWIGTYPE_p_wxPyControlPoint swig_types[6]
216 #define SWIGTYPE_p_wxArrowHead swig_types[7]
217 #define SWIGTYPE_p_char swig_types[8]
218 #define SWIGTYPE_p_wxStringList swig_types[9]
219 #define SWIGTYPE_p_wxPanel swig_types[10]
220 #define SWIGTYPE_p_bool swig_types[11]
221 #define SWIGTYPE_p_wxList swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxScrolledWindow swig_types[14]
224 #define SWIGTYPE_p_wxWindow swig_types[15]
225 #define SWIGTYPE_p_double swig_types[16]
226 #define SWIGTYPE_p_wxPyDivisionShape swig_types[17]
227 #define SWIGTYPE_p_wxPyDrawnShape swig_types[18]
228 #define SWIGTYPE_p_wxPyPolygonShape swig_types[19]
229 #define SWIGTYPE_p_wxBitmap swig_types[20]
230 #define SWIGTYPE_p_wxObject swig_types[21]
231 #define SWIGTYPE_p_wxPyBitmapShape swig_types[22]
232 #define SWIGTYPE_p_wxPyShapeEvtHandler swig_types[23]
233 #define SWIGTYPE_p_wxEvtHandler swig_types[24]
234 #define SWIGTYPE_p_wxPyEllipseShape swig_types[25]
235 #define SWIGTYPE_p_wxPyShapeCanvas swig_types[26]
236 #define SWIGTYPE_p_wxPoint swig_types[27]
237 #define SWIGTYPE_p_wxDiagram swig_types[28]
238 #define SWIGTYPE_p_wxPyShape swig_types[29]
239 #define SWIGTYPE_p_wxAttachmentPoint swig_types[30]
240 #define SWIGTYPE_p_wxClassInfo swig_types[31]
241 #define SWIGTYPE_p_wxPyLineShape swig_types[32]
242 #define SWIGTYPE_p_wxPyRectangleShape swig_types[33]
243 #define SWIGTYPE_p_wxPyCompositeShape swig_types[34]
244 #define SWIGTYPE_p_wxPyCircleShape swig_types[35]
245 #define SWIGTYPE_p_wxPen swig_types[36]
246 #define SWIGTYPE_p_int swig_types[37]
247 #define SWIGTYPE_p_wxPseudoMetaFile swig_types[38]
248 #define SWIGTYPE_p_wxPyTextShape swig_types[39]
249 #define SWIGTYPE_p_wxPyDividedShape swig_types[40]
250 static swig_type_info
*swig_types
[42];
252 /* -------- TYPES TABLE (END) -------- */
255 /*-----------------------------------------------
257 ------------------------------------------------*/
258 #define SWIG_init init_ogl
260 #define SWIG_name "_ogl"
262 /* Auxiliar swig macros */
265 #define SWIGSTATICINLINE(a) static inline a
266 #define SWIGSTATIC(a) static a
267 #define swig_new_array(type, size) (new type[(size)])
268 #define swig_delete_array(cptr) delete[] cptr
269 #define swig_const_cast(type,a) const_cast<type>(a)
270 #define swig_static_cast(type,a) static_cast<type>(a)
271 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
273 #ifdef HAVE_NUMERIC_CAST
274 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
276 #define swig_numeric_cast(type,a) static_cast<type>(a)
281 #define SWIGSTATICINLINE(a) static a
282 #define SWIGSTATIC(a) static a
283 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
284 #define swig_delete_array(cptr) free((char*)cptr)
285 #define swig_const_cast(type,a) (type)(a)
286 #define swig_static_cast(type,a) (type)(a)
287 #define swig_reinterpret_cast(type,a) (type)(a)
288 #define swig_numeric_cast(type,a) (type)(a)
290 #endif /* __cplusplus */
293 #define SWIG_FromSignedChar PyInt_FromLong
294 #define SWIG_FromUnsignedChar PyInt_FromLong
295 #define SWIG_FromShort PyInt_FromLong
296 #define SWIG_FromUnsignedShort PyInt_FromLong
297 #define SWIG_FromInt PyInt_FromLong
298 #define SWIG_FromLong PyInt_FromLong
299 #define SWIG_FromFloat PyFloat_FromDouble
300 #define SWIG_FromDouble PyFloat_FromDouble
301 #define SWIG_FromFloat PyFloat_FromDouble
302 #define SWIG_FromDouble PyFloat_FromDouble
305 #include "wx/wxPython/wxPython.h"
306 #include "wx/wxPython/pyclasses.h"
307 #include "oglhelpers.h"
310 static const wxString
wxPyEmptyString(wxEmptyString
);
312 SWIGSTATICINLINE(double)
313 SWIG_AsDouble(PyObject
*obj
)
315 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
317 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
319 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
321 if (PyErr_Occurred()) {
323 PyErr_SetString(PyExc_TypeError
, "a double is expected");
329 SWIGSTATICINLINE(int)
330 SWIG_CheckDouble(PyObject
* obj
)
333 if (PyErr_Occurred()) {
345 SWIGSTATICINLINE(long)
346 SWIG_CheckLongInRange(long value
, const char* type
,
347 long min_value
, long max_value
)
349 if (!PyErr_Occurred()) {
350 if (value
< min_value
) {
352 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
353 value
, type
, min_value
);
355 PyErr_SetObject(PyExc_OverflowError
, err
);
357 } else if (value
> max_value
) {
359 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
360 value
, type
, max_value
);
361 PyErr_SetObject(PyExc_OverflowError
, err
);
369 SWIGSTATICINLINE(long)
370 SWIG_AsLong(PyObject
* obj
)
372 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
376 #if INT_MAX != LONG_MAX
377 SWIGSTATICINLINE(int)
378 SWIG_AsInt(PyObject
*obj
)
380 return swig_numeric_cast(int,
381 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
382 "int", INT_MIN
, INT_MAX
));
385 #define SWIG_AsInt SWIG_AsLong
389 SWIGSTATICINLINE(int)
390 SWIG_CheckInt(PyObject
* obj
)
393 if (PyErr_Occurred()) {
402 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
408 } else if (target
== Py_None
) {
412 if (!PyTuple_Check(target
)) {
414 target
= PyTuple_New(1);
415 PyTuple_SetItem(target
, 0, o2
);
418 PyTuple_SetItem(o3
, 0, o
);
421 target
= PySequence_Concat(o2
, o3
);
429 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler
,wxShapeEvtHandler
);
431 void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler
*self
,PyObject
*_self
){
432 self
->SetClientObject(new wxPyOORClientData(_self
));
435 SWIGSTATICINLINE(bool)
436 SWIG_AsBool(PyObject
*obj
)
438 return PyObject_IsTrue(obj
) ? true : false;
442 SWIGSTATICINLINE(int)
443 SWIG_CheckBool(PyObject
* obj
)
446 if (PyErr_Occurred()) {
455 WXSHAPE_IMP_CALLBACKS(wxPyShape
, wxShape
);
457 PyObject
*wxPyShape_GetChildren(wxPyShape
*self
){
458 wxList
& list
= self
->GetChildren();
459 return wxPy_ConvertShapeList(&list
);
461 PyObject
*wxPyShape_GetLines(wxPyShape
*self
){
462 wxList
& list
= self
->GetLines();
463 return wxPy_ConvertShapeList(&list
);
466 SWIGSTATICINLINE(int)
467 SWIG_CheckLong(PyObject
* obj
)
470 if (PyErr_Occurred()) {
478 PyObject
*wxPyShape_GetRegions(wxPyShape
*self
){
479 wxList
& list
= self
->GetRegions();
480 return wxPy_ConvertList(&list
);
482 PyObject
*wxPyShape_GetAttachments(wxPyShape
*self
){
483 wxList
& list
= self
->GetAttachments();
484 return wxPy_ConvertList(&list
);
486 void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
*linesToSort
){
487 wxList
* list
= wxPy_wxListHelper(linesToSort
, wxT("wxPyLineShape"));
488 self
->ApplyAttachmentOrdering(*list
);
492 // Using this macro can sometimes provoke an Internal Compiler Error in MSVC
493 // 6, so instead I'l just expand it out by hand...
494 // WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
496 IMP_PYCALLBACK__ (wxPyRectangleShape
, wxRectangleShape
, OnDelete
);
497 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDraw
);
498 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawContents
);
499 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnDrawBranches
);
500 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnMoveLinks
);
501 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnErase
);
502 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseContents
);
503 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnHighlight
);
504 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftClick
);
505 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftDoubleClick
);
506 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnRightClick
);
507 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnSize
);
508 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePre
);
509 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePost
);
510 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragLeft
);
511 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragLeft
);
512 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragLeft
);
513 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragRight
);
514 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragRight
);
515 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragRight
);
516 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape
, wxRectangleShape
, OnDrawOutline
);
517 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawControlPoints
);
518 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseControlPoints
);
519 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMoveLink
);
520 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape
, wxRectangleShape
, OnSizingDragLeft
);
521 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingBeginDragLeft
);
522 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingEndDragLeft
);
523 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnBeginSize
);
524 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnEndSize
)
528 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint
, wxControlPoint
);
531 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape
, wxBitmapShape
);
534 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape
, wxDrawnShape
);
536 wxOGLConstraint
*new_wxOGLConstraint(int type
,wxPyShape
*constraining
,PyObject
*constrained
){
537 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
538 wxOGLConstraint
* rv
= new wxOGLConstraint(type
, constraining
, *list
);
543 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape
, wxCompositeShape
);
545 wxOGLConstraint
*wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape
*self
,int type
,wxPyShape
*constraining
,PyObject
*constrained
){
546 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
547 wxOGLConstraint
* rv
= self
->AddConstraint(type
, constraining
, *list
);
551 PyObject
*wxPyCompositeShape_GetConstraints(wxPyCompositeShape
*self
){
552 wxList
& list
= self
->GetConstraints();
553 return wxPy_ConvertList(&list
);
555 PyObject
*wxPyCompositeShape_GetDivisions(wxPyCompositeShape
*self
){
556 wxList
& list
= self
->GetDivisions();
557 return wxPy_ConvertShapeList(&list
);
560 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape
, wxDividedShape
);
563 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape
, wxDivisionShape
);
566 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape
, wxEllipseShape
);
569 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape
, wxCircleShape
);
572 WXSHAPE_IMP_CALLBACKS(wxPyLineShape
, wxLineShape
);
574 void wxPyLineShape_AddArrowOrdered(wxPyLineShape
*self
,wxArrowHead
*arrow
,PyObject
*referenceList
,int end
){
575 wxList
* list
= wxPy_wxListHelper(referenceList
, wxT("wxArrowHead"));
576 self
->AddArrowOrdered(arrow
, *list
, end
);
579 PyObject
*wxPyLineShape_GetLineControlPoints(wxPyLineShape
*self
){
580 wxList
* list
= self
->GetLineControlPoints();
581 return wxPy_ConvertShapeList(list
);
584 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape
, wxPolygonShape
);
586 PyObject
*wxPyPolygonShape_Create(wxPyPolygonShape
*self
,PyObject
*points
){
587 wxList
* list
= wxPy_wxRealPoint_ListHelper(points
);
595 PyObject
*wxPyPolygonShape_GetPoints(wxPyPolygonShape
*self
){
596 wxList
* list
= self
->GetPoints();
600 wxNode
* node
= list
->GetFirst();
602 wxPyBeginBlockThreads();
603 pyList
= PyList_New(0);
605 wxObj
= node
->GetData();
606 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
607 PyList_Append(pyList
, pyObj
);
608 node
= node
->GetNext();
610 wxPyEndBlockThreads();
613 PyObject
*wxPyPolygonShape_GetOriginalPoints(wxPyPolygonShape
*self
){
614 wxList
* list
= self
->GetOriginalPoints();
618 wxNode
* node
= list
->GetFirst();
620 wxPyBeginBlockThreads();
621 pyList
= PyList_New(0);
623 wxObj
= node
->GetData();
624 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
625 PyList_Append(pyList
, pyObj
);
626 node
= node
->GetNext();
628 wxPyEndBlockThreads();
632 WXSHAPE_IMP_CALLBACKS(wxPyTextShape
, wxTextShape
);
635 // Put some wx default wxChar* values into wxStrings.
636 DECLARE_DEF_STRING(ShapeCanvasNameStr
);
638 PyObject
*wxDiagram_GetShapeList(wxDiagram
*self
){
639 wxList
* list
= self
->GetShapeList();
640 return wxPy_ConvertShapeList(list
);
643 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragLeft
);
644 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragRight
);
645 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragLeft
);
646 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragRight
);
647 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragLeft
);
648 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragRight
);
649 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnLeftClick
);
650 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnRightClick
);
653 //---------------------------------------------------------------------------
655 // Convert from a Python list to a list of className objects. This one will
656 // work for any class for the VERY generic cases, but beyond that the helper
657 // needs to know more about the type.
658 wxList
* wxPy_wxListHelper(PyObject
* pyList
, const wxChar
* className
) {
659 wxPyBeginBlockThreads();
660 if (!PyList_Check(pyList
)) {
661 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
662 wxPyEndBlockThreads();
665 int count
= PyList_Size(pyList
);
666 wxList
* list
= new wxList
;
668 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
669 wxPyEndBlockThreads();
672 for (int x
=0; x
<count
; x
++) {
673 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
674 wxObject
* wxo
= NULL
;
676 if ( !wxPyConvertSwigPtr(pyo
, (void **)&wxo
, className
) ) {
678 errmsg
.Printf(wxT("Type error, expected list of %s objects"), className
);
679 PyErr_SetString(PyExc_TypeError
, errmsg
.mb_str());
680 wxPyEndBlockThreads();
685 wxPyEndBlockThreads();
689 //---------------------------------------------------------------------------
691 wxList
* wxPy_wxRealPoint_ListHelper(PyObject
* pyList
) {
692 wxPyBeginBlockThreads();
693 if (!PyList_Check(pyList
)) {
694 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
695 wxPyEndBlockThreads();
698 int count
= PyList_Size(pyList
);
699 wxList
* list
= new wxList
;
701 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
702 wxPyEndBlockThreads();
705 for (int x
=0; x
<count
; x
++) {
706 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
708 if (PyTuple_Check(pyo
)) {
709 PyObject
* o1
= PyNumber_Float(PyTuple_GetItem(pyo
, 0));
710 PyObject
* o2
= PyNumber_Float(PyTuple_GetItem(pyo
, 1));
712 double val1
= (o1
? PyFloat_AsDouble(o1
) : 0.0);
713 double val2
= (o2
? PyFloat_AsDouble(o2
) : 0.0);
715 list
->Append((wxObject
*) new wxRealPoint(val1
, val2
));
718 wxRealPoint
* wxo
= NULL
;
719 if (wxPyConvertSwigPtr(pyo
, (void **)&wxo
, wxT("wxRealPoint"))) {
720 PyErr_SetString(PyExc_TypeError
, "Type error, expected list of wxRealPoint objects or 2-tuples");
721 wxPyEndBlockThreads();
724 list
->Append((wxObject
*) new wxRealPoint(*wxo
));
727 wxPyEndBlockThreads();
731 //---------------------------------------------------------------------------
733 PyObject
* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler
* source
) {
734 PyObject
* target
= NULL
;
736 if (source
&& wxIsKindOf(source
, wxShapeEvtHandler
)) {
737 // If it's derived from wxShapeEvtHandler then there may
738 // already be a pointer to a Python object that we can use
740 wxShapeEvtHandler
* seh
= (wxShapeEvtHandler
*)source
;
741 wxPyOORClientData
* data
= (wxPyOORClientData
*)seh
->GetClientObject();
743 target
= data
->m_obj
;
748 target
= wxPyMake_wxObject2(source
, FALSE
);
749 if (target
!= Py_None
)
750 ((wxShapeEvtHandler
*)source
)->SetClientObject(new wxPyOORClientData(target
));
755 //---------------------------------------------------------------------------
757 PyObject
* wxPy_ConvertShapeList(wxListBase
* listbase
) {
758 wxList
* list
= (wxList
*)listbase
;
762 wxNode
* node
= list
->GetFirst();
764 wxPyBeginBlockThreads();
765 pyList
= PyList_New(0);
767 wxObj
= node
->GetData();
768 pyObj
= wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler
*)wxObj
);
769 PyList_Append(pyList
, pyObj
);
770 node
= node
->GetNext();
772 wxPyEndBlockThreads();
777 //---------------------------------------------------------------------------
779 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas
, wxShapeCanvas
);
780 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler
, wxShapeEvtHandler
);
781 IMPLEMENT_ABSTRACT_CLASS(wxPyShape
, wxShape
);
782 IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape
, wxRectangleShape
);
783 IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint
, wxControlPoint
);
784 IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape
, wxBitmapShape
);
785 IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape
, wxDrawnShape
);
786 IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape
, wxCompositeShape
);
787 IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape
, wxDividedShape
);
788 IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape
, wxDivisionShape
);
789 IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape
, wxEllipseShape
);
790 IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape
, wxCircleShape
);
791 IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape
, wxLineShape
);
792 IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape
, wxPolygonShape
);
793 IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape
, wxTextShape
);
795 //---------------------------------------------------------------------------
797 // extern "C" SWIGEXPORT(void) initoglbasicc();
798 // extern "C" SWIGEXPORT(void) initoglshapesc();
799 // extern "C" SWIGEXPORT(void) initoglshapes2c();
800 // extern "C" SWIGEXPORT(void) initoglcanvasc();
805 static PyObject
*_wrap_new_ShapeRegion(PyObject
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
*resultobj
;
2619 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2625 bool arg7
= (bool) True
;
2627 PyObject
* obj0
= 0 ;
2628 PyObject
* obj1
= 0 ;
2629 PyObject
* obj2
= 0 ;
2630 PyObject
* obj3
= 0 ;
2631 PyObject
* obj4
= 0 ;
2632 PyObject
* obj5
= 0 ;
2633 PyObject
* obj6
= 0 ;
2635 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2642 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2645 PyErr_SetString(PyExc_TypeError
,"null reference");
2648 arg3
= (double) SWIG_AsDouble(obj2
);
2649 if (PyErr_Occurred()) SWIG_fail
;
2650 arg4
= (double) SWIG_AsDouble(obj3
);
2651 if (PyErr_Occurred()) SWIG_fail
;
2652 arg5
= (double) SWIG_AsDouble(obj4
);
2653 if (PyErr_Occurred()) SWIG_fail
;
2654 arg6
= (double) SWIG_AsDouble(obj5
);
2655 if (PyErr_Occurred()) SWIG_fail
;
2657 arg7
= (bool) SWIG_AsBool(obj6
);
2658 if (PyErr_Occurred()) SWIG_fail
;
2661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2662 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2664 wxPyEndAllowThreads(__tstate
);
2665 if (PyErr_Occurred()) SWIG_fail
;
2667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2674 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
*resultobj
;
2676 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2682 bool arg7
= (bool) True
;
2683 PyObject
* obj0
= 0 ;
2684 PyObject
* obj1
= 0 ;
2685 PyObject
* obj2
= 0 ;
2686 PyObject
* obj3
= 0 ;
2687 PyObject
* obj4
= 0 ;
2688 PyObject
* obj5
= 0 ;
2689 PyObject
* obj6
= 0 ;
2691 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2701 PyErr_SetString(PyExc_TypeError
,"null reference");
2704 arg3
= (double) SWIG_AsDouble(obj2
);
2705 if (PyErr_Occurred()) SWIG_fail
;
2706 arg4
= (double) SWIG_AsDouble(obj3
);
2707 if (PyErr_Occurred()) SWIG_fail
;
2708 arg5
= (double) SWIG_AsDouble(obj4
);
2709 if (PyErr_Occurred()) SWIG_fail
;
2710 arg6
= (double) SWIG_AsDouble(obj5
);
2711 if (PyErr_Occurred()) SWIG_fail
;
2713 arg7
= (bool) SWIG_AsBool(obj6
);
2714 if (PyErr_Occurred()) SWIG_fail
;
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2723 Py_INCREF(Py_None
); resultobj
= Py_None
;
2730 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2731 PyObject
*resultobj
;
2732 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2736 int arg5
= (int) 0 ;
2737 int arg6
= (int) 0 ;
2738 PyObject
* obj0
= 0 ;
2739 PyObject
* obj1
= 0 ;
2740 PyObject
* obj2
= 0 ;
2741 PyObject
* obj3
= 0 ;
2742 PyObject
* obj4
= 0 ;
2743 PyObject
* obj5
= 0 ;
2745 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2751 arg2
= (bool) SWIG_AsBool(obj1
);
2752 if (PyErr_Occurred()) SWIG_fail
;
2753 arg3
= (double) SWIG_AsDouble(obj2
);
2754 if (PyErr_Occurred()) SWIG_fail
;
2755 arg4
= (double) SWIG_AsDouble(obj3
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2758 arg5
= (int) SWIG_AsInt(obj4
);
2759 if (PyErr_Occurred()) SWIG_fail
;
2762 arg6
= (int) SWIG_AsInt(obj5
);
2763 if (PyErr_Occurred()) SWIG_fail
;
2766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2767 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
2769 wxPyEndAllowThreads(__tstate
);
2770 if (PyErr_Occurred()) SWIG_fail
;
2772 Py_INCREF(Py_None
); resultobj
= Py_None
;
2779 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2780 PyObject
*resultobj
;
2781 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2784 int arg4
= (int) 0 ;
2785 int arg5
= (int) 0 ;
2786 PyObject
* obj0
= 0 ;
2787 PyObject
* obj1
= 0 ;
2788 PyObject
* obj2
= 0 ;
2789 PyObject
* obj3
= 0 ;
2790 PyObject
* obj4
= 0 ;
2792 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2798 arg2
= (double) SWIG_AsDouble(obj1
);
2799 if (PyErr_Occurred()) SWIG_fail
;
2800 arg3
= (double) SWIG_AsDouble(obj2
);
2801 if (PyErr_Occurred()) SWIG_fail
;
2803 arg4
= (int) SWIG_AsInt(obj3
);
2804 if (PyErr_Occurred()) SWIG_fail
;
2807 arg5
= (int) SWIG_AsInt(obj4
);
2808 if (PyErr_Occurred()) SWIG_fail
;
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2812 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) SWIG_fail
;
2817 Py_INCREF(Py_None
); resultobj
= Py_None
;
2824 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
*resultobj
;
2826 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2829 int arg4
= (int) 0 ;
2830 int arg5
= (int) 0 ;
2831 PyObject
* obj0
= 0 ;
2832 PyObject
* obj1
= 0 ;
2833 PyObject
* obj2
= 0 ;
2834 PyObject
* obj3
= 0 ;
2835 PyObject
* obj4
= 0 ;
2837 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2843 arg2
= (double) SWIG_AsDouble(obj1
);
2844 if (PyErr_Occurred()) SWIG_fail
;
2845 arg3
= (double) SWIG_AsDouble(obj2
);
2846 if (PyErr_Occurred()) SWIG_fail
;
2848 arg4
= (int) SWIG_AsInt(obj3
);
2849 if (PyErr_Occurred()) SWIG_fail
;
2852 arg5
= (int) SWIG_AsInt(obj4
);
2853 if (PyErr_Occurred()) SWIG_fail
;
2856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2857 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
2859 wxPyEndAllowThreads(__tstate
);
2860 if (PyErr_Occurred()) SWIG_fail
;
2862 Py_INCREF(Py_None
); resultobj
= Py_None
;
2869 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
*resultobj
;
2871 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2875 int arg5
= (int) 0 ;
2876 int arg6
= (int) 0 ;
2877 PyObject
* obj0
= 0 ;
2878 PyObject
* obj1
= 0 ;
2879 PyObject
* obj2
= 0 ;
2880 PyObject
* obj3
= 0 ;
2881 PyObject
* obj4
= 0 ;
2882 PyObject
* obj5
= 0 ;
2884 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2890 arg2
= (bool) SWIG_AsBool(obj1
);
2891 if (PyErr_Occurred()) SWIG_fail
;
2892 arg3
= (double) SWIG_AsDouble(obj2
);
2893 if (PyErr_Occurred()) SWIG_fail
;
2894 arg4
= (double) SWIG_AsDouble(obj3
);
2895 if (PyErr_Occurred()) SWIG_fail
;
2897 arg5
= (int) SWIG_AsInt(obj4
);
2898 if (PyErr_Occurred()) SWIG_fail
;
2901 arg6
= (int) SWIG_AsInt(obj5
);
2902 if (PyErr_Occurred()) SWIG_fail
;
2905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2906 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
2908 wxPyEndAllowThreads(__tstate
);
2909 if (PyErr_Occurred()) SWIG_fail
;
2911 Py_INCREF(Py_None
); resultobj
= Py_None
;
2918 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
*resultobj
;
2920 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2923 int arg4
= (int) 0 ;
2924 int arg5
= (int) 0 ;
2925 PyObject
* obj0
= 0 ;
2926 PyObject
* obj1
= 0 ;
2927 PyObject
* obj2
= 0 ;
2928 PyObject
* obj3
= 0 ;
2929 PyObject
* obj4
= 0 ;
2931 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2937 arg2
= (double) SWIG_AsDouble(obj1
);
2938 if (PyErr_Occurred()) SWIG_fail
;
2939 arg3
= (double) SWIG_AsDouble(obj2
);
2940 if (PyErr_Occurred()) SWIG_fail
;
2942 arg4
= (int) SWIG_AsInt(obj3
);
2943 if (PyErr_Occurred()) SWIG_fail
;
2946 arg5
= (int) SWIG_AsInt(obj4
);
2947 if (PyErr_Occurred()) SWIG_fail
;
2950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2951 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
2953 wxPyEndAllowThreads(__tstate
);
2954 if (PyErr_Occurred()) SWIG_fail
;
2956 Py_INCREF(Py_None
); resultobj
= Py_None
;
2963 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2964 PyObject
*resultobj
;
2965 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2968 int arg4
= (int) 0 ;
2969 int arg5
= (int) 0 ;
2970 PyObject
* obj0
= 0 ;
2971 PyObject
* obj1
= 0 ;
2972 PyObject
* obj2
= 0 ;
2973 PyObject
* obj3
= 0 ;
2974 PyObject
* obj4
= 0 ;
2976 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2982 arg2
= (double) SWIG_AsDouble(obj1
);
2983 if (PyErr_Occurred()) SWIG_fail
;
2984 arg3
= (double) SWIG_AsDouble(obj2
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2987 arg4
= (int) SWIG_AsInt(obj3
);
2988 if (PyErr_Occurred()) SWIG_fail
;
2991 arg5
= (int) SWIG_AsInt(obj4
);
2992 if (PyErr_Occurred()) SWIG_fail
;
2995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2996 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
2998 wxPyEndAllowThreads(__tstate
);
2999 if (PyErr_Occurred()) SWIG_fail
;
3001 Py_INCREF(Py_None
); resultobj
= Py_None
;
3008 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3009 PyObject
*resultobj
;
3010 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3016 PyObject
* obj0
= 0 ;
3017 PyObject
* obj1
= 0 ;
3018 PyObject
* obj2
= 0 ;
3019 PyObject
* obj3
= 0 ;
3020 PyObject
* obj4
= 0 ;
3021 PyObject
* obj5
= 0 ;
3023 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShapeEvtHandler_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3033 PyErr_SetString(PyExc_TypeError
,"null reference");
3036 arg3
= (double) SWIG_AsDouble(obj2
);
3037 if (PyErr_Occurred()) SWIG_fail
;
3038 arg4
= (double) SWIG_AsDouble(obj3
);
3039 if (PyErr_Occurred()) SWIG_fail
;
3040 arg5
= (double) SWIG_AsDouble(obj4
);
3041 if (PyErr_Occurred()) SWIG_fail
;
3042 arg6
= (double) SWIG_AsDouble(obj5
);
3043 if (PyErr_Occurred()) SWIG_fail
;
3045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3046 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
3048 wxPyEndAllowThreads(__tstate
);
3049 if (PyErr_Occurred()) SWIG_fail
;
3051 Py_INCREF(Py_None
); resultobj
= Py_None
;
3058 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
*resultobj
;
3060 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3062 PyObject
* obj0
= 0 ;
3063 PyObject
* obj1
= 0 ;
3065 (char *) "self",(char *) "dc", NULL
3068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3072 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3075 PyErr_SetString(PyExc_TypeError
,"null reference");
3079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3080 (arg1
)->base_OnDrawControlPoints(*arg2
);
3082 wxPyEndAllowThreads(__tstate
);
3083 if (PyErr_Occurred()) SWIG_fail
;
3085 Py_INCREF(Py_None
); resultobj
= Py_None
;
3092 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3093 PyObject
*resultobj
;
3094 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3096 PyObject
* obj0
= 0 ;
3097 PyObject
* obj1
= 0 ;
3099 (char *) "self",(char *) "dc", NULL
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3106 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3109 PyErr_SetString(PyExc_TypeError
,"null reference");
3113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3114 (arg1
)->base_OnEraseControlPoints(*arg2
);
3116 wxPyEndAllowThreads(__tstate
);
3117 if (PyErr_Occurred()) SWIG_fail
;
3119 Py_INCREF(Py_None
); resultobj
= Py_None
;
3126 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3127 PyObject
*resultobj
;
3128 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3130 bool arg3
= (bool) True
;
3131 PyObject
* obj0
= 0 ;
3132 PyObject
* obj1
= 0 ;
3133 PyObject
* obj2
= 0 ;
3135 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
3138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3141 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3142 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3145 PyErr_SetString(PyExc_TypeError
,"null reference");
3149 arg3
= (bool) SWIG_AsBool(obj2
);
3150 if (PyErr_Occurred()) SWIG_fail
;
3153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3154 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
3156 wxPyEndAllowThreads(__tstate
);
3157 if (PyErr_Occurred()) SWIG_fail
;
3159 Py_INCREF(Py_None
); resultobj
= Py_None
;
3166 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
*resultobj
;
3168 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3169 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3173 int arg6
= (int) 0 ;
3174 int arg7
= (int) 0 ;
3175 PyObject
* obj0
= 0 ;
3176 PyObject
* obj1
= 0 ;
3177 PyObject
* obj2
= 0 ;
3178 PyObject
* obj3
= 0 ;
3179 PyObject
* obj4
= 0 ;
3180 PyObject
* obj5
= 0 ;
3181 PyObject
* obj6
= 0 ;
3183 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
3190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3191 arg3
= (bool) SWIG_AsBool(obj2
);
3192 if (PyErr_Occurred()) SWIG_fail
;
3193 arg4
= (double) SWIG_AsDouble(obj3
);
3194 if (PyErr_Occurred()) SWIG_fail
;
3195 arg5
= (double) SWIG_AsDouble(obj4
);
3196 if (PyErr_Occurred()) SWIG_fail
;
3198 arg6
= (int) SWIG_AsInt(obj5
);
3199 if (PyErr_Occurred()) SWIG_fail
;
3202 arg7
= (int) SWIG_AsInt(obj6
);
3203 if (PyErr_Occurred()) SWIG_fail
;
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) SWIG_fail
;
3212 Py_INCREF(Py_None
); resultobj
= Py_None
;
3219 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
*resultobj
;
3221 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3222 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3225 int arg5
= (int) 0 ;
3226 int arg6
= (int) 0 ;
3227 PyObject
* obj0
= 0 ;
3228 PyObject
* obj1
= 0 ;
3229 PyObject
* obj2
= 0 ;
3230 PyObject
* obj3
= 0 ;
3231 PyObject
* obj4
= 0 ;
3232 PyObject
* obj5
= 0 ;
3234 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
3241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3242 arg3
= (double) SWIG_AsDouble(obj2
);
3243 if (PyErr_Occurred()) SWIG_fail
;
3244 arg4
= (double) SWIG_AsDouble(obj3
);
3245 if (PyErr_Occurred()) SWIG_fail
;
3247 arg5
= (int) SWIG_AsInt(obj4
);
3248 if (PyErr_Occurred()) SWIG_fail
;
3251 arg6
= (int) SWIG_AsInt(obj5
);
3252 if (PyErr_Occurred()) SWIG_fail
;
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) SWIG_fail
;
3261 Py_INCREF(Py_None
); resultobj
= Py_None
;
3268 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3269 PyObject
*resultobj
;
3270 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3271 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3274 int arg5
= (int) 0 ;
3275 int arg6
= (int) 0 ;
3276 PyObject
* obj0
= 0 ;
3277 PyObject
* obj1
= 0 ;
3278 PyObject
* obj2
= 0 ;
3279 PyObject
* obj3
= 0 ;
3280 PyObject
* obj4
= 0 ;
3281 PyObject
* obj5
= 0 ;
3283 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
3290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3291 arg3
= (double) SWIG_AsDouble(obj2
);
3292 if (PyErr_Occurred()) SWIG_fail
;
3293 arg4
= (double) SWIG_AsDouble(obj3
);
3294 if (PyErr_Occurred()) SWIG_fail
;
3296 arg5
= (int) SWIG_AsInt(obj4
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3300 arg6
= (int) SWIG_AsInt(obj5
);
3301 if (PyErr_Occurred()) SWIG_fail
;
3304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3305 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
3307 wxPyEndAllowThreads(__tstate
);
3308 if (PyErr_Occurred()) SWIG_fail
;
3310 Py_INCREF(Py_None
); resultobj
= Py_None
;
3317 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
*resultobj
;
3319 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3322 PyObject
* obj0
= 0 ;
3323 PyObject
* obj1
= 0 ;
3324 PyObject
* obj2
= 0 ;
3326 (char *) "self",(char *) "w",(char *) "h", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3332 arg2
= (double) SWIG_AsDouble(obj1
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3334 arg3
= (double) SWIG_AsDouble(obj2
);
3335 if (PyErr_Occurred()) SWIG_fail
;
3337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3338 (arg1
)->base_OnBeginSize(arg2
,arg3
);
3340 wxPyEndAllowThreads(__tstate
);
3341 if (PyErr_Occurred()) SWIG_fail
;
3343 Py_INCREF(Py_None
); resultobj
= Py_None
;
3350 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
*resultobj
;
3352 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3355 PyObject
* obj0
= 0 ;
3356 PyObject
* obj1
= 0 ;
3357 PyObject
* obj2
= 0 ;
3359 (char *) "self",(char *) "w",(char *) "h", NULL
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3365 arg2
= (double) SWIG_AsDouble(obj1
);
3366 if (PyErr_Occurred()) SWIG_fail
;
3367 arg3
= (double) SWIG_AsDouble(obj2
);
3368 if (PyErr_Occurred()) SWIG_fail
;
3370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3371 (arg1
)->base_OnEndSize(arg2
,arg3
);
3373 wxPyEndAllowThreads(__tstate
);
3374 if (PyErr_Occurred()) SWIG_fail
;
3376 Py_INCREF(Py_None
); resultobj
= Py_None
;
3383 static PyObject
* PyShapeEvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
3385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3386 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler
, obj
);
3388 return Py_BuildValue((char *)"");
3390 static PyObject
*_wrap_new_PyShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
*resultobj
;
3392 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
3394 PyObject
* obj0
= 0 ;
3396 (char *) "can", NULL
3399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyShape",kwnames
,&obj0
)) goto fail
;
3401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
3402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3406 result
= (wxPyShape
*)new wxPyShape(arg1
);
3408 wxPyEndAllowThreads(__tstate
);
3409 if (PyErr_Occurred()) SWIG_fail
;
3412 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3420 static PyObject
*_wrap_PyShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
*resultobj
;
3422 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3423 PyObject
*arg2
= (PyObject
*) 0 ;
3424 PyObject
*arg3
= (PyObject
*) 0 ;
3425 PyObject
* obj0
= 0 ;
3426 PyObject
* obj1
= 0 ;
3427 PyObject
* obj2
= 0 ;
3429 (char *) "self",(char *) "self",(char *) "_class", NULL
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3439 (arg1
)->_setCallbackInfo(arg2
,arg3
);
3441 wxPyEndAllowThreads(__tstate
);
3442 if (PyErr_Occurred()) SWIG_fail
;
3444 Py_INCREF(Py_None
); resultobj
= Py_None
;
3451 static PyObject
*_wrap_PyShape_GetBoundingBoxMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3454 double *arg2
= (double *) 0 ;
3455 double *arg3
= (double *) 0 ;
3458 PyObject
* obj0
= 0 ;
3460 (char *) "self", NULL
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMax",kwnames
,&obj0
)) goto fail
;
3466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 (arg1
)->GetBoundingBoxMax(arg2
,arg3
);
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3475 Py_INCREF(Py_None
); resultobj
= Py_None
;
3477 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
3478 resultobj
= t_output_helper(resultobj
,o
);
3481 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
3482 resultobj
= t_output_helper(resultobj
,o
);
3490 static PyObject
*_wrap_PyShape_GetBoundingBoxMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
*resultobj
;
3492 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3493 double *arg2
= (double *) 0 ;
3494 double *arg3
= (double *) 0 ;
3497 PyObject
* obj0
= 0 ;
3499 (char *) "self", NULL
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMin",kwnames
,&obj0
)) goto fail
;
3505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 (arg1
)->GetBoundingBoxMin(arg2
,arg3
);
3511 wxPyEndAllowThreads(__tstate
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3514 Py_INCREF(Py_None
); resultobj
= Py_None
;
3516 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
3517 resultobj
= t_output_helper(resultobj
,o
);
3520 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
3521 resultobj
= t_output_helper(resultobj
,o
);
3529 static PyObject
*_wrap_PyShape_GetPerimeterPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
*resultobj
;
3531 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3536 double *arg6
= (double *) 0 ;
3537 double *arg7
= (double *) 0 ;
3541 PyObject
* obj0
= 0 ;
3542 PyObject
* obj1
= 0 ;
3543 PyObject
* obj2
= 0 ;
3544 PyObject
* obj3
= 0 ;
3545 PyObject
* obj4
= 0 ;
3547 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_GetPerimeterPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3555 arg2
= (double) SWIG_AsDouble(obj1
);
3556 if (PyErr_Occurred()) SWIG_fail
;
3557 arg3
= (double) SWIG_AsDouble(obj2
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3559 arg4
= (double) SWIG_AsDouble(obj3
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3561 arg5
= (double) SWIG_AsDouble(obj4
);
3562 if (PyErr_Occurred()) SWIG_fail
;
3564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3565 result
= (bool)(arg1
)->GetPerimeterPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
3567 wxPyEndAllowThreads(__tstate
);
3568 if (PyErr_Occurred()) SWIG_fail
;
3570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3572 PyObject
*o
= PyFloat_FromDouble((double) (*arg6
));
3573 resultobj
= t_output_helper(resultobj
,o
);
3576 PyObject
*o
= PyFloat_FromDouble((double) (*arg7
));
3577 resultobj
= t_output_helper(resultobj
,o
);
3585 static PyObject
*_wrap_PyShape_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3586 PyObject
*resultobj
;
3587 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3588 wxPyShapeCanvas
*result
;
3589 PyObject
* obj0
= 0 ;
3591 (char *) "self", NULL
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCanvas",kwnames
,&obj0
)) goto fail
;
3595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) SWIG_fail
;
3605 resultobj
= wxPyMake_wxObject(result
);
3613 static PyObject
*_wrap_PyShape_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
*resultobj
;
3615 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3616 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3617 PyObject
* obj0
= 0 ;
3618 PyObject
* obj1
= 0 ;
3620 (char *) "self",(char *) "the_canvas", NULL
3623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3630 (arg1
)->SetCanvas(arg2
);
3632 wxPyEndAllowThreads(__tstate
);
3633 if (PyErr_Occurred()) SWIG_fail
;
3635 Py_INCREF(Py_None
); resultobj
= Py_None
;
3642 static PyObject
*_wrap_PyShape_AddToCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
*resultobj
;
3644 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3645 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3646 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
3647 PyObject
* obj0
= 0 ;
3648 PyObject
* obj1
= 0 ;
3649 PyObject
* obj2
= 0 ;
3651 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_AddToCanvas",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3660 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
3661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 (arg1
)->AddToCanvas(arg2
,arg3
);
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3670 Py_INCREF(Py_None
); resultobj
= Py_None
;
3677 static PyObject
*_wrap_PyShape_InsertInCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
*resultobj
;
3679 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3680 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3681 PyObject
* obj0
= 0 ;
3682 PyObject
* obj1
= 0 ;
3684 (char *) "self",(char *) "the_canvas", NULL
3687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_InsertInCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 (arg1
)->InsertInCanvas(arg2
);
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 Py_INCREF(Py_None
); resultobj
= Py_None
;
3706 static PyObject
*_wrap_PyShape_RemoveFromCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3708 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3709 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3710 PyObject
* obj0
= 0 ;
3711 PyObject
* obj1
= 0 ;
3713 (char *) "self",(char *) "the_canvas", NULL
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveFromCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 (arg1
)->RemoveFromCanvas(arg2
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) SWIG_fail
;
3728 Py_INCREF(Py_None
); resultobj
= Py_None
;
3735 static PyObject
*_wrap_PyShape_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
*resultobj
;
3737 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3739 PyObject
* obj0
= 0 ;
3741 (char *) "self", NULL
3744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetX",kwnames
,&obj0
)) goto fail
;
3745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 result
= (double)(arg1
)->GetX();
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3754 resultobj
= SWIG_FromDouble((double)result
);
3761 static PyObject
*_wrap_PyShape_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
*resultobj
;
3763 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3765 PyObject
* obj0
= 0 ;
3767 (char *) "self", NULL
3770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetY",kwnames
,&obj0
)) goto fail
;
3771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3775 result
= (double)(arg1
)->GetY();
3777 wxPyEndAllowThreads(__tstate
);
3778 if (PyErr_Occurred()) SWIG_fail
;
3780 resultobj
= SWIG_FromDouble((double)result
);
3787 static PyObject
*_wrap_PyShape_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3788 PyObject
*resultobj
;
3789 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3791 PyObject
* obj0
= 0 ;
3792 PyObject
* obj1
= 0 ;
3794 (char *) "self",(char *) "x", NULL
3797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3800 arg2
= (double) SWIG_AsDouble(obj1
);
3801 if (PyErr_Occurred()) SWIG_fail
;
3803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3809 Py_INCREF(Py_None
); resultobj
= Py_None
;
3816 static PyObject
*_wrap_PyShape_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
*resultobj
;
3818 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3820 PyObject
* obj0
= 0 ;
3821 PyObject
* obj1
= 0 ;
3823 (char *) "self",(char *) "y", NULL
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3829 arg2
= (double) SWIG_AsDouble(obj1
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3835 wxPyEndAllowThreads(__tstate
);
3836 if (PyErr_Occurred()) SWIG_fail
;
3838 Py_INCREF(Py_None
); resultobj
= Py_None
;
3845 static PyObject
*_wrap_PyShape_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
*resultobj
;
3847 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3849 PyObject
* obj0
= 0 ;
3851 (char *) "self", NULL
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetParent",kwnames
,&obj0
)) goto fail
;
3855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 result
= (wxPyShape
*)(arg1
)->GetParent();
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3865 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3873 static PyObject
*_wrap_PyShape_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
*resultobj
;
3875 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3876 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
3877 PyObject
* obj0
= 0 ;
3878 PyObject
* obj1
= 0 ;
3880 (char *) "self",(char *) "p", NULL
3883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
3884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
3887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3890 (arg1
)->SetParent(arg2
);
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) SWIG_fail
;
3895 Py_INCREF(Py_None
); resultobj
= Py_None
;
3902 static PyObject
*_wrap_PyShape_GetTopAncestor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
*resultobj
;
3904 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3906 PyObject
* obj0
= 0 ;
3908 (char *) "self", NULL
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetTopAncestor",kwnames
,&obj0
)) goto fail
;
3912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3916 result
= (wxPyShape
*)(arg1
)->GetTopAncestor();
3918 wxPyEndAllowThreads(__tstate
);
3919 if (PyErr_Occurred()) SWIG_fail
;
3922 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3930 static PyObject
*_wrap_PyShape_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
*resultobj
;
3932 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3934 PyObject
* obj0
= 0 ;
3936 (char *) "self", NULL
3939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetChildren",kwnames
,&obj0
)) goto fail
;
3940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 result
= (PyObject
*)wxPyShape_GetChildren(arg1
);
3946 wxPyEndAllowThreads(__tstate
);
3947 if (PyErr_Occurred()) SWIG_fail
;
3956 static PyObject
*_wrap_PyShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
*resultobj
;
3958 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3959 PyObject
* obj0
= 0 ;
3961 (char *) "self", NULL
3964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Unlink",kwnames
,&obj0
)) goto fail
;
3965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 wxPyEndAllowThreads(__tstate
);
3972 if (PyErr_Occurred()) SWIG_fail
;
3974 Py_INCREF(Py_None
); resultobj
= Py_None
;
3981 static PyObject
*_wrap_PyShape_SetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3982 PyObject
*resultobj
;
3983 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3985 PyObject
* obj0
= 0 ;
3986 PyObject
* obj1
= 0 ;
3988 (char *) "self",(char *) "drawH", NULL
3991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDrawHandles",kwnames
,&obj0
,&obj1
)) goto fail
;
3992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3994 arg2
= (bool) SWIG_AsBool(obj1
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3998 (arg1
)->SetDrawHandles(arg2
);
4000 wxPyEndAllowThreads(__tstate
);
4001 if (PyErr_Occurred()) SWIG_fail
;
4003 Py_INCREF(Py_None
); resultobj
= Py_None
;
4010 static PyObject
*_wrap_PyShape_GetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
*resultobj
;
4012 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4014 PyObject
* obj0
= 0 ;
4016 (char *) "self", NULL
4019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDrawHandles",kwnames
,&obj0
)) goto fail
;
4020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4024 result
= (bool)(arg1
)->GetDrawHandles();
4026 wxPyEndAllowThreads(__tstate
);
4027 if (PyErr_Occurred()) SWIG_fail
;
4029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4036 static PyObject
*_wrap_PyShape_MakeControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4037 PyObject
*resultobj
;
4038 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4039 PyObject
* obj0
= 0 ;
4041 (char *) "self", NULL
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeControlPoints",kwnames
,&obj0
)) goto fail
;
4045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4049 (arg1
)->MakeControlPoints();
4051 wxPyEndAllowThreads(__tstate
);
4052 if (PyErr_Occurred()) SWIG_fail
;
4054 Py_INCREF(Py_None
); resultobj
= Py_None
;
4061 static PyObject
*_wrap_PyShape_DeleteControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
*resultobj
;
4063 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4064 wxDC
*arg2
= (wxDC
*) NULL
;
4065 PyObject
* obj0
= 0 ;
4066 PyObject
* obj1
= 0 ;
4068 (char *) "self",(char *) "dc", NULL
4071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_DeleteControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
4076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4080 (arg1
)->DeleteControlPoints(arg2
);
4082 wxPyEndAllowThreads(__tstate
);
4083 if (PyErr_Occurred()) SWIG_fail
;
4085 Py_INCREF(Py_None
); resultobj
= Py_None
;
4092 static PyObject
*_wrap_PyShape_ResetControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
*resultobj
;
4094 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4095 PyObject
* obj0
= 0 ;
4097 (char *) "self", NULL
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetControlPoints",kwnames
,&obj0
)) goto fail
;
4101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4105 (arg1
)->ResetControlPoints();
4107 wxPyEndAllowThreads(__tstate
);
4108 if (PyErr_Occurred()) SWIG_fail
;
4110 Py_INCREF(Py_None
); resultobj
= Py_None
;
4117 static PyObject
*_wrap_PyShape_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4118 PyObject
*resultobj
;
4119 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4120 wxPyShapeEvtHandler
*result
;
4121 PyObject
* obj0
= 0 ;
4123 (char *) "self", NULL
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetEventHandler",kwnames
,&obj0
)) goto fail
;
4127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4131 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetEventHandler();
4133 wxPyEndAllowThreads(__tstate
);
4134 if (PyErr_Occurred()) SWIG_fail
;
4137 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
4145 static PyObject
*_wrap_PyShape_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4146 PyObject
*resultobj
;
4147 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4148 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
4149 PyObject
* obj0
= 0 ;
4150 PyObject
* obj1
= 0 ;
4152 (char *) "self",(char *) "handler", NULL
4155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
4156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeEvtHandler
,
4159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 (arg1
)->SetEventHandler(arg2
);
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4167 Py_INCREF(Py_None
); resultobj
= Py_None
;
4174 static PyObject
*_wrap_PyShape_MakeMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
;
4176 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4177 PyObject
* obj0
= 0 ;
4179 (char *) "self", NULL
4182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
4183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 (arg1
)->MakeMandatoryControlPoints();
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 Py_INCREF(Py_None
); resultobj
= Py_None
;
4199 static PyObject
*_wrap_PyShape_ResetMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
*resultobj
;
4201 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4202 PyObject
* obj0
= 0 ;
4204 (char *) "self", NULL
4207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
4208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4212 (arg1
)->ResetMandatoryControlPoints();
4214 wxPyEndAllowThreads(__tstate
);
4215 if (PyErr_Occurred()) SWIG_fail
;
4217 Py_INCREF(Py_None
); resultobj
= Py_None
;
4224 static PyObject
*_wrap_PyShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
*resultobj
;
4226 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4228 PyObject
* obj0
= 0 ;
4230 (char *) "self", NULL
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Recompute",kwnames
,&obj0
)) goto fail
;
4234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4238 result
= (bool)(arg1
)->Recompute();
4240 wxPyEndAllowThreads(__tstate
);
4241 if (PyErr_Occurred()) SWIG_fail
;
4243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4250 static PyObject
*_wrap_PyShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4251 PyObject
*resultobj
;
4252 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4253 PyObject
* obj0
= 0 ;
4255 (char *) "self", NULL
4258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
4259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 (arg1
)->CalculateSize();
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4268 Py_INCREF(Py_None
); resultobj
= Py_None
;
4275 static PyObject
*_wrap_PyShape_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
*resultobj
;
4277 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4278 bool arg2
= (bool) True
;
4279 wxDC
*arg3
= (wxDC
*) NULL
;
4280 PyObject
* obj0
= 0 ;
4281 PyObject
* obj1
= 0 ;
4282 PyObject
* obj2
= 0 ;
4284 (char *) "self",(char *) "select",(char *) "dc", NULL
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4291 arg2
= (bool) SWIG_AsBool(obj1
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4295 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
4296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 (arg1
)->Select(arg2
,arg3
);
4302 wxPyEndAllowThreads(__tstate
);
4303 if (PyErr_Occurred()) SWIG_fail
;
4305 Py_INCREF(Py_None
); resultobj
= Py_None
;
4312 static PyObject
*_wrap_PyShape_SetHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
*resultobj
;
4314 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4315 bool arg2
= (bool) True
;
4316 bool arg3
= (bool) False
;
4317 PyObject
* obj0
= 0 ;
4318 PyObject
* obj1
= 0 ;
4319 PyObject
* obj2
= 0 ;
4321 (char *) "self",(char *) "hi",(char *) "recurse", NULL
4324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4328 arg2
= (bool) SWIG_AsBool(obj1
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4332 arg3
= (bool) SWIG_AsBool(obj2
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 (arg1
)->SetHighlight(arg2
,arg3
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 Py_INCREF(Py_None
); resultobj
= Py_None
;
4349 static PyObject
*_wrap_PyShape_IsHighlighted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
;
4351 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4353 PyObject
* obj0
= 0 ;
4355 (char *) "self", NULL
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsHighlighted",kwnames
,&obj0
)) goto fail
;
4359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 result
= (bool)(arg1
)->IsHighlighted();
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4375 static PyObject
*_wrap_PyShape_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
*resultobj
;
4377 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4379 PyObject
* obj0
= 0 ;
4381 (char *) "self", NULL
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Selected",kwnames
,&obj0
)) goto fail
;
4385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4389 result
= (bool)(arg1
)->Selected();
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4401 static PyObject
*_wrap_PyShape_AncestorSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
*resultobj
;
4403 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4405 PyObject
* obj0
= 0 ;
4407 (char *) "self", NULL
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AncestorSelected",kwnames
,&obj0
)) goto fail
;
4411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 result
= (bool)(arg1
)->AncestorSelected();
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4427 static PyObject
*_wrap_PyShape_SetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
*resultobj
;
4429 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4430 int arg2
= (int) OP_ALL
;
4431 bool arg3
= (bool) False
;
4432 PyObject
* obj0
= 0 ;
4433 PyObject
* obj1
= 0 ;
4434 PyObject
* obj2
= 0 ;
4436 (char *) "self",(char *) "sens",(char *) "recursive", NULL
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetSensitivityFilter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4443 arg2
= (int) SWIG_AsInt(obj1
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4447 arg3
= (bool) SWIG_AsBool(obj2
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 (arg1
)->SetSensitivityFilter(arg2
,arg3
);
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 Py_INCREF(Py_None
); resultobj
= Py_None
;
4464 static PyObject
*_wrap_PyShape_GetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
;
4466 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4468 PyObject
* obj0
= 0 ;
4470 (char *) "self", NULL
4473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSensitivityFilter",kwnames
,&obj0
)) goto fail
;
4474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 result
= (int)(arg1
)->GetSensitivityFilter();
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) SWIG_fail
;
4483 resultobj
= SWIG_FromInt((int)result
);
4490 static PyObject
*_wrap_PyShape_SetDraggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
;
4492 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4494 bool arg3
= (bool) False
;
4495 PyObject
* obj0
= 0 ;
4496 PyObject
* obj1
= 0 ;
4497 PyObject
* obj2
= 0 ;
4499 (char *) "self",(char *) "drag",(char *) "recursive", NULL
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetDraggable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4505 arg2
= (bool) SWIG_AsBool(obj1
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4508 arg3
= (bool) SWIG_AsBool(obj2
);
4509 if (PyErr_Occurred()) SWIG_fail
;
4512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4513 (arg1
)->SetDraggable(arg2
,arg3
);
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4518 Py_INCREF(Py_None
); resultobj
= Py_None
;
4525 static PyObject
*_wrap_PyShape_SetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4530 PyObject
* obj0
= 0 ;
4531 PyObject
* obj1
= 0 ;
4532 PyObject
* obj2
= 0 ;
4534 (char *) "self",(char *) "x",(char *) "y", NULL
4537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetFixedSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4540 arg2
= (bool) SWIG_AsBool(obj1
);
4541 if (PyErr_Occurred()) SWIG_fail
;
4542 arg3
= (bool) SWIG_AsBool(obj2
);
4543 if (PyErr_Occurred()) SWIG_fail
;
4545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 (arg1
)->SetFixedSize(arg2
,arg3
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4551 Py_INCREF(Py_None
); resultobj
= Py_None
;
4558 static PyObject
*_wrap_PyShape_GetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
*resultobj
;
4560 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4561 bool *arg2
= (bool *) 0 ;
4562 bool *arg3
= (bool *) 0 ;
4565 PyObject
* obj0
= 0 ;
4567 (char *) "self", NULL
4572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedSize",kwnames
,&obj0
)) goto fail
;
4573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4577 (arg1
)->GetFixedSize(arg2
,arg3
);
4579 wxPyEndAllowThreads(__tstate
);
4580 if (PyErr_Occurred()) SWIG_fail
;
4582 Py_INCREF(Py_None
); resultobj
= Py_None
;
4584 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4585 resultobj
= t_output_helper(resultobj
,o
);
4588 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4589 resultobj
= t_output_helper(resultobj
,o
);
4597 static PyObject
*_wrap_PyShape_GetFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
*resultobj
;
4599 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4601 PyObject
* obj0
= 0 ;
4603 (char *) "self", NULL
4606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedWidth",kwnames
,&obj0
)) goto fail
;
4607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4611 result
= (bool)(arg1
)->GetFixedWidth();
4613 wxPyEndAllowThreads(__tstate
);
4614 if (PyErr_Occurred()) SWIG_fail
;
4616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4623 static PyObject
*_wrap_PyShape_GetFixedHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
*resultobj
;
4625 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4627 PyObject
* obj0
= 0 ;
4629 (char *) "self", NULL
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedHeight",kwnames
,&obj0
)) goto fail
;
4633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4637 result
= (bool)(arg1
)->GetFixedHeight();
4639 wxPyEndAllowThreads(__tstate
);
4640 if (PyErr_Occurred()) SWIG_fail
;
4642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4649 static PyObject
*_wrap_PyShape_SetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
*resultobj
;
4651 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4653 PyObject
* obj0
= 0 ;
4654 PyObject
* obj1
= 0 ;
4656 (char *) "self",(char *) "sp", NULL
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetSpaceAttachments",kwnames
,&obj0
,&obj1
)) goto fail
;
4660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4662 arg2
= (bool) SWIG_AsBool(obj1
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4666 (arg1
)->SetSpaceAttachments(arg2
);
4668 wxPyEndAllowThreads(__tstate
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4671 Py_INCREF(Py_None
); resultobj
= Py_None
;
4678 static PyObject
*_wrap_PyShape_GetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4679 PyObject
*resultobj
;
4680 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4682 PyObject
* obj0
= 0 ;
4684 (char *) "self", NULL
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSpaceAttachments",kwnames
,&obj0
)) goto fail
;
4688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 result
= (bool)(arg1
)->GetSpaceAttachments();
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4704 static PyObject
*_wrap_PyShape_SetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
*resultobj
;
4706 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4708 bool arg3
= (bool) False
;
4709 PyObject
* obj0
= 0 ;
4710 PyObject
* obj1
= 0 ;
4711 PyObject
* obj2
= 0 ;
4713 (char *) "self",(char *) "mode",(char *) "redraw", NULL
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetShadowMode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4719 arg2
= (int) SWIG_AsInt(obj1
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4722 arg3
= (bool) SWIG_AsBool(obj2
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4727 (arg1
)->SetShadowMode(arg2
,arg3
);
4729 wxPyEndAllowThreads(__tstate
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4732 Py_INCREF(Py_None
); resultobj
= Py_None
;
4739 static PyObject
*_wrap_PyShape_GetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
*resultobj
;
4741 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4743 PyObject
* obj0
= 0 ;
4745 (char *) "self", NULL
4748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetShadowMode",kwnames
,&obj0
)) goto fail
;
4749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4753 result
= (int)(arg1
)->GetShadowMode();
4755 wxPyEndAllowThreads(__tstate
);
4756 if (PyErr_Occurred()) SWIG_fail
;
4758 resultobj
= SWIG_FromInt((int)result
);
4765 static PyObject
*_wrap_PyShape_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
*resultobj
;
4767 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4770 int *arg4
= (int *) 0 ;
4771 double *arg5
= (double *) 0 ;
4775 PyObject
* obj0
= 0 ;
4776 PyObject
* obj1
= 0 ;
4777 PyObject
* obj2
= 0 ;
4779 (char *) "self",(char *) "x",(char *) "y", NULL
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_HitTest",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4787 arg2
= (double) SWIG_AsDouble(obj1
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4789 arg3
= (double) SWIG_AsDouble(obj2
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4793 result
= (bool)(arg1
)->HitTest(arg2
,arg3
,arg4
,arg5
);
4795 wxPyEndAllowThreads(__tstate
);
4796 if (PyErr_Occurred()) SWIG_fail
;
4798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4800 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4801 resultobj
= t_output_helper(resultobj
,o
);
4804 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
4805 resultobj
= t_output_helper(resultobj
,o
);
4813 static PyObject
*_wrap_PyShape_SetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4814 PyObject
*resultobj
;
4815 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4817 PyObject
* obj0
= 0 ;
4818 PyObject
* obj1
= 0 ;
4820 (char *) "self",(char *) "cr", NULL
4823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCentreResize",kwnames
,&obj0
,&obj1
)) goto fail
;
4824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4826 arg2
= (bool) SWIG_AsBool(obj1
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 (arg1
)->SetCentreResize(arg2
);
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4835 Py_INCREF(Py_None
); resultobj
= Py_None
;
4842 static PyObject
*_wrap_PyShape_GetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
*resultobj
;
4844 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4846 PyObject
* obj0
= 0 ;
4848 (char *) "self", NULL
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCentreResize",kwnames
,&obj0
)) goto fail
;
4852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 result
= (bool)(arg1
)->GetCentreResize();
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4868 static PyObject
*_wrap_PyShape_SetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
;
4870 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4872 PyObject
* obj0
= 0 ;
4873 PyObject
* obj1
= 0 ;
4875 (char *) "self",(char *) "ar", NULL
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
4879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4881 arg2
= (bool) SWIG_AsBool(obj1
);
4882 if (PyErr_Occurred()) SWIG_fail
;
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4885 (arg1
)->SetMaintainAspectRatio(arg2
);
4887 wxPyEndAllowThreads(__tstate
);
4888 if (PyErr_Occurred()) SWIG_fail
;
4890 Py_INCREF(Py_None
); resultobj
= Py_None
;
4897 static PyObject
*_wrap_PyShape_GetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
*resultobj
;
4899 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4901 PyObject
* obj0
= 0 ;
4903 (char *) "self", NULL
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames
,&obj0
)) goto fail
;
4907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 result
= (bool)(arg1
)->GetMaintainAspectRatio();
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4923 static PyObject
*_wrap_PyShape_GetLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4924 PyObject
*resultobj
;
4925 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4927 PyObject
* obj0
= 0 ;
4929 (char *) "self", NULL
4932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetLines",kwnames
,&obj0
)) goto fail
;
4933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4937 result
= (PyObject
*)wxPyShape_GetLines(arg1
);
4939 wxPyEndAllowThreads(__tstate
);
4940 if (PyErr_Occurred()) SWIG_fail
;
4949 static PyObject
*_wrap_PyShape_SetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4950 PyObject
*resultobj
;
4951 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4953 PyObject
* obj0
= 0 ;
4954 PyObject
* obj1
= 0 ;
4956 (char *) "self",(char *) "flag", NULL
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDisableLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
4960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4962 arg2
= (bool) SWIG_AsBool(obj1
);
4963 if (PyErr_Occurred()) SWIG_fail
;
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 (arg1
)->SetDisableLabel(arg2
);
4968 wxPyEndAllowThreads(__tstate
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4971 Py_INCREF(Py_None
); resultobj
= Py_None
;
4978 static PyObject
*_wrap_PyShape_GetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4979 PyObject
*resultobj
;
4980 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4982 PyObject
* obj0
= 0 ;
4984 (char *) "self", NULL
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDisableLabel",kwnames
,&obj0
)) goto fail
;
4988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 result
= (bool)(arg1
)->GetDisableLabel();
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5004 static PyObject
*_wrap_PyShape_SetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5005 PyObject
*resultobj
;
5006 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5008 PyObject
* obj0
= 0 ;
5009 PyObject
* obj1
= 0 ;
5011 (char *) "self",(char *) "mode", NULL
5014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetAttachmentMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5017 arg2
= (int) SWIG_AsInt(obj1
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 (arg1
)->SetAttachmentMode(arg2
);
5023 wxPyEndAllowThreads(__tstate
);
5024 if (PyErr_Occurred()) SWIG_fail
;
5026 Py_INCREF(Py_None
); resultobj
= Py_None
;
5033 static PyObject
*_wrap_PyShape_GetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
*resultobj
;
5035 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5037 PyObject
* obj0
= 0 ;
5039 (char *) "self", NULL
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachmentMode",kwnames
,&obj0
)) goto fail
;
5043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5047 result
= (int)(arg1
)->GetAttachmentMode();
5049 wxPyEndAllowThreads(__tstate
);
5050 if (PyErr_Occurred()) SWIG_fail
;
5052 resultobj
= SWIG_FromInt((int)result
);
5059 static PyObject
*_wrap_PyShape_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
*resultobj
;
5061 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5063 PyObject
* obj0
= 0 ;
5064 PyObject
* obj1
= 0 ;
5066 (char *) "self",(char *) "i", NULL
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
5070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5072 arg2
= (long) SWIG_AsLong(obj1
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 (arg1
)->SetId(arg2
);
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5081 Py_INCREF(Py_None
); resultobj
= Py_None
;
5088 static PyObject
*_wrap_PyShape_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
*resultobj
;
5090 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5092 PyObject
* obj0
= 0 ;
5094 (char *) "self", NULL
5097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetId",kwnames
,&obj0
)) goto fail
;
5098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 result
= (long)(arg1
)->GetId();
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5107 resultobj
= SWIG_FromLong((long)result
);
5114 static PyObject
*_wrap_PyShape_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
*resultobj
;
5116 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5117 wxPen
*arg2
= (wxPen
*) 0 ;
5118 PyObject
* obj0
= 0 ;
5119 PyObject
* obj1
= 0 ;
5121 (char *) "self",(char *) "pen", NULL
5124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
5125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5130 if (obj1
== Py_None
) {
5133 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
5134 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
5139 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
5146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5147 (arg1
)->SetPen(arg2
);
5149 wxPyEndAllowThreads(__tstate
);
5150 if (PyErr_Occurred()) SWIG_fail
;
5152 Py_INCREF(Py_None
); resultobj
= Py_None
;
5159 static PyObject
*_wrap_PyShape_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5160 PyObject
*resultobj
;
5161 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5162 wxBrush
*arg2
= (wxBrush
*) 0 ;
5163 PyObject
* obj0
= 0 ;
5164 PyObject
* obj1
= 0 ;
5166 (char *) "self",(char *) "brush", NULL
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
5170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5175 if (obj1
== Py_None
) {
5178 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
5179 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
5184 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
5189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5190 (arg1
)->SetBrush(arg2
);
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5195 Py_INCREF(Py_None
); resultobj
= Py_None
;
5202 static PyObject
*_wrap_PyShape_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5203 PyObject
*resultobj
;
5204 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5206 PyObject
* obj0
= 0 ;
5207 PyObject
* obj1
= 0 ;
5209 (char *) "self",(char *) "show", NULL
5212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5215 arg2
= (bool) SWIG_AsBool(obj1
);
5216 if (PyErr_Occurred()) SWIG_fail
;
5218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5221 wxPyEndAllowThreads(__tstate
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5224 Py_INCREF(Py_None
); resultobj
= Py_None
;
5231 static PyObject
*_wrap_PyShape_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5232 PyObject
*resultobj
;
5233 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5235 PyObject
* obj0
= 0 ;
5237 (char *) "self", NULL
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsShown",kwnames
,&obj0
)) goto fail
;
5241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 result
= (bool)(arg1
)->IsShown();
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5257 static PyObject
*_wrap_PyShape_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
*resultobj
;
5259 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5263 bool arg5
= (bool) True
;
5264 PyObject
* obj0
= 0 ;
5265 PyObject
* obj1
= 0 ;
5266 PyObject
* obj2
= 0 ;
5267 PyObject
* obj3
= 0 ;
5268 PyObject
* obj4
= 0 ;
5270 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShape_Move",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5277 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5280 PyErr_SetString(PyExc_TypeError
,"null reference");
5283 arg3
= (double) SWIG_AsDouble(obj2
);
5284 if (PyErr_Occurred()) SWIG_fail
;
5285 arg4
= (double) SWIG_AsDouble(obj3
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5288 arg5
= (bool) SWIG_AsBool(obj4
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 (arg1
)->Move(*arg2
,arg3
,arg4
,arg5
);
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5298 Py_INCREF(Py_None
); resultobj
= Py_None
;
5305 static PyObject
*_wrap_PyShape_Erase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
*resultobj
;
5307 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5309 PyObject
* obj0
= 0 ;
5310 PyObject
* obj1
= 0 ;
5312 (char *) "self",(char *) "dc", NULL
5315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Erase",kwnames
,&obj0
,&obj1
)) goto fail
;
5316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5319 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5322 PyErr_SetString(PyExc_TypeError
,"null reference");
5326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5327 (arg1
)->Erase(*arg2
);
5329 wxPyEndAllowThreads(__tstate
);
5330 if (PyErr_Occurred()) SWIG_fail
;
5332 Py_INCREF(Py_None
); resultobj
= Py_None
;
5339 static PyObject
*_wrap_PyShape_EraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
*resultobj
;
5341 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5343 PyObject
* obj0
= 0 ;
5344 PyObject
* obj1
= 0 ;
5346 (char *) "self",(char *) "dc", NULL
5349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_EraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
5350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5353 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5356 PyErr_SetString(PyExc_TypeError
,"null reference");
5360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5361 (arg1
)->EraseContents(*arg2
);
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5366 Py_INCREF(Py_None
); resultobj
= Py_None
;
5373 static PyObject
*_wrap_PyShape_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5374 PyObject
*resultobj
;
5375 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5377 PyObject
* obj0
= 0 ;
5378 PyObject
* obj1
= 0 ;
5380 (char *) "self",(char *) "dc", NULL
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Draw",kwnames
,&obj0
,&obj1
)) goto fail
;
5384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5387 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5390 PyErr_SetString(PyExc_TypeError
,"null reference");
5394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5395 (arg1
)->Draw(*arg2
);
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5400 Py_INCREF(Py_None
); resultobj
= Py_None
;
5407 static PyObject
*_wrap_PyShape_Flash(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5408 PyObject
*resultobj
;
5409 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5410 PyObject
* obj0
= 0 ;
5412 (char *) "self", NULL
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Flash",kwnames
,&obj0
)) goto fail
;
5416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 wxPyEndAllowThreads(__tstate
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5425 Py_INCREF(Py_None
); resultobj
= Py_None
;
5432 static PyObject
*_wrap_PyShape_MoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
*resultobj
;
5434 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5436 PyObject
* obj0
= 0 ;
5437 PyObject
* obj1
= 0 ;
5439 (char *) "self",(char *) "dc", NULL
5442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_MoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
5443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5449 PyErr_SetString(PyExc_TypeError
,"null reference");
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 (arg1
)->MoveLinks(*arg2
);
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5459 Py_INCREF(Py_None
); resultobj
= Py_None
;
5466 static PyObject
*_wrap_PyShape_DrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
*resultobj
;
5468 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5470 PyObject
* obj0
= 0 ;
5471 PyObject
* obj1
= 0 ;
5473 (char *) "self",(char *) "dc", NULL
5476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_DrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
5477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5480 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5483 PyErr_SetString(PyExc_TypeError
,"null reference");
5487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 (arg1
)->DrawContents(*arg2
);
5490 wxPyEndAllowThreads(__tstate
);
5491 if (PyErr_Occurred()) SWIG_fail
;
5493 Py_INCREF(Py_None
); resultobj
= Py_None
;
5500 static PyObject
*_wrap_PyShape_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5501 PyObject
*resultobj
;
5502 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5505 bool arg4
= (bool) True
;
5506 PyObject
* obj0
= 0 ;
5507 PyObject
* obj1
= 0 ;
5508 PyObject
* obj2
= 0 ;
5509 PyObject
* obj3
= 0 ;
5511 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShape_SetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5517 arg2
= (double) SWIG_AsDouble(obj1
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5519 arg3
= (double) SWIG_AsDouble(obj2
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5522 arg4
= (bool) SWIG_AsBool(obj3
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5527 (arg1
)->SetSize(arg2
,arg3
,arg4
);
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) SWIG_fail
;
5532 Py_INCREF(Py_None
); resultobj
= Py_None
;
5539 static PyObject
*_wrap_PyShape_SetAttachmentSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
*resultobj
;
5541 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5544 PyObject
* obj0
= 0 ;
5545 PyObject
* obj1
= 0 ;
5546 PyObject
* obj2
= 0 ;
5548 (char *) "self",(char *) "x",(char *) "y", NULL
5551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetAttachmentSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5554 arg2
= (double) SWIG_AsDouble(obj1
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5556 arg3
= (double) SWIG_AsDouble(obj2
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5560 (arg1
)->SetAttachmentSize(arg2
,arg3
);
5562 wxPyEndAllowThreads(__tstate
);
5563 if (PyErr_Occurred()) SWIG_fail
;
5565 Py_INCREF(Py_None
); resultobj
= Py_None
;
5572 static PyObject
*_wrap_PyShape_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
*resultobj
;
5574 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5575 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
5576 PyObject
* obj0
= 0 ;
5577 PyObject
* obj1
= 0 ;
5579 (char *) "self",(char *) "can", NULL
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
5583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
5586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 (arg1
)->Attach(arg2
);
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 Py_INCREF(Py_None
); resultobj
= Py_None
;
5601 static PyObject
*_wrap_PyShape_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5602 PyObject
*resultobj
;
5603 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5604 PyObject
* obj0
= 0 ;
5606 (char *) "self", NULL
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Detach",kwnames
,&obj0
)) goto fail
;
5610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5619 Py_INCREF(Py_None
); resultobj
= Py_None
;
5626 static PyObject
*_wrap_PyShape_Constrain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
*resultobj
;
5628 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5630 PyObject
* obj0
= 0 ;
5632 (char *) "self", NULL
5635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Constrain",kwnames
,&obj0
)) goto fail
;
5636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5640 result
= (bool)(arg1
)->Constrain();
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5652 static PyObject
*_wrap_PyShape_AddLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
;
5654 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5655 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5656 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
5657 int arg4
= (int) 0 ;
5658 int arg5
= (int) 0 ;
5659 int arg6
= (int) -1 ;
5660 int arg7
= (int) -1 ;
5661 PyObject
* obj0
= 0 ;
5662 PyObject
* obj1
= 0 ;
5663 PyObject
* obj2
= 0 ;
5664 PyObject
* obj3
= 0 ;
5665 PyObject
* obj4
= 0 ;
5666 PyObject
* obj5
= 0 ;
5667 PyObject
* obj6
= 0 ;
5669 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:PyShape_AddLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyLineShape
,
5676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5677 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
5678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5680 arg4
= (int) SWIG_AsInt(obj3
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5684 arg5
= (int) SWIG_AsInt(obj4
);
5685 if (PyErr_Occurred()) SWIG_fail
;
5688 arg6
= (int) SWIG_AsInt(obj5
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5692 arg7
= (int) SWIG_AsInt(obj6
);
5693 if (PyErr_Occurred()) SWIG_fail
;
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 (arg1
)->AddLine(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5702 Py_INCREF(Py_None
); resultobj
= Py_None
;
5709 static PyObject
*_wrap_PyShape_GetLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
;
5711 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5712 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5714 PyObject
* obj0
= 0 ;
5715 PyObject
* obj1
= 0 ;
5717 (char *) "self",(char *) "line", NULL
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetLinePosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyLineShape
,
5724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 result
= (int)(arg1
)->GetLinePosition(arg2
);
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5732 resultobj
= SWIG_FromInt((int)result
);
5739 static PyObject
*_wrap_PyShape_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
*resultobj
;
5741 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5742 wxString
*arg2
= 0 ;
5743 bool temp2
= False
;
5744 PyObject
* obj0
= 0 ;
5745 PyObject
* obj1
= 0 ;
5747 (char *) "self",(char *) "string", NULL
5750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddText",kwnames
,&obj0
,&obj1
)) goto fail
;
5751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5754 arg2
= wxString_in_helper(obj1
);
5755 if (arg2
== NULL
) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 (arg1
)->AddText((wxString
const &)*arg2
);
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 Py_INCREF(Py_None
); resultobj
= Py_None
;
5780 static PyObject
*_wrap_PyShape_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
*resultobj
;
5782 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5784 PyObject
* obj0
= 0 ;
5786 (char *) "self", NULL
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetPen",kwnames
,&obj0
)) goto fail
;
5790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 result
= (wxPen
*)(arg1
)->GetPen();
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
5806 static PyObject
*_wrap_PyShape_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
*resultobj
;
5808 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5810 PyObject
* obj0
= 0 ;
5812 (char *) "self", NULL
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBrush",kwnames
,&obj0
)) goto fail
;
5816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5820 result
= (wxBrush
*)(arg1
)->GetBrush();
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
5832 static PyObject
*_wrap_PyShape_SetDefaultRegionSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
*resultobj
;
5834 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5835 PyObject
* obj0
= 0 ;
5837 (char *) "self", NULL
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_SetDefaultRegionSize",kwnames
,&obj0
)) goto fail
;
5841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5845 (arg1
)->SetDefaultRegionSize();
5847 wxPyEndAllowThreads(__tstate
);
5848 if (PyErr_Occurred()) SWIG_fail
;
5850 Py_INCREF(Py_None
); resultobj
= Py_None
;
5857 static PyObject
*_wrap_PyShape_FormatText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
*resultobj
;
5859 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5861 wxString
*arg3
= 0 ;
5862 int arg4
= (int) 0 ;
5863 bool temp3
= False
;
5864 PyObject
* obj0
= 0 ;
5865 PyObject
* obj1
= 0 ;
5866 PyObject
* obj2
= 0 ;
5867 PyObject
* obj3
= 0 ;
5869 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShape_FormatText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5876 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5879 PyErr_SetString(PyExc_TypeError
,"null reference");
5883 arg3
= wxString_in_helper(obj2
);
5884 if (arg3
== NULL
) SWIG_fail
;
5888 arg4
= (int) SWIG_AsInt(obj3
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5893 (arg1
)->FormatText(*arg2
,(wxString
const &)*arg3
,arg4
);
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5898 Py_INCREF(Py_None
); resultobj
= Py_None
;
5913 static PyObject
*_wrap_PyShape_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
*resultobj
;
5915 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5917 int arg3
= (int) 0 ;
5918 PyObject
* obj0
= 0 ;
5919 PyObject
* obj1
= 0 ;
5920 PyObject
* obj2
= 0 ;
5922 (char *) "self",(char *) "mode",(char *) "regionId", NULL
5925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetFormatMode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5928 arg2
= (int) SWIG_AsInt(obj1
);
5929 if (PyErr_Occurred()) SWIG_fail
;
5931 arg3
= (int) SWIG_AsInt(obj2
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5936 (arg1
)->SetFormatMode(arg2
,arg3
);
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5941 Py_INCREF(Py_None
); resultobj
= Py_None
;
5948 static PyObject
*_wrap_PyShape_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
*resultobj
;
5950 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5951 int arg2
= (int) 0 ;
5953 PyObject
* obj0
= 0 ;
5954 PyObject
* obj1
= 0 ;
5956 (char *) "self",(char *) "regionId", NULL
5959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetFormatMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5963 arg2
= (int) SWIG_AsInt(obj1
);
5964 if (PyErr_Occurred()) SWIG_fail
;
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 result
= (int)(arg1
)->GetFormatMode(arg2
);
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5973 resultobj
= SWIG_FromInt((int)result
);
5980 static PyObject
*_wrap_PyShape_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
;
5982 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5983 wxFont
*arg2
= (wxFont
*) 0 ;
5984 int arg3
= (int) 0 ;
5985 PyObject
* obj0
= 0 ;
5986 PyObject
* obj1
= 0 ;
5987 PyObject
* obj2
= 0 ;
5989 (char *) "self",(char *) "font",(char *) "regionId", NULL
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5998 if (obj1
== Py_None
) {
6001 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
6002 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
6007 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
6011 temp
->GetUnderlined(),
6012 temp
->GetFaceName(),
6013 temp
->GetEncoding());
6018 arg3
= (int) SWIG_AsInt(obj2
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 (arg1
)->SetFont(arg2
,arg3
);
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6028 Py_INCREF(Py_None
); resultobj
= Py_None
;
6035 static PyObject
*_wrap_PyShape_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
*resultobj
;
6037 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6038 int arg2
= (int) 0 ;
6040 PyObject
* obj0
= 0 ;
6041 PyObject
* obj1
= 0 ;
6043 (char *) "self",(char *) "regionId", NULL
6046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6050 arg2
= (int) SWIG_AsInt(obj1
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
6067 static PyObject
*_wrap_PyShape_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6068 PyObject
*resultobj
;
6069 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6070 wxString
*arg2
= 0 ;
6071 int arg3
= (int) 0 ;
6072 bool temp2
= False
;
6073 PyObject
* obj0
= 0 ;
6074 PyObject
* obj1
= 0 ;
6075 PyObject
* obj2
= 0 ;
6077 (char *) "self",(char *) "colour",(char *) "regionId", NULL
6080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6084 arg2
= wxString_in_helper(obj1
);
6085 if (arg2
== NULL
) SWIG_fail
;
6089 arg3
= (int) SWIG_AsInt(obj2
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 (arg1
)->SetTextColour((wxString
const &)*arg2
,arg3
);
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6099 Py_INCREF(Py_None
); resultobj
= Py_None
;
6114 static PyObject
*_wrap_PyShape_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
*resultobj
;
6116 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6117 int arg2
= (int) 0 ;
6119 PyObject
* obj0
= 0 ;
6120 PyObject
* obj1
= 0 ;
6122 (char *) "self",(char *) "regionId", NULL
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6129 arg2
= (int) SWIG_AsInt(obj1
);
6130 if (PyErr_Occurred()) SWIG_fail
;
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6134 result
= (arg1
)->GetTextColour(arg2
);
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6141 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6143 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6152 static PyObject
*_wrap_PyShape_GetNumberOfTextRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
*resultobj
;
6154 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6156 PyObject
* obj0
= 0 ;
6158 (char *) "self", NULL
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames
,&obj0
)) goto fail
;
6162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 result
= (int)(arg1
)->GetNumberOfTextRegions();
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6171 resultobj
= SWIG_FromInt((int)result
);
6178 static PyObject
*_wrap_PyShape_SetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
*resultobj
;
6180 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6181 wxString
*arg2
= 0 ;
6182 int arg3
= (int) 0 ;
6183 bool temp2
= False
;
6184 PyObject
* obj0
= 0 ;
6185 PyObject
* obj1
= 0 ;
6186 PyObject
* obj2
= 0 ;
6188 (char *) "self",(char *) "name",(char *) "regionId", NULL
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetRegionName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6195 arg2
= wxString_in_helper(obj1
);
6196 if (arg2
== NULL
) SWIG_fail
;
6200 arg3
= (int) SWIG_AsInt(obj2
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 (arg1
)->SetRegionName((wxString
const &)*arg2
,arg3
);
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6210 Py_INCREF(Py_None
); resultobj
= Py_None
;
6225 static PyObject
*_wrap_PyShape_GetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
*resultobj
;
6227 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6230 PyObject
* obj0
= 0 ;
6231 PyObject
* obj1
= 0 ;
6233 (char *) "self",(char *) "regionId", NULL
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionName",kwnames
,&obj0
,&obj1
)) goto fail
;
6237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6239 arg2
= (int) SWIG_AsInt(obj1
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 result
= (arg1
)->GetRegionName(arg2
);
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6250 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6252 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6261 static PyObject
*_wrap_PyShape_GetRegionId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
;
6263 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6264 wxString
*arg2
= 0 ;
6266 bool temp2
= False
;
6267 PyObject
* obj0
= 0 ;
6268 PyObject
* obj1
= 0 ;
6270 (char *) "self",(char *) "name", NULL
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionId",kwnames
,&obj0
,&obj1
)) goto fail
;
6274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6277 arg2
= wxString_in_helper(obj1
);
6278 if (arg2
== NULL
) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 result
= (int)(arg1
)->GetRegionId((wxString
const &)*arg2
);
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= SWIG_FromInt((int)result
);
6303 static PyObject
*_wrap_PyShape_NameRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6305 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6306 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6307 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6308 bool temp2
= False
;
6309 PyObject
* obj0
= 0 ;
6310 PyObject
* obj1
= 0 ;
6312 (char *) "self",(char *) "parentName", NULL
6315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_NameRegions",kwnames
,&obj0
,&obj1
)) goto fail
;
6316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6320 arg2
= wxString_in_helper(obj1
);
6321 if (arg2
== NULL
) SWIG_fail
;
6326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6327 (arg1
)->NameRegions((wxString
const &)*arg2
);
6329 wxPyEndAllowThreads(__tstate
);
6330 if (PyErr_Occurred()) SWIG_fail
;
6332 Py_INCREF(Py_None
); resultobj
= Py_None
;
6347 static PyObject
*_wrap_PyShape_GetRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
*resultobj
;
6349 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6351 PyObject
* obj0
= 0 ;
6353 (char *) "self", NULL
6356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRegions",kwnames
,&obj0
)) goto fail
;
6357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6361 result
= (PyObject
*)wxPyShape_GetRegions(arg1
);
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6373 static PyObject
*_wrap_PyShape_AddRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
*resultobj
;
6375 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6376 wxShapeRegion
*arg2
= (wxShapeRegion
*) 0 ;
6377 PyObject
* obj0
= 0 ;
6378 PyObject
* obj1
= 0 ;
6380 (char *) "self",(char *) "region", NULL
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxShapeRegion
,
6387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 (arg1
)->AddRegion(arg2
);
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) SWIG_fail
;
6395 Py_INCREF(Py_None
); resultobj
= Py_None
;
6402 static PyObject
*_wrap_PyShape_ClearRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6403 PyObject
*resultobj
;
6404 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6405 PyObject
* obj0
= 0 ;
6407 (char *) "self", NULL
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearRegions",kwnames
,&obj0
)) goto fail
;
6411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 (arg1
)->ClearRegions();
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 Py_INCREF(Py_None
); resultobj
= Py_None
;
6427 static PyObject
*_wrap_PyShape_AssignNewIds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
*resultobj
;
6429 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6430 PyObject
* obj0
= 0 ;
6432 (char *) "self", NULL
6435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AssignNewIds",kwnames
,&obj0
)) goto fail
;
6436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 (arg1
)->AssignNewIds();
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) SWIG_fail
;
6445 Py_INCREF(Py_None
); resultobj
= Py_None
;
6452 static PyObject
*_wrap_PyShape_FindRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
*resultobj
;
6454 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6455 wxString
*arg2
= 0 ;
6456 int *arg3
= (int *) 0 ;
6458 bool temp2
= False
;
6460 PyObject
* obj0
= 0 ;
6461 PyObject
* obj1
= 0 ;
6463 (char *) "self",(char *) "regionName", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6471 arg2
= wxString_in_helper(obj1
);
6472 if (arg2
== NULL
) SWIG_fail
;
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 result
= (wxPyShape
*)(arg1
)->FindRegion((wxString
const &)*arg2
,arg3
);
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
6486 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
6487 resultobj
= t_output_helper(resultobj
,o
);
6503 static PyObject
*_wrap_PyShape_FindRegionNames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
*resultobj
;
6505 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6506 wxStringList
*arg2
= 0 ;
6507 PyObject
* obj0
= 0 ;
6508 PyObject
* obj1
= 0 ;
6510 (char *) "self",(char *) "list", NULL
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegionNames",kwnames
,&obj0
,&obj1
)) goto fail
;
6514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStringList
,
6517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6520 PyErr_SetString(PyExc_TypeError
,"null reference");
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 (arg1
)->FindRegionNames(*arg2
);
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6530 Py_INCREF(Py_None
); resultobj
= Py_None
;
6537 static PyObject
*_wrap_PyShape_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6538 PyObject
*resultobj
;
6539 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6540 int arg2
= (int) 0 ;
6541 PyObject
* obj0
= 0 ;
6542 PyObject
* obj1
= 0 ;
6544 (char *) "self",(char *) "regionId", NULL
6547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_ClearText",kwnames
,&obj0
,&obj1
)) goto fail
;
6548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6551 arg2
= (int) SWIG_AsInt(obj1
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 (arg1
)->ClearText(arg2
);
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6561 Py_INCREF(Py_None
); resultobj
= Py_None
;
6568 static PyObject
*_wrap_PyShape_RemoveLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
*resultobj
;
6570 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6571 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
6572 PyObject
* obj0
= 0 ;
6573 PyObject
* obj1
= 0 ;
6575 (char *) "self",(char *) "line", NULL
6578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveLine",kwnames
,&obj0
,&obj1
)) goto fail
;
6579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyLineShape
,
6582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 (arg1
)->RemoveLine(arg2
);
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6590 Py_INCREF(Py_None
); resultobj
= Py_None
;
6597 static PyObject
*_wrap_PyShape_GetAttachmentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
*resultobj
;
6599 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6601 double *arg3
= (double *) 0 ;
6602 double *arg4
= (double *) 0 ;
6603 int arg5
= (int) 0 ;
6604 int arg6
= (int) 1 ;
6605 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
6609 PyObject
* obj0
= 0 ;
6610 PyObject
* obj1
= 0 ;
6611 PyObject
* obj2
= 0 ;
6612 PyObject
* obj3
= 0 ;
6613 PyObject
* obj4
= 0 ;
6615 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PyShape_GetAttachmentPosition",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6623 arg2
= (int) SWIG_AsInt(obj1
);
6624 if (PyErr_Occurred()) SWIG_fail
;
6626 arg5
= (int) SWIG_AsInt(obj2
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6630 arg6
= (int) SWIG_AsInt(obj3
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6634 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg7
),SWIGTYPE_p_wxPyLineShape
,
6635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6639 result
= (bool)(arg1
)->GetAttachmentPosition(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
6641 wxPyEndAllowThreads(__tstate
);
6642 if (PyErr_Occurred()) SWIG_fail
;
6644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6646 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
6647 resultobj
= t_output_helper(resultobj
,o
);
6650 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
6651 resultobj
= t_output_helper(resultobj
,o
);
6659 static PyObject
*_wrap_PyShape_GetNumberOfAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6660 PyObject
*resultobj
;
6661 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6663 PyObject
* obj0
= 0 ;
6665 (char *) "self", NULL
6668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfAttachments",kwnames
,&obj0
)) goto fail
;
6669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6673 result
= (int)(arg1
)->GetNumberOfAttachments();
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6678 resultobj
= SWIG_FromInt((int)result
);
6685 static PyObject
*_wrap_PyShape_AttachmentIsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
*resultobj
;
6687 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6690 PyObject
* obj0
= 0 ;
6691 PyObject
* obj1
= 0 ;
6693 (char *) "self",(char *) "attachment", NULL
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AttachmentIsValid",kwnames
,&obj0
,&obj1
)) goto fail
;
6697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6699 arg2
= (int) SWIG_AsInt(obj1
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6703 result
= (bool)(arg1
)->AttachmentIsValid(arg2
);
6705 wxPyEndAllowThreads(__tstate
);
6706 if (PyErr_Occurred()) SWIG_fail
;
6708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6715 static PyObject
*_wrap_PyShape_GetAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6716 PyObject
*resultobj
;
6717 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6719 PyObject
* obj0
= 0 ;
6721 (char *) "self", NULL
6724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachments",kwnames
,&obj0
)) goto fail
;
6725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6729 result
= (PyObject
*)wxPyShape_GetAttachments(arg1
);
6731 wxPyEndAllowThreads(__tstate
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6741 static PyObject
*_wrap_PyShape_GetAttachmentPositionEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
*resultobj
;
6743 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6745 double *arg3
= (double *) 0 ;
6746 double *arg4
= (double *) 0 ;
6747 int arg5
= (int) 0 ;
6748 int arg6
= (int) 1 ;
6749 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
6753 PyObject
* obj0
= 0 ;
6754 PyObject
* obj1
= 0 ;
6755 PyObject
* obj2
= 0 ;
6756 PyObject
* obj3
= 0 ;
6757 PyObject
* obj4
= 0 ;
6759 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PyShape_GetAttachmentPositionEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6767 arg2
= (int) SWIG_AsInt(obj1
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6770 arg5
= (int) SWIG_AsInt(obj2
);
6771 if (PyErr_Occurred()) SWIG_fail
;
6774 arg6
= (int) SWIG_AsInt(obj3
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6778 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg7
),SWIGTYPE_p_wxPyLineShape
,
6779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6783 result
= (bool)(arg1
)->GetAttachmentPositionEdge(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
6785 wxPyEndAllowThreads(__tstate
);
6786 if (PyErr_Occurred()) SWIG_fail
;
6788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6790 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
6791 resultobj
= t_output_helper(resultobj
,o
);
6794 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
6795 resultobj
= t_output_helper(resultobj
,o
);
6803 static PyObject
*_wrap_PyShape_CalcSimpleAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6804 PyObject
*resultobj
;
6805 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6806 wxRealPoint
*arg2
= 0 ;
6807 wxRealPoint
*arg3
= 0 ;
6810 wxPyLineShape
*arg6
= (wxPyLineShape
*) 0 ;
6814 PyObject
* obj0
= 0 ;
6815 PyObject
* obj1
= 0 ;
6816 PyObject
* obj2
= 0 ;
6817 PyObject
* obj3
= 0 ;
6818 PyObject
* obj4
= 0 ;
6819 PyObject
* obj5
= 0 ;
6821 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_CalcSimpleAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6829 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6833 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6835 arg4
= (int) SWIG_AsInt(obj3
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6837 arg5
= (int) SWIG_AsInt(obj4
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6839 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyLineShape
,
6840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 result
= (arg1
)->CalcSimpleAttachment((wxRealPoint
const &)*arg2
,(wxRealPoint
const &)*arg3
,arg4
,arg5
,arg6
);
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6849 wxRealPoint
* resultptr
;
6850 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
6851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
6859 static PyObject
*_wrap_PyShape_AttachmentSortTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6860 PyObject
*resultobj
;
6861 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6863 wxRealPoint
*arg3
= 0 ;
6864 wxRealPoint
*arg4
= 0 ;
6868 PyObject
* obj0
= 0 ;
6869 PyObject
* obj1
= 0 ;
6870 PyObject
* obj2
= 0 ;
6871 PyObject
* obj3
= 0 ;
6873 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
6876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShape_AttachmentSortTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6879 arg2
= (int) SWIG_AsInt(obj1
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6883 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6887 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6891 result
= (bool)(arg1
)->AttachmentSortTest(arg2
,(wxRealPoint
const &)*arg3
,(wxRealPoint
const &)*arg4
);
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6903 static PyObject
*_wrap_PyShape_EraseLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6904 PyObject
*resultobj
;
6905 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6907 int arg3
= (int) -1 ;
6908 bool arg4
= (bool) False
;
6909 PyObject
* obj0
= 0 ;
6910 PyObject
* obj1
= 0 ;
6911 PyObject
* obj2
= 0 ;
6912 PyObject
* obj3
= 0 ;
6914 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PyShape_EraseLinks",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6920 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6921 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6924 PyErr_SetString(PyExc_TypeError
,"null reference");
6928 arg3
= (int) SWIG_AsInt(obj2
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6932 arg4
= (bool) SWIG_AsBool(obj3
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 (arg1
)->EraseLinks(*arg2
,arg3
,arg4
);
6939 wxPyEndAllowThreads(__tstate
);
6940 if (PyErr_Occurred()) SWIG_fail
;
6942 Py_INCREF(Py_None
); resultobj
= Py_None
;
6949 static PyObject
*_wrap_PyShape_DrawLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6950 PyObject
*resultobj
;
6951 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6953 int arg3
= (int) -1 ;
6954 bool arg4
= (bool) False
;
6955 PyObject
* obj0
= 0 ;
6956 PyObject
* obj1
= 0 ;
6957 PyObject
* obj2
= 0 ;
6958 PyObject
* obj3
= 0 ;
6960 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PyShape_DrawLinks",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6967 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6970 PyErr_SetString(PyExc_TypeError
,"null reference");
6974 arg3
= (int) SWIG_AsInt(obj2
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6978 arg4
= (bool) SWIG_AsBool(obj3
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 (arg1
)->DrawLinks(*arg2
,arg3
,arg4
);
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6988 Py_INCREF(Py_None
); resultobj
= Py_None
;
6995 static PyObject
*_wrap_PyShape_MoveLineToNewAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
;
6997 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6999 wxPyLineShape
*arg3
= (wxPyLineShape
*) 0 ;
7003 PyObject
* obj0
= 0 ;
7004 PyObject
* obj1
= 0 ;
7005 PyObject
* obj2
= 0 ;
7006 PyObject
* obj3
= 0 ;
7007 PyObject
* obj4
= 0 ;
7009 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
7012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_MoveLineToNewAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7019 PyErr_SetString(PyExc_TypeError
,"null reference");
7022 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyLineShape
,
7023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7024 arg4
= (double) SWIG_AsDouble(obj3
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7026 arg5
= (double) SWIG_AsDouble(obj4
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 result
= (bool)(arg1
)->MoveLineToNewAttachment(*arg2
,arg3
,arg4
,arg5
);
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7042 static PyObject
*_wrap_PyShape_ApplyAttachmentOrdering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7045 PyObject
*arg2
= (PyObject
*) 0 ;
7046 PyObject
* obj0
= 0 ;
7047 PyObject
* obj1
= 0 ;
7049 (char *) "self",(char *) "linesToSort", NULL
7052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames
,&obj0
,&obj1
)) goto fail
;
7053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7058 wxPyShape_ApplyAttachmentOrdering(arg1
,arg2
);
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7063 Py_INCREF(Py_None
); resultobj
= Py_None
;
7070 static PyObject
*_wrap_PyShape_GetBranchingAttachmentRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
;
7072 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7075 PyObject
* obj0
= 0 ;
7076 PyObject
* obj1
= 0 ;
7078 (char *) "self",(char *) "attachment", NULL
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetBranchingAttachmentRoot",kwnames
,&obj0
,&obj1
)) goto fail
;
7082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7084 arg2
= (int) SWIG_AsInt(obj1
);
7085 if (PyErr_Occurred()) SWIG_fail
;
7087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7088 result
= (arg1
)->GetBranchingAttachmentRoot(arg2
);
7090 wxPyEndAllowThreads(__tstate
);
7091 if (PyErr_Occurred()) SWIG_fail
;
7094 wxRealPoint
* resultptr
;
7095 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
7096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
7104 static PyObject
*_wrap_PyShape_GetBranchingAttachmentInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
;
7106 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7108 wxRealPoint
*arg3
= 0 ;
7109 wxRealPoint
*arg4
= 0 ;
7110 wxRealPoint
*arg5
= 0 ;
7111 wxRealPoint
*arg6
= 0 ;
7117 PyObject
* obj0
= 0 ;
7118 PyObject
* obj1
= 0 ;
7119 PyObject
* obj2
= 0 ;
7120 PyObject
* obj3
= 0 ;
7121 PyObject
* obj4
= 0 ;
7122 PyObject
* obj5
= 0 ;
7124 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
7127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_GetBranchingAttachmentInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7130 arg2
= (int) SWIG_AsInt(obj1
);
7131 if (PyErr_Occurred()) SWIG_fail
;
7134 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7138 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7142 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7146 if ( ! wxRealPoint_helper(obj5
, &arg6
)) SWIG_fail
;
7149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7150 result
= (bool)(arg1
)->GetBranchingAttachmentInfo(arg2
,*arg3
,*arg4
,*arg5
,*arg6
);
7152 wxPyEndAllowThreads(__tstate
);
7153 if (PyErr_Occurred()) SWIG_fail
;
7155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7162 static PyObject
*_wrap_PyShape_GetBranchingAttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
*resultobj
;
7164 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7167 wxRealPoint
*arg4
= 0 ;
7168 wxRealPoint
*arg5
= 0 ;
7172 PyObject
* obj0
= 0 ;
7173 PyObject
* obj1
= 0 ;
7174 PyObject
* obj2
= 0 ;
7175 PyObject
* obj3
= 0 ;
7176 PyObject
* obj4
= 0 ;
7178 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_GetBranchingAttachmentPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7184 arg2
= (int) SWIG_AsInt(obj1
);
7185 if (PyErr_Occurred()) SWIG_fail
;
7186 arg3
= (int) SWIG_AsInt(obj2
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7190 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7194 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 result
= (bool)(arg1
)->GetBranchingAttachmentPoint(arg2
,arg3
,*arg4
,*arg5
);
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7210 static PyObject
*_wrap_PyShape_GetAttachmentLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
*resultobj
;
7212 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7215 PyObject
* obj0
= 0 ;
7216 PyObject
* obj1
= 0 ;
7218 (char *) "self",(char *) "attachment", NULL
7221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetAttachmentLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7224 arg2
= (int) SWIG_AsInt(obj1
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7228 result
= (int)(arg1
)->GetAttachmentLineCount(arg2
);
7230 wxPyEndAllowThreads(__tstate
);
7231 if (PyErr_Occurred()) SWIG_fail
;
7233 resultobj
= SWIG_FromInt((int)result
);
7240 static PyObject
*_wrap_PyShape_SetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
*resultobj
;
7242 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7244 PyObject
* obj0
= 0 ;
7245 PyObject
* obj1
= 0 ;
7247 (char *) "self",(char *) "len", NULL
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchNeckLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7253 arg2
= (int) SWIG_AsInt(obj1
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7257 (arg1
)->SetBranchNeckLength(arg2
);
7259 wxPyEndAllowThreads(__tstate
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7262 Py_INCREF(Py_None
); resultobj
= Py_None
;
7269 static PyObject
*_wrap_PyShape_GetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
*resultobj
;
7271 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7273 PyObject
* obj0
= 0 ;
7275 (char *) "self", NULL
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchNeckLength",kwnames
,&obj0
)) goto fail
;
7279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 result
= (int)(arg1
)->GetBranchNeckLength();
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7288 resultobj
= SWIG_FromInt((int)result
);
7295 static PyObject
*_wrap_PyShape_SetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
*resultobj
;
7297 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7299 PyObject
* obj0
= 0 ;
7300 PyObject
* obj1
= 0 ;
7302 (char *) "self",(char *) "len", NULL
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchStemLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7308 arg2
= (int) SWIG_AsInt(obj1
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 (arg1
)->SetBranchStemLength(arg2
);
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7317 Py_INCREF(Py_None
); resultobj
= Py_None
;
7324 static PyObject
*_wrap_PyShape_GetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
;
7326 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7328 PyObject
* obj0
= 0 ;
7330 (char *) "self", NULL
7333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStemLength",kwnames
,&obj0
)) goto fail
;
7334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 result
= (int)(arg1
)->GetBranchStemLength();
7340 wxPyEndAllowThreads(__tstate
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7343 resultobj
= SWIG_FromInt((int)result
);
7350 static PyObject
*_wrap_PyShape_SetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7351 PyObject
*resultobj
;
7352 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7354 PyObject
* obj0
= 0 ;
7355 PyObject
* obj1
= 0 ;
7357 (char *) "self",(char *) "len", NULL
7360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
7361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7363 arg2
= (int) SWIG_AsInt(obj1
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 (arg1
)->SetBranchSpacing(arg2
);
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 Py_INCREF(Py_None
); resultobj
= Py_None
;
7379 static PyObject
*_wrap_PyShape_GetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
*resultobj
;
7381 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7383 PyObject
* obj0
= 0 ;
7385 (char *) "self", NULL
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchSpacing",kwnames
,&obj0
)) goto fail
;
7389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7393 result
= (int)(arg1
)->GetBranchSpacing();
7395 wxPyEndAllowThreads(__tstate
);
7396 if (PyErr_Occurred()) SWIG_fail
;
7398 resultobj
= SWIG_FromInt((int)result
);
7405 static PyObject
*_wrap_PyShape_SetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7406 PyObject
*resultobj
;
7407 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7409 PyObject
* obj0
= 0 ;
7410 PyObject
* obj1
= 0 ;
7412 (char *) "self",(char *) "style", NULL
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7418 arg2
= (long) SWIG_AsLong(obj1
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7422 (arg1
)->SetBranchStyle(arg2
);
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 Py_INCREF(Py_None
); resultobj
= Py_None
;
7434 static PyObject
*_wrap_PyShape_GetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
*resultobj
;
7436 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7438 PyObject
* obj0
= 0 ;
7440 (char *) "self", NULL
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStyle",kwnames
,&obj0
)) goto fail
;
7444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 result
= (long)(arg1
)->GetBranchStyle();
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7453 resultobj
= SWIG_FromLong((long)result
);
7460 static PyObject
*_wrap_PyShape_PhysicalToLogicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7461 PyObject
*resultobj
;
7462 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7465 PyObject
* obj0
= 0 ;
7466 PyObject
* obj1
= 0 ;
7468 (char *) "self",(char *) "physicalAttachment", NULL
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_PhysicalToLogicalAttachment",kwnames
,&obj0
,&obj1
)) goto fail
;
7472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7474 arg2
= (int) SWIG_AsInt(obj1
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7478 result
= (int)(arg1
)->PhysicalToLogicalAttachment(arg2
);
7480 wxPyEndAllowThreads(__tstate
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7483 resultobj
= SWIG_FromInt((int)result
);
7490 static PyObject
*_wrap_PyShape_LogicalToPhysicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
*resultobj
;
7492 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7495 PyObject
* obj0
= 0 ;
7496 PyObject
* obj1
= 0 ;
7498 (char *) "self",(char *) "logicalAttachment", NULL
7501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_LogicalToPhysicalAttachment",kwnames
,&obj0
,&obj1
)) goto fail
;
7502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7504 arg2
= (int) SWIG_AsInt(obj1
);
7505 if (PyErr_Occurred()) SWIG_fail
;
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 result
= (int)(arg1
)->LogicalToPhysicalAttachment(arg2
);
7510 wxPyEndAllowThreads(__tstate
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7513 resultobj
= SWIG_FromInt((int)result
);
7520 static PyObject
*_wrap_PyShape_Draggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
*resultobj
;
7522 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7524 PyObject
* obj0
= 0 ;
7526 (char *) "self", NULL
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Draggable",kwnames
,&obj0
)) goto fail
;
7530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 result
= (bool)(arg1
)->Draggable();
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7546 static PyObject
*_wrap_PyShape_HasDescendant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
*resultobj
;
7548 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7549 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
7551 PyObject
* obj0
= 0 ;
7552 PyObject
* obj1
= 0 ;
7554 (char *) "self",(char *) "image", NULL
7557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_HasDescendant",kwnames
,&obj0
,&obj1
)) goto fail
;
7558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
7561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 result
= (bool)(arg1
)->HasDescendant(arg2
);
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7576 static PyObject
*_wrap_PyShape_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
;
7578 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7579 bool arg2
= (bool) True
;
7580 bool arg3
= (bool) True
;
7582 PyObject
* obj0
= 0 ;
7583 PyObject
* obj1
= 0 ;
7584 PyObject
* obj2
= 0 ;
7586 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
7589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_CreateNewCopy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7593 arg2
= (bool) SWIG_AsBool(obj1
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7597 arg3
= (bool) SWIG_AsBool(obj2
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 result
= (wxPyShape
*)(arg1
)->CreateNewCopy(arg2
,arg3
);
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7608 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
7616 static PyObject
*_wrap_PyShape_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
*resultobj
;
7618 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7619 wxPyShape
*arg2
= 0 ;
7620 PyObject
* obj0
= 0 ;
7621 PyObject
* obj1
= 0 ;
7623 (char *) "self",(char *) "copy", NULL
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
7627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
7630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7633 PyErr_SetString(PyExc_TypeError
,"null reference");
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 (arg1
)->Copy(*arg2
);
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7643 Py_INCREF(Py_None
); resultobj
= Py_None
;
7650 static PyObject
*_wrap_PyShape_CopyWithHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7652 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7653 wxPyShape
*arg2
= 0 ;
7654 PyObject
* obj0
= 0 ;
7655 PyObject
* obj1
= 0 ;
7657 (char *) "self",(char *) "copy", NULL
7660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_CopyWithHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
7661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
7664 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7667 PyErr_SetString(PyExc_TypeError
,"null reference");
7671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7672 (arg1
)->CopyWithHandler(*arg2
);
7674 wxPyEndAllowThreads(__tstate
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7677 Py_INCREF(Py_None
); resultobj
= Py_None
;
7684 static PyObject
*_wrap_PyShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
;
7686 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7690 PyObject
* obj0
= 0 ;
7691 PyObject
* obj1
= 0 ;
7692 PyObject
* obj2
= 0 ;
7693 PyObject
* obj3
= 0 ;
7695 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShape_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7701 arg2
= (double) SWIG_AsDouble(obj1
);
7702 if (PyErr_Occurred()) SWIG_fail
;
7703 arg3
= (double) SWIG_AsDouble(obj2
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7705 arg4
= (double) SWIG_AsDouble(obj3
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7709 (arg1
)->Rotate(arg2
,arg3
,arg4
);
7711 wxPyEndAllowThreads(__tstate
);
7712 if (PyErr_Occurred()) SWIG_fail
;
7714 Py_INCREF(Py_None
); resultobj
= Py_None
;
7721 static PyObject
*_wrap_PyShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7722 PyObject
*resultobj
;
7723 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7725 PyObject
* obj0
= 0 ;
7727 (char *) "self", NULL
7730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRotation",kwnames
,&obj0
)) goto fail
;
7731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 result
= (double)(arg1
)->GetRotation();
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7740 resultobj
= SWIG_FromDouble((double)result
);
7747 static PyObject
*_wrap_PyShape_SetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
;
7749 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7751 PyObject
* obj0
= 0 ;
7752 PyObject
* obj1
= 0 ;
7754 (char *) "self",(char *) "rotation", NULL
7757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetRotation",kwnames
,&obj0
,&obj1
)) goto fail
;
7758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7760 arg2
= (double) SWIG_AsDouble(obj1
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7764 (arg1
)->SetRotation(arg2
);
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7769 Py_INCREF(Py_None
); resultobj
= Py_None
;
7776 static PyObject
*_wrap_PyShape_ClearAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
*resultobj
;
7778 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7779 PyObject
* obj0
= 0 ;
7781 (char *) "self", NULL
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearAttachments",kwnames
,&obj0
)) goto fail
;
7785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7789 (arg1
)->ClearAttachments();
7791 wxPyEndAllowThreads(__tstate
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 Py_INCREF(Py_None
); resultobj
= Py_None
;
7801 static PyObject
*_wrap_PyShape_Recentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
;
7803 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7805 PyObject
* obj0
= 0 ;
7806 PyObject
* obj1
= 0 ;
7808 (char *) "self",(char *) "dc", NULL
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Recentre",kwnames
,&obj0
,&obj1
)) goto fail
;
7812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7815 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7818 PyErr_SetString(PyExc_TypeError
,"null reference");
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 (arg1
)->Recentre(*arg2
);
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7828 Py_INCREF(Py_None
); resultobj
= Py_None
;
7835 static PyObject
*_wrap_PyShape_ClearPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
*resultobj
;
7837 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7839 PyObject
* obj0
= 0 ;
7840 PyObject
* obj1
= 0 ;
7842 (char *) "self",(char *) "list", NULL
7845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ClearPointList",kwnames
,&obj0
,&obj1
)) goto fail
;
7846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7848 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxList
,
7849 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7852 PyErr_SetString(PyExc_TypeError
,"null reference");
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 (arg1
)->ClearPointList(*arg2
);
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 Py_INCREF(Py_None
); resultobj
= Py_None
;
7869 static PyObject
*_wrap_PyShape_GetBackgroundPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
;
7871 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7873 PyObject
* obj0
= 0 ;
7875 (char *) "self", NULL
7878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundPen",kwnames
,&obj0
)) goto fail
;
7879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 result
= (arg1
)->GetBackgroundPen();
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7890 resultptr
= new wxPen((wxPen
&) result
);
7891 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPen
, 1);
7899 static PyObject
*_wrap_PyShape_GetBackgroundBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
;
7901 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7903 PyObject
* obj0
= 0 ;
7905 (char *) "self", NULL
7908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundBrush",kwnames
,&obj0
)) goto fail
;
7909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 result
= (arg1
)->GetBackgroundBrush();
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7919 wxBrush
* resultptr
;
7920 resultptr
= new wxBrush((wxBrush
&) result
);
7921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
7929 static PyObject
*_wrap_PyShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
;
7931 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7932 PyObject
* obj0
= 0 ;
7934 (char *) "self", NULL
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
7938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 (arg1
)->base_OnDelete();
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7947 Py_INCREF(Py_None
); resultobj
= Py_None
;
7954 static PyObject
*_wrap_PyShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7958 PyObject
* obj0
= 0 ;
7959 PyObject
* obj1
= 0 ;
7961 (char *) "self",(char *) "dc", NULL
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
7965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7967 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7968 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7971 PyErr_SetString(PyExc_TypeError
,"null reference");
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 (arg1
)->base_OnDraw(*arg2
);
7978 wxPyEndAllowThreads(__tstate
);
7979 if (PyErr_Occurred()) SWIG_fail
;
7981 Py_INCREF(Py_None
); resultobj
= Py_None
;
7988 static PyObject
*_wrap_PyShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7989 PyObject
*resultobj
;
7990 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7992 PyObject
* obj0
= 0 ;
7993 PyObject
* obj1
= 0 ;
7995 (char *) "self",(char *) "dc", NULL
7998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
7999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8001 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8002 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8005 PyErr_SetString(PyExc_TypeError
,"null reference");
8009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8010 (arg1
)->base_OnDrawContents(*arg2
);
8012 wxPyEndAllowThreads(__tstate
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8015 Py_INCREF(Py_None
); resultobj
= Py_None
;
8022 static PyObject
*_wrap_PyShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8023 PyObject
*resultobj
;
8024 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8026 bool arg3
= (bool) False
;
8027 PyObject
* obj0
= 0 ;
8028 PyObject
* obj1
= 0 ;
8029 PyObject
* obj2
= 0 ;
8031 (char *) "self",(char *) "dc",(char *) "erase", NULL
8034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8041 PyErr_SetString(PyExc_TypeError
,"null reference");
8045 arg3
= (bool) SWIG_AsBool(obj2
);
8046 if (PyErr_Occurred()) SWIG_fail
;
8049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8050 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8055 Py_INCREF(Py_None
); resultobj
= Py_None
;
8062 static PyObject
*_wrap_PyShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
;
8064 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8066 PyObject
* obj0
= 0 ;
8067 PyObject
* obj1
= 0 ;
8069 (char *) "self",(char *) "dc", NULL
8072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
8073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8076 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8079 PyErr_SetString(PyExc_TypeError
,"null reference");
8083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8084 (arg1
)->base_OnMoveLinks(*arg2
);
8086 wxPyEndAllowThreads(__tstate
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8089 Py_INCREF(Py_None
); resultobj
= Py_None
;
8096 static PyObject
*_wrap_PyShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
*resultobj
;
8098 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8100 PyObject
* obj0
= 0 ;
8101 PyObject
* obj1
= 0 ;
8103 (char *) "self",(char *) "dc", NULL
8106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
8107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8110 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8113 PyErr_SetString(PyExc_TypeError
,"null reference");
8117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8118 (arg1
)->base_OnErase(*arg2
);
8120 wxPyEndAllowThreads(__tstate
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8123 Py_INCREF(Py_None
); resultobj
= Py_None
;
8130 static PyObject
*_wrap_PyShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8131 PyObject
*resultobj
;
8132 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8134 PyObject
* obj0
= 0 ;
8135 PyObject
* obj1
= 0 ;
8137 (char *) "self",(char *) "dc", NULL
8140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
8141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8144 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8147 PyErr_SetString(PyExc_TypeError
,"null reference");
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 (arg1
)->base_OnEraseContents(*arg2
);
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8157 Py_INCREF(Py_None
); resultobj
= Py_None
;
8164 static PyObject
*_wrap_PyShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
*resultobj
;
8166 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8168 PyObject
* obj0
= 0 ;
8169 PyObject
* obj1
= 0 ;
8171 (char *) "self",(char *) "dc", NULL
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
8175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8178 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8181 PyErr_SetString(PyExc_TypeError
,"null reference");
8185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8186 (arg1
)->base_OnHighlight(*arg2
);
8188 wxPyEndAllowThreads(__tstate
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8191 Py_INCREF(Py_None
); resultobj
= Py_None
;
8198 static PyObject
*_wrap_PyShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
*resultobj
;
8200 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8203 int arg4
= (int) 0 ;
8204 int arg5
= (int) 0 ;
8205 PyObject
* obj0
= 0 ;
8206 PyObject
* obj1
= 0 ;
8207 PyObject
* obj2
= 0 ;
8208 PyObject
* obj3
= 0 ;
8209 PyObject
* obj4
= 0 ;
8211 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8217 arg2
= (double) SWIG_AsDouble(obj1
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8219 arg3
= (double) SWIG_AsDouble(obj2
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8222 arg4
= (int) SWIG_AsInt(obj3
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8226 arg5
= (int) SWIG_AsInt(obj4
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8236 Py_INCREF(Py_None
); resultobj
= Py_None
;
8243 static PyObject
*_wrap_PyShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
*resultobj
;
8245 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8248 int arg4
= (int) 0 ;
8249 int arg5
= (int) 0 ;
8250 PyObject
* obj0
= 0 ;
8251 PyObject
* obj1
= 0 ;
8252 PyObject
* obj2
= 0 ;
8253 PyObject
* obj3
= 0 ;
8254 PyObject
* obj4
= 0 ;
8256 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8262 arg2
= (double) SWIG_AsDouble(obj1
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8264 arg3
= (double) SWIG_AsDouble(obj2
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8267 arg4
= (int) SWIG_AsInt(obj3
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8271 arg5
= (int) SWIG_AsInt(obj4
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8276 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
8278 wxPyEndAllowThreads(__tstate
);
8279 if (PyErr_Occurred()) SWIG_fail
;
8281 Py_INCREF(Py_None
); resultobj
= Py_None
;
8288 static PyObject
*_wrap_PyShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
*resultobj
;
8290 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8293 int arg4
= (int) 0 ;
8294 int arg5
= (int) 0 ;
8295 PyObject
* obj0
= 0 ;
8296 PyObject
* obj1
= 0 ;
8297 PyObject
* obj2
= 0 ;
8298 PyObject
* obj3
= 0 ;
8299 PyObject
* obj4
= 0 ;
8301 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8307 arg2
= (double) SWIG_AsDouble(obj1
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8309 arg3
= (double) SWIG_AsDouble(obj2
);
8310 if (PyErr_Occurred()) SWIG_fail
;
8312 arg4
= (int) SWIG_AsInt(obj3
);
8313 if (PyErr_Occurred()) SWIG_fail
;
8316 arg5
= (int) SWIG_AsInt(obj4
);
8317 if (PyErr_Occurred()) SWIG_fail
;
8320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8321 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
8323 wxPyEndAllowThreads(__tstate
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8326 Py_INCREF(Py_None
); resultobj
= Py_None
;
8333 static PyObject
*_wrap_PyShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8334 PyObject
*resultobj
;
8335 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8338 PyObject
* obj0
= 0 ;
8339 PyObject
* obj1
= 0 ;
8340 PyObject
* obj2
= 0 ;
8342 (char *) "self",(char *) "x",(char *) "y", NULL
8345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8348 arg2
= (double) SWIG_AsDouble(obj1
);
8349 if (PyErr_Occurred()) SWIG_fail
;
8350 arg3
= (double) SWIG_AsDouble(obj2
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8354 (arg1
)->base_OnSize(arg2
,arg3
);
8356 wxPyEndAllowThreads(__tstate
);
8357 if (PyErr_Occurred()) SWIG_fail
;
8359 Py_INCREF(Py_None
); resultobj
= Py_None
;
8366 static PyObject
*_wrap_PyShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8367 PyObject
*resultobj
;
8368 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8374 bool arg7
= (bool) True
;
8376 PyObject
* obj0
= 0 ;
8377 PyObject
* obj1
= 0 ;
8378 PyObject
* obj2
= 0 ;
8379 PyObject
* obj3
= 0 ;
8380 PyObject
* obj4
= 0 ;
8381 PyObject
* obj5
= 0 ;
8382 PyObject
* obj6
= 0 ;
8384 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8391 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8394 PyErr_SetString(PyExc_TypeError
,"null reference");
8397 arg3
= (double) SWIG_AsDouble(obj2
);
8398 if (PyErr_Occurred()) SWIG_fail
;
8399 arg4
= (double) SWIG_AsDouble(obj3
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8401 arg5
= (double) SWIG_AsDouble(obj4
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8403 arg6
= (double) SWIG_AsDouble(obj5
);
8404 if (PyErr_Occurred()) SWIG_fail
;
8406 arg7
= (bool) SWIG_AsBool(obj6
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8423 static PyObject
*_wrap_PyShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8424 PyObject
*resultobj
;
8425 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8431 bool arg7
= (bool) True
;
8432 PyObject
* obj0
= 0 ;
8433 PyObject
* obj1
= 0 ;
8434 PyObject
* obj2
= 0 ;
8435 PyObject
* obj3
= 0 ;
8436 PyObject
* obj4
= 0 ;
8437 PyObject
* obj5
= 0 ;
8438 PyObject
* obj6
= 0 ;
8440 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8447 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8450 PyErr_SetString(PyExc_TypeError
,"null reference");
8453 arg3
= (double) SWIG_AsDouble(obj2
);
8454 if (PyErr_Occurred()) SWIG_fail
;
8455 arg4
= (double) SWIG_AsDouble(obj3
);
8456 if (PyErr_Occurred()) SWIG_fail
;
8457 arg5
= (double) SWIG_AsDouble(obj4
);
8458 if (PyErr_Occurred()) SWIG_fail
;
8459 arg6
= (double) SWIG_AsDouble(obj5
);
8460 if (PyErr_Occurred()) SWIG_fail
;
8462 arg7
= (bool) SWIG_AsBool(obj6
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8467 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8469 wxPyEndAllowThreads(__tstate
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8472 Py_INCREF(Py_None
); resultobj
= Py_None
;
8479 static PyObject
*_wrap_PyShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8480 PyObject
*resultobj
;
8481 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8485 int arg5
= (int) 0 ;
8486 int arg6
= (int) 0 ;
8487 PyObject
* obj0
= 0 ;
8488 PyObject
* obj1
= 0 ;
8489 PyObject
* obj2
= 0 ;
8490 PyObject
* obj3
= 0 ;
8491 PyObject
* obj4
= 0 ;
8492 PyObject
* obj5
= 0 ;
8494 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8500 arg2
= (bool) SWIG_AsBool(obj1
);
8501 if (PyErr_Occurred()) SWIG_fail
;
8502 arg3
= (double) SWIG_AsDouble(obj2
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8504 arg4
= (double) SWIG_AsDouble(obj3
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8507 arg5
= (int) SWIG_AsInt(obj4
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8511 arg6
= (int) SWIG_AsInt(obj5
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8516 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
8518 wxPyEndAllowThreads(__tstate
);
8519 if (PyErr_Occurred()) SWIG_fail
;
8521 Py_INCREF(Py_None
); resultobj
= Py_None
;
8528 static PyObject
*_wrap_PyShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8529 PyObject
*resultobj
;
8530 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8533 int arg4
= (int) 0 ;
8534 int arg5
= (int) 0 ;
8535 PyObject
* obj0
= 0 ;
8536 PyObject
* obj1
= 0 ;
8537 PyObject
* obj2
= 0 ;
8538 PyObject
* obj3
= 0 ;
8539 PyObject
* obj4
= 0 ;
8541 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8547 arg2
= (double) SWIG_AsDouble(obj1
);
8548 if (PyErr_Occurred()) SWIG_fail
;
8549 arg3
= (double) SWIG_AsDouble(obj2
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8552 arg4
= (int) SWIG_AsInt(obj3
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8556 arg5
= (int) SWIG_AsInt(obj4
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8561 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
8563 wxPyEndAllowThreads(__tstate
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8566 Py_INCREF(Py_None
); resultobj
= Py_None
;
8573 static PyObject
*_wrap_PyShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8574 PyObject
*resultobj
;
8575 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8578 int arg4
= (int) 0 ;
8579 int arg5
= (int) 0 ;
8580 PyObject
* obj0
= 0 ;
8581 PyObject
* obj1
= 0 ;
8582 PyObject
* obj2
= 0 ;
8583 PyObject
* obj3
= 0 ;
8584 PyObject
* obj4
= 0 ;
8586 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8592 arg2
= (double) SWIG_AsDouble(obj1
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8594 arg3
= (double) SWIG_AsDouble(obj2
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8597 arg4
= (int) SWIG_AsInt(obj3
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8601 arg5
= (int) SWIG_AsInt(obj4
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8606 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
8608 wxPyEndAllowThreads(__tstate
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8611 Py_INCREF(Py_None
); resultobj
= Py_None
;
8618 static PyObject
*_wrap_PyShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8619 PyObject
*resultobj
;
8620 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8624 int arg5
= (int) 0 ;
8625 int arg6
= (int) 0 ;
8626 PyObject
* obj0
= 0 ;
8627 PyObject
* obj1
= 0 ;
8628 PyObject
* obj2
= 0 ;
8629 PyObject
* obj3
= 0 ;
8630 PyObject
* obj4
= 0 ;
8631 PyObject
* obj5
= 0 ;
8633 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8639 arg2
= (bool) SWIG_AsBool(obj1
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8641 arg3
= (double) SWIG_AsDouble(obj2
);
8642 if (PyErr_Occurred()) SWIG_fail
;
8643 arg4
= (double) SWIG_AsDouble(obj3
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8646 arg5
= (int) SWIG_AsInt(obj4
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8650 arg6
= (int) SWIG_AsInt(obj5
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8655 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
8657 wxPyEndAllowThreads(__tstate
);
8658 if (PyErr_Occurred()) SWIG_fail
;
8660 Py_INCREF(Py_None
); resultobj
= Py_None
;
8667 static PyObject
*_wrap_PyShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8668 PyObject
*resultobj
;
8669 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8672 int arg4
= (int) 0 ;
8673 int arg5
= (int) 0 ;
8674 PyObject
* obj0
= 0 ;
8675 PyObject
* obj1
= 0 ;
8676 PyObject
* obj2
= 0 ;
8677 PyObject
* obj3
= 0 ;
8678 PyObject
* obj4
= 0 ;
8680 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8686 arg2
= (double) SWIG_AsDouble(obj1
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8688 arg3
= (double) SWIG_AsDouble(obj2
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8691 arg4
= (int) SWIG_AsInt(obj3
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8695 arg5
= (int) SWIG_AsInt(obj4
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
8702 wxPyEndAllowThreads(__tstate
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8705 Py_INCREF(Py_None
); resultobj
= Py_None
;
8712 static PyObject
*_wrap_PyShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8713 PyObject
*resultobj
;
8714 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8717 int arg4
= (int) 0 ;
8718 int arg5
= (int) 0 ;
8719 PyObject
* obj0
= 0 ;
8720 PyObject
* obj1
= 0 ;
8721 PyObject
* obj2
= 0 ;
8722 PyObject
* obj3
= 0 ;
8723 PyObject
* obj4
= 0 ;
8725 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8731 arg2
= (double) SWIG_AsDouble(obj1
);
8732 if (PyErr_Occurred()) SWIG_fail
;
8733 arg3
= (double) SWIG_AsDouble(obj2
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 arg4
= (int) SWIG_AsInt(obj3
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8740 arg5
= (int) SWIG_AsInt(obj4
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8750 Py_INCREF(Py_None
); resultobj
= Py_None
;
8757 static PyObject
*_wrap_PyShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
*resultobj
;
8759 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8765 PyObject
* obj0
= 0 ;
8766 PyObject
* obj1
= 0 ;
8767 PyObject
* obj2
= 0 ;
8768 PyObject
* obj3
= 0 ;
8769 PyObject
* obj4
= 0 ;
8770 PyObject
* obj5
= 0 ;
8772 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8779 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8782 PyErr_SetString(PyExc_TypeError
,"null reference");
8785 arg3
= (double) SWIG_AsDouble(obj2
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8787 arg4
= (double) SWIG_AsDouble(obj3
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8789 arg5
= (double) SWIG_AsDouble(obj4
);
8790 if (PyErr_Occurred()) SWIG_fail
;
8791 arg6
= (double) SWIG_AsDouble(obj5
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8795 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
8797 wxPyEndAllowThreads(__tstate
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8800 Py_INCREF(Py_None
); resultobj
= Py_None
;
8807 static PyObject
*_wrap_PyShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
;
8809 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8811 PyObject
* obj0
= 0 ;
8812 PyObject
* obj1
= 0 ;
8814 (char *) "self",(char *) "dc", NULL
8817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
8818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8824 PyErr_SetString(PyExc_TypeError
,"null reference");
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 (arg1
)->base_OnDrawControlPoints(*arg2
);
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8834 Py_INCREF(Py_None
); resultobj
= Py_None
;
8841 static PyObject
*_wrap_PyShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8842 PyObject
*resultobj
;
8843 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8845 PyObject
* obj0
= 0 ;
8846 PyObject
* obj1
= 0 ;
8848 (char *) "self",(char *) "dc", NULL
8851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
8852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8858 PyErr_SetString(PyExc_TypeError
,"null reference");
8862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8863 (arg1
)->base_OnEraseControlPoints(*arg2
);
8865 wxPyEndAllowThreads(__tstate
);
8866 if (PyErr_Occurred()) SWIG_fail
;
8868 Py_INCREF(Py_None
); resultobj
= Py_None
;
8875 static PyObject
*_wrap_PyShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
;
8877 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8879 bool arg3
= (bool) True
;
8880 PyObject
* obj0
= 0 ;
8881 PyObject
* obj1
= 0 ;
8882 PyObject
* obj2
= 0 ;
8884 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8894 PyErr_SetString(PyExc_TypeError
,"null reference");
8898 arg3
= (bool) SWIG_AsBool(obj2
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
8905 wxPyEndAllowThreads(__tstate
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8908 Py_INCREF(Py_None
); resultobj
= Py_None
;
8915 static PyObject
*_wrap_PyShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
*resultobj
;
8917 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8918 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
8922 int arg6
= (int) 0 ;
8923 int arg7
= (int) 0 ;
8924 PyObject
* obj0
= 0 ;
8925 PyObject
* obj1
= 0 ;
8926 PyObject
* obj2
= 0 ;
8927 PyObject
* obj3
= 0 ;
8928 PyObject
* obj4
= 0 ;
8929 PyObject
* obj5
= 0 ;
8930 PyObject
* obj6
= 0 ;
8932 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
8939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8940 arg3
= (bool) SWIG_AsBool(obj2
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8942 arg4
= (double) SWIG_AsDouble(obj3
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8944 arg5
= (double) SWIG_AsDouble(obj4
);
8945 if (PyErr_Occurred()) SWIG_fail
;
8947 arg6
= (int) SWIG_AsInt(obj5
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8951 arg7
= (int) SWIG_AsInt(obj6
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8961 Py_INCREF(Py_None
); resultobj
= Py_None
;
8968 static PyObject
*_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
*resultobj
;
8970 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8971 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
8974 int arg5
= (int) 0 ;
8975 int arg6
= (int) 0 ;
8976 PyObject
* obj0
= 0 ;
8977 PyObject
* obj1
= 0 ;
8978 PyObject
* obj2
= 0 ;
8979 PyObject
* obj3
= 0 ;
8980 PyObject
* obj4
= 0 ;
8981 PyObject
* obj5
= 0 ;
8983 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
8990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8991 arg3
= (double) SWIG_AsDouble(obj2
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8993 arg4
= (double) SWIG_AsDouble(obj3
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8996 arg5
= (int) SWIG_AsInt(obj4
);
8997 if (PyErr_Occurred()) SWIG_fail
;
9000 arg6
= (int) SWIG_AsInt(obj5
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9005 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 Py_INCREF(Py_None
); resultobj
= Py_None
;
9017 static PyObject
*_wrap_PyShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
*resultobj
;
9019 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9020 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9023 int arg5
= (int) 0 ;
9024 int arg6
= (int) 0 ;
9025 PyObject
* obj0
= 0 ;
9026 PyObject
* obj1
= 0 ;
9027 PyObject
* obj2
= 0 ;
9028 PyObject
* obj3
= 0 ;
9029 PyObject
* obj4
= 0 ;
9030 PyObject
* obj5
= 0 ;
9032 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9038 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
9039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9040 arg3
= (double) SWIG_AsDouble(obj2
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9042 arg4
= (double) SWIG_AsDouble(obj3
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9045 arg5
= (int) SWIG_AsInt(obj4
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9049 arg6
= (int) SWIG_AsInt(obj5
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9059 Py_INCREF(Py_None
); resultobj
= Py_None
;
9066 static PyObject
*_wrap_PyShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
;
9068 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9071 PyObject
* obj0
= 0 ;
9072 PyObject
* obj1
= 0 ;
9073 PyObject
* obj2
= 0 ;
9075 (char *) "self",(char *) "w",(char *) "h", NULL
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9081 arg2
= (double) SWIG_AsDouble(obj1
);
9082 if (PyErr_Occurred()) SWIG_fail
;
9083 arg3
= (double) SWIG_AsDouble(obj2
);
9084 if (PyErr_Occurred()) SWIG_fail
;
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9087 (arg1
)->base_OnBeginSize(arg2
,arg3
);
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9092 Py_INCREF(Py_None
); resultobj
= Py_None
;
9099 static PyObject
*_wrap_PyShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9100 PyObject
*resultobj
;
9101 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9104 PyObject
* obj0
= 0 ;
9105 PyObject
* obj1
= 0 ;
9106 PyObject
* obj2
= 0 ;
9108 (char *) "self",(char *) "w",(char *) "h", NULL
9111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9114 arg2
= (double) SWIG_AsDouble(obj1
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9116 arg3
= (double) SWIG_AsDouble(obj2
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 (arg1
)->base_OnEndSize(arg2
,arg3
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 Py_INCREF(Py_None
); resultobj
= Py_None
;
9132 static PyObject
* PyShape_swigregister(PyObject
*self
, PyObject
*args
) {
9134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9135 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape
, obj
);
9137 return Py_BuildValue((char *)"");
9139 static PyObject
*_wrap_new_PseudoMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9140 PyObject
*resultobj
;
9141 wxPseudoMetaFile
*result
;
9146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PseudoMetaFile",kwnames
)) goto fail
;
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 result
= (wxPseudoMetaFile
*)new wxPseudoMetaFile();
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9155 resultobj
= wxPyMake_wxObject(result
);
9163 static PyObject
*_wrap_delete_PseudoMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
*resultobj
;
9165 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9166 PyObject
* obj0
= 0 ;
9168 (char *) "self", NULL
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PseudoMetaFile",kwnames
,&obj0
)) goto fail
;
9172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 Py_INCREF(Py_None
); resultobj
= Py_None
;
9188 static PyObject
*_wrap_PseudoMetaFile_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9189 PyObject
*resultobj
;
9190 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9194 PyObject
* obj0
= 0 ;
9195 PyObject
* obj1
= 0 ;
9196 PyObject
* obj2
= 0 ;
9197 PyObject
* obj3
= 0 ;
9199 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
9202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
9206 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9209 PyErr_SetString(PyExc_TypeError
,"null reference");
9212 arg3
= (double) SWIG_AsDouble(obj2
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9214 arg4
= (double) SWIG_AsDouble(obj3
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 (arg1
)->Draw(*arg2
,arg3
,arg4
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 Py_INCREF(Py_None
); resultobj
= Py_None
;
9230 static PyObject
*_wrap_PseudoMetaFile_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9232 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9233 PyObject
* obj0
= 0 ;
9235 (char *) "self", NULL
9238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_Clear",kwnames
,&obj0
)) goto fail
;
9239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 Py_INCREF(Py_None
); resultobj
= Py_None
;
9255 static PyObject
*_wrap_PseudoMetaFile_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
*resultobj
;
9257 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9258 wxPseudoMetaFile
*arg2
= 0 ;
9259 PyObject
* obj0
= 0 ;
9260 PyObject
* obj1
= 0 ;
9262 (char *) "self",(char *) "copy", NULL
9265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
9266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPseudoMetaFile
,
9269 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9272 PyErr_SetString(PyExc_TypeError
,"null reference");
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 (arg1
)->Copy(*arg2
);
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9282 Py_INCREF(Py_None
); resultobj
= Py_None
;
9289 static PyObject
*_wrap_PseudoMetaFile_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
;
9291 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9294 PyObject
* obj0
= 0 ;
9295 PyObject
* obj1
= 0 ;
9296 PyObject
* obj2
= 0 ;
9298 (char *) "self",(char *) "sx",(char *) "sy", NULL
9301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9304 arg2
= (double) SWIG_AsDouble(obj1
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9306 arg3
= (double) SWIG_AsDouble(obj2
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9310 (arg1
)->Scale(arg2
,arg3
);
9312 wxPyEndAllowThreads(__tstate
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9315 Py_INCREF(Py_None
); resultobj
= Py_None
;
9322 static PyObject
*_wrap_PseudoMetaFile_ScaleTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9323 PyObject
*resultobj
;
9324 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9327 PyObject
* obj0
= 0 ;
9328 PyObject
* obj1
= 0 ;
9329 PyObject
* obj2
= 0 ;
9331 (char *) "self",(char *) "w",(char *) "h", NULL
9334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_ScaleTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9337 arg2
= (double) SWIG_AsDouble(obj1
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9339 arg3
= (double) SWIG_AsDouble(obj2
);
9340 if (PyErr_Occurred()) SWIG_fail
;
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 (arg1
)->ScaleTo(arg2
,arg3
);
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9348 Py_INCREF(Py_None
); resultobj
= Py_None
;
9355 static PyObject
*_wrap_PseudoMetaFile_Translate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
;
9357 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9360 PyObject
* obj0
= 0 ;
9361 PyObject
* obj1
= 0 ;
9362 PyObject
* obj2
= 0 ;
9364 (char *) "self",(char *) "x",(char *) "y", NULL
9367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9370 arg2
= (double) SWIG_AsDouble(obj1
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9372 arg3
= (double) SWIG_AsDouble(obj2
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 (arg1
)->Translate(arg2
,arg3
);
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9381 Py_INCREF(Py_None
); resultobj
= Py_None
;
9388 static PyObject
*_wrap_PseudoMetaFile_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
;
9390 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9394 PyObject
* obj0
= 0 ;
9395 PyObject
* obj1
= 0 ;
9396 PyObject
* obj2
= 0 ;
9397 PyObject
* obj3
= 0 ;
9399 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
9402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9405 arg2
= (double) SWIG_AsDouble(obj1
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9407 arg3
= (double) SWIG_AsDouble(obj2
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9409 arg4
= (double) SWIG_AsDouble(obj3
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 (arg1
)->Rotate(arg2
,arg3
,arg4
);
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9418 Py_INCREF(Py_None
); resultobj
= Py_None
;
9425 static PyObject
*_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
;
9427 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9428 wxString
*arg2
= 0 ;
9429 double *arg3
= (double *) 0 ;
9430 double *arg4
= (double *) 0 ;
9432 bool temp2
= False
;
9433 PyObject
* obj0
= 0 ;
9434 PyObject
* obj1
= 0 ;
9435 PyObject
* obj2
= 0 ;
9436 PyObject
* obj3
= 0 ;
9438 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
9441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9445 arg2
= wxString_in_helper(obj1
);
9446 if (arg2
== NULL
) SWIG_fail
;
9449 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_double
,
9450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9451 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_double
,
9452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
,arg3
,arg4
);
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9475 static PyObject
*_wrap_PseudoMetaFile_GetBounds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9476 PyObject
*resultobj
;
9477 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9478 double *arg2
= (double *) 0 ;
9479 double *arg3
= (double *) 0 ;
9480 double *arg4
= (double *) 0 ;
9481 double *arg5
= (double *) 0 ;
9482 PyObject
* obj0
= 0 ;
9483 PyObject
* obj1
= 0 ;
9484 PyObject
* obj2
= 0 ;
9485 PyObject
* obj3
= 0 ;
9486 PyObject
* obj4
= 0 ;
9488 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
9491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_double
,
9495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9496 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_double
,
9497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9498 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_double
,
9499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9500 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_double
,
9501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 (arg1
)->GetBounds(arg2
,arg3
,arg4
,arg5
);
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9509 Py_INCREF(Py_None
); resultobj
= Py_None
;
9516 static PyObject
*_wrap_PseudoMetaFile_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
*resultobj
;
9518 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9519 wxPyDrawnShape
*arg2
= (wxPyDrawnShape
*) 0 ;
9520 PyObject
* obj0
= 0 ;
9521 PyObject
* obj1
= 0 ;
9523 (char *) "self",(char *) "shape", NULL
9526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDrawnShape
,
9530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 (arg1
)->CalculateSize(arg2
);
9535 wxPyEndAllowThreads(__tstate
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9538 Py_INCREF(Py_None
); resultobj
= Py_None
;
9545 static PyObject
*_wrap_PseudoMetaFile_SetRotateable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
*resultobj
;
9547 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9549 PyObject
* obj0
= 0 ;
9550 PyObject
* obj1
= 0 ;
9552 (char *) "self",(char *) "rot", NULL
9555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames
,&obj0
,&obj1
)) goto fail
;
9556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9558 arg2
= (bool) SWIG_AsBool(obj1
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 (arg1
)->SetRotateable(arg2
);
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9567 Py_INCREF(Py_None
); resultobj
= Py_None
;
9574 static PyObject
*_wrap_PseudoMetaFile_GetRotateable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9575 PyObject
*resultobj
;
9576 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9578 PyObject
* obj0
= 0 ;
9580 (char *) "self", NULL
9583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetRotateable",kwnames
,&obj0
)) goto fail
;
9584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 result
= (bool)(arg1
)->GetRotateable();
9590 wxPyEndAllowThreads(__tstate
);
9591 if (PyErr_Occurred()) SWIG_fail
;
9593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9600 static PyObject
*_wrap_PseudoMetaFile_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
*resultobj
;
9602 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9605 PyObject
* obj0
= 0 ;
9606 PyObject
* obj1
= 0 ;
9607 PyObject
* obj2
= 0 ;
9609 (char *) "self",(char *) "w",(char *) "h", NULL
9612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9615 arg2
= (double) SWIG_AsDouble(obj1
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9617 arg3
= (double) SWIG_AsDouble(obj2
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 (arg1
)->SetSize(arg2
,arg3
);
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9626 Py_INCREF(Py_None
); resultobj
= Py_None
;
9633 static PyObject
*_wrap_PseudoMetaFile_SetFillBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
*resultobj
;
9635 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9636 wxBrush
*arg2
= (wxBrush
*) 0 ;
9637 PyObject
* obj0
= 0 ;
9638 PyObject
* obj1
= 0 ;
9640 (char *) "self",(char *) "brush", NULL
9643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
9644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9649 if (obj1
== Py_None
) {
9652 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
9653 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
9658 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 (arg1
)->SetFillBrush(arg2
);
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9669 Py_INCREF(Py_None
); resultobj
= Py_None
;
9676 static PyObject
*_wrap_PseudoMetaFile_GetFillBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9677 PyObject
*resultobj
;
9678 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9680 PyObject
* obj0
= 0 ;
9682 (char *) "self", NULL
9685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames
,&obj0
)) goto fail
;
9686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 result
= (wxBrush
*)(arg1
)->GetFillBrush();
9692 wxPyEndAllowThreads(__tstate
);
9693 if (PyErr_Occurred()) SWIG_fail
;
9695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
9702 static PyObject
*_wrap_PseudoMetaFile_SetOutlinePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
*resultobj
;
9704 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9705 wxPen
*arg2
= (wxPen
*) 0 ;
9706 PyObject
* obj0
= 0 ;
9707 PyObject
* obj1
= 0 ;
9709 (char *) "self",(char *) "pen", NULL
9712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames
,&obj0
,&obj1
)) goto fail
;
9713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9718 if (obj1
== Py_None
) {
9721 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
9722 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
9727 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 (arg1
)->SetOutlinePen(arg2
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9740 Py_INCREF(Py_None
); resultobj
= Py_None
;
9747 static PyObject
*_wrap_PseudoMetaFile_GetOutlinePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
*resultobj
;
9749 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9751 PyObject
* obj0
= 0 ;
9753 (char *) "self", NULL
9756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames
,&obj0
)) goto fail
;
9757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 result
= (wxPen
*)(arg1
)->GetOutlinePen();
9763 wxPyEndAllowThreads(__tstate
);
9764 if (PyErr_Occurred()) SWIG_fail
;
9766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
9773 static PyObject
*_wrap_PseudoMetaFile_SetOutlineOp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
*resultobj
;
9775 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9777 PyObject
* obj0
= 0 ;
9778 PyObject
* obj1
= 0 ;
9780 (char *) "self",(char *) "op", NULL
9783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlineOp",kwnames
,&obj0
,&obj1
)) goto fail
;
9784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9786 arg2
= (int) SWIG_AsInt(obj1
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 (arg1
)->SetOutlineOp(arg2
);
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9795 Py_INCREF(Py_None
); resultobj
= Py_None
;
9802 static PyObject
*_wrap_PseudoMetaFile_GetOutlineOp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9806 PyObject
* obj0
= 0 ;
9808 (char *) "self", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames
,&obj0
)) goto fail
;
9812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 result
= (int)(arg1
)->GetOutlineOp();
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 resultobj
= SWIG_FromInt((int)result
);
9828 static PyObject
*_wrap_PseudoMetaFile_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
;
9830 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9832 PyObject
* obj0
= 0 ;
9834 (char *) "self", NULL
9837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_IsValid",kwnames
,&obj0
)) goto fail
;
9838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 result
= (bool)(arg1
)->IsValid();
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9854 static PyObject
*_wrap_PseudoMetaFile_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
*resultobj
;
9856 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9861 PyObject
* obj0
= 0 ;
9862 PyObject
* obj1
= 0 ;
9863 PyObject
* obj2
= 0 ;
9865 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
9868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9873 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9877 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9881 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
9883 wxPyEndAllowThreads(__tstate
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9886 Py_INCREF(Py_None
); resultobj
= Py_None
;
9893 static PyObject
*_wrap_PseudoMetaFile_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
*resultobj
;
9895 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9898 PyObject
* obj0
= 0 ;
9899 PyObject
* obj1
= 0 ;
9901 (char *) "self",(char *) "rect", NULL
9904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
9905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9909 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9913 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
9915 wxPyEndAllowThreads(__tstate
);
9916 if (PyErr_Occurred()) SWIG_fail
;
9918 Py_INCREF(Py_None
); resultobj
= Py_None
;
9925 static PyObject
*_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9926 PyObject
*resultobj
;
9927 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9931 PyObject
* obj0
= 0 ;
9932 PyObject
* obj1
= 0 ;
9933 PyObject
* obj2
= 0 ;
9935 (char *) "self",(char *) "rect",(char *) "radius", NULL
9938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9943 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9945 arg3
= (double) SWIG_AsDouble(obj2
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9949 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9954 Py_INCREF(Py_None
); resultobj
= Py_None
;
9961 static PyObject
*_wrap_PseudoMetaFile_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9962 PyObject
*resultobj
;
9963 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9970 PyObject
* obj0
= 0 ;
9971 PyObject
* obj1
= 0 ;
9972 PyObject
* obj2
= 0 ;
9973 PyObject
* obj3
= 0 ;
9975 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
9978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9983 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9987 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9991 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9995 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 Py_INCREF(Py_None
); resultobj
= Py_None
;
10007 static PyObject
*_wrap_PseudoMetaFile_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
*resultobj
;
10009 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10014 PyObject
* obj0
= 0 ;
10015 PyObject
* obj1
= 0 ;
10016 PyObject
* obj2
= 0 ;
10017 PyObject
* obj3
= 0 ;
10018 char *kwnames
[] = {
10019 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
10022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10027 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10029 arg3
= (double) SWIG_AsDouble(obj2
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10031 arg4
= (double) SWIG_AsDouble(obj3
);
10032 if (PyErr_Occurred()) SWIG_fail
;
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10040 Py_INCREF(Py_None
); resultobj
= Py_None
;
10047 static PyObject
*_wrap_PseudoMetaFile_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10048 PyObject
*resultobj
;
10049 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10052 PyObject
* obj0
= 0 ;
10053 PyObject
* obj1
= 0 ;
10054 char *kwnames
[] = {
10055 (char *) "self",(char *) "rect", NULL
10058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames
,&obj0
,&obj1
)) goto fail
;
10059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10063 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10072 Py_INCREF(Py_None
); resultobj
= Py_None
;
10079 static PyObject
*_wrap_PseudoMetaFile_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10080 PyObject
*resultobj
;
10081 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10082 wxPoint
*arg2
= 0 ;
10084 PyObject
* obj0
= 0 ;
10085 PyObject
* obj1
= 0 ;
10086 char *kwnames
[] = {
10087 (char *) "self",(char *) "pt", NULL
10090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10095 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 Py_INCREF(Py_None
); resultobj
= Py_None
;
10111 static PyObject
*_wrap_PseudoMetaFile_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
*resultobj
;
10113 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10114 wxString
*arg2
= 0 ;
10115 wxPoint
*arg3
= 0 ;
10116 bool temp2
= False
;
10118 PyObject
* obj0
= 0 ;
10119 PyObject
* obj1
= 0 ;
10120 PyObject
* obj2
= 0 ;
10121 char *kwnames
[] = {
10122 (char *) "self",(char *) "text",(char *) "pt", NULL
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10129 arg2
= wxString_in_helper(obj1
);
10130 if (arg2
== NULL
) SWIG_fail
;
10135 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10144 Py_INCREF(Py_None
); resultobj
= Py_None
;
10159 static PyObject
*_wrap_PseudoMetaFile_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
;
10161 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10163 wxPoint
*arg3
= (wxPoint
*) 0 ;
10164 PyObject
* obj0
= 0 ;
10165 PyObject
* obj1
= 0 ;
10166 PyObject
* obj2
= 0 ;
10167 char *kwnames
[] = {
10168 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10174 arg2
= (int) SWIG_AsInt(obj1
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10176 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
10177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10180 (arg1
)->DrawLines(arg2
,arg3
);
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10185 Py_INCREF(Py_None
); resultobj
= Py_None
;
10192 static PyObject
*_wrap_PseudoMetaFile_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10193 PyObject
*resultobj
;
10194 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10196 wxPoint
*arg3
= (wxPoint
*) 0 ;
10197 int arg4
= (int) 0 ;
10198 PyObject
* obj0
= 0 ;
10199 PyObject
* obj1
= 0 ;
10200 PyObject
* obj2
= 0 ;
10201 PyObject
* obj3
= 0 ;
10202 char *kwnames
[] = {
10203 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
10206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoMetaFile_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10209 arg2
= (int) SWIG_AsInt(obj1
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10211 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
10212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10214 arg4
= (int) SWIG_AsInt(obj3
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
10221 wxPyEndAllowThreads(__tstate
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10224 Py_INCREF(Py_None
); resultobj
= Py_None
;
10231 static PyObject
*_wrap_PseudoMetaFile_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10232 PyObject
*resultobj
;
10233 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10235 wxPoint
*arg3
= (wxPoint
*) 0 ;
10236 PyObject
* obj0
= 0 ;
10237 PyObject
* obj1
= 0 ;
10238 PyObject
* obj2
= 0 ;
10239 char *kwnames
[] = {
10240 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawSpline",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10246 arg2
= (int) SWIG_AsInt(obj1
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10248 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
10249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 (arg1
)->DrawSpline(arg2
,arg3
);
10254 wxPyEndAllowThreads(__tstate
);
10255 if (PyErr_Occurred()) SWIG_fail
;
10257 Py_INCREF(Py_None
); resultobj
= Py_None
;
10264 static PyObject
*_wrap_PseudoMetaFile_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
*resultobj
;
10266 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10269 PyObject
* obj0
= 0 ;
10270 PyObject
* obj1
= 0 ;
10271 char *kwnames
[] = {
10272 (char *) "self",(char *) "rect", NULL
10275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10280 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10289 Py_INCREF(Py_None
); resultobj
= Py_None
;
10296 static PyObject
*_wrap_PseudoMetaFile_DestroyClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
*resultobj
;
10298 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10299 PyObject
* obj0
= 0 ;
10300 char *kwnames
[] = {
10301 (char *) "self", NULL
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
10305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 (arg1
)->DestroyClippingRect();
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10314 Py_INCREF(Py_None
); resultobj
= Py_None
;
10321 static PyObject
*_wrap_PseudoMetaFile_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10322 PyObject
*resultobj
;
10323 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10324 wxPen
*arg2
= (wxPen
*) 0 ;
10325 bool arg3
= (bool) FALSE
;
10326 PyObject
* obj0
= 0 ;
10327 PyObject
* obj1
= 0 ;
10328 PyObject
* obj2
= 0 ;
10329 char *kwnames
[] = {
10330 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10339 if (obj1
== Py_None
) {
10342 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
10343 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
10348 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
10355 arg3
= (bool) SWIG_AsBool(obj2
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 (arg1
)->SetPen(arg2
,arg3
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10365 Py_INCREF(Py_None
); resultobj
= Py_None
;
10372 static PyObject
*_wrap_PseudoMetaFile_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
;
10374 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10375 wxBrush
*arg2
= (wxBrush
*) 0 ;
10376 bool arg3
= (bool) FALSE
;
10377 PyObject
* obj0
= 0 ;
10378 PyObject
* obj1
= 0 ;
10379 PyObject
* obj2
= 0 ;
10380 char *kwnames
[] = {
10381 (char *) "self",(char *) "brush",(char *) "isFill", NULL
10384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10390 if (obj1
== Py_None
) {
10393 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
10394 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
10399 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
10404 arg3
= (bool) SWIG_AsBool(obj2
);
10405 if (PyErr_Occurred()) SWIG_fail
;
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 (arg1
)->SetBrush(arg2
,arg3
);
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10414 Py_INCREF(Py_None
); resultobj
= Py_None
;
10421 static PyObject
*_wrap_PseudoMetaFile_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
*resultobj
;
10423 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10424 wxFont
*arg2
= (wxFont
*) 0 ;
10425 PyObject
* obj0
= 0 ;
10426 PyObject
* obj1
= 0 ;
10427 char *kwnames
[] = {
10428 (char *) "self",(char *) "font", NULL
10431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10437 if (obj1
== Py_None
) {
10440 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
10441 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
10446 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
10450 temp
->GetUnderlined(),
10451 temp
->GetFaceName(),
10452 temp
->GetEncoding());
10457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10458 (arg1
)->SetFont(arg2
);
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10463 Py_INCREF(Py_None
); resultobj
= Py_None
;
10470 static PyObject
*_wrap_PseudoMetaFile_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
*resultobj
;
10472 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10473 wxColour
*arg2
= 0 ;
10475 PyObject
* obj0
= 0 ;
10476 PyObject
* obj1
= 0 ;
10477 char *kwnames
[] = {
10478 (char *) "self",(char *) "colour", NULL
10481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10486 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 Py_INCREF(Py_None
); resultobj
= Py_None
;
10502 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
*resultobj
;
10504 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10505 wxColour
*arg2
= 0 ;
10507 PyObject
* obj0
= 0 ;
10508 PyObject
* obj1
= 0 ;
10509 char *kwnames
[] = {
10510 (char *) "self",(char *) "colour", NULL
10513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10518 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 Py_INCREF(Py_None
); resultobj
= Py_None
;
10534 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10535 PyObject
*resultobj
;
10536 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10538 PyObject
* obj0
= 0 ;
10539 PyObject
* obj1
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "self",(char *) "mode", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
10545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10547 arg2
= (int) SWIG_AsInt(obj1
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 (arg1
)->SetBackgroundMode(arg2
);
10553 wxPyEndAllowThreads(__tstate
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10556 Py_INCREF(Py_None
); resultobj
= Py_None
;
10563 static PyObject
* PseudoMetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
10565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10566 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile
, obj
);
10568 return Py_BuildValue((char *)"");
10570 static PyObject
*_wrap_new_PyRectangleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
*resultobj
;
10572 double arg1
= (double) 0.0 ;
10573 double arg2
= (double) 0.0 ;
10574 wxPyRectangleShape
*result
;
10575 PyObject
* obj0
= 0 ;
10576 PyObject
* obj1
= 0 ;
10577 char *kwnames
[] = {
10578 (char *) "width",(char *) "height", NULL
10581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyRectangleShape",kwnames
,&obj0
,&obj1
)) goto fail
;
10583 arg1
= (double) SWIG_AsDouble(obj0
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10587 arg2
= (double) SWIG_AsDouble(obj1
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 result
= (wxPyRectangleShape
*)new wxPyRectangleShape(arg1
,arg2
);
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyRectangleShape
, 1);
10604 static PyObject
*_wrap_PyRectangleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10605 PyObject
*resultobj
;
10606 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10607 PyObject
*arg2
= (PyObject
*) 0 ;
10608 PyObject
*arg3
= (PyObject
*) 0 ;
10609 PyObject
* obj0
= 0 ;
10610 PyObject
* obj1
= 0 ;
10611 PyObject
* obj2
= 0 ;
10612 char *kwnames
[] = {
10613 (char *) "self",(char *) "self",(char *) "_class", NULL
10616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10628 Py_INCREF(Py_None
); resultobj
= Py_None
;
10635 static PyObject
*_wrap_PyRectangleShape_SetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10636 PyObject
*resultobj
;
10637 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10639 PyObject
* obj0
= 0 ;
10640 PyObject
* obj1
= 0 ;
10641 char *kwnames
[] = {
10642 (char *) "self",(char *) "radius", NULL
10645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_SetCornerRadius",kwnames
,&obj0
,&obj1
)) goto fail
;
10646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10648 arg2
= (double) SWIG_AsDouble(obj1
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 (arg1
)->SetCornerRadius(arg2
);
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 Py_INCREF(Py_None
); resultobj
= Py_None
;
10664 static PyObject
*_wrap_PyRectangleShape_GetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
;
10666 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10668 PyObject
* obj0
= 0 ;
10669 char *kwnames
[] = {
10670 (char *) "self", NULL
10673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames
,&obj0
)) goto fail
;
10674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 result
= (double)(arg1
)->GetCornerRadius();
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10683 resultobj
= SWIG_FromDouble((double)result
);
10690 static PyObject
*_wrap_PyRectangleShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
*resultobj
;
10692 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10693 PyObject
* obj0
= 0 ;
10694 char *kwnames
[] = {
10695 (char *) "self", NULL
10698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
10699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 (arg1
)->base_OnDelete();
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10708 Py_INCREF(Py_None
); resultobj
= Py_None
;
10715 static PyObject
*_wrap_PyRectangleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10716 PyObject
*resultobj
;
10717 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10719 PyObject
* obj0
= 0 ;
10720 PyObject
* obj1
= 0 ;
10721 char *kwnames
[] = {
10722 (char *) "self",(char *) "dc", NULL
10725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
10726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10731 if (arg2
== NULL
) {
10732 PyErr_SetString(PyExc_TypeError
,"null reference");
10736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10737 (arg1
)->base_OnDraw(*arg2
);
10739 wxPyEndAllowThreads(__tstate
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10742 Py_INCREF(Py_None
); resultobj
= Py_None
;
10749 static PyObject
*_wrap_PyRectangleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10750 PyObject
*resultobj
;
10751 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10753 PyObject
* obj0
= 0 ;
10754 PyObject
* obj1
= 0 ;
10755 char *kwnames
[] = {
10756 (char *) "self",(char *) "dc", NULL
10759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10763 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10765 if (arg2
== NULL
) {
10766 PyErr_SetString(PyExc_TypeError
,"null reference");
10770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10771 (arg1
)->base_OnDrawContents(*arg2
);
10773 wxPyEndAllowThreads(__tstate
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10776 Py_INCREF(Py_None
); resultobj
= Py_None
;
10783 static PyObject
*_wrap_PyRectangleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10784 PyObject
*resultobj
;
10785 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10787 bool arg3
= (bool) FALSE
;
10788 PyObject
* obj0
= 0 ;
10789 PyObject
* obj1
= 0 ;
10790 PyObject
* obj2
= 0 ;
10791 char *kwnames
[] = {
10792 (char *) "self",(char *) "dc",(char *) "erase", NULL
10795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10799 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10801 if (arg2
== NULL
) {
10802 PyErr_SetString(PyExc_TypeError
,"null reference");
10806 arg3
= (bool) SWIG_AsBool(obj2
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10816 Py_INCREF(Py_None
); resultobj
= Py_None
;
10823 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
*resultobj
;
10825 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10827 PyObject
* obj0
= 0 ;
10828 PyObject
* obj1
= 0 ;
10829 char *kwnames
[] = {
10830 (char *) "self",(char *) "dc", NULL
10833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
10834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10837 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10839 if (arg2
== NULL
) {
10840 PyErr_SetString(PyExc_TypeError
,"null reference");
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 (arg1
)->base_OnMoveLinks(*arg2
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10850 Py_INCREF(Py_None
); resultobj
= Py_None
;
10857 static PyObject
*_wrap_PyRectangleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
*resultobj
;
10859 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10861 PyObject
* obj0
= 0 ;
10862 PyObject
* obj1
= 0 ;
10863 char *kwnames
[] = {
10864 (char *) "self",(char *) "dc", NULL
10867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
10868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10870 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10871 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10873 if (arg2
== NULL
) {
10874 PyErr_SetString(PyExc_TypeError
,"null reference");
10878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10879 (arg1
)->base_OnErase(*arg2
);
10881 wxPyEndAllowThreads(__tstate
);
10882 if (PyErr_Occurred()) SWIG_fail
;
10884 Py_INCREF(Py_None
); resultobj
= Py_None
;
10891 static PyObject
*_wrap_PyRectangleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10892 PyObject
*resultobj
;
10893 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10895 PyObject
* obj0
= 0 ;
10896 PyObject
* obj1
= 0 ;
10897 char *kwnames
[] = {
10898 (char *) "self",(char *) "dc", NULL
10901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10905 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10907 if (arg2
== NULL
) {
10908 PyErr_SetString(PyExc_TypeError
,"null reference");
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 (arg1
)->base_OnEraseContents(*arg2
);
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10918 Py_INCREF(Py_None
); resultobj
= Py_None
;
10925 static PyObject
*_wrap_PyRectangleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
*resultobj
;
10927 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10929 PyObject
* obj0
= 0 ;
10930 PyObject
* obj1
= 0 ;
10931 char *kwnames
[] = {
10932 (char *) "self",(char *) "dc", NULL
10935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
10936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10941 if (arg2
== NULL
) {
10942 PyErr_SetString(PyExc_TypeError
,"null reference");
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 (arg1
)->base_OnHighlight(*arg2
);
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10952 Py_INCREF(Py_None
); resultobj
= Py_None
;
10959 static PyObject
*_wrap_PyRectangleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
;
10961 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10964 int arg4
= (int) 0 ;
10965 int arg5
= (int) 0 ;
10966 PyObject
* obj0
= 0 ;
10967 PyObject
* obj1
= 0 ;
10968 PyObject
* obj2
= 0 ;
10969 PyObject
* obj3
= 0 ;
10970 PyObject
* obj4
= 0 ;
10971 char *kwnames
[] = {
10972 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10978 arg2
= (double) SWIG_AsDouble(obj1
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10980 arg3
= (double) SWIG_AsDouble(obj2
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10983 arg4
= (int) SWIG_AsInt(obj3
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10987 arg5
= (int) SWIG_AsInt(obj4
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10992 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
10994 wxPyEndAllowThreads(__tstate
);
10995 if (PyErr_Occurred()) SWIG_fail
;
10997 Py_INCREF(Py_None
); resultobj
= Py_None
;
11004 static PyObject
*_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
*resultobj
;
11006 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11009 int arg4
= (int) 0 ;
11010 int arg5
= (int) 0 ;
11011 PyObject
* obj0
= 0 ;
11012 PyObject
* obj1
= 0 ;
11013 PyObject
* obj2
= 0 ;
11014 PyObject
* obj3
= 0 ;
11015 PyObject
* obj4
= 0 ;
11016 char *kwnames
[] = {
11017 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11023 arg2
= (double) SWIG_AsDouble(obj1
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11025 arg3
= (double) SWIG_AsDouble(obj2
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11028 arg4
= (int) SWIG_AsInt(obj3
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11032 arg5
= (int) SWIG_AsInt(obj4
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11037 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
11039 wxPyEndAllowThreads(__tstate
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11042 Py_INCREF(Py_None
); resultobj
= Py_None
;
11049 static PyObject
*_wrap_PyRectangleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11050 PyObject
*resultobj
;
11051 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11054 int arg4
= (int) 0 ;
11055 int arg5
= (int) 0 ;
11056 PyObject
* obj0
= 0 ;
11057 PyObject
* obj1
= 0 ;
11058 PyObject
* obj2
= 0 ;
11059 PyObject
* obj3
= 0 ;
11060 PyObject
* obj4
= 0 ;
11061 char *kwnames
[] = {
11062 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11068 arg2
= (double) SWIG_AsDouble(obj1
);
11069 if (PyErr_Occurred()) SWIG_fail
;
11070 arg3
= (double) SWIG_AsDouble(obj2
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11073 arg4
= (int) SWIG_AsInt(obj3
);
11074 if (PyErr_Occurred()) SWIG_fail
;
11077 arg5
= (int) SWIG_AsInt(obj4
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11082 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11087 Py_INCREF(Py_None
); resultobj
= Py_None
;
11094 static PyObject
*_wrap_PyRectangleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
;
11096 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11099 PyObject
* obj0
= 0 ;
11100 PyObject
* obj1
= 0 ;
11101 PyObject
* obj2
= 0 ;
11102 char *kwnames
[] = {
11103 (char *) "self",(char *) "x",(char *) "y", NULL
11106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11109 arg2
= (double) SWIG_AsDouble(obj1
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11111 arg3
= (double) SWIG_AsDouble(obj2
);
11112 if (PyErr_Occurred()) SWIG_fail
;
11114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11115 (arg1
)->base_OnSize(arg2
,arg3
);
11117 wxPyEndAllowThreads(__tstate
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11120 Py_INCREF(Py_None
); resultobj
= Py_None
;
11127 static PyObject
*_wrap_PyRectangleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11128 PyObject
*resultobj
;
11129 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11135 bool arg7
= (bool) True
;
11137 PyObject
* obj0
= 0 ;
11138 PyObject
* obj1
= 0 ;
11139 PyObject
* obj2
= 0 ;
11140 PyObject
* obj3
= 0 ;
11141 PyObject
* obj4
= 0 ;
11142 PyObject
* obj5
= 0 ;
11143 PyObject
* obj6
= 0 ;
11144 char *kwnames
[] = {
11145 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11152 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11154 if (arg2
== NULL
) {
11155 PyErr_SetString(PyExc_TypeError
,"null reference");
11158 arg3
= (double) SWIG_AsDouble(obj2
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11160 arg4
= (double) SWIG_AsDouble(obj3
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11162 arg5
= (double) SWIG_AsDouble(obj4
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11164 arg6
= (double) SWIG_AsDouble(obj5
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11167 arg7
= (bool) SWIG_AsBool(obj6
);
11168 if (PyErr_Occurred()) SWIG_fail
;
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11184 static PyObject
*_wrap_PyRectangleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11185 PyObject
*resultobj
;
11186 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11192 bool arg7
= (bool) True
;
11193 PyObject
* obj0
= 0 ;
11194 PyObject
* obj1
= 0 ;
11195 PyObject
* obj2
= 0 ;
11196 PyObject
* obj3
= 0 ;
11197 PyObject
* obj4
= 0 ;
11198 PyObject
* obj5
= 0 ;
11199 PyObject
* obj6
= 0 ;
11200 char *kwnames
[] = {
11201 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11208 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11210 if (arg2
== NULL
) {
11211 PyErr_SetString(PyExc_TypeError
,"null reference");
11214 arg3
= (double) SWIG_AsDouble(obj2
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11216 arg4
= (double) SWIG_AsDouble(obj3
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11218 arg5
= (double) SWIG_AsDouble(obj4
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11220 arg6
= (double) SWIG_AsDouble(obj5
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11223 arg7
= (bool) SWIG_AsBool(obj6
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11228 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11230 wxPyEndAllowThreads(__tstate
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11233 Py_INCREF(Py_None
); resultobj
= Py_None
;
11240 static PyObject
*_wrap_PyRectangleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11241 PyObject
*resultobj
;
11242 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11246 int arg5
= (int) 0 ;
11247 int arg6
= (int) 0 ;
11248 PyObject
* obj0
= 0 ;
11249 PyObject
* obj1
= 0 ;
11250 PyObject
* obj2
= 0 ;
11251 PyObject
* obj3
= 0 ;
11252 PyObject
* obj4
= 0 ;
11253 PyObject
* obj5
= 0 ;
11254 char *kwnames
[] = {
11255 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11261 arg2
= (bool) SWIG_AsBool(obj1
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11263 arg3
= (double) SWIG_AsDouble(obj2
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11265 arg4
= (double) SWIG_AsDouble(obj3
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11268 arg5
= (int) SWIG_AsInt(obj4
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11272 arg6
= (int) SWIG_AsInt(obj5
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11277 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11282 Py_INCREF(Py_None
); resultobj
= Py_None
;
11289 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11290 PyObject
*resultobj
;
11291 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11294 int arg4
= (int) 0 ;
11295 int arg5
= (int) 0 ;
11296 PyObject
* obj0
= 0 ;
11297 PyObject
* obj1
= 0 ;
11298 PyObject
* obj2
= 0 ;
11299 PyObject
* obj3
= 0 ;
11300 PyObject
* obj4
= 0 ;
11301 char *kwnames
[] = {
11302 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11308 arg2
= (double) SWIG_AsDouble(obj1
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11310 arg3
= (double) SWIG_AsDouble(obj2
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11313 arg4
= (int) SWIG_AsInt(obj3
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11317 arg5
= (int) SWIG_AsInt(obj4
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 Py_INCREF(Py_None
); resultobj
= Py_None
;
11334 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
;
11336 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11339 int arg4
= (int) 0 ;
11340 int arg5
= (int) 0 ;
11341 PyObject
* obj0
= 0 ;
11342 PyObject
* obj1
= 0 ;
11343 PyObject
* obj2
= 0 ;
11344 PyObject
* obj3
= 0 ;
11345 PyObject
* obj4
= 0 ;
11346 char *kwnames
[] = {
11347 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11353 arg2
= (double) SWIG_AsDouble(obj1
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11355 arg3
= (double) SWIG_AsDouble(obj2
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11358 arg4
= (int) SWIG_AsInt(obj3
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11362 arg5
= (int) SWIG_AsInt(obj4
);
11363 if (PyErr_Occurred()) SWIG_fail
;
11366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
11369 wxPyEndAllowThreads(__tstate
);
11370 if (PyErr_Occurred()) SWIG_fail
;
11372 Py_INCREF(Py_None
); resultobj
= Py_None
;
11379 static PyObject
*_wrap_PyRectangleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11380 PyObject
*resultobj
;
11381 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11385 int arg5
= (int) 0 ;
11386 int arg6
= (int) 0 ;
11387 PyObject
* obj0
= 0 ;
11388 PyObject
* obj1
= 0 ;
11389 PyObject
* obj2
= 0 ;
11390 PyObject
* obj3
= 0 ;
11391 PyObject
* obj4
= 0 ;
11392 PyObject
* obj5
= 0 ;
11393 char *kwnames
[] = {
11394 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11400 arg2
= (bool) SWIG_AsBool(obj1
);
11401 if (PyErr_Occurred()) SWIG_fail
;
11402 arg3
= (double) SWIG_AsDouble(obj2
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11404 arg4
= (double) SWIG_AsDouble(obj3
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11407 arg5
= (int) SWIG_AsInt(obj4
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11411 arg6
= (int) SWIG_AsInt(obj5
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11421 Py_INCREF(Py_None
); resultobj
= Py_None
;
11428 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11429 PyObject
*resultobj
;
11430 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11433 int arg4
= (int) 0 ;
11434 int arg5
= (int) 0 ;
11435 PyObject
* obj0
= 0 ;
11436 PyObject
* obj1
= 0 ;
11437 PyObject
* obj2
= 0 ;
11438 PyObject
* obj3
= 0 ;
11439 PyObject
* obj4
= 0 ;
11440 char *kwnames
[] = {
11441 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11447 arg2
= (double) SWIG_AsDouble(obj1
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11449 arg3
= (double) SWIG_AsDouble(obj2
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11452 arg4
= (int) SWIG_AsInt(obj3
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11456 arg5
= (int) SWIG_AsInt(obj4
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11461 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 Py_INCREF(Py_None
); resultobj
= Py_None
;
11473 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
;
11475 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11478 int arg4
= (int) 0 ;
11479 int arg5
= (int) 0 ;
11480 PyObject
* obj0
= 0 ;
11481 PyObject
* obj1
= 0 ;
11482 PyObject
* obj2
= 0 ;
11483 PyObject
* obj3
= 0 ;
11484 PyObject
* obj4
= 0 ;
11485 char *kwnames
[] = {
11486 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11492 arg2
= (double) SWIG_AsDouble(obj1
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11494 arg3
= (double) SWIG_AsDouble(obj2
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11497 arg4
= (int) SWIG_AsInt(obj3
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11501 arg5
= (int) SWIG_AsInt(obj4
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 Py_INCREF(Py_None
); resultobj
= Py_None
;
11518 static PyObject
*_wrap_PyRectangleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
;
11520 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11526 PyObject
* obj0
= 0 ;
11527 PyObject
* obj1
= 0 ;
11528 PyObject
* obj2
= 0 ;
11529 PyObject
* obj3
= 0 ;
11530 PyObject
* obj4
= 0 ;
11531 PyObject
* obj5
= 0 ;
11532 char *kwnames
[] = {
11533 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyRectangleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11539 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11540 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11542 if (arg2
== NULL
) {
11543 PyErr_SetString(PyExc_TypeError
,"null reference");
11546 arg3
= (double) SWIG_AsDouble(obj2
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11548 arg4
= (double) SWIG_AsDouble(obj3
);
11549 if (PyErr_Occurred()) SWIG_fail
;
11550 arg5
= (double) SWIG_AsDouble(obj4
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11552 arg6
= (double) SWIG_AsDouble(obj5
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11561 Py_INCREF(Py_None
); resultobj
= Py_None
;
11568 static PyObject
*_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11569 PyObject
*resultobj
;
11570 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11572 PyObject
* obj0
= 0 ;
11573 PyObject
* obj1
= 0 ;
11574 char *kwnames
[] = {
11575 (char *) "self",(char *) "dc", NULL
11578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11584 if (arg2
== NULL
) {
11585 PyErr_SetString(PyExc_TypeError
,"null reference");
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 (arg1
)->base_OnDrawControlPoints(*arg2
);
11592 wxPyEndAllowThreads(__tstate
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11595 Py_INCREF(Py_None
); resultobj
= Py_None
;
11602 static PyObject
*_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11603 PyObject
*resultobj
;
11604 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11606 PyObject
* obj0
= 0 ;
11607 PyObject
* obj1
= 0 ;
11608 char *kwnames
[] = {
11609 (char *) "self",(char *) "dc", NULL
11612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11618 if (arg2
== NULL
) {
11619 PyErr_SetString(PyExc_TypeError
,"null reference");
11623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11624 (arg1
)->base_OnEraseControlPoints(*arg2
);
11626 wxPyEndAllowThreads(__tstate
);
11627 if (PyErr_Occurred()) SWIG_fail
;
11629 Py_INCREF(Py_None
); resultobj
= Py_None
;
11636 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11637 PyObject
*resultobj
;
11638 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11640 bool arg3
= (bool) True
;
11641 PyObject
* obj0
= 0 ;
11642 PyObject
* obj1
= 0 ;
11643 PyObject
* obj2
= 0 ;
11644 char *kwnames
[] = {
11645 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11652 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11654 if (arg2
== NULL
) {
11655 PyErr_SetString(PyExc_TypeError
,"null reference");
11659 arg3
= (bool) SWIG_AsBool(obj2
);
11660 if (PyErr_Occurred()) SWIG_fail
;
11663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11664 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
11666 wxPyEndAllowThreads(__tstate
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11669 Py_INCREF(Py_None
); resultobj
= Py_None
;
11676 static PyObject
*_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11677 PyObject
*resultobj
;
11678 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11679 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11683 int arg6
= (int) 0 ;
11684 int arg7
= (int) 0 ;
11685 PyObject
* obj0
= 0 ;
11686 PyObject
* obj1
= 0 ;
11687 PyObject
* obj2
= 0 ;
11688 PyObject
* obj3
= 0 ;
11689 PyObject
* obj4
= 0 ;
11690 PyObject
* obj5
= 0 ;
11691 PyObject
* obj6
= 0 ;
11692 char *kwnames
[] = {
11693 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyRectangleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11701 arg3
= (bool) SWIG_AsBool(obj2
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11703 arg4
= (double) SWIG_AsDouble(obj3
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11705 arg5
= (double) SWIG_AsDouble(obj4
);
11706 if (PyErr_Occurred()) SWIG_fail
;
11708 arg6
= (int) SWIG_AsInt(obj5
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11712 arg7
= (int) SWIG_AsInt(obj6
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11717 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11719 wxPyEndAllowThreads(__tstate
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11722 Py_INCREF(Py_None
); resultobj
= Py_None
;
11729 static PyObject
*_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11730 PyObject
*resultobj
;
11731 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11732 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11735 int arg5
= (int) 0 ;
11736 int arg6
= (int) 0 ;
11737 PyObject
* obj0
= 0 ;
11738 PyObject
* obj1
= 0 ;
11739 PyObject
* obj2
= 0 ;
11740 PyObject
* obj3
= 0 ;
11741 PyObject
* obj4
= 0 ;
11742 PyObject
* obj5
= 0 ;
11743 char *kwnames
[] = {
11744 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11752 arg3
= (double) SWIG_AsDouble(obj2
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11754 arg4
= (double) SWIG_AsDouble(obj3
);
11755 if (PyErr_Occurred()) SWIG_fail
;
11757 arg5
= (int) SWIG_AsInt(obj4
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11761 arg6
= (int) SWIG_AsInt(obj5
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11766 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11768 wxPyEndAllowThreads(__tstate
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11771 Py_INCREF(Py_None
); resultobj
= Py_None
;
11778 static PyObject
*_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11779 PyObject
*resultobj
;
11780 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11781 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11784 int arg5
= (int) 0 ;
11785 int arg6
= (int) 0 ;
11786 PyObject
* obj0
= 0 ;
11787 PyObject
* obj1
= 0 ;
11788 PyObject
* obj2
= 0 ;
11789 PyObject
* obj3
= 0 ;
11790 PyObject
* obj4
= 0 ;
11791 PyObject
* obj5
= 0 ;
11792 char *kwnames
[] = {
11793 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11801 arg3
= (double) SWIG_AsDouble(obj2
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11803 arg4
= (double) SWIG_AsDouble(obj3
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11806 arg5
= (int) SWIG_AsInt(obj4
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11810 arg6
= (int) SWIG_AsInt(obj5
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11815 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11817 wxPyEndAllowThreads(__tstate
);
11818 if (PyErr_Occurred()) SWIG_fail
;
11820 Py_INCREF(Py_None
); resultobj
= Py_None
;
11827 static PyObject
*_wrap_PyRectangleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11828 PyObject
*resultobj
;
11829 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11832 PyObject
* obj0
= 0 ;
11833 PyObject
* obj1
= 0 ;
11834 PyObject
* obj2
= 0 ;
11835 char *kwnames
[] = {
11836 (char *) "self",(char *) "w",(char *) "h", NULL
11839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11842 arg2
= (double) SWIG_AsDouble(obj1
);
11843 if (PyErr_Occurred()) SWIG_fail
;
11844 arg3
= (double) SWIG_AsDouble(obj2
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11848 (arg1
)->base_OnBeginSize(arg2
,arg3
);
11850 wxPyEndAllowThreads(__tstate
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11853 Py_INCREF(Py_None
); resultobj
= Py_None
;
11860 static PyObject
*_wrap_PyRectangleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11861 PyObject
*resultobj
;
11862 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11865 PyObject
* obj0
= 0 ;
11866 PyObject
* obj1
= 0 ;
11867 PyObject
* obj2
= 0 ;
11868 char *kwnames
[] = {
11869 (char *) "self",(char *) "w",(char *) "h", NULL
11872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11875 arg2
= (double) SWIG_AsDouble(obj1
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11877 arg3
= (double) SWIG_AsDouble(obj2
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11881 (arg1
)->base_OnEndSize(arg2
,arg3
);
11883 wxPyEndAllowThreads(__tstate
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11886 Py_INCREF(Py_None
); resultobj
= Py_None
;
11893 static PyObject
* PyRectangleShape_swigregister(PyObject
*self
, PyObject
*args
) {
11895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11896 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape
, obj
);
11898 return Py_BuildValue((char *)"");
11900 static PyObject
*_wrap_new_PyControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11901 PyObject
*resultobj
;
11902 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
11903 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
11904 double arg3
= (double) 0.0 ;
11905 double arg4
= (double) 0.0 ;
11906 double arg5
= (double) 0.0 ;
11907 int arg6
= (int) 0 ;
11908 wxPyControlPoint
*result
;
11909 PyObject
* obj0
= 0 ;
11910 PyObject
* obj1
= 0 ;
11911 PyObject
* obj2
= 0 ;
11912 PyObject
* obj3
= 0 ;
11913 PyObject
* obj4
= 0 ;
11914 PyObject
* obj5
= 0 ;
11915 char *kwnames
[] = {
11916 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
11919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_PyControlPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
11922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
11926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11929 arg3
= (double) SWIG_AsDouble(obj2
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11933 arg4
= (double) SWIG_AsDouble(obj3
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11937 arg5
= (double) SWIG_AsDouble(obj4
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11941 arg6
= (int) SWIG_AsInt(obj5
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11946 result
= (wxPyControlPoint
*)new wxPyControlPoint(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControlPoint
, 1);
11958 static PyObject
*_wrap_PyControlPoint__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11959 PyObject
*resultobj
;
11960 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
11961 PyObject
*arg2
= (PyObject
*) 0 ;
11962 PyObject
*arg3
= (PyObject
*) 0 ;
11963 PyObject
* obj0
= 0 ;
11964 PyObject
* obj1
= 0 ;
11965 PyObject
* obj2
= 0 ;
11966 char *kwnames
[] = {
11967 (char *) "self",(char *) "self",(char *) "_class", NULL
11970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
11972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11982 Py_INCREF(Py_None
); resultobj
= Py_None
;
11989 static PyObject
*_wrap_PyControlPoint_SetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11990 PyObject
*resultobj
;
11991 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
11993 PyObject
* obj0
= 0 ;
11994 PyObject
* obj1
= 0 ;
11995 char *kwnames
[] = {
11996 (char *) "self",(char *) "radius", NULL
11999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_SetCornerRadius",kwnames
,&obj0
,&obj1
)) goto fail
;
12000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12002 arg2
= (double) SWIG_AsDouble(obj1
);
12003 if (PyErr_Occurred()) SWIG_fail
;
12005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12006 (arg1
)->SetCornerRadius(arg2
);
12008 wxPyEndAllowThreads(__tstate
);
12009 if (PyErr_Occurred()) SWIG_fail
;
12011 Py_INCREF(Py_None
); resultobj
= Py_None
;
12018 static PyObject
*_wrap_PyControlPoint_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12019 PyObject
*resultobj
;
12020 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12021 PyObject
* obj0
= 0 ;
12022 char *kwnames
[] = {
12023 (char *) "self", NULL
12026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControlPoint_base_OnDelete",kwnames
,&obj0
)) goto fail
;
12027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12031 (arg1
)->base_OnDelete();
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12036 Py_INCREF(Py_None
); resultobj
= Py_None
;
12043 static PyObject
*_wrap_PyControlPoint_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
;
12045 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12047 PyObject
* obj0
= 0 ;
12048 PyObject
* obj1
= 0 ;
12049 char *kwnames
[] = {
12050 (char *) "self",(char *) "dc", NULL
12053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
12054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12057 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12059 if (arg2
== NULL
) {
12060 PyErr_SetString(PyExc_TypeError
,"null reference");
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12065 (arg1
)->base_OnDraw(*arg2
);
12067 wxPyEndAllowThreads(__tstate
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12070 Py_INCREF(Py_None
); resultobj
= Py_None
;
12077 static PyObject
*_wrap_PyControlPoint_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12078 PyObject
*resultobj
;
12079 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12081 PyObject
* obj0
= 0 ;
12082 PyObject
* obj1
= 0 ;
12083 char *kwnames
[] = {
12084 (char *) "self",(char *) "dc", NULL
12087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12093 if (arg2
== NULL
) {
12094 PyErr_SetString(PyExc_TypeError
,"null reference");
12098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12099 (arg1
)->base_OnDrawContents(*arg2
);
12101 wxPyEndAllowThreads(__tstate
);
12102 if (PyErr_Occurred()) SWIG_fail
;
12104 Py_INCREF(Py_None
); resultobj
= Py_None
;
12111 static PyObject
*_wrap_PyControlPoint_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12112 PyObject
*resultobj
;
12113 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12115 bool arg3
= (bool) FALSE
;
12116 PyObject
* obj0
= 0 ;
12117 PyObject
* obj1
= 0 ;
12118 PyObject
* obj2
= 0 ;
12119 char *kwnames
[] = {
12120 (char *) "self",(char *) "dc",(char *) "erase", NULL
12123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12129 if (arg2
== NULL
) {
12130 PyErr_SetString(PyExc_TypeError
,"null reference");
12134 arg3
= (bool) SWIG_AsBool(obj2
);
12135 if (PyErr_Occurred()) SWIG_fail
;
12138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12139 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12144 Py_INCREF(Py_None
); resultobj
= Py_None
;
12151 static PyObject
*_wrap_PyControlPoint_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12152 PyObject
*resultobj
;
12153 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12155 PyObject
* obj0
= 0 ;
12156 PyObject
* obj1
= 0 ;
12157 char *kwnames
[] = {
12158 (char *) "self",(char *) "dc", NULL
12161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
12162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12165 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12167 if (arg2
== NULL
) {
12168 PyErr_SetString(PyExc_TypeError
,"null reference");
12172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12173 (arg1
)->base_OnMoveLinks(*arg2
);
12175 wxPyEndAllowThreads(__tstate
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12178 Py_INCREF(Py_None
); resultobj
= Py_None
;
12185 static PyObject
*_wrap_PyControlPoint_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12186 PyObject
*resultobj
;
12187 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12189 PyObject
* obj0
= 0 ;
12190 PyObject
* obj1
= 0 ;
12191 char *kwnames
[] = {
12192 (char *) "self",(char *) "dc", NULL
12195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
12196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12199 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12201 if (arg2
== NULL
) {
12202 PyErr_SetString(PyExc_TypeError
,"null reference");
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 (arg1
)->base_OnErase(*arg2
);
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12212 Py_INCREF(Py_None
); resultobj
= Py_None
;
12219 static PyObject
*_wrap_PyControlPoint_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12220 PyObject
*resultobj
;
12221 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12223 PyObject
* obj0
= 0 ;
12224 PyObject
* obj1
= 0 ;
12225 char *kwnames
[] = {
12226 (char *) "self",(char *) "dc", NULL
12229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12235 if (arg2
== NULL
) {
12236 PyErr_SetString(PyExc_TypeError
,"null reference");
12240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12241 (arg1
)->base_OnEraseContents(*arg2
);
12243 wxPyEndAllowThreads(__tstate
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12246 Py_INCREF(Py_None
); resultobj
= Py_None
;
12253 static PyObject
*_wrap_PyControlPoint_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12254 PyObject
*resultobj
;
12255 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12257 PyObject
* obj0
= 0 ;
12258 PyObject
* obj1
= 0 ;
12259 char *kwnames
[] = {
12260 (char *) "self",(char *) "dc", NULL
12263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
12264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12267 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12269 if (arg2
== NULL
) {
12270 PyErr_SetString(PyExc_TypeError
,"null reference");
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12275 (arg1
)->base_OnHighlight(*arg2
);
12277 wxPyEndAllowThreads(__tstate
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12280 Py_INCREF(Py_None
); resultobj
= Py_None
;
12287 static PyObject
*_wrap_PyControlPoint_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12288 PyObject
*resultobj
;
12289 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12292 int arg4
= (int) 0 ;
12293 int arg5
= (int) 0 ;
12294 PyObject
* obj0
= 0 ;
12295 PyObject
* obj1
= 0 ;
12296 PyObject
* obj2
= 0 ;
12297 PyObject
* obj3
= 0 ;
12298 PyObject
* obj4
= 0 ;
12299 char *kwnames
[] = {
12300 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12306 arg2
= (double) SWIG_AsDouble(obj1
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12308 arg3
= (double) SWIG_AsDouble(obj2
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12311 arg4
= (int) SWIG_AsInt(obj3
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12315 arg5
= (int) SWIG_AsInt(obj4
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12325 Py_INCREF(Py_None
); resultobj
= Py_None
;
12332 static PyObject
*_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12333 PyObject
*resultobj
;
12334 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12337 int arg4
= (int) 0 ;
12338 int arg5
= (int) 0 ;
12339 PyObject
* obj0
= 0 ;
12340 PyObject
* obj1
= 0 ;
12341 PyObject
* obj2
= 0 ;
12342 PyObject
* obj3
= 0 ;
12343 PyObject
* obj4
= 0 ;
12344 char *kwnames
[] = {
12345 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12351 arg2
= (double) SWIG_AsDouble(obj1
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12353 arg3
= (double) SWIG_AsDouble(obj2
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12356 arg4
= (int) SWIG_AsInt(obj3
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12360 arg5
= (int) SWIG_AsInt(obj4
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12365 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 Py_INCREF(Py_None
); resultobj
= Py_None
;
12377 static PyObject
*_wrap_PyControlPoint_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
;
12379 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12382 int arg4
= (int) 0 ;
12383 int arg5
= (int) 0 ;
12384 PyObject
* obj0
= 0 ;
12385 PyObject
* obj1
= 0 ;
12386 PyObject
* obj2
= 0 ;
12387 PyObject
* obj3
= 0 ;
12388 PyObject
* obj4
= 0 ;
12389 char *kwnames
[] = {
12390 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12396 arg2
= (double) SWIG_AsDouble(obj1
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12398 arg3
= (double) SWIG_AsDouble(obj2
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12401 arg4
= (int) SWIG_AsInt(obj3
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12405 arg5
= (int) SWIG_AsInt(obj4
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12415 Py_INCREF(Py_None
); resultobj
= Py_None
;
12422 static PyObject
*_wrap_PyControlPoint_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
;
12424 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12427 PyObject
* obj0
= 0 ;
12428 PyObject
* obj1
= 0 ;
12429 PyObject
* obj2
= 0 ;
12430 char *kwnames
[] = {
12431 (char *) "self",(char *) "x",(char *) "y", NULL
12434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12437 arg2
= (double) SWIG_AsDouble(obj1
);
12438 if (PyErr_Occurred()) SWIG_fail
;
12439 arg3
= (double) SWIG_AsDouble(obj2
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 (arg1
)->base_OnSize(arg2
,arg3
);
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12448 Py_INCREF(Py_None
); resultobj
= Py_None
;
12455 static PyObject
*_wrap_PyControlPoint_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12456 PyObject
*resultobj
;
12457 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12463 bool arg7
= (bool) True
;
12465 PyObject
* obj0
= 0 ;
12466 PyObject
* obj1
= 0 ;
12467 PyObject
* obj2
= 0 ;
12468 PyObject
* obj3
= 0 ;
12469 PyObject
* obj4
= 0 ;
12470 PyObject
* obj5
= 0 ;
12471 PyObject
* obj6
= 0 ;
12472 char *kwnames
[] = {
12473 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12480 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12482 if (arg2
== NULL
) {
12483 PyErr_SetString(PyExc_TypeError
,"null reference");
12486 arg3
= (double) SWIG_AsDouble(obj2
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12488 arg4
= (double) SWIG_AsDouble(obj3
);
12489 if (PyErr_Occurred()) SWIG_fail
;
12490 arg5
= (double) SWIG_AsDouble(obj4
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12492 arg6
= (double) SWIG_AsDouble(obj5
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12495 arg7
= (bool) SWIG_AsBool(obj6
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12502 wxPyEndAllowThreads(__tstate
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12512 static PyObject
*_wrap_PyControlPoint_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12513 PyObject
*resultobj
;
12514 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12520 bool arg7
= (bool) True
;
12521 PyObject
* obj0
= 0 ;
12522 PyObject
* obj1
= 0 ;
12523 PyObject
* obj2
= 0 ;
12524 PyObject
* obj3
= 0 ;
12525 PyObject
* obj4
= 0 ;
12526 PyObject
* obj5
= 0 ;
12527 PyObject
* obj6
= 0 ;
12528 char *kwnames
[] = {
12529 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12536 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12538 if (arg2
== NULL
) {
12539 PyErr_SetString(PyExc_TypeError
,"null reference");
12542 arg3
= (double) SWIG_AsDouble(obj2
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12544 arg4
= (double) SWIG_AsDouble(obj3
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12546 arg5
= (double) SWIG_AsDouble(obj4
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12548 arg6
= (double) SWIG_AsDouble(obj5
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12551 arg7
= (bool) SWIG_AsBool(obj6
);
12552 if (PyErr_Occurred()) SWIG_fail
;
12555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12558 wxPyEndAllowThreads(__tstate
);
12559 if (PyErr_Occurred()) SWIG_fail
;
12561 Py_INCREF(Py_None
); resultobj
= Py_None
;
12568 static PyObject
*_wrap_PyControlPoint_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12569 PyObject
*resultobj
;
12570 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12574 int arg5
= (int) 0 ;
12575 int arg6
= (int) 0 ;
12576 PyObject
* obj0
= 0 ;
12577 PyObject
* obj1
= 0 ;
12578 PyObject
* obj2
= 0 ;
12579 PyObject
* obj3
= 0 ;
12580 PyObject
* obj4
= 0 ;
12581 PyObject
* obj5
= 0 ;
12582 char *kwnames
[] = {
12583 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12589 arg2
= (bool) SWIG_AsBool(obj1
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12591 arg3
= (double) SWIG_AsDouble(obj2
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12593 arg4
= (double) SWIG_AsDouble(obj3
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12596 arg5
= (int) SWIG_AsInt(obj4
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12600 arg6
= (int) SWIG_AsInt(obj5
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12605 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
12607 wxPyEndAllowThreads(__tstate
);
12608 if (PyErr_Occurred()) SWIG_fail
;
12610 Py_INCREF(Py_None
); resultobj
= Py_None
;
12617 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12618 PyObject
*resultobj
;
12619 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12622 int arg4
= (int) 0 ;
12623 int arg5
= (int) 0 ;
12624 PyObject
* obj0
= 0 ;
12625 PyObject
* obj1
= 0 ;
12626 PyObject
* obj2
= 0 ;
12627 PyObject
* obj3
= 0 ;
12628 PyObject
* obj4
= 0 ;
12629 char *kwnames
[] = {
12630 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12636 arg2
= (double) SWIG_AsDouble(obj1
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12638 arg3
= (double) SWIG_AsDouble(obj2
);
12639 if (PyErr_Occurred()) SWIG_fail
;
12641 arg4
= (int) SWIG_AsInt(obj3
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12645 arg5
= (int) SWIG_AsInt(obj4
);
12646 if (PyErr_Occurred()) SWIG_fail
;
12649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12650 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
12652 wxPyEndAllowThreads(__tstate
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12655 Py_INCREF(Py_None
); resultobj
= Py_None
;
12662 static PyObject
*_wrap_PyControlPoint_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
;
12664 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12667 int arg4
= (int) 0 ;
12668 int arg5
= (int) 0 ;
12669 PyObject
* obj0
= 0 ;
12670 PyObject
* obj1
= 0 ;
12671 PyObject
* obj2
= 0 ;
12672 PyObject
* obj3
= 0 ;
12673 PyObject
* obj4
= 0 ;
12674 char *kwnames
[] = {
12675 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12681 arg2
= (double) SWIG_AsDouble(obj1
);
12682 if (PyErr_Occurred()) SWIG_fail
;
12683 arg3
= (double) SWIG_AsDouble(obj2
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12686 arg4
= (int) SWIG_AsInt(obj3
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12690 arg5
= (int) SWIG_AsInt(obj4
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
12697 wxPyEndAllowThreads(__tstate
);
12698 if (PyErr_Occurred()) SWIG_fail
;
12700 Py_INCREF(Py_None
); resultobj
= Py_None
;
12707 static PyObject
*_wrap_PyControlPoint_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12708 PyObject
*resultobj
;
12709 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12713 int arg5
= (int) 0 ;
12714 int arg6
= (int) 0 ;
12715 PyObject
* obj0
= 0 ;
12716 PyObject
* obj1
= 0 ;
12717 PyObject
* obj2
= 0 ;
12718 PyObject
* obj3
= 0 ;
12719 PyObject
* obj4
= 0 ;
12720 PyObject
* obj5
= 0 ;
12721 char *kwnames
[] = {
12722 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12728 arg2
= (bool) SWIG_AsBool(obj1
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12730 arg3
= (double) SWIG_AsDouble(obj2
);
12731 if (PyErr_Occurred()) SWIG_fail
;
12732 arg4
= (double) SWIG_AsDouble(obj3
);
12733 if (PyErr_Occurred()) SWIG_fail
;
12735 arg5
= (int) SWIG_AsInt(obj4
);
12736 if (PyErr_Occurred()) SWIG_fail
;
12739 arg6
= (int) SWIG_AsInt(obj5
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12749 Py_INCREF(Py_None
); resultobj
= Py_None
;
12756 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12757 PyObject
*resultobj
;
12758 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12761 int arg4
= (int) 0 ;
12762 int arg5
= (int) 0 ;
12763 PyObject
* obj0
= 0 ;
12764 PyObject
* obj1
= 0 ;
12765 PyObject
* obj2
= 0 ;
12766 PyObject
* obj3
= 0 ;
12767 PyObject
* obj4
= 0 ;
12768 char *kwnames
[] = {
12769 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12775 arg2
= (double) SWIG_AsDouble(obj1
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12777 arg3
= (double) SWIG_AsDouble(obj2
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12780 arg4
= (int) SWIG_AsInt(obj3
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12784 arg5
= (int) SWIG_AsInt(obj4
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12789 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
12791 wxPyEndAllowThreads(__tstate
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12794 Py_INCREF(Py_None
); resultobj
= Py_None
;
12801 static PyObject
*_wrap_PyControlPoint_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12802 PyObject
*resultobj
;
12803 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12806 int arg4
= (int) 0 ;
12807 int arg5
= (int) 0 ;
12808 PyObject
* obj0
= 0 ;
12809 PyObject
* obj1
= 0 ;
12810 PyObject
* obj2
= 0 ;
12811 PyObject
* obj3
= 0 ;
12812 PyObject
* obj4
= 0 ;
12813 char *kwnames
[] = {
12814 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12820 arg2
= (double) SWIG_AsDouble(obj1
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12822 arg3
= (double) SWIG_AsDouble(obj2
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12825 arg4
= (int) SWIG_AsInt(obj3
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12829 arg5
= (int) SWIG_AsInt(obj4
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
12836 wxPyEndAllowThreads(__tstate
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12839 Py_INCREF(Py_None
); resultobj
= Py_None
;
12846 static PyObject
*_wrap_PyControlPoint_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12847 PyObject
*resultobj
;
12848 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12854 PyObject
* obj0
= 0 ;
12855 PyObject
* obj1
= 0 ;
12856 PyObject
* obj2
= 0 ;
12857 PyObject
* obj3
= 0 ;
12858 PyObject
* obj4
= 0 ;
12859 PyObject
* obj5
= 0 ;
12860 char *kwnames
[] = {
12861 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
12864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyControlPoint_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12868 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12870 if (arg2
== NULL
) {
12871 PyErr_SetString(PyExc_TypeError
,"null reference");
12874 arg3
= (double) SWIG_AsDouble(obj2
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12876 arg4
= (double) SWIG_AsDouble(obj3
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12878 arg5
= (double) SWIG_AsDouble(obj4
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12880 arg6
= (double) SWIG_AsDouble(obj5
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12884 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
12886 wxPyEndAllowThreads(__tstate
);
12887 if (PyErr_Occurred()) SWIG_fail
;
12889 Py_INCREF(Py_None
); resultobj
= Py_None
;
12896 static PyObject
*_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12897 PyObject
*resultobj
;
12898 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12900 PyObject
* obj0
= 0 ;
12901 PyObject
* obj1
= 0 ;
12902 char *kwnames
[] = {
12903 (char *) "self",(char *) "dc", NULL
12906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
12907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12910 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12912 if (arg2
== NULL
) {
12913 PyErr_SetString(PyExc_TypeError
,"null reference");
12917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12918 (arg1
)->base_OnDrawControlPoints(*arg2
);
12920 wxPyEndAllowThreads(__tstate
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12923 Py_INCREF(Py_None
); resultobj
= Py_None
;
12930 static PyObject
*_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12931 PyObject
*resultobj
;
12932 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12934 PyObject
* obj0
= 0 ;
12935 PyObject
* obj1
= 0 ;
12936 char *kwnames
[] = {
12937 (char *) "self",(char *) "dc", NULL
12940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
12941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12946 if (arg2
== NULL
) {
12947 PyErr_SetString(PyExc_TypeError
,"null reference");
12951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12952 (arg1
)->base_OnEraseControlPoints(*arg2
);
12954 wxPyEndAllowThreads(__tstate
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12957 Py_INCREF(Py_None
); resultobj
= Py_None
;
12964 static PyObject
*_wrap_PyControlPoint_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12965 PyObject
*resultobj
;
12966 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12968 bool arg3
= (bool) True
;
12969 PyObject
* obj0
= 0 ;
12970 PyObject
* obj1
= 0 ;
12971 PyObject
* obj2
= 0 ;
12972 char *kwnames
[] = {
12973 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
12976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12982 if (arg2
== NULL
) {
12983 PyErr_SetString(PyExc_TypeError
,"null reference");
12987 arg3
= (bool) SWIG_AsBool(obj2
);
12988 if (PyErr_Occurred()) SWIG_fail
;
12991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12992 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
12994 wxPyEndAllowThreads(__tstate
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12997 Py_INCREF(Py_None
); resultobj
= Py_None
;
13004 static PyObject
*_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13005 PyObject
*resultobj
;
13006 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13007 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13011 int arg6
= (int) 0 ;
13012 int arg7
= (int) 0 ;
13013 PyObject
* obj0
= 0 ;
13014 PyObject
* obj1
= 0 ;
13015 PyObject
* obj2
= 0 ;
13016 PyObject
* obj3
= 0 ;
13017 PyObject
* obj4
= 0 ;
13018 PyObject
* obj5
= 0 ;
13019 PyObject
* obj6
= 0 ;
13020 char *kwnames
[] = {
13021 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyControlPoint_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13029 arg3
= (bool) SWIG_AsBool(obj2
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13031 arg4
= (double) SWIG_AsDouble(obj3
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13033 arg5
= (double) SWIG_AsDouble(obj4
);
13034 if (PyErr_Occurred()) SWIG_fail
;
13036 arg6
= (int) SWIG_AsInt(obj5
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13040 arg7
= (int) SWIG_AsInt(obj6
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13050 Py_INCREF(Py_None
); resultobj
= Py_None
;
13057 static PyObject
*_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13058 PyObject
*resultobj
;
13059 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13060 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13063 int arg5
= (int) 0 ;
13064 int arg6
= (int) 0 ;
13065 PyObject
* obj0
= 0 ;
13066 PyObject
* obj1
= 0 ;
13067 PyObject
* obj2
= 0 ;
13068 PyObject
* obj3
= 0 ;
13069 PyObject
* obj4
= 0 ;
13070 PyObject
* obj5
= 0 ;
13071 char *kwnames
[] = {
13072 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13080 arg3
= (double) SWIG_AsDouble(obj2
);
13081 if (PyErr_Occurred()) SWIG_fail
;
13082 arg4
= (double) SWIG_AsDouble(obj3
);
13083 if (PyErr_Occurred()) SWIG_fail
;
13085 arg5
= (int) SWIG_AsInt(obj4
);
13086 if (PyErr_Occurred()) SWIG_fail
;
13089 arg6
= (int) SWIG_AsInt(obj5
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13099 Py_INCREF(Py_None
); resultobj
= Py_None
;
13106 static PyObject
*_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13107 PyObject
*resultobj
;
13108 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13109 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13112 int arg5
= (int) 0 ;
13113 int arg6
= (int) 0 ;
13114 PyObject
* obj0
= 0 ;
13115 PyObject
* obj1
= 0 ;
13116 PyObject
* obj2
= 0 ;
13117 PyObject
* obj3
= 0 ;
13118 PyObject
* obj4
= 0 ;
13119 PyObject
* obj5
= 0 ;
13120 char *kwnames
[] = {
13121 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13129 arg3
= (double) SWIG_AsDouble(obj2
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13131 arg4
= (double) SWIG_AsDouble(obj3
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 arg5
= (int) SWIG_AsInt(obj4
);
13135 if (PyErr_Occurred()) SWIG_fail
;
13138 arg6
= (int) SWIG_AsInt(obj5
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13143 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13148 Py_INCREF(Py_None
); resultobj
= Py_None
;
13155 static PyObject
*_wrap_PyControlPoint_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
*resultobj
;
13157 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13160 PyObject
* obj0
= 0 ;
13161 PyObject
* obj1
= 0 ;
13162 PyObject
* obj2
= 0 ;
13163 char *kwnames
[] = {
13164 (char *) "self",(char *) "w",(char *) "h", NULL
13167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13170 arg2
= (double) SWIG_AsDouble(obj1
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13172 arg3
= (double) SWIG_AsDouble(obj2
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 (arg1
)->base_OnBeginSize(arg2
,arg3
);
13178 wxPyEndAllowThreads(__tstate
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13181 Py_INCREF(Py_None
); resultobj
= Py_None
;
13188 static PyObject
*_wrap_PyControlPoint_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13189 PyObject
*resultobj
;
13190 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13193 PyObject
* obj0
= 0 ;
13194 PyObject
* obj1
= 0 ;
13195 PyObject
* obj2
= 0 ;
13196 char *kwnames
[] = {
13197 (char *) "self",(char *) "w",(char *) "h", NULL
13200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13203 arg2
= (double) SWIG_AsDouble(obj1
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13205 arg3
= (double) SWIG_AsDouble(obj2
);
13206 if (PyErr_Occurred()) SWIG_fail
;
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 (arg1
)->base_OnEndSize(arg2
,arg3
);
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13214 Py_INCREF(Py_None
); resultobj
= Py_None
;
13221 static PyObject
* PyControlPoint_swigregister(PyObject
*self
, PyObject
*args
) {
13223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13224 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint
, obj
);
13226 return Py_BuildValue((char *)"");
13228 static PyObject
*_wrap_new_PyBitmapShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13229 PyObject
*resultobj
;
13230 wxPyBitmapShape
*result
;
13231 char *kwnames
[] = {
13235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyBitmapShape",kwnames
)) goto fail
;
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 result
= (wxPyBitmapShape
*)new wxPyBitmapShape();
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapShape
, 1);
13250 static PyObject
*_wrap_PyBitmapShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
*resultobj
;
13252 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13253 PyObject
*arg2
= (PyObject
*) 0 ;
13254 PyObject
*arg3
= (PyObject
*) 0 ;
13255 PyObject
* obj0
= 0 ;
13256 PyObject
* obj1
= 0 ;
13257 PyObject
* obj2
= 0 ;
13258 char *kwnames
[] = {
13259 (char *) "self",(char *) "self",(char *) "_class", NULL
13262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 Py_INCREF(Py_None
); resultobj
= Py_None
;
13281 static PyObject
*_wrap_PyBitmapShape_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13282 PyObject
*resultobj
;
13283 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13285 PyObject
* obj0
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetBitmap",kwnames
,&obj0
)) goto fail
;
13291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13296 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
13297 result
= (wxBitmap
*) &_result_ref
;
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13304 wxBitmap
* resultptr
= new wxBitmap(*result
);
13305 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13313 static PyObject
*_wrap_PyBitmapShape_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13314 PyObject
*resultobj
;
13315 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13317 PyObject
* obj0
= 0 ;
13318 char *kwnames
[] = {
13319 (char *) "self", NULL
13322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetFilename",kwnames
,&obj0
)) goto fail
;
13323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13327 result
= (arg1
)->GetFilename();
13329 wxPyEndAllowThreads(__tstate
);
13330 if (PyErr_Occurred()) SWIG_fail
;
13334 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13336 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13345 static PyObject
*_wrap_PyBitmapShape_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13346 PyObject
*resultobj
;
13347 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13348 wxBitmap
*arg2
= 0 ;
13349 PyObject
* obj0
= 0 ;
13350 PyObject
* obj1
= 0 ;
13351 char *kwnames
[] = {
13352 (char *) "self",(char *) "bitmap", NULL
13355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13358 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
13359 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13361 if (arg2
== NULL
) {
13362 PyErr_SetString(PyExc_TypeError
,"null reference");
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 Py_INCREF(Py_None
); resultobj
= Py_None
;
13379 static PyObject
*_wrap_PyBitmapShape_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13380 PyObject
*resultobj
;
13381 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13382 wxString
*arg2
= 0 ;
13383 bool temp2
= False
;
13384 PyObject
* obj0
= 0 ;
13385 PyObject
* obj1
= 0 ;
13386 char *kwnames
[] = {
13387 (char *) "self",(char *) "filename", NULL
13390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
13391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13394 arg2
= wxString_in_helper(obj1
);
13395 if (arg2
== NULL
) SWIG_fail
;
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 (arg1
)->SetFilename((wxString
const &)*arg2
);
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13405 Py_INCREF(Py_None
); resultobj
= Py_None
;
13420 static PyObject
*_wrap_PyBitmapShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
;
13422 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13423 PyObject
* obj0
= 0 ;
13424 char *kwnames
[] = {
13425 (char *) "self", NULL
13428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
13429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13433 (arg1
)->base_OnDelete();
13435 wxPyEndAllowThreads(__tstate
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13438 Py_INCREF(Py_None
); resultobj
= Py_None
;
13445 static PyObject
*_wrap_PyBitmapShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
*resultobj
;
13447 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13449 PyObject
* obj0
= 0 ;
13450 PyObject
* obj1
= 0 ;
13451 char *kwnames
[] = {
13452 (char *) "self",(char *) "dc", NULL
13455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
13456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13459 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13461 if (arg2
== NULL
) {
13462 PyErr_SetString(PyExc_TypeError
,"null reference");
13466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13467 (arg1
)->base_OnDraw(*arg2
);
13469 wxPyEndAllowThreads(__tstate
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13472 Py_INCREF(Py_None
); resultobj
= Py_None
;
13479 static PyObject
*_wrap_PyBitmapShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13480 PyObject
*resultobj
;
13481 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13483 PyObject
* obj0
= 0 ;
13484 PyObject
* obj1
= 0 ;
13485 char *kwnames
[] = {
13486 (char *) "self",(char *) "dc", NULL
13489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13492 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13493 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13495 if (arg2
== NULL
) {
13496 PyErr_SetString(PyExc_TypeError
,"null reference");
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 (arg1
)->base_OnDrawContents(*arg2
);
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 Py_INCREF(Py_None
); resultobj
= Py_None
;
13513 static PyObject
*_wrap_PyBitmapShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
;
13515 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13517 bool arg3
= (bool) FALSE
;
13518 PyObject
* obj0
= 0 ;
13519 PyObject
* obj1
= 0 ;
13520 PyObject
* obj2
= 0 ;
13521 char *kwnames
[] = {
13522 (char *) "self",(char *) "dc",(char *) "erase", NULL
13525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13529 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13531 if (arg2
== NULL
) {
13532 PyErr_SetString(PyExc_TypeError
,"null reference");
13536 arg3
= (bool) SWIG_AsBool(obj2
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13541 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
13543 wxPyEndAllowThreads(__tstate
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13546 Py_INCREF(Py_None
); resultobj
= Py_None
;
13553 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13554 PyObject
*resultobj
;
13555 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13557 PyObject
* obj0
= 0 ;
13558 PyObject
* obj1
= 0 ;
13559 char *kwnames
[] = {
13560 (char *) "self",(char *) "dc", NULL
13563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
13564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13567 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13569 if (arg2
== NULL
) {
13570 PyErr_SetString(PyExc_TypeError
,"null reference");
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 (arg1
)->base_OnMoveLinks(*arg2
);
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13580 Py_INCREF(Py_None
); resultobj
= Py_None
;
13587 static PyObject
*_wrap_PyBitmapShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
;
13589 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13591 PyObject
* obj0
= 0 ;
13592 PyObject
* obj1
= 0 ;
13593 char *kwnames
[] = {
13594 (char *) "self",(char *) "dc", NULL
13597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
13598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13600 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13601 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13603 if (arg2
== NULL
) {
13604 PyErr_SetString(PyExc_TypeError
,"null reference");
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 (arg1
)->base_OnErase(*arg2
);
13611 wxPyEndAllowThreads(__tstate
);
13612 if (PyErr_Occurred()) SWIG_fail
;
13614 Py_INCREF(Py_None
); resultobj
= Py_None
;
13621 static PyObject
*_wrap_PyBitmapShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13622 PyObject
*resultobj
;
13623 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13625 PyObject
* obj0
= 0 ;
13626 PyObject
* obj1
= 0 ;
13627 char *kwnames
[] = {
13628 (char *) "self",(char *) "dc", NULL
13631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13635 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13637 if (arg2
== NULL
) {
13638 PyErr_SetString(PyExc_TypeError
,"null reference");
13642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13643 (arg1
)->base_OnEraseContents(*arg2
);
13645 wxPyEndAllowThreads(__tstate
);
13646 if (PyErr_Occurred()) SWIG_fail
;
13648 Py_INCREF(Py_None
); resultobj
= Py_None
;
13655 static PyObject
*_wrap_PyBitmapShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13656 PyObject
*resultobj
;
13657 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13659 PyObject
* obj0
= 0 ;
13660 PyObject
* obj1
= 0 ;
13661 char *kwnames
[] = {
13662 (char *) "self",(char *) "dc", NULL
13665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
13666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13671 if (arg2
== NULL
) {
13672 PyErr_SetString(PyExc_TypeError
,"null reference");
13676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13677 (arg1
)->base_OnHighlight(*arg2
);
13679 wxPyEndAllowThreads(__tstate
);
13680 if (PyErr_Occurred()) SWIG_fail
;
13682 Py_INCREF(Py_None
); resultobj
= Py_None
;
13689 static PyObject
*_wrap_PyBitmapShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13690 PyObject
*resultobj
;
13691 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13694 int arg4
= (int) 0 ;
13695 int arg5
= (int) 0 ;
13696 PyObject
* obj0
= 0 ;
13697 PyObject
* obj1
= 0 ;
13698 PyObject
* obj2
= 0 ;
13699 PyObject
* obj3
= 0 ;
13700 PyObject
* obj4
= 0 ;
13701 char *kwnames
[] = {
13702 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13708 arg2
= (double) SWIG_AsDouble(obj1
);
13709 if (PyErr_Occurred()) SWIG_fail
;
13710 arg3
= (double) SWIG_AsDouble(obj2
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13713 arg4
= (int) SWIG_AsInt(obj3
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13717 arg5
= (int) SWIG_AsInt(obj4
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13722 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
13724 wxPyEndAllowThreads(__tstate
);
13725 if (PyErr_Occurred()) SWIG_fail
;
13727 Py_INCREF(Py_None
); resultobj
= Py_None
;
13734 static PyObject
*_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13735 PyObject
*resultobj
;
13736 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13739 int arg4
= (int) 0 ;
13740 int arg5
= (int) 0 ;
13741 PyObject
* obj0
= 0 ;
13742 PyObject
* obj1
= 0 ;
13743 PyObject
* obj2
= 0 ;
13744 PyObject
* obj3
= 0 ;
13745 PyObject
* obj4
= 0 ;
13746 char *kwnames
[] = {
13747 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13753 arg2
= (double) SWIG_AsDouble(obj1
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13755 arg3
= (double) SWIG_AsDouble(obj2
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13758 arg4
= (int) SWIG_AsInt(obj3
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13762 arg5
= (int) SWIG_AsInt(obj4
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13767 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
13769 wxPyEndAllowThreads(__tstate
);
13770 if (PyErr_Occurred()) SWIG_fail
;
13772 Py_INCREF(Py_None
); resultobj
= Py_None
;
13779 static PyObject
*_wrap_PyBitmapShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13780 PyObject
*resultobj
;
13781 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13784 int arg4
= (int) 0 ;
13785 int arg5
= (int) 0 ;
13786 PyObject
* obj0
= 0 ;
13787 PyObject
* obj1
= 0 ;
13788 PyObject
* obj2
= 0 ;
13789 PyObject
* obj3
= 0 ;
13790 PyObject
* obj4
= 0 ;
13791 char *kwnames
[] = {
13792 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13798 arg2
= (double) SWIG_AsDouble(obj1
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13800 arg3
= (double) SWIG_AsDouble(obj2
);
13801 if (PyErr_Occurred()) SWIG_fail
;
13803 arg4
= (int) SWIG_AsInt(obj3
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13807 arg5
= (int) SWIG_AsInt(obj4
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13812 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
13814 wxPyEndAllowThreads(__tstate
);
13815 if (PyErr_Occurred()) SWIG_fail
;
13817 Py_INCREF(Py_None
); resultobj
= Py_None
;
13824 static PyObject
*_wrap_PyBitmapShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13825 PyObject
*resultobj
;
13826 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13829 PyObject
* obj0
= 0 ;
13830 PyObject
* obj1
= 0 ;
13831 PyObject
* obj2
= 0 ;
13832 char *kwnames
[] = {
13833 (char *) "self",(char *) "x",(char *) "y", NULL
13836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13839 arg2
= (double) SWIG_AsDouble(obj1
);
13840 if (PyErr_Occurred()) SWIG_fail
;
13841 arg3
= (double) SWIG_AsDouble(obj2
);
13842 if (PyErr_Occurred()) SWIG_fail
;
13844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13845 (arg1
)->base_OnSize(arg2
,arg3
);
13847 wxPyEndAllowThreads(__tstate
);
13848 if (PyErr_Occurred()) SWIG_fail
;
13850 Py_INCREF(Py_None
); resultobj
= Py_None
;
13857 static PyObject
*_wrap_PyBitmapShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13858 PyObject
*resultobj
;
13859 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13865 bool arg7
= (bool) True
;
13867 PyObject
* obj0
= 0 ;
13868 PyObject
* obj1
= 0 ;
13869 PyObject
* obj2
= 0 ;
13870 PyObject
* obj3
= 0 ;
13871 PyObject
* obj4
= 0 ;
13872 PyObject
* obj5
= 0 ;
13873 PyObject
* obj6
= 0 ;
13874 char *kwnames
[] = {
13875 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13881 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13882 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13884 if (arg2
== NULL
) {
13885 PyErr_SetString(PyExc_TypeError
,"null reference");
13888 arg3
= (double) SWIG_AsDouble(obj2
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13890 arg4
= (double) SWIG_AsDouble(obj3
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13892 arg5
= (double) SWIG_AsDouble(obj4
);
13893 if (PyErr_Occurred()) SWIG_fail
;
13894 arg6
= (double) SWIG_AsDouble(obj5
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13897 arg7
= (bool) SWIG_AsBool(obj6
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13902 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13904 wxPyEndAllowThreads(__tstate
);
13905 if (PyErr_Occurred()) SWIG_fail
;
13907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13914 static PyObject
*_wrap_PyBitmapShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
;
13916 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13922 bool arg7
= (bool) True
;
13923 PyObject
* obj0
= 0 ;
13924 PyObject
* obj1
= 0 ;
13925 PyObject
* obj2
= 0 ;
13926 PyObject
* obj3
= 0 ;
13927 PyObject
* obj4
= 0 ;
13928 PyObject
* obj5
= 0 ;
13929 PyObject
* obj6
= 0 ;
13930 char *kwnames
[] = {
13931 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13937 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13938 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13940 if (arg2
== NULL
) {
13941 PyErr_SetString(PyExc_TypeError
,"null reference");
13944 arg3
= (double) SWIG_AsDouble(obj2
);
13945 if (PyErr_Occurred()) SWIG_fail
;
13946 arg4
= (double) SWIG_AsDouble(obj3
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13948 arg5
= (double) SWIG_AsDouble(obj4
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13950 arg6
= (double) SWIG_AsDouble(obj5
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13953 arg7
= (bool) SWIG_AsBool(obj6
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13960 wxPyEndAllowThreads(__tstate
);
13961 if (PyErr_Occurred()) SWIG_fail
;
13963 Py_INCREF(Py_None
); resultobj
= Py_None
;
13970 static PyObject
*_wrap_PyBitmapShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13971 PyObject
*resultobj
;
13972 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13976 int arg5
= (int) 0 ;
13977 int arg6
= (int) 0 ;
13978 PyObject
* obj0
= 0 ;
13979 PyObject
* obj1
= 0 ;
13980 PyObject
* obj2
= 0 ;
13981 PyObject
* obj3
= 0 ;
13982 PyObject
* obj4
= 0 ;
13983 PyObject
* obj5
= 0 ;
13984 char *kwnames
[] = {
13985 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13991 arg2
= (bool) SWIG_AsBool(obj1
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13993 arg3
= (double) SWIG_AsDouble(obj2
);
13994 if (PyErr_Occurred()) SWIG_fail
;
13995 arg4
= (double) SWIG_AsDouble(obj3
);
13996 if (PyErr_Occurred()) SWIG_fail
;
13998 arg5
= (int) SWIG_AsInt(obj4
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14002 arg6
= (int) SWIG_AsInt(obj5
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14007 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14009 wxPyEndAllowThreads(__tstate
);
14010 if (PyErr_Occurred()) SWIG_fail
;
14012 Py_INCREF(Py_None
); resultobj
= Py_None
;
14019 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14020 PyObject
*resultobj
;
14021 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14024 int arg4
= (int) 0 ;
14025 int arg5
= (int) 0 ;
14026 PyObject
* obj0
= 0 ;
14027 PyObject
* obj1
= 0 ;
14028 PyObject
* obj2
= 0 ;
14029 PyObject
* obj3
= 0 ;
14030 PyObject
* obj4
= 0 ;
14031 char *kwnames
[] = {
14032 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14038 arg2
= (double) SWIG_AsDouble(obj1
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14040 arg3
= (double) SWIG_AsDouble(obj2
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14043 arg4
= (int) SWIG_AsInt(obj3
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14047 arg5
= (int) SWIG_AsInt(obj4
);
14048 if (PyErr_Occurred()) SWIG_fail
;
14051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14052 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14057 Py_INCREF(Py_None
); resultobj
= Py_None
;
14064 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14065 PyObject
*resultobj
;
14066 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14069 int arg4
= (int) 0 ;
14070 int arg5
= (int) 0 ;
14071 PyObject
* obj0
= 0 ;
14072 PyObject
* obj1
= 0 ;
14073 PyObject
* obj2
= 0 ;
14074 PyObject
* obj3
= 0 ;
14075 PyObject
* obj4
= 0 ;
14076 char *kwnames
[] = {
14077 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14083 arg2
= (double) SWIG_AsDouble(obj1
);
14084 if (PyErr_Occurred()) SWIG_fail
;
14085 arg3
= (double) SWIG_AsDouble(obj2
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14088 arg4
= (int) SWIG_AsInt(obj3
);
14089 if (PyErr_Occurred()) SWIG_fail
;
14092 arg5
= (int) SWIG_AsInt(obj4
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14097 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
14099 wxPyEndAllowThreads(__tstate
);
14100 if (PyErr_Occurred()) SWIG_fail
;
14102 Py_INCREF(Py_None
); resultobj
= Py_None
;
14109 static PyObject
*_wrap_PyBitmapShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14110 PyObject
*resultobj
;
14111 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14115 int arg5
= (int) 0 ;
14116 int arg6
= (int) 0 ;
14117 PyObject
* obj0
= 0 ;
14118 PyObject
* obj1
= 0 ;
14119 PyObject
* obj2
= 0 ;
14120 PyObject
* obj3
= 0 ;
14121 PyObject
* obj4
= 0 ;
14122 PyObject
* obj5
= 0 ;
14123 char *kwnames
[] = {
14124 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14130 arg2
= (bool) SWIG_AsBool(obj1
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14132 arg3
= (double) SWIG_AsDouble(obj2
);
14133 if (PyErr_Occurred()) SWIG_fail
;
14134 arg4
= (double) SWIG_AsDouble(obj3
);
14135 if (PyErr_Occurred()) SWIG_fail
;
14137 arg5
= (int) SWIG_AsInt(obj4
);
14138 if (PyErr_Occurred()) SWIG_fail
;
14141 arg6
= (int) SWIG_AsInt(obj5
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14146 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
14148 wxPyEndAllowThreads(__tstate
);
14149 if (PyErr_Occurred()) SWIG_fail
;
14151 Py_INCREF(Py_None
); resultobj
= Py_None
;
14158 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14159 PyObject
*resultobj
;
14160 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14163 int arg4
= (int) 0 ;
14164 int arg5
= (int) 0 ;
14165 PyObject
* obj0
= 0 ;
14166 PyObject
* obj1
= 0 ;
14167 PyObject
* obj2
= 0 ;
14168 PyObject
* obj3
= 0 ;
14169 PyObject
* obj4
= 0 ;
14170 char *kwnames
[] = {
14171 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14177 arg2
= (double) SWIG_AsDouble(obj1
);
14178 if (PyErr_Occurred()) SWIG_fail
;
14179 arg3
= (double) SWIG_AsDouble(obj2
);
14180 if (PyErr_Occurred()) SWIG_fail
;
14182 arg4
= (int) SWIG_AsInt(obj3
);
14183 if (PyErr_Occurred()) SWIG_fail
;
14186 arg5
= (int) SWIG_AsInt(obj4
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14191 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
14193 wxPyEndAllowThreads(__tstate
);
14194 if (PyErr_Occurred()) SWIG_fail
;
14196 Py_INCREF(Py_None
); resultobj
= Py_None
;
14203 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14204 PyObject
*resultobj
;
14205 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14208 int arg4
= (int) 0 ;
14209 int arg5
= (int) 0 ;
14210 PyObject
* obj0
= 0 ;
14211 PyObject
* obj1
= 0 ;
14212 PyObject
* obj2
= 0 ;
14213 PyObject
* obj3
= 0 ;
14214 PyObject
* obj4
= 0 ;
14215 char *kwnames
[] = {
14216 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14222 arg2
= (double) SWIG_AsDouble(obj1
);
14223 if (PyErr_Occurred()) SWIG_fail
;
14224 arg3
= (double) SWIG_AsDouble(obj2
);
14225 if (PyErr_Occurred()) SWIG_fail
;
14227 arg4
= (int) SWIG_AsInt(obj3
);
14228 if (PyErr_Occurred()) SWIG_fail
;
14231 arg5
= (int) SWIG_AsInt(obj4
);
14232 if (PyErr_Occurred()) SWIG_fail
;
14235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14236 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
14238 wxPyEndAllowThreads(__tstate
);
14239 if (PyErr_Occurred()) SWIG_fail
;
14241 Py_INCREF(Py_None
); resultobj
= Py_None
;
14248 static PyObject
*_wrap_PyBitmapShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14249 PyObject
*resultobj
;
14250 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14256 PyObject
* obj0
= 0 ;
14257 PyObject
* obj1
= 0 ;
14258 PyObject
* obj2
= 0 ;
14259 PyObject
* obj3
= 0 ;
14260 PyObject
* obj4
= 0 ;
14261 PyObject
* obj5
= 0 ;
14262 char *kwnames
[] = {
14263 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyBitmapShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14270 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14272 if (arg2
== NULL
) {
14273 PyErr_SetString(PyExc_TypeError
,"null reference");
14276 arg3
= (double) SWIG_AsDouble(obj2
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14278 arg4
= (double) SWIG_AsDouble(obj3
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14280 arg5
= (double) SWIG_AsDouble(obj4
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14282 arg6
= (double) SWIG_AsDouble(obj5
);
14283 if (PyErr_Occurred()) SWIG_fail
;
14285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14286 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
14288 wxPyEndAllowThreads(__tstate
);
14289 if (PyErr_Occurred()) SWIG_fail
;
14291 Py_INCREF(Py_None
); resultobj
= Py_None
;
14298 static PyObject
*_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14299 PyObject
*resultobj
;
14300 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14302 PyObject
* obj0
= 0 ;
14303 PyObject
* obj1
= 0 ;
14304 char *kwnames
[] = {
14305 (char *) "self",(char *) "dc", NULL
14308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14314 if (arg2
== NULL
) {
14315 PyErr_SetString(PyExc_TypeError
,"null reference");
14319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14320 (arg1
)->base_OnDrawControlPoints(*arg2
);
14322 wxPyEndAllowThreads(__tstate
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14325 Py_INCREF(Py_None
); resultobj
= Py_None
;
14332 static PyObject
*_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14333 PyObject
*resultobj
;
14334 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14336 PyObject
* obj0
= 0 ;
14337 PyObject
* obj1
= 0 ;
14338 char *kwnames
[] = {
14339 (char *) "self",(char *) "dc", NULL
14342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14346 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14348 if (arg2
== NULL
) {
14349 PyErr_SetString(PyExc_TypeError
,"null reference");
14353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14354 (arg1
)->base_OnEraseControlPoints(*arg2
);
14356 wxPyEndAllowThreads(__tstate
);
14357 if (PyErr_Occurred()) SWIG_fail
;
14359 Py_INCREF(Py_None
); resultobj
= Py_None
;
14366 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14367 PyObject
*resultobj
;
14368 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14370 bool arg3
= (bool) True
;
14371 PyObject
* obj0
= 0 ;
14372 PyObject
* obj1
= 0 ;
14373 PyObject
* obj2
= 0 ;
14374 char *kwnames
[] = {
14375 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
14378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14381 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14382 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14384 if (arg2
== NULL
) {
14385 PyErr_SetString(PyExc_TypeError
,"null reference");
14389 arg3
= (bool) SWIG_AsBool(obj2
);
14390 if (PyErr_Occurred()) SWIG_fail
;
14393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14394 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
14396 wxPyEndAllowThreads(__tstate
);
14397 if (PyErr_Occurred()) SWIG_fail
;
14399 Py_INCREF(Py_None
); resultobj
= Py_None
;
14406 static PyObject
*_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14407 PyObject
*resultobj
;
14408 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14409 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14413 int arg6
= (int) 0 ;
14414 int arg7
= (int) 0 ;
14415 PyObject
* obj0
= 0 ;
14416 PyObject
* obj1
= 0 ;
14417 PyObject
* obj2
= 0 ;
14418 PyObject
* obj3
= 0 ;
14419 PyObject
* obj4
= 0 ;
14420 PyObject
* obj5
= 0 ;
14421 PyObject
* obj6
= 0 ;
14422 char *kwnames
[] = {
14423 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyBitmapShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14431 arg3
= (bool) SWIG_AsBool(obj2
);
14432 if (PyErr_Occurred()) SWIG_fail
;
14433 arg4
= (double) SWIG_AsDouble(obj3
);
14434 if (PyErr_Occurred()) SWIG_fail
;
14435 arg5
= (double) SWIG_AsDouble(obj4
);
14436 if (PyErr_Occurred()) SWIG_fail
;
14438 arg6
= (int) SWIG_AsInt(obj5
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14442 arg7
= (int) SWIG_AsInt(obj6
);
14443 if (PyErr_Occurred()) SWIG_fail
;
14446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14447 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14449 wxPyEndAllowThreads(__tstate
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14452 Py_INCREF(Py_None
); resultobj
= Py_None
;
14459 static PyObject
*_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14460 PyObject
*resultobj
;
14461 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14462 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14465 int arg5
= (int) 0 ;
14466 int arg6
= (int) 0 ;
14467 PyObject
* obj0
= 0 ;
14468 PyObject
* obj1
= 0 ;
14469 PyObject
* obj2
= 0 ;
14470 PyObject
* obj3
= 0 ;
14471 PyObject
* obj4
= 0 ;
14472 PyObject
* obj5
= 0 ;
14473 char *kwnames
[] = {
14474 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14482 arg3
= (double) SWIG_AsDouble(obj2
);
14483 if (PyErr_Occurred()) SWIG_fail
;
14484 arg4
= (double) SWIG_AsDouble(obj3
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14487 arg5
= (int) SWIG_AsInt(obj4
);
14488 if (PyErr_Occurred()) SWIG_fail
;
14491 arg6
= (int) SWIG_AsInt(obj5
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14496 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14498 wxPyEndAllowThreads(__tstate
);
14499 if (PyErr_Occurred()) SWIG_fail
;
14501 Py_INCREF(Py_None
); resultobj
= Py_None
;
14508 static PyObject
*_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14509 PyObject
*resultobj
;
14510 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14511 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14514 int arg5
= (int) 0 ;
14515 int arg6
= (int) 0 ;
14516 PyObject
* obj0
= 0 ;
14517 PyObject
* obj1
= 0 ;
14518 PyObject
* obj2
= 0 ;
14519 PyObject
* obj3
= 0 ;
14520 PyObject
* obj4
= 0 ;
14521 PyObject
* obj5
= 0 ;
14522 char *kwnames
[] = {
14523 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14531 arg3
= (double) SWIG_AsDouble(obj2
);
14532 if (PyErr_Occurred()) SWIG_fail
;
14533 arg4
= (double) SWIG_AsDouble(obj3
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14536 arg5
= (int) SWIG_AsInt(obj4
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14540 arg6
= (int) SWIG_AsInt(obj5
);
14541 if (PyErr_Occurred()) SWIG_fail
;
14544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14545 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14547 wxPyEndAllowThreads(__tstate
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14550 Py_INCREF(Py_None
); resultobj
= Py_None
;
14557 static PyObject
*_wrap_PyBitmapShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14558 PyObject
*resultobj
;
14559 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14562 PyObject
* obj0
= 0 ;
14563 PyObject
* obj1
= 0 ;
14564 PyObject
* obj2
= 0 ;
14565 char *kwnames
[] = {
14566 (char *) "self",(char *) "w",(char *) "h", NULL
14569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14572 arg2
= (double) SWIG_AsDouble(obj1
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14574 arg3
= (double) SWIG_AsDouble(obj2
);
14575 if (PyErr_Occurred()) SWIG_fail
;
14577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14578 (arg1
)->base_OnBeginSize(arg2
,arg3
);
14580 wxPyEndAllowThreads(__tstate
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14583 Py_INCREF(Py_None
); resultobj
= Py_None
;
14590 static PyObject
*_wrap_PyBitmapShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14591 PyObject
*resultobj
;
14592 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14595 PyObject
* obj0
= 0 ;
14596 PyObject
* obj1
= 0 ;
14597 PyObject
* obj2
= 0 ;
14598 char *kwnames
[] = {
14599 (char *) "self",(char *) "w",(char *) "h", NULL
14602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14605 arg2
= (double) SWIG_AsDouble(obj1
);
14606 if (PyErr_Occurred()) SWIG_fail
;
14607 arg3
= (double) SWIG_AsDouble(obj2
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14611 (arg1
)->base_OnEndSize(arg2
,arg3
);
14613 wxPyEndAllowThreads(__tstate
);
14614 if (PyErr_Occurred()) SWIG_fail
;
14616 Py_INCREF(Py_None
); resultobj
= Py_None
;
14623 static PyObject
* PyBitmapShape_swigregister(PyObject
*self
, PyObject
*args
) {
14625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14626 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape
, obj
);
14628 return Py_BuildValue((char *)"");
14630 static PyObject
*_wrap_new_PyDrawnShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14631 PyObject
*resultobj
;
14632 wxPyDrawnShape
*result
;
14633 char *kwnames
[] = {
14637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDrawnShape",kwnames
)) goto fail
;
14639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14640 result
= (wxPyDrawnShape
*)new wxPyDrawnShape();
14642 wxPyEndAllowThreads(__tstate
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDrawnShape
, 1);
14652 static PyObject
*_wrap_PyDrawnShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14653 PyObject
*resultobj
;
14654 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14655 PyObject
*arg2
= (PyObject
*) 0 ;
14656 PyObject
*arg3
= (PyObject
*) 0 ;
14657 PyObject
* obj0
= 0 ;
14658 PyObject
* obj1
= 0 ;
14659 PyObject
* obj2
= 0 ;
14660 char *kwnames
[] = {
14661 (char *) "self",(char *) "self",(char *) "_class", NULL
14664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14671 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14673 wxPyEndAllowThreads(__tstate
);
14674 if (PyErr_Occurred()) SWIG_fail
;
14676 Py_INCREF(Py_None
); resultobj
= Py_None
;
14683 static PyObject
*_wrap_PyDrawnShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14684 PyObject
*resultobj
;
14685 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14686 PyObject
* obj0
= 0 ;
14687 char *kwnames
[] = {
14688 (char *) "self", NULL
14691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
14692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14696 (arg1
)->CalculateSize();
14698 wxPyEndAllowThreads(__tstate
);
14699 if (PyErr_Occurred()) SWIG_fail
;
14701 Py_INCREF(Py_None
); resultobj
= Py_None
;
14708 static PyObject
*_wrap_PyDrawnShape_DestroyClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14709 PyObject
*resultobj
;
14710 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14711 PyObject
* obj0
= 0 ;
14712 char *kwnames
[] = {
14713 (char *) "self", NULL
14716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
14717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14721 (arg1
)->DestroyClippingRect();
14723 wxPyEndAllowThreads(__tstate
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14726 Py_INCREF(Py_None
); resultobj
= Py_None
;
14733 static PyObject
*_wrap_PyDrawnShape_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14734 PyObject
*resultobj
;
14735 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14736 wxPoint
*arg2
= 0 ;
14737 wxPoint
*arg3
= 0 ;
14738 wxPoint
*arg4
= 0 ;
14742 PyObject
* obj0
= 0 ;
14743 PyObject
* obj1
= 0 ;
14744 PyObject
* obj2
= 0 ;
14745 PyObject
* obj3
= 0 ;
14746 char *kwnames
[] = {
14747 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
14750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14755 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14759 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14763 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14767 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14772 Py_INCREF(Py_None
); resultobj
= Py_None
;
14779 static PyObject
*_wrap_PyDrawnShape_DrawAtAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
;
14781 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14783 PyObject
* obj0
= 0 ;
14784 PyObject
* obj1
= 0 ;
14785 char *kwnames
[] = {
14786 (char *) "self",(char *) "angle", NULL
14789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawAtAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
14790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14792 arg2
= (int) SWIG_AsInt(obj1
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14796 (arg1
)->DrawAtAngle(arg2
);
14798 wxPyEndAllowThreads(__tstate
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14801 Py_INCREF(Py_None
); resultobj
= Py_None
;
14808 static PyObject
*_wrap_PyDrawnShape_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
;
14810 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14815 PyObject
* obj0
= 0 ;
14816 PyObject
* obj1
= 0 ;
14817 PyObject
* obj2
= 0 ;
14818 PyObject
* obj3
= 0 ;
14819 char *kwnames
[] = {
14820 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
14823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14828 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14830 arg3
= (double) SWIG_AsDouble(obj2
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14832 arg4
= (double) SWIG_AsDouble(obj3
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
14838 wxPyEndAllowThreads(__tstate
);
14839 if (PyErr_Occurred()) SWIG_fail
;
14841 Py_INCREF(Py_None
); resultobj
= Py_None
;
14848 static PyObject
*_wrap_PyDrawnShape_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14849 PyObject
*resultobj
;
14850 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14851 wxPoint
*arg2
= 0 ;
14852 wxPoint
*arg3
= 0 ;
14855 PyObject
* obj0
= 0 ;
14856 PyObject
* obj1
= 0 ;
14857 PyObject
* obj2
= 0 ;
14858 char *kwnames
[] = {
14859 (char *) "self",(char *) "point1",(char *) "point2", NULL
14862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14867 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14871 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14875 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
14877 wxPyEndAllowThreads(__tstate
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14880 Py_INCREF(Py_None
); resultobj
= Py_None
;
14887 static PyObject
*_wrap_PyDrawnShape_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14888 PyObject
*resultobj
;
14889 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14891 wxPoint
*arg3
= (wxPoint
*) 0 ;
14892 PyObject
* obj0
= 0 ;
14893 PyObject
* obj1
= 0 ;
14894 PyObject
* obj2
= 0 ;
14895 char *kwnames
[] = {
14896 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
14899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14902 arg2
= (int) SWIG_AsInt(obj1
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14904 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
14905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 (arg1
)->DrawLines(arg2
,arg3
);
14910 wxPyEndAllowThreads(__tstate
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14913 Py_INCREF(Py_None
); resultobj
= Py_None
;
14920 static PyObject
*_wrap_PyDrawnShape_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14921 PyObject
*resultobj
;
14922 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14923 wxPoint
*arg2
= 0 ;
14925 PyObject
* obj0
= 0 ;
14926 PyObject
* obj1
= 0 ;
14927 char *kwnames
[] = {
14928 (char *) "self",(char *) "point", NULL
14931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14936 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14940 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
14942 wxPyEndAllowThreads(__tstate
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14945 Py_INCREF(Py_None
); resultobj
= Py_None
;
14952 static PyObject
*_wrap_PyDrawnShape_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14953 PyObject
*resultobj
;
14954 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14956 wxPoint
*arg3
= (wxPoint
*) 0 ;
14957 int arg4
= (int) 0 ;
14958 PyObject
* obj0
= 0 ;
14959 PyObject
* obj1
= 0 ;
14960 PyObject
* obj2
= 0 ;
14961 PyObject
* obj3
= 0 ;
14962 char *kwnames
[] = {
14963 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyDrawnShape_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14969 arg2
= (int) SWIG_AsInt(obj1
);
14970 if (PyErr_Occurred()) SWIG_fail
;
14971 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
14972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14974 arg4
= (int) SWIG_AsInt(obj3
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14984 Py_INCREF(Py_None
); resultobj
= Py_None
;
14991 static PyObject
*_wrap_PyDrawnShape_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14992 PyObject
*resultobj
;
14993 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14996 PyObject
* obj0
= 0 ;
14997 PyObject
* obj1
= 0 ;
14998 char *kwnames
[] = {
14999 (char *) "self",(char *) "rect", NULL
15002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
15003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15007 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15011 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
15013 wxPyEndAllowThreads(__tstate
);
15014 if (PyErr_Occurred()) SWIG_fail
;
15016 Py_INCREF(Py_None
); resultobj
= Py_None
;
15023 static PyObject
*_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15024 PyObject
*resultobj
;
15025 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15029 PyObject
* obj0
= 0 ;
15030 PyObject
* obj1
= 0 ;
15031 PyObject
* obj2
= 0 ;
15032 char *kwnames
[] = {
15033 (char *) "self",(char *) "rect",(char *) "radius", NULL
15036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15041 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15043 arg3
= (double) SWIG_AsDouble(obj2
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15047 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
15049 wxPyEndAllowThreads(__tstate
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15052 Py_INCREF(Py_None
); resultobj
= Py_None
;
15059 static PyObject
*_wrap_PyDrawnShape_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15060 PyObject
*resultobj
;
15061 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15063 wxPoint
*arg3
= (wxPoint
*) 0 ;
15064 PyObject
* obj0
= 0 ;
15065 PyObject
* obj1
= 0 ;
15066 PyObject
* obj2
= 0 ;
15067 char *kwnames
[] = {
15068 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
15071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawSpline",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15074 arg2
= (int) SWIG_AsInt(obj1
);
15075 if (PyErr_Occurred()) SWIG_fail
;
15076 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPoint
,
15077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 (arg1
)->DrawSpline(arg2
,arg3
);
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15085 Py_INCREF(Py_None
); resultobj
= Py_None
;
15092 static PyObject
*_wrap_PyDrawnShape_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15093 PyObject
*resultobj
;
15094 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15095 wxString
*arg2
= 0 ;
15096 wxPoint
*arg3
= 0 ;
15097 bool temp2
= False
;
15099 PyObject
* obj0
= 0 ;
15100 PyObject
* obj1
= 0 ;
15101 PyObject
* obj2
= 0 ;
15102 char *kwnames
[] = {
15103 (char *) "self",(char *) "text",(char *) "point", NULL
15106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15110 arg2
= wxString_in_helper(obj1
);
15111 if (arg2
== NULL
) SWIG_fail
;
15116 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15120 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
15122 wxPyEndAllowThreads(__tstate
);
15123 if (PyErr_Occurred()) SWIG_fail
;
15125 Py_INCREF(Py_None
); resultobj
= Py_None
;
15140 static PyObject
*_wrap_PyDrawnShape_GetAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15141 PyObject
*resultobj
;
15142 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15144 PyObject
* obj0
= 0 ;
15145 char *kwnames
[] = {
15146 (char *) "self", NULL
15149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetAngle",kwnames
,&obj0
)) goto fail
;
15150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15154 result
= (int)(arg1
)->GetAngle();
15156 wxPyEndAllowThreads(__tstate
);
15157 if (PyErr_Occurred()) SWIG_fail
;
15159 resultobj
= SWIG_FromInt((int)result
);
15166 static PyObject
*_wrap_PyDrawnShape_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15167 PyObject
*resultobj
;
15168 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15169 wxPseudoMetaFile
*result
;
15170 PyObject
* obj0
= 0 ;
15171 char *kwnames
[] = {
15172 (char *) "self", NULL
15175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetMetaFile",kwnames
,&obj0
)) goto fail
;
15176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15181 wxPseudoMetaFile
&_result_ref
= (arg1
)->GetMetaFile();
15182 result
= (wxPseudoMetaFile
*) &_result_ref
;
15185 wxPyEndAllowThreads(__tstate
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPseudoMetaFile
, 0);
15195 static PyObject
*_wrap_PyDrawnShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15196 PyObject
*resultobj
;
15197 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15199 PyObject
* obj0
= 0 ;
15200 char *kwnames
[] = {
15201 (char *) "self", NULL
15204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetRotation",kwnames
,&obj0
)) goto fail
;
15205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15209 result
= (double)(arg1
)->GetRotation();
15211 wxPyEndAllowThreads(__tstate
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15214 resultobj
= SWIG_FromDouble((double)result
);
15221 static PyObject
*_wrap_PyDrawnShape_LoadFromMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15222 PyObject
*resultobj
;
15223 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15224 wxString
*arg2
= 0 ;
15226 bool temp2
= False
;
15227 PyObject
* obj0
= 0 ;
15228 PyObject
* obj1
= 0 ;
15229 char *kwnames
[] = {
15230 (char *) "self",(char *) "filename", NULL
15233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames
,&obj0
,&obj1
)) goto fail
;
15234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15237 arg2
= wxString_in_helper(obj1
);
15238 if (arg2
== NULL
) SWIG_fail
;
15242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15243 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
);
15245 wxPyEndAllowThreads(__tstate
);
15246 if (PyErr_Occurred()) SWIG_fail
;
15248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15263 static PyObject
*_wrap_PyDrawnShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15264 PyObject
*resultobj
;
15265 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15269 PyObject
* obj0
= 0 ;
15270 PyObject
* obj1
= 0 ;
15271 PyObject
* obj2
= 0 ;
15272 PyObject
* obj3
= 0 ;
15273 char *kwnames
[] = {
15274 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
15277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15280 arg2
= (double) SWIG_AsDouble(obj1
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15282 arg3
= (double) SWIG_AsDouble(obj2
);
15283 if (PyErr_Occurred()) SWIG_fail
;
15284 arg4
= (double) SWIG_AsDouble(obj3
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 (arg1
)->Rotate(arg2
,arg3
,arg4
);
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15293 Py_INCREF(Py_None
); resultobj
= Py_None
;
15300 static PyObject
*_wrap_PyDrawnShape_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15301 PyObject
*resultobj
;
15302 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15305 PyObject
* obj0
= 0 ;
15306 PyObject
* obj1
= 0 ;
15307 char *kwnames
[] = {
15308 (char *) "self",(char *) "rect", NULL
15311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15316 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15320 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15325 Py_INCREF(Py_None
); resultobj
= Py_None
;
15332 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15333 PyObject
*resultobj
;
15334 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15335 wxColour
*arg2
= 0 ;
15337 PyObject
* obj0
= 0 ;
15338 PyObject
* obj1
= 0 ;
15339 char *kwnames
[] = {
15340 (char *) "self",(char *) "colour", NULL
15343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15348 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15352 (arg1
)->SetDrawnBackgroundColour((wxColour
const &)*arg2
);
15354 wxPyEndAllowThreads(__tstate
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15357 Py_INCREF(Py_None
); resultobj
= Py_None
;
15364 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15365 PyObject
*resultobj
;
15366 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15368 PyObject
* obj0
= 0 ;
15369 PyObject
* obj1
= 0 ;
15370 char *kwnames
[] = {
15371 (char *) "self",(char *) "mode", NULL
15374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
15375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15377 arg2
= (int) SWIG_AsInt(obj1
);
15378 if (PyErr_Occurred()) SWIG_fail
;
15380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15381 (arg1
)->SetDrawnBackgroundMode(arg2
);
15383 wxPyEndAllowThreads(__tstate
);
15384 if (PyErr_Occurred()) SWIG_fail
;
15386 Py_INCREF(Py_None
); resultobj
= Py_None
;
15393 static PyObject
*_wrap_PyDrawnShape_SetDrawnBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15394 PyObject
*resultobj
;
15395 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15396 wxBrush
*arg2
= (wxBrush
*) 0 ;
15397 bool arg3
= (bool) FALSE
;
15398 PyObject
* obj0
= 0 ;
15399 PyObject
* obj1
= 0 ;
15400 PyObject
* obj2
= 0 ;
15401 char *kwnames
[] = {
15402 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15411 if (obj1
== Py_None
) {
15414 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
15415 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
15420 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
15425 arg3
= (bool) SWIG_AsBool(obj2
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15430 (arg1
)->SetDrawnBrush(arg2
,arg3
);
15432 wxPyEndAllowThreads(__tstate
);
15433 if (PyErr_Occurred()) SWIG_fail
;
15435 Py_INCREF(Py_None
); resultobj
= Py_None
;
15442 static PyObject
*_wrap_PyDrawnShape_SetDrawnFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15443 PyObject
*resultobj
;
15444 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15445 wxFont
*arg2
= (wxFont
*) 0 ;
15446 PyObject
* obj0
= 0 ;
15447 PyObject
* obj1
= 0 ;
15448 char *kwnames
[] = {
15449 (char *) "self",(char *) "font", NULL
15452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15458 if (obj1
== Py_None
) {
15461 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
15462 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
15467 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
15471 temp
->GetUnderlined(),
15472 temp
->GetFaceName(),
15473 temp
->GetEncoding());
15478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15479 (arg1
)->SetDrawnFont(arg2
);
15481 wxPyEndAllowThreads(__tstate
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15484 Py_INCREF(Py_None
); resultobj
= Py_None
;
15491 static PyObject
*_wrap_PyDrawnShape_SetDrawnPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15492 PyObject
*resultobj
;
15493 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15494 wxPen
*arg2
= (wxPen
*) 0 ;
15495 bool arg3
= (bool) FALSE
;
15496 PyObject
* obj0
= 0 ;
15497 PyObject
* obj1
= 0 ;
15498 PyObject
* obj2
= 0 ;
15499 char *kwnames
[] = {
15500 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15509 if (obj1
== Py_None
) {
15512 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
15513 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
15518 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
15525 arg3
= (bool) SWIG_AsBool(obj2
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 (arg1
)->SetDrawnPen(arg2
,arg3
);
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15535 Py_INCREF(Py_None
); resultobj
= Py_None
;
15542 static PyObject
*_wrap_PyDrawnShape_SetDrawnTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15543 PyObject
*resultobj
;
15544 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15545 wxColour
*arg2
= 0 ;
15547 PyObject
* obj0
= 0 ;
15548 PyObject
* obj1
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "self",(char *) "colour", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15558 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15562 (arg1
)->SetDrawnTextColour((wxColour
const &)*arg2
);
15564 wxPyEndAllowThreads(__tstate
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15567 Py_INCREF(Py_None
); resultobj
= Py_None
;
15574 static PyObject
*_wrap_PyDrawnShape_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15575 PyObject
*resultobj
;
15576 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15579 PyObject
* obj0
= 0 ;
15580 PyObject
* obj1
= 0 ;
15581 PyObject
* obj2
= 0 ;
15582 char *kwnames
[] = {
15583 (char *) "self",(char *) "sx",(char *) "sy", NULL
15586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15589 arg2
= (double) SWIG_AsDouble(obj1
);
15590 if (PyErr_Occurred()) SWIG_fail
;
15591 arg3
= (double) SWIG_AsDouble(obj2
);
15592 if (PyErr_Occurred()) SWIG_fail
;
15594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 (arg1
)->Scale(arg2
,arg3
);
15597 wxPyEndAllowThreads(__tstate
);
15598 if (PyErr_Occurred()) SWIG_fail
;
15600 Py_INCREF(Py_None
); resultobj
= Py_None
;
15607 static PyObject
*_wrap_PyDrawnShape_SetSaveToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15608 PyObject
*resultobj
;
15609 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15611 PyObject
* obj0
= 0 ;
15612 PyObject
* obj1
= 0 ;
15613 char *kwnames
[] = {
15614 (char *) "self",(char *) "save", NULL
15617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
15618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15620 arg2
= (bool) SWIG_AsBool(obj1
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15624 (arg1
)->SetSaveToFile(arg2
);
15626 wxPyEndAllowThreads(__tstate
);
15627 if (PyErr_Occurred()) SWIG_fail
;
15629 Py_INCREF(Py_None
); resultobj
= Py_None
;
15636 static PyObject
*_wrap_PyDrawnShape_Translate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15637 PyObject
*resultobj
;
15638 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15641 PyObject
* obj0
= 0 ;
15642 PyObject
* obj1
= 0 ;
15643 PyObject
* obj2
= 0 ;
15644 char *kwnames
[] = {
15645 (char *) "self",(char *) "x",(char *) "y", NULL
15648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15651 arg2
= (double) SWIG_AsDouble(obj1
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15653 arg3
= (double) SWIG_AsDouble(obj2
);
15654 if (PyErr_Occurred()) SWIG_fail
;
15656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15657 (arg1
)->Translate(arg2
,arg3
);
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15662 Py_INCREF(Py_None
); resultobj
= Py_None
;
15669 static PyObject
*_wrap_PyDrawnShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
;
15671 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15672 PyObject
* obj0
= 0 ;
15673 char *kwnames
[] = {
15674 (char *) "self", NULL
15677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
15678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 (arg1
)->base_OnDelete();
15684 wxPyEndAllowThreads(__tstate
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15687 Py_INCREF(Py_None
); resultobj
= Py_None
;
15694 static PyObject
*_wrap_PyDrawnShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15695 PyObject
*resultobj
;
15696 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15698 PyObject
* obj0
= 0 ;
15699 PyObject
* obj1
= 0 ;
15700 char *kwnames
[] = {
15701 (char *) "self",(char *) "dc", NULL
15704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
15705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15708 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15710 if (arg2
== NULL
) {
15711 PyErr_SetString(PyExc_TypeError
,"null reference");
15715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15716 (arg1
)->base_OnDraw(*arg2
);
15718 wxPyEndAllowThreads(__tstate
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15721 Py_INCREF(Py_None
); resultobj
= Py_None
;
15728 static PyObject
*_wrap_PyDrawnShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15729 PyObject
*resultobj
;
15730 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15732 PyObject
* obj0
= 0 ;
15733 PyObject
* obj1
= 0 ;
15734 char *kwnames
[] = {
15735 (char *) "self",(char *) "dc", NULL
15738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15744 if (arg2
== NULL
) {
15745 PyErr_SetString(PyExc_TypeError
,"null reference");
15749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15750 (arg1
)->base_OnDrawContents(*arg2
);
15752 wxPyEndAllowThreads(__tstate
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15755 Py_INCREF(Py_None
); resultobj
= Py_None
;
15762 static PyObject
*_wrap_PyDrawnShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15763 PyObject
*resultobj
;
15764 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15766 bool arg3
= (bool) FALSE
;
15767 PyObject
* obj0
= 0 ;
15768 PyObject
* obj1
= 0 ;
15769 PyObject
* obj2
= 0 ;
15770 char *kwnames
[] = {
15771 (char *) "self",(char *) "dc",(char *) "erase", NULL
15774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15778 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15780 if (arg2
== NULL
) {
15781 PyErr_SetString(PyExc_TypeError
,"null reference");
15785 arg3
= (bool) SWIG_AsBool(obj2
);
15786 if (PyErr_Occurred()) SWIG_fail
;
15789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15790 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
15792 wxPyEndAllowThreads(__tstate
);
15793 if (PyErr_Occurred()) SWIG_fail
;
15795 Py_INCREF(Py_None
); resultobj
= Py_None
;
15802 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15803 PyObject
*resultobj
;
15804 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15806 PyObject
* obj0
= 0 ;
15807 PyObject
* obj1
= 0 ;
15808 char *kwnames
[] = {
15809 (char *) "self",(char *) "dc", NULL
15812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
15813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15816 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15818 if (arg2
== NULL
) {
15819 PyErr_SetString(PyExc_TypeError
,"null reference");
15823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15824 (arg1
)->base_OnMoveLinks(*arg2
);
15826 wxPyEndAllowThreads(__tstate
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15829 Py_INCREF(Py_None
); resultobj
= Py_None
;
15836 static PyObject
*_wrap_PyDrawnShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
;
15838 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15840 PyObject
* obj0
= 0 ;
15841 PyObject
* obj1
= 0 ;
15842 char *kwnames
[] = {
15843 (char *) "self",(char *) "dc", NULL
15846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
15847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15852 if (arg2
== NULL
) {
15853 PyErr_SetString(PyExc_TypeError
,"null reference");
15857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15858 (arg1
)->base_OnErase(*arg2
);
15860 wxPyEndAllowThreads(__tstate
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15863 Py_INCREF(Py_None
); resultobj
= Py_None
;
15870 static PyObject
*_wrap_PyDrawnShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15871 PyObject
*resultobj
;
15872 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15874 PyObject
* obj0
= 0 ;
15875 PyObject
* obj1
= 0 ;
15876 char *kwnames
[] = {
15877 (char *) "self",(char *) "dc", NULL
15880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15886 if (arg2
== NULL
) {
15887 PyErr_SetString(PyExc_TypeError
,"null reference");
15891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15892 (arg1
)->base_OnEraseContents(*arg2
);
15894 wxPyEndAllowThreads(__tstate
);
15895 if (PyErr_Occurred()) SWIG_fail
;
15897 Py_INCREF(Py_None
); resultobj
= Py_None
;
15904 static PyObject
*_wrap_PyDrawnShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15905 PyObject
*resultobj
;
15906 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15908 PyObject
* obj0
= 0 ;
15909 PyObject
* obj1
= 0 ;
15910 char *kwnames
[] = {
15911 (char *) "self",(char *) "dc", NULL
15914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
15915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15918 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15920 if (arg2
== NULL
) {
15921 PyErr_SetString(PyExc_TypeError
,"null reference");
15925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15926 (arg1
)->base_OnHighlight(*arg2
);
15928 wxPyEndAllowThreads(__tstate
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15931 Py_INCREF(Py_None
); resultobj
= Py_None
;
15938 static PyObject
*_wrap_PyDrawnShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15943 int arg4
= (int) 0 ;
15944 int arg5
= (int) 0 ;
15945 PyObject
* obj0
= 0 ;
15946 PyObject
* obj1
= 0 ;
15947 PyObject
* obj2
= 0 ;
15948 PyObject
* obj3
= 0 ;
15949 PyObject
* obj4
= 0 ;
15950 char *kwnames
[] = {
15951 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15957 arg2
= (double) SWIG_AsDouble(obj1
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15959 arg3
= (double) SWIG_AsDouble(obj2
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15962 arg4
= (int) SWIG_AsInt(obj3
);
15963 if (PyErr_Occurred()) SWIG_fail
;
15966 arg5
= (int) SWIG_AsInt(obj4
);
15967 if (PyErr_Occurred()) SWIG_fail
;
15970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15971 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
15973 wxPyEndAllowThreads(__tstate
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15976 Py_INCREF(Py_None
); resultobj
= Py_None
;
15983 static PyObject
*_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15984 PyObject
*resultobj
;
15985 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15988 int arg4
= (int) 0 ;
15989 int arg5
= (int) 0 ;
15990 PyObject
* obj0
= 0 ;
15991 PyObject
* obj1
= 0 ;
15992 PyObject
* obj2
= 0 ;
15993 PyObject
* obj3
= 0 ;
15994 PyObject
* obj4
= 0 ;
15995 char *kwnames
[] = {
15996 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16002 arg2
= (double) SWIG_AsDouble(obj1
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16004 arg3
= (double) SWIG_AsDouble(obj2
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16007 arg4
= (int) SWIG_AsInt(obj3
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16011 arg5
= (int) SWIG_AsInt(obj4
);
16012 if (PyErr_Occurred()) SWIG_fail
;
16015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16016 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
16018 wxPyEndAllowThreads(__tstate
);
16019 if (PyErr_Occurred()) SWIG_fail
;
16021 Py_INCREF(Py_None
); resultobj
= Py_None
;
16028 static PyObject
*_wrap_PyDrawnShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16029 PyObject
*resultobj
;
16030 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16033 int arg4
= (int) 0 ;
16034 int arg5
= (int) 0 ;
16035 PyObject
* obj0
= 0 ;
16036 PyObject
* obj1
= 0 ;
16037 PyObject
* obj2
= 0 ;
16038 PyObject
* obj3
= 0 ;
16039 PyObject
* obj4
= 0 ;
16040 char *kwnames
[] = {
16041 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16047 arg2
= (double) SWIG_AsDouble(obj1
);
16048 if (PyErr_Occurred()) SWIG_fail
;
16049 arg3
= (double) SWIG_AsDouble(obj2
);
16050 if (PyErr_Occurred()) SWIG_fail
;
16052 arg4
= (int) SWIG_AsInt(obj3
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16056 arg5
= (int) SWIG_AsInt(obj4
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16061 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
16063 wxPyEndAllowThreads(__tstate
);
16064 if (PyErr_Occurred()) SWIG_fail
;
16066 Py_INCREF(Py_None
); resultobj
= Py_None
;
16073 static PyObject
*_wrap_PyDrawnShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16074 PyObject
*resultobj
;
16075 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16078 PyObject
* obj0
= 0 ;
16079 PyObject
* obj1
= 0 ;
16080 PyObject
* obj2
= 0 ;
16081 char *kwnames
[] = {
16082 (char *) "self",(char *) "x",(char *) "y", NULL
16085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16088 arg2
= (double) SWIG_AsDouble(obj1
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16090 arg3
= (double) SWIG_AsDouble(obj2
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 (arg1
)->base_OnSize(arg2
,arg3
);
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16099 Py_INCREF(Py_None
); resultobj
= Py_None
;
16106 static PyObject
*_wrap_PyDrawnShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16107 PyObject
*resultobj
;
16108 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16114 bool arg7
= (bool) True
;
16116 PyObject
* obj0
= 0 ;
16117 PyObject
* obj1
= 0 ;
16118 PyObject
* obj2
= 0 ;
16119 PyObject
* obj3
= 0 ;
16120 PyObject
* obj4
= 0 ;
16121 PyObject
* obj5
= 0 ;
16122 PyObject
* obj6
= 0 ;
16123 char *kwnames
[] = {
16124 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16131 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16133 if (arg2
== NULL
) {
16134 PyErr_SetString(PyExc_TypeError
,"null reference");
16137 arg3
= (double) SWIG_AsDouble(obj2
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16139 arg4
= (double) SWIG_AsDouble(obj3
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16141 arg5
= (double) SWIG_AsDouble(obj4
);
16142 if (PyErr_Occurred()) SWIG_fail
;
16143 arg6
= (double) SWIG_AsDouble(obj5
);
16144 if (PyErr_Occurred()) SWIG_fail
;
16146 arg7
= (bool) SWIG_AsBool(obj6
);
16147 if (PyErr_Occurred()) SWIG_fail
;
16150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16151 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16153 wxPyEndAllowThreads(__tstate
);
16154 if (PyErr_Occurred()) SWIG_fail
;
16156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16163 static PyObject
*_wrap_PyDrawnShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16164 PyObject
*resultobj
;
16165 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16171 bool arg7
= (bool) True
;
16172 PyObject
* obj0
= 0 ;
16173 PyObject
* obj1
= 0 ;
16174 PyObject
* obj2
= 0 ;
16175 PyObject
* obj3
= 0 ;
16176 PyObject
* obj4
= 0 ;
16177 PyObject
* obj5
= 0 ;
16178 PyObject
* obj6
= 0 ;
16179 char *kwnames
[] = {
16180 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16187 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16189 if (arg2
== NULL
) {
16190 PyErr_SetString(PyExc_TypeError
,"null reference");
16193 arg3
= (double) SWIG_AsDouble(obj2
);
16194 if (PyErr_Occurred()) SWIG_fail
;
16195 arg4
= (double) SWIG_AsDouble(obj3
);
16196 if (PyErr_Occurred()) SWIG_fail
;
16197 arg5
= (double) SWIG_AsDouble(obj4
);
16198 if (PyErr_Occurred()) SWIG_fail
;
16199 arg6
= (double) SWIG_AsDouble(obj5
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16202 arg7
= (bool) SWIG_AsBool(obj6
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16207 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16212 Py_INCREF(Py_None
); resultobj
= Py_None
;
16219 static PyObject
*_wrap_PyDrawnShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16220 PyObject
*resultobj
;
16221 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16225 int arg5
= (int) 0 ;
16226 int arg6
= (int) 0 ;
16227 PyObject
* obj0
= 0 ;
16228 PyObject
* obj1
= 0 ;
16229 PyObject
* obj2
= 0 ;
16230 PyObject
* obj3
= 0 ;
16231 PyObject
* obj4
= 0 ;
16232 PyObject
* obj5
= 0 ;
16233 char *kwnames
[] = {
16234 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16240 arg2
= (bool) SWIG_AsBool(obj1
);
16241 if (PyErr_Occurred()) SWIG_fail
;
16242 arg3
= (double) SWIG_AsDouble(obj2
);
16243 if (PyErr_Occurred()) SWIG_fail
;
16244 arg4
= (double) SWIG_AsDouble(obj3
);
16245 if (PyErr_Occurred()) SWIG_fail
;
16247 arg5
= (int) SWIG_AsInt(obj4
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16251 arg6
= (int) SWIG_AsInt(obj5
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16256 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16258 wxPyEndAllowThreads(__tstate
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16261 Py_INCREF(Py_None
); resultobj
= Py_None
;
16268 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16269 PyObject
*resultobj
;
16270 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16273 int arg4
= (int) 0 ;
16274 int arg5
= (int) 0 ;
16275 PyObject
* obj0
= 0 ;
16276 PyObject
* obj1
= 0 ;
16277 PyObject
* obj2
= 0 ;
16278 PyObject
* obj3
= 0 ;
16279 PyObject
* obj4
= 0 ;
16280 char *kwnames
[] = {
16281 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16287 arg2
= (double) SWIG_AsDouble(obj1
);
16288 if (PyErr_Occurred()) SWIG_fail
;
16289 arg3
= (double) SWIG_AsDouble(obj2
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16292 arg4
= (int) SWIG_AsInt(obj3
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16296 arg5
= (int) SWIG_AsInt(obj4
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
16303 wxPyEndAllowThreads(__tstate
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16306 Py_INCREF(Py_None
); resultobj
= Py_None
;
16313 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16314 PyObject
*resultobj
;
16315 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16318 int arg4
= (int) 0 ;
16319 int arg5
= (int) 0 ;
16320 PyObject
* obj0
= 0 ;
16321 PyObject
* obj1
= 0 ;
16322 PyObject
* obj2
= 0 ;
16323 PyObject
* obj3
= 0 ;
16324 PyObject
* obj4
= 0 ;
16325 char *kwnames
[] = {
16326 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16332 arg2
= (double) SWIG_AsDouble(obj1
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16334 arg3
= (double) SWIG_AsDouble(obj2
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16337 arg4
= (int) SWIG_AsInt(obj3
);
16338 if (PyErr_Occurred()) SWIG_fail
;
16341 arg5
= (int) SWIG_AsInt(obj4
);
16342 if (PyErr_Occurred()) SWIG_fail
;
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
16348 wxPyEndAllowThreads(__tstate
);
16349 if (PyErr_Occurred()) SWIG_fail
;
16351 Py_INCREF(Py_None
); resultobj
= Py_None
;
16358 static PyObject
*_wrap_PyDrawnShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16359 PyObject
*resultobj
;
16360 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16364 int arg5
= (int) 0 ;
16365 int arg6
= (int) 0 ;
16366 PyObject
* obj0
= 0 ;
16367 PyObject
* obj1
= 0 ;
16368 PyObject
* obj2
= 0 ;
16369 PyObject
* obj3
= 0 ;
16370 PyObject
* obj4
= 0 ;
16371 PyObject
* obj5
= 0 ;
16372 char *kwnames
[] = {
16373 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16379 arg2
= (bool) SWIG_AsBool(obj1
);
16380 if (PyErr_Occurred()) SWIG_fail
;
16381 arg3
= (double) SWIG_AsDouble(obj2
);
16382 if (PyErr_Occurred()) SWIG_fail
;
16383 arg4
= (double) SWIG_AsDouble(obj3
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16386 arg5
= (int) SWIG_AsInt(obj4
);
16387 if (PyErr_Occurred()) SWIG_fail
;
16390 arg6
= (int) SWIG_AsInt(obj5
);
16391 if (PyErr_Occurred()) SWIG_fail
;
16394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16395 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
16397 wxPyEndAllowThreads(__tstate
);
16398 if (PyErr_Occurred()) SWIG_fail
;
16400 Py_INCREF(Py_None
); resultobj
= Py_None
;
16407 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
;
16409 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16412 int arg4
= (int) 0 ;
16413 int arg5
= (int) 0 ;
16414 PyObject
* obj0
= 0 ;
16415 PyObject
* obj1
= 0 ;
16416 PyObject
* obj2
= 0 ;
16417 PyObject
* obj3
= 0 ;
16418 PyObject
* obj4
= 0 ;
16419 char *kwnames
[] = {
16420 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16426 arg2
= (double) SWIG_AsDouble(obj1
);
16427 if (PyErr_Occurred()) SWIG_fail
;
16428 arg3
= (double) SWIG_AsDouble(obj2
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16431 arg4
= (int) SWIG_AsInt(obj3
);
16432 if (PyErr_Occurred()) SWIG_fail
;
16435 arg5
= (int) SWIG_AsInt(obj4
);
16436 if (PyErr_Occurred()) SWIG_fail
;
16439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16440 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
16442 wxPyEndAllowThreads(__tstate
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16445 Py_INCREF(Py_None
); resultobj
= Py_None
;
16452 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16453 PyObject
*resultobj
;
16454 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16457 int arg4
= (int) 0 ;
16458 int arg5
= (int) 0 ;
16459 PyObject
* obj0
= 0 ;
16460 PyObject
* obj1
= 0 ;
16461 PyObject
* obj2
= 0 ;
16462 PyObject
* obj3
= 0 ;
16463 PyObject
* obj4
= 0 ;
16464 char *kwnames
[] = {
16465 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16471 arg2
= (double) SWIG_AsDouble(obj1
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16473 arg3
= (double) SWIG_AsDouble(obj2
);
16474 if (PyErr_Occurred()) SWIG_fail
;
16476 arg4
= (int) SWIG_AsInt(obj3
);
16477 if (PyErr_Occurred()) SWIG_fail
;
16480 arg5
= (int) SWIG_AsInt(obj4
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16485 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
16487 wxPyEndAllowThreads(__tstate
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16490 Py_INCREF(Py_None
); resultobj
= Py_None
;
16497 static PyObject
*_wrap_PyDrawnShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16498 PyObject
*resultobj
;
16499 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16505 PyObject
* obj0
= 0 ;
16506 PyObject
* obj1
= 0 ;
16507 PyObject
* obj2
= 0 ;
16508 PyObject
* obj3
= 0 ;
16509 PyObject
* obj4
= 0 ;
16510 PyObject
* obj5
= 0 ;
16511 char *kwnames
[] = {
16512 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDrawnShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16521 if (arg2
== NULL
) {
16522 PyErr_SetString(PyExc_TypeError
,"null reference");
16525 arg3
= (double) SWIG_AsDouble(obj2
);
16526 if (PyErr_Occurred()) SWIG_fail
;
16527 arg4
= (double) SWIG_AsDouble(obj3
);
16528 if (PyErr_Occurred()) SWIG_fail
;
16529 arg5
= (double) SWIG_AsDouble(obj4
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16531 arg6
= (double) SWIG_AsDouble(obj5
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16535 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
16537 wxPyEndAllowThreads(__tstate
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16540 Py_INCREF(Py_None
); resultobj
= Py_None
;
16547 static PyObject
*_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
;
16549 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16551 PyObject
* obj0
= 0 ;
16552 PyObject
* obj1
= 0 ;
16553 char *kwnames
[] = {
16554 (char *) "self",(char *) "dc", NULL
16557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16561 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16563 if (arg2
== NULL
) {
16564 PyErr_SetString(PyExc_TypeError
,"null reference");
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 (arg1
)->base_OnDrawControlPoints(*arg2
);
16571 wxPyEndAllowThreads(__tstate
);
16572 if (PyErr_Occurred()) SWIG_fail
;
16574 Py_INCREF(Py_None
); resultobj
= Py_None
;
16581 static PyObject
*_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16582 PyObject
*resultobj
;
16583 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16585 PyObject
* obj0
= 0 ;
16586 PyObject
* obj1
= 0 ;
16587 char *kwnames
[] = {
16588 (char *) "self",(char *) "dc", NULL
16591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16594 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16595 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16597 if (arg2
== NULL
) {
16598 PyErr_SetString(PyExc_TypeError
,"null reference");
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16603 (arg1
)->base_OnEraseControlPoints(*arg2
);
16605 wxPyEndAllowThreads(__tstate
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16608 Py_INCREF(Py_None
); resultobj
= Py_None
;
16615 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16616 PyObject
*resultobj
;
16617 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16619 bool arg3
= (bool) True
;
16620 PyObject
* obj0
= 0 ;
16621 PyObject
* obj1
= 0 ;
16622 PyObject
* obj2
= 0 ;
16623 char *kwnames
[] = {
16624 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16633 if (arg2
== NULL
) {
16634 PyErr_SetString(PyExc_TypeError
,"null reference");
16638 arg3
= (bool) SWIG_AsBool(obj2
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16643 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
16645 wxPyEndAllowThreads(__tstate
);
16646 if (PyErr_Occurred()) SWIG_fail
;
16648 Py_INCREF(Py_None
); resultobj
= Py_None
;
16655 static PyObject
*_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16656 PyObject
*resultobj
;
16657 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16658 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16662 int arg6
= (int) 0 ;
16663 int arg7
= (int) 0 ;
16664 PyObject
* obj0
= 0 ;
16665 PyObject
* obj1
= 0 ;
16666 PyObject
* obj2
= 0 ;
16667 PyObject
* obj3
= 0 ;
16668 PyObject
* obj4
= 0 ;
16669 PyObject
* obj5
= 0 ;
16670 PyObject
* obj6
= 0 ;
16671 char *kwnames
[] = {
16672 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDrawnShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16680 arg3
= (bool) SWIG_AsBool(obj2
);
16681 if (PyErr_Occurred()) SWIG_fail
;
16682 arg4
= (double) SWIG_AsDouble(obj3
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16684 arg5
= (double) SWIG_AsDouble(obj4
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16687 arg6
= (int) SWIG_AsInt(obj5
);
16688 if (PyErr_Occurred()) SWIG_fail
;
16691 arg7
= (int) SWIG_AsInt(obj6
);
16692 if (PyErr_Occurred()) SWIG_fail
;
16695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16696 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16698 wxPyEndAllowThreads(__tstate
);
16699 if (PyErr_Occurred()) SWIG_fail
;
16701 Py_INCREF(Py_None
); resultobj
= Py_None
;
16708 static PyObject
*_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16709 PyObject
*resultobj
;
16710 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16711 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16714 int arg5
= (int) 0 ;
16715 int arg6
= (int) 0 ;
16716 PyObject
* obj0
= 0 ;
16717 PyObject
* obj1
= 0 ;
16718 PyObject
* obj2
= 0 ;
16719 PyObject
* obj3
= 0 ;
16720 PyObject
* obj4
= 0 ;
16721 PyObject
* obj5
= 0 ;
16722 char *kwnames
[] = {
16723 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16731 arg3
= (double) SWIG_AsDouble(obj2
);
16732 if (PyErr_Occurred()) SWIG_fail
;
16733 arg4
= (double) SWIG_AsDouble(obj3
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16736 arg5
= (int) SWIG_AsInt(obj4
);
16737 if (PyErr_Occurred()) SWIG_fail
;
16740 arg6
= (int) SWIG_AsInt(obj5
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16745 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16747 wxPyEndAllowThreads(__tstate
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16750 Py_INCREF(Py_None
); resultobj
= Py_None
;
16757 static PyObject
*_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16758 PyObject
*resultobj
;
16759 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16760 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16763 int arg5
= (int) 0 ;
16764 int arg6
= (int) 0 ;
16765 PyObject
* obj0
= 0 ;
16766 PyObject
* obj1
= 0 ;
16767 PyObject
* obj2
= 0 ;
16768 PyObject
* obj3
= 0 ;
16769 PyObject
* obj4
= 0 ;
16770 PyObject
* obj5
= 0 ;
16771 char *kwnames
[] = {
16772 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16780 arg3
= (double) SWIG_AsDouble(obj2
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16782 arg4
= (double) SWIG_AsDouble(obj3
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16785 arg5
= (int) SWIG_AsInt(obj4
);
16786 if (PyErr_Occurred()) SWIG_fail
;
16789 arg6
= (int) SWIG_AsInt(obj5
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16794 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16796 wxPyEndAllowThreads(__tstate
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16799 Py_INCREF(Py_None
); resultobj
= Py_None
;
16806 static PyObject
*_wrap_PyDrawnShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16807 PyObject
*resultobj
;
16808 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16811 PyObject
* obj0
= 0 ;
16812 PyObject
* obj1
= 0 ;
16813 PyObject
* obj2
= 0 ;
16814 char *kwnames
[] = {
16815 (char *) "self",(char *) "w",(char *) "h", NULL
16818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16821 arg2
= (double) SWIG_AsDouble(obj1
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16823 arg3
= (double) SWIG_AsDouble(obj2
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16827 (arg1
)->base_OnBeginSize(arg2
,arg3
);
16829 wxPyEndAllowThreads(__tstate
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16832 Py_INCREF(Py_None
); resultobj
= Py_None
;
16839 static PyObject
*_wrap_PyDrawnShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16840 PyObject
*resultobj
;
16841 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16844 PyObject
* obj0
= 0 ;
16845 PyObject
* obj1
= 0 ;
16846 PyObject
* obj2
= 0 ;
16847 char *kwnames
[] = {
16848 (char *) "self",(char *) "w",(char *) "h", NULL
16851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16854 arg2
= (double) SWIG_AsDouble(obj1
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16856 arg3
= (double) SWIG_AsDouble(obj2
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16860 (arg1
)->base_OnEndSize(arg2
,arg3
);
16862 wxPyEndAllowThreads(__tstate
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16865 Py_INCREF(Py_None
); resultobj
= Py_None
;
16872 static PyObject
* PyDrawnShape_swigregister(PyObject
*self
, PyObject
*args
) {
16874 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16875 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape
, obj
);
16877 return Py_BuildValue((char *)"");
16879 static PyObject
*_wrap_new_OGLConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16880 PyObject
*resultobj
;
16882 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
16883 PyObject
*arg3
= (PyObject
*) 0 ;
16884 wxOGLConstraint
*result
;
16885 PyObject
* obj0
= 0 ;
16886 PyObject
* obj1
= 0 ;
16887 PyObject
* obj2
= 0 ;
16888 char *kwnames
[] = {
16889 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
16892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_OGLConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16893 arg1
= (int) SWIG_AsInt(obj0
);
16894 if (PyErr_Occurred()) SWIG_fail
;
16895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
16896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16900 result
= (wxOGLConstraint
*)new_wxOGLConstraint(arg1
,arg2
,arg3
);
16902 wxPyEndAllowThreads(__tstate
);
16903 if (PyErr_Occurred()) SWIG_fail
;
16906 resultobj
= wxPyMake_wxObject(result
);
16914 static PyObject
*_wrap_OGLConstraint_Evaluate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16915 PyObject
*resultobj
;
16916 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
16918 PyObject
* obj0
= 0 ;
16919 char *kwnames
[] = {
16920 (char *) "self", NULL
16923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:OGLConstraint_Evaluate",kwnames
,&obj0
)) goto fail
;
16924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
16925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 result
= (bool)(arg1
)->Evaluate();
16930 wxPyEndAllowThreads(__tstate
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16940 static PyObject
*_wrap_OGLConstraint_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16941 PyObject
*resultobj
;
16942 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
16945 PyObject
* obj0
= 0 ;
16946 PyObject
* obj1
= 0 ;
16947 PyObject
* obj2
= 0 ;
16948 char *kwnames
[] = {
16949 (char *) "self",(char *) "x",(char *) "y", NULL
16952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:OGLConstraint_SetSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
16954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16955 arg2
= (double) SWIG_AsDouble(obj1
);
16956 if (PyErr_Occurred()) SWIG_fail
;
16957 arg3
= (double) SWIG_AsDouble(obj2
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16961 (arg1
)->SetSpacing(arg2
,arg3
);
16963 wxPyEndAllowThreads(__tstate
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16966 Py_INCREF(Py_None
); resultobj
= Py_None
;
16973 static PyObject
*_wrap_OGLConstraint_Equals(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16974 PyObject
*resultobj
;
16975 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
16979 PyObject
* obj0
= 0 ;
16980 PyObject
* obj1
= 0 ;
16981 PyObject
* obj2
= 0 ;
16982 char *kwnames
[] = {
16983 (char *) "self",(char *) "a",(char *) "b", NULL
16986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:OGLConstraint_Equals",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
16988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16989 arg2
= (double) SWIG_AsDouble(obj1
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16991 arg3
= (double) SWIG_AsDouble(obj2
);
16992 if (PyErr_Occurred()) SWIG_fail
;
16994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16995 result
= (bool)(arg1
)->Equals(arg2
,arg3
);
16997 wxPyEndAllowThreads(__tstate
);
16998 if (PyErr_Occurred()) SWIG_fail
;
17000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17007 static PyObject
* OGLConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
17009 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17010 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint
, obj
);
17012 return Py_BuildValue((char *)"");
17014 static PyObject
*_wrap_new_PyCompositeShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
;
17016 wxPyCompositeShape
*result
;
17017 char *kwnames
[] = {
17021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyCompositeShape",kwnames
)) goto fail
;
17023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 result
= (wxPyCompositeShape
*)new wxPyCompositeShape();
17026 wxPyEndAllowThreads(__tstate
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCompositeShape
, 1);
17036 static PyObject
*_wrap_PyCompositeShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17037 PyObject
*resultobj
;
17038 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17039 PyObject
*arg2
= (PyObject
*) 0 ;
17040 PyObject
*arg3
= (PyObject
*) 0 ;
17041 PyObject
* obj0
= 0 ;
17042 PyObject
* obj1
= 0 ;
17043 PyObject
* obj2
= 0 ;
17044 char *kwnames
[] = {
17045 (char *) "self",(char *) "self",(char *) "_class", NULL
17048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17055 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17057 wxPyEndAllowThreads(__tstate
);
17058 if (PyErr_Occurred()) SWIG_fail
;
17060 Py_INCREF(Py_None
); resultobj
= Py_None
;
17067 static PyObject
*_wrap_PyCompositeShape_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17068 PyObject
*resultobj
;
17069 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17070 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17071 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
17072 PyObject
* obj0
= 0 ;
17073 PyObject
* obj1
= 0 ;
17074 PyObject
* obj2
= 0 ;
17075 char *kwnames
[] = {
17076 (char *) "self",(char *) "child",(char *) "addAfter", NULL
17079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_AddChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17085 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17090 (arg1
)->AddChild(arg2
,arg3
);
17092 wxPyEndAllowThreads(__tstate
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17095 Py_INCREF(Py_None
); resultobj
= Py_None
;
17102 static PyObject
*_wrap_PyCompositeShape_AddConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
;
17104 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17105 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
17106 wxOGLConstraint
*result
;
17107 PyObject
* obj0
= 0 ;
17108 PyObject
* obj1
= 0 ;
17109 char *kwnames
[] = {
17110 (char *) "self",(char *) "constraint", NULL
17113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_AddConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
17114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOGLConstraint
,
17117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
);
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17126 resultobj
= wxPyMake_wxObject(result
);
17134 static PyObject
*_wrap_PyCompositeShape_AddConstrainedShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17135 PyObject
*resultobj
;
17136 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17138 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
17139 PyObject
*arg4
= (PyObject
*) 0 ;
17140 wxOGLConstraint
*result
;
17141 PyObject
* obj0
= 0 ;
17142 PyObject
* obj1
= 0 ;
17143 PyObject
* obj2
= 0 ;
17144 PyObject
* obj3
= 0 ;
17145 char *kwnames
[] = {
17146 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyCompositeShape_AddConstrainedShapes",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17152 arg2
= (int) SWIG_AsInt(obj1
);
17153 if (PyErr_Occurred()) SWIG_fail
;
17154 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17159 result
= (wxOGLConstraint
*)wxPyCompositeShape_AddConstrainedShapes(arg1
,arg2
,arg3
,arg4
);
17161 wxPyEndAllowThreads(__tstate
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17165 resultobj
= wxPyMake_wxObject(result
);
17173 static PyObject
*_wrap_PyCompositeShape_AddSimpleConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17174 PyObject
*resultobj
;
17175 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17177 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
17178 wxPyShape
*arg4
= (wxPyShape
*) 0 ;
17179 wxOGLConstraint
*result
;
17180 PyObject
* obj0
= 0 ;
17181 PyObject
* obj1
= 0 ;
17182 PyObject
* obj2
= 0 ;
17183 PyObject
* obj3
= 0 ;
17184 char *kwnames
[] = {
17185 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyCompositeShape_AddSimpleConstraint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17191 arg2
= (int) SWIG_AsInt(obj1
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17193 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17195 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPyShape
,
17196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17199 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
,arg3
,arg4
);
17201 wxPyEndAllowThreads(__tstate
);
17202 if (PyErr_Occurred()) SWIG_fail
;
17205 resultobj
= wxPyMake_wxObject(result
);
17213 static PyObject
*_wrap_PyCompositeShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
;
17215 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17216 PyObject
* obj0
= 0 ;
17217 char *kwnames
[] = {
17218 (char *) "self", NULL
17221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
17222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17226 (arg1
)->CalculateSize();
17228 wxPyEndAllowThreads(__tstate
);
17229 if (PyErr_Occurred()) SWIG_fail
;
17231 Py_INCREF(Py_None
); resultobj
= Py_None
;
17238 static PyObject
*_wrap_PyCompositeShape_ContainsDivision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17239 PyObject
*resultobj
;
17240 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17241 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
17243 PyObject
* obj0
= 0 ;
17244 PyObject
* obj1
= 0 ;
17245 char *kwnames
[] = {
17246 (char *) "self",(char *) "division", NULL
17249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames
,&obj0
,&obj1
)) goto fail
;
17250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
17253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17256 result
= (bool)(arg1
)->ContainsDivision(arg2
);
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17268 static PyObject
*_wrap_PyCompositeShape_DeleteConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17269 PyObject
*resultobj
;
17270 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17271 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
17272 PyObject
* obj0
= 0 ;
17273 PyObject
* obj1
= 0 ;
17274 char *kwnames
[] = {
17275 (char *) "self",(char *) "constraint", NULL
17278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
17279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOGLConstraint
,
17282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17285 (arg1
)->DeleteConstraint(arg2
);
17287 wxPyEndAllowThreads(__tstate
);
17288 if (PyErr_Occurred()) SWIG_fail
;
17290 Py_INCREF(Py_None
); resultobj
= Py_None
;
17297 static PyObject
*_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17298 PyObject
*resultobj
;
17299 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17300 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17301 PyObject
* obj0
= 0 ;
17302 PyObject
* obj1
= 0 ;
17303 char *kwnames
[] = {
17304 (char *) "self",(char *) "child", NULL
17307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17314 (arg1
)->DeleteConstraintsInvolvingChild(arg2
);
17316 wxPyEndAllowThreads(__tstate
);
17317 if (PyErr_Occurred()) SWIG_fail
;
17319 Py_INCREF(Py_None
); resultobj
= Py_None
;
17326 static PyObject
*_wrap_PyCompositeShape_FindContainerImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17327 PyObject
*resultobj
;
17328 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17330 PyObject
* obj0
= 0 ;
17331 char *kwnames
[] = {
17332 (char *) "self", NULL
17335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_FindContainerImage",kwnames
,&obj0
)) goto fail
;
17336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17340 result
= (wxPyShape
*)(arg1
)->FindContainerImage();
17342 wxPyEndAllowThreads(__tstate
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17346 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
17354 static PyObject
*_wrap_PyCompositeShape_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17358 PyObject
* obj0
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetConstraints",kwnames
,&obj0
)) goto fail
;
17364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 result
= (PyObject
*)wxPyCompositeShape_GetConstraints(arg1
);
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17373 resultobj
= result
;
17380 static PyObject
*_wrap_PyCompositeShape_GetDivisions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17381 PyObject
*resultobj
;
17382 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17384 PyObject
* obj0
= 0 ;
17385 char *kwnames
[] = {
17386 (char *) "self", NULL
17389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetDivisions",kwnames
,&obj0
)) goto fail
;
17390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17394 result
= (PyObject
*)wxPyCompositeShape_GetDivisions(arg1
);
17396 wxPyEndAllowThreads(__tstate
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17399 resultobj
= result
;
17406 static PyObject
*_wrap_PyCompositeShape_MakeContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17407 PyObject
*resultobj
;
17408 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17409 PyObject
* obj0
= 0 ;
17410 char *kwnames
[] = {
17411 (char *) "self", NULL
17414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_MakeContainer",kwnames
,&obj0
)) goto fail
;
17415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 (arg1
)->MakeContainer();
17421 wxPyEndAllowThreads(__tstate
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17424 Py_INCREF(Py_None
); resultobj
= Py_None
;
17431 static PyObject
*_wrap_PyCompositeShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17432 PyObject
*resultobj
;
17433 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17435 PyObject
* obj0
= 0 ;
17436 char *kwnames
[] = {
17437 (char *) "self", NULL
17440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_Recompute",kwnames
,&obj0
)) goto fail
;
17441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17445 result
= (bool)(arg1
)->Recompute();
17447 wxPyEndAllowThreads(__tstate
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17457 static PyObject
*_wrap_PyCompositeShape_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17458 PyObject
*resultobj
;
17459 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17460 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17461 PyObject
* obj0
= 0 ;
17462 PyObject
* obj1
= 0 ;
17463 char *kwnames
[] = {
17464 (char *) "self",(char *) "child", NULL
17467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17474 (arg1
)->RemoveChild(arg2
);
17476 wxPyEndAllowThreads(__tstate
);
17477 if (PyErr_Occurred()) SWIG_fail
;
17479 Py_INCREF(Py_None
); resultobj
= Py_None
;
17486 static PyObject
*_wrap_PyCompositeShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17487 PyObject
*resultobj
;
17488 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17489 PyObject
* obj0
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "self", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
17495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17499 (arg1
)->base_OnDelete();
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17504 Py_INCREF(Py_None
); resultobj
= Py_None
;
17511 static PyObject
*_wrap_PyCompositeShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17512 PyObject
*resultobj
;
17513 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17515 PyObject
* obj0
= 0 ;
17516 PyObject
* obj1
= 0 ;
17517 char *kwnames
[] = {
17518 (char *) "self",(char *) "dc", NULL
17521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
17522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17525 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17527 if (arg2
== NULL
) {
17528 PyErr_SetString(PyExc_TypeError
,"null reference");
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 (arg1
)->base_OnDraw(*arg2
);
17535 wxPyEndAllowThreads(__tstate
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17538 Py_INCREF(Py_None
); resultobj
= Py_None
;
17545 static PyObject
*_wrap_PyCompositeShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17546 PyObject
*resultobj
;
17547 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17549 PyObject
* obj0
= 0 ;
17550 PyObject
* obj1
= 0 ;
17551 char *kwnames
[] = {
17552 (char *) "self",(char *) "dc", NULL
17555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17561 if (arg2
== NULL
) {
17562 PyErr_SetString(PyExc_TypeError
,"null reference");
17566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17567 (arg1
)->base_OnDrawContents(*arg2
);
17569 wxPyEndAllowThreads(__tstate
);
17570 if (PyErr_Occurred()) SWIG_fail
;
17572 Py_INCREF(Py_None
); resultobj
= Py_None
;
17579 static PyObject
*_wrap_PyCompositeShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17580 PyObject
*resultobj
;
17581 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17583 bool arg3
= (bool) FALSE
;
17584 PyObject
* obj0
= 0 ;
17585 PyObject
* obj1
= 0 ;
17586 PyObject
* obj2
= 0 ;
17587 char *kwnames
[] = {
17588 (char *) "self",(char *) "dc",(char *) "erase", NULL
17591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17594 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17595 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17597 if (arg2
== NULL
) {
17598 PyErr_SetString(PyExc_TypeError
,"null reference");
17602 arg3
= (bool) SWIG_AsBool(obj2
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17612 Py_INCREF(Py_None
); resultobj
= Py_None
;
17619 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17620 PyObject
*resultobj
;
17621 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17623 PyObject
* obj0
= 0 ;
17624 PyObject
* obj1
= 0 ;
17625 char *kwnames
[] = {
17626 (char *) "self",(char *) "dc", NULL
17629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
17630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17633 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17635 if (arg2
== NULL
) {
17636 PyErr_SetString(PyExc_TypeError
,"null reference");
17640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17641 (arg1
)->base_OnMoveLinks(*arg2
);
17643 wxPyEndAllowThreads(__tstate
);
17644 if (PyErr_Occurred()) SWIG_fail
;
17646 Py_INCREF(Py_None
); resultobj
= Py_None
;
17653 static PyObject
*_wrap_PyCompositeShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17654 PyObject
*resultobj
;
17655 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17657 PyObject
* obj0
= 0 ;
17658 PyObject
* obj1
= 0 ;
17659 char *kwnames
[] = {
17660 (char *) "self",(char *) "dc", NULL
17663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
17664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17667 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17669 if (arg2
== NULL
) {
17670 PyErr_SetString(PyExc_TypeError
,"null reference");
17674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17675 (arg1
)->base_OnErase(*arg2
);
17677 wxPyEndAllowThreads(__tstate
);
17678 if (PyErr_Occurred()) SWIG_fail
;
17680 Py_INCREF(Py_None
); resultobj
= Py_None
;
17687 static PyObject
*_wrap_PyCompositeShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17688 PyObject
*resultobj
;
17689 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17691 PyObject
* obj0
= 0 ;
17692 PyObject
* obj1
= 0 ;
17693 char *kwnames
[] = {
17694 (char *) "self",(char *) "dc", NULL
17697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17701 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17703 if (arg2
== NULL
) {
17704 PyErr_SetString(PyExc_TypeError
,"null reference");
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 (arg1
)->base_OnEraseContents(*arg2
);
17711 wxPyEndAllowThreads(__tstate
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17714 Py_INCREF(Py_None
); resultobj
= Py_None
;
17721 static PyObject
*_wrap_PyCompositeShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17722 PyObject
*resultobj
;
17723 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17725 PyObject
* obj0
= 0 ;
17726 PyObject
* obj1
= 0 ;
17727 char *kwnames
[] = {
17728 (char *) "self",(char *) "dc", NULL
17731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
17732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17735 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17737 if (arg2
== NULL
) {
17738 PyErr_SetString(PyExc_TypeError
,"null reference");
17742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17743 (arg1
)->base_OnHighlight(*arg2
);
17745 wxPyEndAllowThreads(__tstate
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17748 Py_INCREF(Py_None
); resultobj
= Py_None
;
17755 static PyObject
*_wrap_PyCompositeShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17756 PyObject
*resultobj
;
17757 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17760 int arg4
= (int) 0 ;
17761 int arg5
= (int) 0 ;
17762 PyObject
* obj0
= 0 ;
17763 PyObject
* obj1
= 0 ;
17764 PyObject
* obj2
= 0 ;
17765 PyObject
* obj3
= 0 ;
17766 PyObject
* obj4
= 0 ;
17767 char *kwnames
[] = {
17768 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17774 arg2
= (double) SWIG_AsDouble(obj1
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17776 arg3
= (double) SWIG_AsDouble(obj2
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17779 arg4
= (int) SWIG_AsInt(obj3
);
17780 if (PyErr_Occurred()) SWIG_fail
;
17783 arg5
= (int) SWIG_AsInt(obj4
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17793 Py_INCREF(Py_None
); resultobj
= Py_None
;
17800 static PyObject
*_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17801 PyObject
*resultobj
;
17802 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17805 int arg4
= (int) 0 ;
17806 int arg5
= (int) 0 ;
17807 PyObject
* obj0
= 0 ;
17808 PyObject
* obj1
= 0 ;
17809 PyObject
* obj2
= 0 ;
17810 PyObject
* obj3
= 0 ;
17811 PyObject
* obj4
= 0 ;
17812 char *kwnames
[] = {
17813 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17819 arg2
= (double) SWIG_AsDouble(obj1
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17821 arg3
= (double) SWIG_AsDouble(obj2
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17824 arg4
= (int) SWIG_AsInt(obj3
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17828 arg5
= (int) SWIG_AsInt(obj4
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17833 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
17835 wxPyEndAllowThreads(__tstate
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17838 Py_INCREF(Py_None
); resultobj
= Py_None
;
17845 static PyObject
*_wrap_PyCompositeShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17846 PyObject
*resultobj
;
17847 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17850 int arg4
= (int) 0 ;
17851 int arg5
= (int) 0 ;
17852 PyObject
* obj0
= 0 ;
17853 PyObject
* obj1
= 0 ;
17854 PyObject
* obj2
= 0 ;
17855 PyObject
* obj3
= 0 ;
17856 PyObject
* obj4
= 0 ;
17857 char *kwnames
[] = {
17858 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17864 arg2
= (double) SWIG_AsDouble(obj1
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17866 arg3
= (double) SWIG_AsDouble(obj2
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17869 arg4
= (int) SWIG_AsInt(obj3
);
17870 if (PyErr_Occurred()) SWIG_fail
;
17873 arg5
= (int) SWIG_AsInt(obj4
);
17874 if (PyErr_Occurred()) SWIG_fail
;
17877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17878 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
17880 wxPyEndAllowThreads(__tstate
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17883 Py_INCREF(Py_None
); resultobj
= Py_None
;
17890 static PyObject
*_wrap_PyCompositeShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17891 PyObject
*resultobj
;
17892 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17895 PyObject
* obj0
= 0 ;
17896 PyObject
* obj1
= 0 ;
17897 PyObject
* obj2
= 0 ;
17898 char *kwnames
[] = {
17899 (char *) "self",(char *) "x",(char *) "y", NULL
17902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17905 arg2
= (double) SWIG_AsDouble(obj1
);
17906 if (PyErr_Occurred()) SWIG_fail
;
17907 arg3
= (double) SWIG_AsDouble(obj2
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17911 (arg1
)->base_OnSize(arg2
,arg3
);
17913 wxPyEndAllowThreads(__tstate
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17916 Py_INCREF(Py_None
); resultobj
= Py_None
;
17923 static PyObject
*_wrap_PyCompositeShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17924 PyObject
*resultobj
;
17925 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17931 bool arg7
= (bool) True
;
17933 PyObject
* obj0
= 0 ;
17934 PyObject
* obj1
= 0 ;
17935 PyObject
* obj2
= 0 ;
17936 PyObject
* obj3
= 0 ;
17937 PyObject
* obj4
= 0 ;
17938 PyObject
* obj5
= 0 ;
17939 PyObject
* obj6
= 0 ;
17940 char *kwnames
[] = {
17941 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17948 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17950 if (arg2
== NULL
) {
17951 PyErr_SetString(PyExc_TypeError
,"null reference");
17954 arg3
= (double) SWIG_AsDouble(obj2
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17956 arg4
= (double) SWIG_AsDouble(obj3
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17958 arg5
= (double) SWIG_AsDouble(obj4
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17960 arg6
= (double) SWIG_AsDouble(obj5
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17963 arg7
= (bool) SWIG_AsBool(obj6
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17968 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17980 static PyObject
*_wrap_PyCompositeShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17981 PyObject
*resultobj
;
17982 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17988 bool arg7
= (bool) True
;
17989 PyObject
* obj0
= 0 ;
17990 PyObject
* obj1
= 0 ;
17991 PyObject
* obj2
= 0 ;
17992 PyObject
* obj3
= 0 ;
17993 PyObject
* obj4
= 0 ;
17994 PyObject
* obj5
= 0 ;
17995 PyObject
* obj6
= 0 ;
17996 char *kwnames
[] = {
17997 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18006 if (arg2
== NULL
) {
18007 PyErr_SetString(PyExc_TypeError
,"null reference");
18010 arg3
= (double) SWIG_AsDouble(obj2
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18012 arg4
= (double) SWIG_AsDouble(obj3
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18014 arg5
= (double) SWIG_AsDouble(obj4
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18016 arg6
= (double) SWIG_AsDouble(obj5
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18019 arg7
= (bool) SWIG_AsBool(obj6
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18024 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18029 Py_INCREF(Py_None
); resultobj
= Py_None
;
18036 static PyObject
*_wrap_PyCompositeShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18037 PyObject
*resultobj
;
18038 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18042 int arg5
= (int) 0 ;
18043 int arg6
= (int) 0 ;
18044 PyObject
* obj0
= 0 ;
18045 PyObject
* obj1
= 0 ;
18046 PyObject
* obj2
= 0 ;
18047 PyObject
* obj3
= 0 ;
18048 PyObject
* obj4
= 0 ;
18049 PyObject
* obj5
= 0 ;
18050 char *kwnames
[] = {
18051 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18057 arg2
= (bool) SWIG_AsBool(obj1
);
18058 if (PyErr_Occurred()) SWIG_fail
;
18059 arg3
= (double) SWIG_AsDouble(obj2
);
18060 if (PyErr_Occurred()) SWIG_fail
;
18061 arg4
= (double) SWIG_AsDouble(obj3
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18064 arg5
= (int) SWIG_AsInt(obj4
);
18065 if (PyErr_Occurred()) SWIG_fail
;
18068 arg6
= (int) SWIG_AsInt(obj5
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18073 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18075 wxPyEndAllowThreads(__tstate
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18078 Py_INCREF(Py_None
); resultobj
= Py_None
;
18085 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18086 PyObject
*resultobj
;
18087 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18090 int arg4
= (int) 0 ;
18091 int arg5
= (int) 0 ;
18092 PyObject
* obj0
= 0 ;
18093 PyObject
* obj1
= 0 ;
18094 PyObject
* obj2
= 0 ;
18095 PyObject
* obj3
= 0 ;
18096 PyObject
* obj4
= 0 ;
18097 char *kwnames
[] = {
18098 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18104 arg2
= (double) SWIG_AsDouble(obj1
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18106 arg3
= (double) SWIG_AsDouble(obj2
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18109 arg4
= (int) SWIG_AsInt(obj3
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18113 arg5
= (int) SWIG_AsInt(obj4
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18118 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
18120 wxPyEndAllowThreads(__tstate
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18123 Py_INCREF(Py_None
); resultobj
= Py_None
;
18130 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18131 PyObject
*resultobj
;
18132 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18135 int arg4
= (int) 0 ;
18136 int arg5
= (int) 0 ;
18137 PyObject
* obj0
= 0 ;
18138 PyObject
* obj1
= 0 ;
18139 PyObject
* obj2
= 0 ;
18140 PyObject
* obj3
= 0 ;
18141 PyObject
* obj4
= 0 ;
18142 char *kwnames
[] = {
18143 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18149 arg2
= (double) SWIG_AsDouble(obj1
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18151 arg3
= (double) SWIG_AsDouble(obj2
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18154 arg4
= (int) SWIG_AsInt(obj3
);
18155 if (PyErr_Occurred()) SWIG_fail
;
18158 arg5
= (int) SWIG_AsInt(obj4
);
18159 if (PyErr_Occurred()) SWIG_fail
;
18162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18163 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
18165 wxPyEndAllowThreads(__tstate
);
18166 if (PyErr_Occurred()) SWIG_fail
;
18168 Py_INCREF(Py_None
); resultobj
= Py_None
;
18175 static PyObject
*_wrap_PyCompositeShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18176 PyObject
*resultobj
;
18177 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18181 int arg5
= (int) 0 ;
18182 int arg6
= (int) 0 ;
18183 PyObject
* obj0
= 0 ;
18184 PyObject
* obj1
= 0 ;
18185 PyObject
* obj2
= 0 ;
18186 PyObject
* obj3
= 0 ;
18187 PyObject
* obj4
= 0 ;
18188 PyObject
* obj5
= 0 ;
18189 char *kwnames
[] = {
18190 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18196 arg2
= (bool) SWIG_AsBool(obj1
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18198 arg3
= (double) SWIG_AsDouble(obj2
);
18199 if (PyErr_Occurred()) SWIG_fail
;
18200 arg4
= (double) SWIG_AsDouble(obj3
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18203 arg5
= (int) SWIG_AsInt(obj4
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18207 arg6
= (int) SWIG_AsInt(obj5
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
18214 wxPyEndAllowThreads(__tstate
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18217 Py_INCREF(Py_None
); resultobj
= Py_None
;
18224 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18225 PyObject
*resultobj
;
18226 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18229 int arg4
= (int) 0 ;
18230 int arg5
= (int) 0 ;
18231 PyObject
* obj0
= 0 ;
18232 PyObject
* obj1
= 0 ;
18233 PyObject
* obj2
= 0 ;
18234 PyObject
* obj3
= 0 ;
18235 PyObject
* obj4
= 0 ;
18236 char *kwnames
[] = {
18237 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18243 arg2
= (double) SWIG_AsDouble(obj1
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18245 arg3
= (double) SWIG_AsDouble(obj2
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18248 arg4
= (int) SWIG_AsInt(obj3
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18252 arg5
= (int) SWIG_AsInt(obj4
);
18253 if (PyErr_Occurred()) SWIG_fail
;
18256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18257 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
18259 wxPyEndAllowThreads(__tstate
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18262 Py_INCREF(Py_None
); resultobj
= Py_None
;
18269 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18270 PyObject
*resultobj
;
18271 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18274 int arg4
= (int) 0 ;
18275 int arg5
= (int) 0 ;
18276 PyObject
* obj0
= 0 ;
18277 PyObject
* obj1
= 0 ;
18278 PyObject
* obj2
= 0 ;
18279 PyObject
* obj3
= 0 ;
18280 PyObject
* obj4
= 0 ;
18281 char *kwnames
[] = {
18282 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18288 arg2
= (double) SWIG_AsDouble(obj1
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18290 arg3
= (double) SWIG_AsDouble(obj2
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18293 arg4
= (int) SWIG_AsInt(obj3
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18297 arg5
= (int) SWIG_AsInt(obj4
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
18304 wxPyEndAllowThreads(__tstate
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18307 Py_INCREF(Py_None
); resultobj
= Py_None
;
18314 static PyObject
*_wrap_PyCompositeShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
;
18316 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18322 PyObject
* obj0
= 0 ;
18323 PyObject
* obj1
= 0 ;
18324 PyObject
* obj2
= 0 ;
18325 PyObject
* obj3
= 0 ;
18326 PyObject
* obj4
= 0 ;
18327 PyObject
* obj5
= 0 ;
18328 char *kwnames
[] = {
18329 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyCompositeShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18336 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18338 if (arg2
== NULL
) {
18339 PyErr_SetString(PyExc_TypeError
,"null reference");
18342 arg3
= (double) SWIG_AsDouble(obj2
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18344 arg4
= (double) SWIG_AsDouble(obj3
);
18345 if (PyErr_Occurred()) SWIG_fail
;
18346 arg5
= (double) SWIG_AsDouble(obj4
);
18347 if (PyErr_Occurred()) SWIG_fail
;
18348 arg6
= (double) SWIG_AsDouble(obj5
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18352 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
18354 wxPyEndAllowThreads(__tstate
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18357 Py_INCREF(Py_None
); resultobj
= Py_None
;
18364 static PyObject
*_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18365 PyObject
*resultobj
;
18366 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18368 PyObject
* obj0
= 0 ;
18369 PyObject
* obj1
= 0 ;
18370 char *kwnames
[] = {
18371 (char *) "self",(char *) "dc", NULL
18374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18378 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18380 if (arg2
== NULL
) {
18381 PyErr_SetString(PyExc_TypeError
,"null reference");
18385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18386 (arg1
)->base_OnDrawControlPoints(*arg2
);
18388 wxPyEndAllowThreads(__tstate
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18391 Py_INCREF(Py_None
); resultobj
= Py_None
;
18398 static PyObject
*_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18399 PyObject
*resultobj
;
18400 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18402 PyObject
* obj0
= 0 ;
18403 PyObject
* obj1
= 0 ;
18404 char *kwnames
[] = {
18405 (char *) "self",(char *) "dc", NULL
18408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18412 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18414 if (arg2
== NULL
) {
18415 PyErr_SetString(PyExc_TypeError
,"null reference");
18419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18420 (arg1
)->base_OnEraseControlPoints(*arg2
);
18422 wxPyEndAllowThreads(__tstate
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18425 Py_INCREF(Py_None
); resultobj
= Py_None
;
18432 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18433 PyObject
*resultobj
;
18434 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18436 bool arg3
= (bool) True
;
18437 PyObject
* obj0
= 0 ;
18438 PyObject
* obj1
= 0 ;
18439 PyObject
* obj2
= 0 ;
18440 char *kwnames
[] = {
18441 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18450 if (arg2
== NULL
) {
18451 PyErr_SetString(PyExc_TypeError
,"null reference");
18455 arg3
= (bool) SWIG_AsBool(obj2
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18460 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
18462 wxPyEndAllowThreads(__tstate
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18465 Py_INCREF(Py_None
); resultobj
= Py_None
;
18472 static PyObject
*_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18473 PyObject
*resultobj
;
18474 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18475 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18479 int arg6
= (int) 0 ;
18480 int arg7
= (int) 0 ;
18481 PyObject
* obj0
= 0 ;
18482 PyObject
* obj1
= 0 ;
18483 PyObject
* obj2
= 0 ;
18484 PyObject
* obj3
= 0 ;
18485 PyObject
* obj4
= 0 ;
18486 PyObject
* obj5
= 0 ;
18487 PyObject
* obj6
= 0 ;
18488 char *kwnames
[] = {
18489 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyCompositeShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18497 arg3
= (bool) SWIG_AsBool(obj2
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18499 arg4
= (double) SWIG_AsDouble(obj3
);
18500 if (PyErr_Occurred()) SWIG_fail
;
18501 arg5
= (double) SWIG_AsDouble(obj4
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18504 arg6
= (int) SWIG_AsInt(obj5
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18508 arg7
= (int) SWIG_AsInt(obj6
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18513 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18515 wxPyEndAllowThreads(__tstate
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18518 Py_INCREF(Py_None
); resultobj
= Py_None
;
18525 static PyObject
*_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18526 PyObject
*resultobj
;
18527 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18528 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18531 int arg5
= (int) 0 ;
18532 int arg6
= (int) 0 ;
18533 PyObject
* obj0
= 0 ;
18534 PyObject
* obj1
= 0 ;
18535 PyObject
* obj2
= 0 ;
18536 PyObject
* obj3
= 0 ;
18537 PyObject
* obj4
= 0 ;
18538 PyObject
* obj5
= 0 ;
18539 char *kwnames
[] = {
18540 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18548 arg3
= (double) SWIG_AsDouble(obj2
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18550 arg4
= (double) SWIG_AsDouble(obj3
);
18551 if (PyErr_Occurred()) SWIG_fail
;
18553 arg5
= (int) SWIG_AsInt(obj4
);
18554 if (PyErr_Occurred()) SWIG_fail
;
18557 arg6
= (int) SWIG_AsInt(obj5
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18562 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18564 wxPyEndAllowThreads(__tstate
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18567 Py_INCREF(Py_None
); resultobj
= Py_None
;
18574 static PyObject
*_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18575 PyObject
*resultobj
;
18576 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18577 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18580 int arg5
= (int) 0 ;
18581 int arg6
= (int) 0 ;
18582 PyObject
* obj0
= 0 ;
18583 PyObject
* obj1
= 0 ;
18584 PyObject
* obj2
= 0 ;
18585 PyObject
* obj3
= 0 ;
18586 PyObject
* obj4
= 0 ;
18587 PyObject
* obj5
= 0 ;
18588 char *kwnames
[] = {
18589 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18597 arg3
= (double) SWIG_AsDouble(obj2
);
18598 if (PyErr_Occurred()) SWIG_fail
;
18599 arg4
= (double) SWIG_AsDouble(obj3
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18602 arg5
= (int) SWIG_AsInt(obj4
);
18603 if (PyErr_Occurred()) SWIG_fail
;
18606 arg6
= (int) SWIG_AsInt(obj5
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18611 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18613 wxPyEndAllowThreads(__tstate
);
18614 if (PyErr_Occurred()) SWIG_fail
;
18616 Py_INCREF(Py_None
); resultobj
= Py_None
;
18623 static PyObject
*_wrap_PyCompositeShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18624 PyObject
*resultobj
;
18625 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18628 PyObject
* obj0
= 0 ;
18629 PyObject
* obj1
= 0 ;
18630 PyObject
* obj2
= 0 ;
18631 char *kwnames
[] = {
18632 (char *) "self",(char *) "w",(char *) "h", NULL
18635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18638 arg2
= (double) SWIG_AsDouble(obj1
);
18639 if (PyErr_Occurred()) SWIG_fail
;
18640 arg3
= (double) SWIG_AsDouble(obj2
);
18641 if (PyErr_Occurred()) SWIG_fail
;
18643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18644 (arg1
)->base_OnBeginSize(arg2
,arg3
);
18646 wxPyEndAllowThreads(__tstate
);
18647 if (PyErr_Occurred()) SWIG_fail
;
18649 Py_INCREF(Py_None
); resultobj
= Py_None
;
18656 static PyObject
*_wrap_PyCompositeShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18657 PyObject
*resultobj
;
18658 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18661 PyObject
* obj0
= 0 ;
18662 PyObject
* obj1
= 0 ;
18663 PyObject
* obj2
= 0 ;
18664 char *kwnames
[] = {
18665 (char *) "self",(char *) "w",(char *) "h", NULL
18668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18671 arg2
= (double) SWIG_AsDouble(obj1
);
18672 if (PyErr_Occurred()) SWIG_fail
;
18673 arg3
= (double) SWIG_AsDouble(obj2
);
18674 if (PyErr_Occurred()) SWIG_fail
;
18676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18677 (arg1
)->base_OnEndSize(arg2
,arg3
);
18679 wxPyEndAllowThreads(__tstate
);
18680 if (PyErr_Occurred()) SWIG_fail
;
18682 Py_INCREF(Py_None
); resultobj
= Py_None
;
18689 static PyObject
* PyCompositeShape_swigregister(PyObject
*self
, PyObject
*args
) {
18691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18692 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape
, obj
);
18694 return Py_BuildValue((char *)"");
18696 static PyObject
*_wrap_new_PyDividedShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18697 PyObject
*resultobj
;
18698 double arg1
= (double) 0.0 ;
18699 double arg2
= (double) 0.0 ;
18700 wxPyDividedShape
*result
;
18701 PyObject
* obj0
= 0 ;
18702 PyObject
* obj1
= 0 ;
18703 char *kwnames
[] = {
18704 (char *) "width",(char *) "height", NULL
18707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyDividedShape",kwnames
,&obj0
,&obj1
)) goto fail
;
18709 arg1
= (double) SWIG_AsDouble(obj0
);
18710 if (PyErr_Occurred()) SWIG_fail
;
18713 arg2
= (double) SWIG_AsDouble(obj1
);
18714 if (PyErr_Occurred()) SWIG_fail
;
18717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18718 result
= (wxPyDividedShape
*)new wxPyDividedShape(arg1
,arg2
);
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDividedShape
, 1);
18730 static PyObject
*_wrap_PyDividedShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18731 PyObject
*resultobj
;
18732 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18733 PyObject
*arg2
= (PyObject
*) 0 ;
18734 PyObject
*arg3
= (PyObject
*) 0 ;
18735 PyObject
* obj0
= 0 ;
18736 PyObject
* obj1
= 0 ;
18737 PyObject
* obj2
= 0 ;
18738 char *kwnames
[] = {
18739 (char *) "self",(char *) "self",(char *) "_class", NULL
18742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18749 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18751 wxPyEndAllowThreads(__tstate
);
18752 if (PyErr_Occurred()) SWIG_fail
;
18754 Py_INCREF(Py_None
); resultobj
= Py_None
;
18761 static PyObject
*_wrap_PyDividedShape_EditRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18762 PyObject
*resultobj
;
18763 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18764 PyObject
* obj0
= 0 ;
18765 char *kwnames
[] = {
18766 (char *) "self", NULL
18769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_EditRegions",kwnames
,&obj0
)) goto fail
;
18770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18774 (arg1
)->EditRegions();
18776 wxPyEndAllowThreads(__tstate
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18779 Py_INCREF(Py_None
); resultobj
= Py_None
;
18786 static PyObject
*_wrap_PyDividedShape_SetRegionSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18787 PyObject
*resultobj
;
18788 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18789 PyObject
* obj0
= 0 ;
18790 char *kwnames
[] = {
18791 (char *) "self", NULL
18794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_SetRegionSizes",kwnames
,&obj0
)) goto fail
;
18795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18799 (arg1
)->SetRegionSizes();
18801 wxPyEndAllowThreads(__tstate
);
18802 if (PyErr_Occurred()) SWIG_fail
;
18804 Py_INCREF(Py_None
); resultobj
= Py_None
;
18811 static PyObject
*_wrap_PyDividedShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18812 PyObject
*resultobj
;
18813 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18814 PyObject
* obj0
= 0 ;
18815 char *kwnames
[] = {
18816 (char *) "self", NULL
18819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
18820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18824 (arg1
)->base_OnDelete();
18826 wxPyEndAllowThreads(__tstate
);
18827 if (PyErr_Occurred()) SWIG_fail
;
18829 Py_INCREF(Py_None
); resultobj
= Py_None
;
18836 static PyObject
*_wrap_PyDividedShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18837 PyObject
*resultobj
;
18838 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18840 PyObject
* obj0
= 0 ;
18841 PyObject
* obj1
= 0 ;
18842 char *kwnames
[] = {
18843 (char *) "self",(char *) "dc", NULL
18846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
18847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18852 if (arg2
== NULL
) {
18853 PyErr_SetString(PyExc_TypeError
,"null reference");
18857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18858 (arg1
)->base_OnDraw(*arg2
);
18860 wxPyEndAllowThreads(__tstate
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18863 Py_INCREF(Py_None
); resultobj
= Py_None
;
18870 static PyObject
*_wrap_PyDividedShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18871 PyObject
*resultobj
;
18872 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18874 PyObject
* obj0
= 0 ;
18875 PyObject
* obj1
= 0 ;
18876 char *kwnames
[] = {
18877 (char *) "self",(char *) "dc", NULL
18880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
18881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18886 if (arg2
== NULL
) {
18887 PyErr_SetString(PyExc_TypeError
,"null reference");
18891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18892 (arg1
)->base_OnDrawContents(*arg2
);
18894 wxPyEndAllowThreads(__tstate
);
18895 if (PyErr_Occurred()) SWIG_fail
;
18897 Py_INCREF(Py_None
); resultobj
= Py_None
;
18904 static PyObject
*_wrap_PyDividedShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18905 PyObject
*resultobj
;
18906 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18908 bool arg3
= (bool) FALSE
;
18909 PyObject
* obj0
= 0 ;
18910 PyObject
* obj1
= 0 ;
18911 PyObject
* obj2
= 0 ;
18912 char *kwnames
[] = {
18913 (char *) "self",(char *) "dc",(char *) "erase", NULL
18916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18920 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18922 if (arg2
== NULL
) {
18923 PyErr_SetString(PyExc_TypeError
,"null reference");
18927 arg3
= (bool) SWIG_AsBool(obj2
);
18928 if (PyErr_Occurred()) SWIG_fail
;
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
18934 wxPyEndAllowThreads(__tstate
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18937 Py_INCREF(Py_None
); resultobj
= Py_None
;
18944 static PyObject
*_wrap_PyDividedShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
;
18946 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18948 PyObject
* obj0
= 0 ;
18949 PyObject
* obj1
= 0 ;
18950 char *kwnames
[] = {
18951 (char *) "self",(char *) "dc", NULL
18954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
18955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18957 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18958 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18960 if (arg2
== NULL
) {
18961 PyErr_SetString(PyExc_TypeError
,"null reference");
18965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18966 (arg1
)->base_OnMoveLinks(*arg2
);
18968 wxPyEndAllowThreads(__tstate
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18971 Py_INCREF(Py_None
); resultobj
= Py_None
;
18978 static PyObject
*_wrap_PyDividedShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18979 PyObject
*resultobj
;
18980 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18982 PyObject
* obj0
= 0 ;
18983 PyObject
* obj1
= 0 ;
18984 char *kwnames
[] = {
18985 (char *) "self",(char *) "dc", NULL
18988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
18989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18992 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18994 if (arg2
== NULL
) {
18995 PyErr_SetString(PyExc_TypeError
,"null reference");
18999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19000 (arg1
)->base_OnErase(*arg2
);
19002 wxPyEndAllowThreads(__tstate
);
19003 if (PyErr_Occurred()) SWIG_fail
;
19005 Py_INCREF(Py_None
); resultobj
= Py_None
;
19012 static PyObject
*_wrap_PyDividedShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19013 PyObject
*resultobj
;
19014 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19016 PyObject
* obj0
= 0 ;
19017 PyObject
* obj1
= 0 ;
19018 char *kwnames
[] = {
19019 (char *) "self",(char *) "dc", NULL
19022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
19023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19026 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19028 if (arg2
== NULL
) {
19029 PyErr_SetString(PyExc_TypeError
,"null reference");
19033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19034 (arg1
)->base_OnEraseContents(*arg2
);
19036 wxPyEndAllowThreads(__tstate
);
19037 if (PyErr_Occurred()) SWIG_fail
;
19039 Py_INCREF(Py_None
); resultobj
= Py_None
;
19046 static PyObject
*_wrap_PyDividedShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19047 PyObject
*resultobj
;
19048 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19050 PyObject
* obj0
= 0 ;
19051 PyObject
* obj1
= 0 ;
19052 char *kwnames
[] = {
19053 (char *) "self",(char *) "dc", NULL
19056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
19057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19060 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19062 if (arg2
== NULL
) {
19063 PyErr_SetString(PyExc_TypeError
,"null reference");
19067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19068 (arg1
)->base_OnHighlight(*arg2
);
19070 wxPyEndAllowThreads(__tstate
);
19071 if (PyErr_Occurred()) SWIG_fail
;
19073 Py_INCREF(Py_None
); resultobj
= Py_None
;
19080 static PyObject
*_wrap_PyDividedShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19081 PyObject
*resultobj
;
19082 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19085 int arg4
= (int) 0 ;
19086 int arg5
= (int) 0 ;
19087 PyObject
* obj0
= 0 ;
19088 PyObject
* obj1
= 0 ;
19089 PyObject
* obj2
= 0 ;
19090 PyObject
* obj3
= 0 ;
19091 PyObject
* obj4
= 0 ;
19092 char *kwnames
[] = {
19093 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19099 arg2
= (double) SWIG_AsDouble(obj1
);
19100 if (PyErr_Occurred()) SWIG_fail
;
19101 arg3
= (double) SWIG_AsDouble(obj2
);
19102 if (PyErr_Occurred()) SWIG_fail
;
19104 arg4
= (int) SWIG_AsInt(obj3
);
19105 if (PyErr_Occurred()) SWIG_fail
;
19108 arg5
= (int) SWIG_AsInt(obj4
);
19109 if (PyErr_Occurred()) SWIG_fail
;
19112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19113 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
19115 wxPyEndAllowThreads(__tstate
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19118 Py_INCREF(Py_None
); resultobj
= Py_None
;
19125 static PyObject
*_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19126 PyObject
*resultobj
;
19127 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19130 int arg4
= (int) 0 ;
19131 int arg5
= (int) 0 ;
19132 PyObject
* obj0
= 0 ;
19133 PyObject
* obj1
= 0 ;
19134 PyObject
* obj2
= 0 ;
19135 PyObject
* obj3
= 0 ;
19136 PyObject
* obj4
= 0 ;
19137 char *kwnames
[] = {
19138 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19144 arg2
= (double) SWIG_AsDouble(obj1
);
19145 if (PyErr_Occurred()) SWIG_fail
;
19146 arg3
= (double) SWIG_AsDouble(obj2
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19149 arg4
= (int) SWIG_AsInt(obj3
);
19150 if (PyErr_Occurred()) SWIG_fail
;
19153 arg5
= (int) SWIG_AsInt(obj4
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19158 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
19160 wxPyEndAllowThreads(__tstate
);
19161 if (PyErr_Occurred()) SWIG_fail
;
19163 Py_INCREF(Py_None
); resultobj
= Py_None
;
19170 static PyObject
*_wrap_PyDividedShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19171 PyObject
*resultobj
;
19172 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19175 int arg4
= (int) 0 ;
19176 int arg5
= (int) 0 ;
19177 PyObject
* obj0
= 0 ;
19178 PyObject
* obj1
= 0 ;
19179 PyObject
* obj2
= 0 ;
19180 PyObject
* obj3
= 0 ;
19181 PyObject
* obj4
= 0 ;
19182 char *kwnames
[] = {
19183 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19189 arg2
= (double) SWIG_AsDouble(obj1
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19191 arg3
= (double) SWIG_AsDouble(obj2
);
19192 if (PyErr_Occurred()) SWIG_fail
;
19194 arg4
= (int) SWIG_AsInt(obj3
);
19195 if (PyErr_Occurred()) SWIG_fail
;
19198 arg5
= (int) SWIG_AsInt(obj4
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19203 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
19205 wxPyEndAllowThreads(__tstate
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19208 Py_INCREF(Py_None
); resultobj
= Py_None
;
19215 static PyObject
*_wrap_PyDividedShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19216 PyObject
*resultobj
;
19217 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19220 PyObject
* obj0
= 0 ;
19221 PyObject
* obj1
= 0 ;
19222 PyObject
* obj2
= 0 ;
19223 char *kwnames
[] = {
19224 (char *) "self",(char *) "x",(char *) "y", NULL
19227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19230 arg2
= (double) SWIG_AsDouble(obj1
);
19231 if (PyErr_Occurred()) SWIG_fail
;
19232 arg3
= (double) SWIG_AsDouble(obj2
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19236 (arg1
)->base_OnSize(arg2
,arg3
);
19238 wxPyEndAllowThreads(__tstate
);
19239 if (PyErr_Occurred()) SWIG_fail
;
19241 Py_INCREF(Py_None
); resultobj
= Py_None
;
19248 static PyObject
*_wrap_PyDividedShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19249 PyObject
*resultobj
;
19250 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19256 bool arg7
= (bool) True
;
19258 PyObject
* obj0
= 0 ;
19259 PyObject
* obj1
= 0 ;
19260 PyObject
* obj2
= 0 ;
19261 PyObject
* obj3
= 0 ;
19262 PyObject
* obj4
= 0 ;
19263 PyObject
* obj5
= 0 ;
19264 PyObject
* obj6
= 0 ;
19265 char *kwnames
[] = {
19266 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19273 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19275 if (arg2
== NULL
) {
19276 PyErr_SetString(PyExc_TypeError
,"null reference");
19279 arg3
= (double) SWIG_AsDouble(obj2
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19281 arg4
= (double) SWIG_AsDouble(obj3
);
19282 if (PyErr_Occurred()) SWIG_fail
;
19283 arg5
= (double) SWIG_AsDouble(obj4
);
19284 if (PyErr_Occurred()) SWIG_fail
;
19285 arg6
= (double) SWIG_AsDouble(obj5
);
19286 if (PyErr_Occurred()) SWIG_fail
;
19288 arg7
= (bool) SWIG_AsBool(obj6
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19293 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19295 wxPyEndAllowThreads(__tstate
);
19296 if (PyErr_Occurred()) SWIG_fail
;
19298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19305 static PyObject
*_wrap_PyDividedShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19306 PyObject
*resultobj
;
19307 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19313 bool arg7
= (bool) True
;
19314 PyObject
* obj0
= 0 ;
19315 PyObject
* obj1
= 0 ;
19316 PyObject
* obj2
= 0 ;
19317 PyObject
* obj3
= 0 ;
19318 PyObject
* obj4
= 0 ;
19319 PyObject
* obj5
= 0 ;
19320 PyObject
* obj6
= 0 ;
19321 char *kwnames
[] = {
19322 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19329 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19331 if (arg2
== NULL
) {
19332 PyErr_SetString(PyExc_TypeError
,"null reference");
19335 arg3
= (double) SWIG_AsDouble(obj2
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19337 arg4
= (double) SWIG_AsDouble(obj3
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19339 arg5
= (double) SWIG_AsDouble(obj4
);
19340 if (PyErr_Occurred()) SWIG_fail
;
19341 arg6
= (double) SWIG_AsDouble(obj5
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19344 arg7
= (bool) SWIG_AsBool(obj6
);
19345 if (PyErr_Occurred()) SWIG_fail
;
19348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19349 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19351 wxPyEndAllowThreads(__tstate
);
19352 if (PyErr_Occurred()) SWIG_fail
;
19354 Py_INCREF(Py_None
); resultobj
= Py_None
;
19361 static PyObject
*_wrap_PyDividedShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19362 PyObject
*resultobj
;
19363 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19367 int arg5
= (int) 0 ;
19368 int arg6
= (int) 0 ;
19369 PyObject
* obj0
= 0 ;
19370 PyObject
* obj1
= 0 ;
19371 PyObject
* obj2
= 0 ;
19372 PyObject
* obj3
= 0 ;
19373 PyObject
* obj4
= 0 ;
19374 PyObject
* obj5
= 0 ;
19375 char *kwnames
[] = {
19376 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19382 arg2
= (bool) SWIG_AsBool(obj1
);
19383 if (PyErr_Occurred()) SWIG_fail
;
19384 arg3
= (double) SWIG_AsDouble(obj2
);
19385 if (PyErr_Occurred()) SWIG_fail
;
19386 arg4
= (double) SWIG_AsDouble(obj3
);
19387 if (PyErr_Occurred()) SWIG_fail
;
19389 arg5
= (int) SWIG_AsInt(obj4
);
19390 if (PyErr_Occurred()) SWIG_fail
;
19393 arg6
= (int) SWIG_AsInt(obj5
);
19394 if (PyErr_Occurred()) SWIG_fail
;
19397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19398 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19400 wxPyEndAllowThreads(__tstate
);
19401 if (PyErr_Occurred()) SWIG_fail
;
19403 Py_INCREF(Py_None
); resultobj
= Py_None
;
19410 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19411 PyObject
*resultobj
;
19412 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19415 int arg4
= (int) 0 ;
19416 int arg5
= (int) 0 ;
19417 PyObject
* obj0
= 0 ;
19418 PyObject
* obj1
= 0 ;
19419 PyObject
* obj2
= 0 ;
19420 PyObject
* obj3
= 0 ;
19421 PyObject
* obj4
= 0 ;
19422 char *kwnames
[] = {
19423 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19429 arg2
= (double) SWIG_AsDouble(obj1
);
19430 if (PyErr_Occurred()) SWIG_fail
;
19431 arg3
= (double) SWIG_AsDouble(obj2
);
19432 if (PyErr_Occurred()) SWIG_fail
;
19434 arg4
= (int) SWIG_AsInt(obj3
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19438 arg5
= (int) SWIG_AsInt(obj4
);
19439 if (PyErr_Occurred()) SWIG_fail
;
19442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19443 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
19445 wxPyEndAllowThreads(__tstate
);
19446 if (PyErr_Occurred()) SWIG_fail
;
19448 Py_INCREF(Py_None
); resultobj
= Py_None
;
19455 static PyObject
*_wrap_PyDividedShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19456 PyObject
*resultobj
;
19457 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19460 int arg4
= (int) 0 ;
19461 int arg5
= (int) 0 ;
19462 PyObject
* obj0
= 0 ;
19463 PyObject
* obj1
= 0 ;
19464 PyObject
* obj2
= 0 ;
19465 PyObject
* obj3
= 0 ;
19466 PyObject
* obj4
= 0 ;
19467 char *kwnames
[] = {
19468 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19474 arg2
= (double) SWIG_AsDouble(obj1
);
19475 if (PyErr_Occurred()) SWIG_fail
;
19476 arg3
= (double) SWIG_AsDouble(obj2
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19479 arg4
= (int) SWIG_AsInt(obj3
);
19480 if (PyErr_Occurred()) SWIG_fail
;
19483 arg5
= (int) SWIG_AsInt(obj4
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19488 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
19490 wxPyEndAllowThreads(__tstate
);
19491 if (PyErr_Occurred()) SWIG_fail
;
19493 Py_INCREF(Py_None
); resultobj
= Py_None
;
19500 static PyObject
*_wrap_PyDividedShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19501 PyObject
*resultobj
;
19502 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19506 int arg5
= (int) 0 ;
19507 int arg6
= (int) 0 ;
19508 PyObject
* obj0
= 0 ;
19509 PyObject
* obj1
= 0 ;
19510 PyObject
* obj2
= 0 ;
19511 PyObject
* obj3
= 0 ;
19512 PyObject
* obj4
= 0 ;
19513 PyObject
* obj5
= 0 ;
19514 char *kwnames
[] = {
19515 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19521 arg2
= (bool) SWIG_AsBool(obj1
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19523 arg3
= (double) SWIG_AsDouble(obj2
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19525 arg4
= (double) SWIG_AsDouble(obj3
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19528 arg5
= (int) SWIG_AsInt(obj4
);
19529 if (PyErr_Occurred()) SWIG_fail
;
19532 arg6
= (int) SWIG_AsInt(obj5
);
19533 if (PyErr_Occurred()) SWIG_fail
;
19536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19537 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
19539 wxPyEndAllowThreads(__tstate
);
19540 if (PyErr_Occurred()) SWIG_fail
;
19542 Py_INCREF(Py_None
); resultobj
= Py_None
;
19549 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19550 PyObject
*resultobj
;
19551 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19554 int arg4
= (int) 0 ;
19555 int arg5
= (int) 0 ;
19556 PyObject
* obj0
= 0 ;
19557 PyObject
* obj1
= 0 ;
19558 PyObject
* obj2
= 0 ;
19559 PyObject
* obj3
= 0 ;
19560 PyObject
* obj4
= 0 ;
19561 char *kwnames
[] = {
19562 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19568 arg2
= (double) SWIG_AsDouble(obj1
);
19569 if (PyErr_Occurred()) SWIG_fail
;
19570 arg3
= (double) SWIG_AsDouble(obj2
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19573 arg4
= (int) SWIG_AsInt(obj3
);
19574 if (PyErr_Occurred()) SWIG_fail
;
19577 arg5
= (int) SWIG_AsInt(obj4
);
19578 if (PyErr_Occurred()) SWIG_fail
;
19581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19582 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19587 Py_INCREF(Py_None
); resultobj
= Py_None
;
19594 static PyObject
*_wrap_PyDividedShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
;
19596 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19599 int arg4
= (int) 0 ;
19600 int arg5
= (int) 0 ;
19601 PyObject
* obj0
= 0 ;
19602 PyObject
* obj1
= 0 ;
19603 PyObject
* obj2
= 0 ;
19604 PyObject
* obj3
= 0 ;
19605 PyObject
* obj4
= 0 ;
19606 char *kwnames
[] = {
19607 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19613 arg2
= (double) SWIG_AsDouble(obj1
);
19614 if (PyErr_Occurred()) SWIG_fail
;
19615 arg3
= (double) SWIG_AsDouble(obj2
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19618 arg4
= (int) SWIG_AsInt(obj3
);
19619 if (PyErr_Occurred()) SWIG_fail
;
19622 arg5
= (int) SWIG_AsInt(obj4
);
19623 if (PyErr_Occurred()) SWIG_fail
;
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19632 Py_INCREF(Py_None
); resultobj
= Py_None
;
19639 static PyObject
*_wrap_PyDividedShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
;
19641 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19647 PyObject
* obj0
= 0 ;
19648 PyObject
* obj1
= 0 ;
19649 PyObject
* obj2
= 0 ;
19650 PyObject
* obj3
= 0 ;
19651 PyObject
* obj4
= 0 ;
19652 PyObject
* obj5
= 0 ;
19653 char *kwnames
[] = {
19654 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDividedShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19663 if (arg2
== NULL
) {
19664 PyErr_SetString(PyExc_TypeError
,"null reference");
19667 arg3
= (double) SWIG_AsDouble(obj2
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19669 arg4
= (double) SWIG_AsDouble(obj3
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19671 arg5
= (double) SWIG_AsDouble(obj4
);
19672 if (PyErr_Occurred()) SWIG_fail
;
19673 arg6
= (double) SWIG_AsDouble(obj5
);
19674 if (PyErr_Occurred()) SWIG_fail
;
19676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19682 Py_INCREF(Py_None
); resultobj
= Py_None
;
19689 static PyObject
*_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
;
19691 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19693 PyObject
* obj0
= 0 ;
19694 PyObject
* obj1
= 0 ;
19695 char *kwnames
[] = {
19696 (char *) "self",(char *) "dc", NULL
19699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19705 if (arg2
== NULL
) {
19706 PyErr_SetString(PyExc_TypeError
,"null reference");
19710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 (arg1
)->base_OnDrawControlPoints(*arg2
);
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19716 Py_INCREF(Py_None
); resultobj
= Py_None
;
19723 static PyObject
*_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19724 PyObject
*resultobj
;
19725 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19727 PyObject
* obj0
= 0 ;
19728 PyObject
* obj1
= 0 ;
19729 char *kwnames
[] = {
19730 (char *) "self",(char *) "dc", NULL
19733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19737 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19739 if (arg2
== NULL
) {
19740 PyErr_SetString(PyExc_TypeError
,"null reference");
19744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19745 (arg1
)->base_OnEraseControlPoints(*arg2
);
19747 wxPyEndAllowThreads(__tstate
);
19748 if (PyErr_Occurred()) SWIG_fail
;
19750 Py_INCREF(Py_None
); resultobj
= Py_None
;
19757 static PyObject
*_wrap_PyDividedShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19758 PyObject
*resultobj
;
19759 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19761 bool arg3
= (bool) True
;
19762 PyObject
* obj0
= 0 ;
19763 PyObject
* obj1
= 0 ;
19764 PyObject
* obj2
= 0 ;
19765 char *kwnames
[] = {
19766 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19775 if (arg2
== NULL
) {
19776 PyErr_SetString(PyExc_TypeError
,"null reference");
19780 arg3
= (bool) SWIG_AsBool(obj2
);
19781 if (PyErr_Occurred()) SWIG_fail
;
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
19787 wxPyEndAllowThreads(__tstate
);
19788 if (PyErr_Occurred()) SWIG_fail
;
19790 Py_INCREF(Py_None
); resultobj
= Py_None
;
19797 static PyObject
*_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19798 PyObject
*resultobj
;
19799 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19800 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19804 int arg6
= (int) 0 ;
19805 int arg7
= (int) 0 ;
19806 PyObject
* obj0
= 0 ;
19807 PyObject
* obj1
= 0 ;
19808 PyObject
* obj2
= 0 ;
19809 PyObject
* obj3
= 0 ;
19810 PyObject
* obj4
= 0 ;
19811 PyObject
* obj5
= 0 ;
19812 PyObject
* obj6
= 0 ;
19813 char *kwnames
[] = {
19814 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDividedShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
19821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19822 arg3
= (bool) SWIG_AsBool(obj2
);
19823 if (PyErr_Occurred()) SWIG_fail
;
19824 arg4
= (double) SWIG_AsDouble(obj3
);
19825 if (PyErr_Occurred()) SWIG_fail
;
19826 arg5
= (double) SWIG_AsDouble(obj4
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19829 arg6
= (int) SWIG_AsInt(obj5
);
19830 if (PyErr_Occurred()) SWIG_fail
;
19833 arg7
= (int) SWIG_AsInt(obj6
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19838 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19840 wxPyEndAllowThreads(__tstate
);
19841 if (PyErr_Occurred()) SWIG_fail
;
19843 Py_INCREF(Py_None
); resultobj
= Py_None
;
19850 static PyObject
*_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19851 PyObject
*resultobj
;
19852 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19853 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19856 int arg5
= (int) 0 ;
19857 int arg6
= (int) 0 ;
19858 PyObject
* obj0
= 0 ;
19859 PyObject
* obj1
= 0 ;
19860 PyObject
* obj2
= 0 ;
19861 PyObject
* obj3
= 0 ;
19862 PyObject
* obj4
= 0 ;
19863 PyObject
* obj5
= 0 ;
19864 char *kwnames
[] = {
19865 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19871 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
19872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19873 arg3
= (double) SWIG_AsDouble(obj2
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19875 arg4
= (double) SWIG_AsDouble(obj3
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19878 arg5
= (int) SWIG_AsInt(obj4
);
19879 if (PyErr_Occurred()) SWIG_fail
;
19882 arg6
= (int) SWIG_AsInt(obj5
);
19883 if (PyErr_Occurred()) SWIG_fail
;
19886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19887 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19889 wxPyEndAllowThreads(__tstate
);
19890 if (PyErr_Occurred()) SWIG_fail
;
19892 Py_INCREF(Py_None
); resultobj
= Py_None
;
19899 static PyObject
*_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19900 PyObject
*resultobj
;
19901 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19902 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19905 int arg5
= (int) 0 ;
19906 int arg6
= (int) 0 ;
19907 PyObject
* obj0
= 0 ;
19908 PyObject
* obj1
= 0 ;
19909 PyObject
* obj2
= 0 ;
19910 PyObject
* obj3
= 0 ;
19911 PyObject
* obj4
= 0 ;
19912 PyObject
* obj5
= 0 ;
19913 char *kwnames
[] = {
19914 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19920 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
19921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19922 arg3
= (double) SWIG_AsDouble(obj2
);
19923 if (PyErr_Occurred()) SWIG_fail
;
19924 arg4
= (double) SWIG_AsDouble(obj3
);
19925 if (PyErr_Occurred()) SWIG_fail
;
19927 arg5
= (int) SWIG_AsInt(obj4
);
19928 if (PyErr_Occurred()) SWIG_fail
;
19931 arg6
= (int) SWIG_AsInt(obj5
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19936 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19938 wxPyEndAllowThreads(__tstate
);
19939 if (PyErr_Occurred()) SWIG_fail
;
19941 Py_INCREF(Py_None
); resultobj
= Py_None
;
19948 static PyObject
*_wrap_PyDividedShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19949 PyObject
*resultobj
;
19950 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19953 PyObject
* obj0
= 0 ;
19954 PyObject
* obj1
= 0 ;
19955 PyObject
* obj2
= 0 ;
19956 char *kwnames
[] = {
19957 (char *) "self",(char *) "w",(char *) "h", NULL
19960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19963 arg2
= (double) SWIG_AsDouble(obj1
);
19964 if (PyErr_Occurred()) SWIG_fail
;
19965 arg3
= (double) SWIG_AsDouble(obj2
);
19966 if (PyErr_Occurred()) SWIG_fail
;
19968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19969 (arg1
)->base_OnBeginSize(arg2
,arg3
);
19971 wxPyEndAllowThreads(__tstate
);
19972 if (PyErr_Occurred()) SWIG_fail
;
19974 Py_INCREF(Py_None
); resultobj
= Py_None
;
19981 static PyObject
*_wrap_PyDividedShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19982 PyObject
*resultobj
;
19983 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19986 PyObject
* obj0
= 0 ;
19987 PyObject
* obj1
= 0 ;
19988 PyObject
* obj2
= 0 ;
19989 char *kwnames
[] = {
19990 (char *) "self",(char *) "w",(char *) "h", NULL
19993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19996 arg2
= (double) SWIG_AsDouble(obj1
);
19997 if (PyErr_Occurred()) SWIG_fail
;
19998 arg3
= (double) SWIG_AsDouble(obj2
);
19999 if (PyErr_Occurred()) SWIG_fail
;
20001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20002 (arg1
)->base_OnEndSize(arg2
,arg3
);
20004 wxPyEndAllowThreads(__tstate
);
20005 if (PyErr_Occurred()) SWIG_fail
;
20007 Py_INCREF(Py_None
); resultobj
= Py_None
;
20014 static PyObject
* PyDividedShape_swigregister(PyObject
*self
, PyObject
*args
) {
20016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20017 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape
, obj
);
20019 return Py_BuildValue((char *)"");
20021 static PyObject
*_wrap_new_PyDivisionShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20022 PyObject
*resultobj
;
20023 wxPyDivisionShape
*result
;
20024 char *kwnames
[] = {
20028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDivisionShape",kwnames
)) goto fail
;
20030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20031 result
= (wxPyDivisionShape
*)new wxPyDivisionShape();
20033 wxPyEndAllowThreads(__tstate
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20037 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20045 static PyObject
*_wrap_PyDivisionShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20046 PyObject
*resultobj
;
20047 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20048 PyObject
*arg2
= (PyObject
*) 0 ;
20049 PyObject
*arg3
= (PyObject
*) 0 ;
20050 PyObject
* obj0
= 0 ;
20051 PyObject
* obj1
= 0 ;
20052 PyObject
* obj2
= 0 ;
20053 char *kwnames
[] = {
20054 (char *) "self",(char *) "self",(char *) "_class", NULL
20057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20064 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20066 wxPyEndAllowThreads(__tstate
);
20067 if (PyErr_Occurred()) SWIG_fail
;
20069 Py_INCREF(Py_None
); resultobj
= Py_None
;
20076 static PyObject
*_wrap_PyDivisionShape_AdjustBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20077 PyObject
*resultobj
;
20078 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20081 PyObject
* obj0
= 0 ;
20082 PyObject
* obj1
= 0 ;
20083 PyObject
* obj2
= 0 ;
20084 char *kwnames
[] = {
20085 (char *) "self",(char *) "bottom",(char *) "test", NULL
20088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustBottom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20091 arg2
= (double) SWIG_AsDouble(obj1
);
20092 if (PyErr_Occurred()) SWIG_fail
;
20093 arg3
= (bool) SWIG_AsBool(obj2
);
20094 if (PyErr_Occurred()) SWIG_fail
;
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 (arg1
)->AdjustBottom(arg2
,arg3
);
20099 wxPyEndAllowThreads(__tstate
);
20100 if (PyErr_Occurred()) SWIG_fail
;
20102 Py_INCREF(Py_None
); resultobj
= Py_None
;
20109 static PyObject
*_wrap_PyDivisionShape_AdjustLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20110 PyObject
*resultobj
;
20111 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20114 PyObject
* obj0
= 0 ;
20115 PyObject
* obj1
= 0 ;
20116 PyObject
* obj2
= 0 ;
20117 char *kwnames
[] = {
20118 (char *) "self",(char *) "left",(char *) "test", NULL
20121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustLeft",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20124 arg2
= (double) SWIG_AsDouble(obj1
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20126 arg3
= (bool) SWIG_AsBool(obj2
);
20127 if (PyErr_Occurred()) SWIG_fail
;
20129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20130 (arg1
)->AdjustLeft(arg2
,arg3
);
20132 wxPyEndAllowThreads(__tstate
);
20133 if (PyErr_Occurred()) SWIG_fail
;
20135 Py_INCREF(Py_None
); resultobj
= Py_None
;
20142 static PyObject
*_wrap_PyDivisionShape_AdjustRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20143 PyObject
*resultobj
;
20144 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20147 PyObject
* obj0
= 0 ;
20148 PyObject
* obj1
= 0 ;
20149 PyObject
* obj2
= 0 ;
20150 char *kwnames
[] = {
20151 (char *) "self",(char *) "right",(char *) "test", NULL
20154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustRight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20157 arg2
= (double) SWIG_AsDouble(obj1
);
20158 if (PyErr_Occurred()) SWIG_fail
;
20159 arg3
= (bool) SWIG_AsBool(obj2
);
20160 if (PyErr_Occurred()) SWIG_fail
;
20162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20163 (arg1
)->AdjustRight(arg2
,arg3
);
20165 wxPyEndAllowThreads(__tstate
);
20166 if (PyErr_Occurred()) SWIG_fail
;
20168 Py_INCREF(Py_None
); resultobj
= Py_None
;
20175 static PyObject
*_wrap_PyDivisionShape_AdjustTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20176 PyObject
*resultobj
;
20177 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20180 PyObject
* obj0
= 0 ;
20181 PyObject
* obj1
= 0 ;
20182 PyObject
* obj2
= 0 ;
20183 char *kwnames
[] = {
20184 (char *) "self",(char *) "top",(char *) "test", NULL
20187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20190 arg2
= (double) SWIG_AsDouble(obj1
);
20191 if (PyErr_Occurred()) SWIG_fail
;
20192 arg3
= (bool) SWIG_AsBool(obj2
);
20193 if (PyErr_Occurred()) SWIG_fail
;
20195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20196 (arg1
)->AdjustTop(arg2
,arg3
);
20198 wxPyEndAllowThreads(__tstate
);
20199 if (PyErr_Occurred()) SWIG_fail
;
20201 Py_INCREF(Py_None
); resultobj
= Py_None
;
20208 static PyObject
*_wrap_PyDivisionShape_Divide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20209 PyObject
*resultobj
;
20210 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20212 PyObject
* obj0
= 0 ;
20213 PyObject
* obj1
= 0 ;
20214 char *kwnames
[] = {
20215 (char *) "self",(char *) "direction", NULL
20218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_Divide",kwnames
,&obj0
,&obj1
)) goto fail
;
20219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20221 arg2
= (int) SWIG_AsInt(obj1
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20225 (arg1
)->Divide(arg2
);
20227 wxPyEndAllowThreads(__tstate
);
20228 if (PyErr_Occurred()) SWIG_fail
;
20230 Py_INCREF(Py_None
); resultobj
= Py_None
;
20237 static PyObject
*_wrap_PyDivisionShape_EditEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20238 PyObject
*resultobj
;
20239 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20241 PyObject
* obj0
= 0 ;
20242 PyObject
* obj1
= 0 ;
20243 char *kwnames
[] = {
20244 (char *) "self",(char *) "side", NULL
20247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_EditEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
20248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20250 arg2
= (int) SWIG_AsInt(obj1
);
20251 if (PyErr_Occurred()) SWIG_fail
;
20253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20254 (arg1
)->EditEdge(arg2
);
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20259 Py_INCREF(Py_None
); resultobj
= Py_None
;
20266 static PyObject
*_wrap_PyDivisionShape_GetBottomSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20267 PyObject
*resultobj
;
20268 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20269 wxPyDivisionShape
*result
;
20270 PyObject
* obj0
= 0 ;
20271 char *kwnames
[] = {
20272 (char *) "self", NULL
20275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetBottomSide",kwnames
,&obj0
)) goto fail
;
20276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20280 result
= (wxPyDivisionShape
*)(arg1
)->GetBottomSide();
20282 wxPyEndAllowThreads(__tstate
);
20283 if (PyErr_Occurred()) SWIG_fail
;
20286 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20294 static PyObject
*_wrap_PyDivisionShape_GetHandleSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20295 PyObject
*resultobj
;
20296 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20298 PyObject
* obj0
= 0 ;
20299 char *kwnames
[] = {
20300 (char *) "self", NULL
20303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetHandleSide",kwnames
,&obj0
)) goto fail
;
20304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20308 result
= (int)(arg1
)->GetHandleSide();
20310 wxPyEndAllowThreads(__tstate
);
20311 if (PyErr_Occurred()) SWIG_fail
;
20313 resultobj
= SWIG_FromInt((int)result
);
20320 static PyObject
*_wrap_PyDivisionShape_GetLeftSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20321 PyObject
*resultobj
;
20322 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20323 wxPyDivisionShape
*result
;
20324 PyObject
* obj0
= 0 ;
20325 char *kwnames
[] = {
20326 (char *) "self", NULL
20329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSide",kwnames
,&obj0
)) goto fail
;
20330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20334 result
= (wxPyDivisionShape
*)(arg1
)->GetLeftSide();
20336 wxPyEndAllowThreads(__tstate
);
20337 if (PyErr_Occurred()) SWIG_fail
;
20340 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20348 static PyObject
*_wrap_PyDivisionShape_GetLeftSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20349 PyObject
*resultobj
;
20350 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20352 PyObject
* obj0
= 0 ;
20353 char *kwnames
[] = {
20354 (char *) "self", NULL
20357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames
,&obj0
)) goto fail
;
20358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20362 result
= (arg1
)->GetLeftSideColour();
20364 wxPyEndAllowThreads(__tstate
);
20365 if (PyErr_Occurred()) SWIG_fail
;
20369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20380 static PyObject
*_wrap_PyDivisionShape_GetLeftSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20381 PyObject
*resultobj
;
20382 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20384 PyObject
* obj0
= 0 ;
20385 char *kwnames
[] = {
20386 (char *) "self", NULL
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames
,&obj0
)) goto fail
;
20390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20394 result
= (wxPen
*)(arg1
)->GetLeftSidePen();
20396 wxPyEndAllowThreads(__tstate
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
20406 static PyObject
*_wrap_PyDivisionShape_GetRightSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20407 PyObject
*resultobj
;
20408 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20409 wxPyDivisionShape
*result
;
20410 PyObject
* obj0
= 0 ;
20411 char *kwnames
[] = {
20412 (char *) "self", NULL
20415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetRightSide",kwnames
,&obj0
)) goto fail
;
20416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20420 result
= (wxPyDivisionShape
*)(arg1
)->GetRightSide();
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20426 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20434 static PyObject
*_wrap_PyDivisionShape_GetTopSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20435 PyObject
*resultobj
;
20436 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20437 wxPyDivisionShape
*result
;
20438 PyObject
* obj0
= 0 ;
20439 char *kwnames
[] = {
20440 (char *) "self", NULL
20443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSide",kwnames
,&obj0
)) goto fail
;
20444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20448 result
= (wxPyDivisionShape
*)(arg1
)->GetTopSide();
20450 wxPyEndAllowThreads(__tstate
);
20451 if (PyErr_Occurred()) SWIG_fail
;
20454 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20462 static PyObject
*_wrap_PyDivisionShape_GetTopSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20463 PyObject
*resultobj
;
20464 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20466 PyObject
* obj0
= 0 ;
20467 char *kwnames
[] = {
20468 (char *) "self", NULL
20471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames
,&obj0
)) goto fail
;
20472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20476 result
= (wxPen
*)(arg1
)->GetTopSidePen();
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
20488 static PyObject
*_wrap_PyDivisionShape_ResizeAdjoining(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20489 PyObject
*resultobj
;
20490 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20494 PyObject
* obj0
= 0 ;
20495 PyObject
* obj1
= 0 ;
20496 PyObject
* obj2
= 0 ;
20497 PyObject
* obj3
= 0 ;
20498 char *kwnames
[] = {
20499 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
20502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDivisionShape_ResizeAdjoining",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20505 arg2
= (int) SWIG_AsInt(obj1
);
20506 if (PyErr_Occurred()) SWIG_fail
;
20507 arg3
= (double) SWIG_AsDouble(obj2
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20509 arg4
= (bool) SWIG_AsBool(obj3
);
20510 if (PyErr_Occurred()) SWIG_fail
;
20512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20513 (arg1
)->ResizeAdjoining(arg2
,arg3
,arg4
);
20515 wxPyEndAllowThreads(__tstate
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20518 Py_INCREF(Py_None
); resultobj
= Py_None
;
20525 static PyObject
*_wrap_PyDivisionShape_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20526 PyObject
*resultobj
;
20527 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20530 PyObject
* obj0
= 0 ;
20531 PyObject
* obj1
= 0 ;
20532 PyObject
* obj2
= 0 ;
20533 char *kwnames
[] = {
20534 (char *) "self",(char *) "x",(char *) "y", NULL
20537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20540 arg2
= (double) SWIG_AsDouble(obj1
);
20541 if (PyErr_Occurred()) SWIG_fail
;
20542 arg3
= (double) SWIG_AsDouble(obj2
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20546 (arg1
)->PopupMenu(arg2
,arg3
);
20548 wxPyEndAllowThreads(__tstate
);
20549 if (PyErr_Occurred()) SWIG_fail
;
20551 Py_INCREF(Py_None
); resultobj
= Py_None
;
20558 static PyObject
*_wrap_PyDivisionShape_SetBottomSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20559 PyObject
*resultobj
;
20560 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20561 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20562 PyObject
* obj0
= 0 ;
20563 PyObject
* obj1
= 0 ;
20564 char *kwnames
[] = {
20565 (char *) "self",(char *) "shape", NULL
20568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20575 (arg1
)->SetBottomSide(arg2
);
20577 wxPyEndAllowThreads(__tstate
);
20578 if (PyErr_Occurred()) SWIG_fail
;
20580 Py_INCREF(Py_None
); resultobj
= Py_None
;
20587 static PyObject
*_wrap_PyDivisionShape_SetHandleSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20588 PyObject
*resultobj
;
20589 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20591 PyObject
* obj0
= 0 ;
20592 PyObject
* obj1
= 0 ;
20593 char *kwnames
[] = {
20594 (char *) "self",(char *) "side", NULL
20597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetHandleSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20600 arg2
= (int) SWIG_AsInt(obj1
);
20601 if (PyErr_Occurred()) SWIG_fail
;
20603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20604 (arg1
)->SetHandleSide(arg2
);
20606 wxPyEndAllowThreads(__tstate
);
20607 if (PyErr_Occurred()) SWIG_fail
;
20609 Py_INCREF(Py_None
); resultobj
= Py_None
;
20616 static PyObject
*_wrap_PyDivisionShape_SetLeftSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20617 PyObject
*resultobj
;
20618 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20619 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20620 PyObject
* obj0
= 0 ;
20621 PyObject
* obj1
= 0 ;
20622 char *kwnames
[] = {
20623 (char *) "self",(char *) "shape", NULL
20626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20633 (arg1
)->SetLeftSide(arg2
);
20635 wxPyEndAllowThreads(__tstate
);
20636 if (PyErr_Occurred()) SWIG_fail
;
20638 Py_INCREF(Py_None
); resultobj
= Py_None
;
20645 static PyObject
*_wrap_PyDivisionShape_SetLeftSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20646 PyObject
*resultobj
;
20647 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20648 wxString
*arg2
= 0 ;
20649 bool temp2
= False
;
20650 PyObject
* obj0
= 0 ;
20651 PyObject
* obj1
= 0 ;
20652 char *kwnames
[] = {
20653 (char *) "self",(char *) "colour", NULL
20656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20660 arg2
= wxString_in_helper(obj1
);
20661 if (arg2
== NULL
) SWIG_fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 (arg1
)->SetLeftSideColour((wxString
const &)*arg2
);
20668 wxPyEndAllowThreads(__tstate
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20671 Py_INCREF(Py_None
); resultobj
= Py_None
;
20686 static PyObject
*_wrap_PyDivisionShape_SetLeftSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20687 PyObject
*resultobj
;
20688 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20689 wxPen
*arg2
= (wxPen
*) 0 ;
20690 PyObject
* obj0
= 0 ;
20691 PyObject
* obj1
= 0 ;
20692 char *kwnames
[] = {
20693 (char *) "self",(char *) "pen", NULL
20696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
20697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20702 if (obj1
== Py_None
) {
20705 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
20706 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
20711 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
20718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20719 (arg1
)->SetLeftSidePen(arg2
);
20721 wxPyEndAllowThreads(__tstate
);
20722 if (PyErr_Occurred()) SWIG_fail
;
20724 Py_INCREF(Py_None
); resultobj
= Py_None
;
20731 static PyObject
*_wrap_PyDivisionShape_SetRightSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20732 PyObject
*resultobj
;
20733 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20734 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20735 PyObject
* obj0
= 0 ;
20736 PyObject
* obj1
= 0 ;
20737 char *kwnames
[] = {
20738 (char *) "self",(char *) "shape", NULL
20741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetRightSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20748 (arg1
)->SetRightSide(arg2
);
20750 wxPyEndAllowThreads(__tstate
);
20751 if (PyErr_Occurred()) SWIG_fail
;
20753 Py_INCREF(Py_None
); resultobj
= Py_None
;
20760 static PyObject
*_wrap_PyDivisionShape_SetTopSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20761 PyObject
*resultobj
;
20762 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20763 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20764 PyObject
* obj0
= 0 ;
20765 PyObject
* obj1
= 0 ;
20766 char *kwnames
[] = {
20767 (char *) "self",(char *) "shape", NULL
20770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20777 (arg1
)->SetTopSide(arg2
);
20779 wxPyEndAllowThreads(__tstate
);
20780 if (PyErr_Occurred()) SWIG_fail
;
20782 Py_INCREF(Py_None
); resultobj
= Py_None
;
20789 static PyObject
*_wrap_PyDivisionShape_SetTopSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20790 PyObject
*resultobj
;
20791 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20792 wxString
*arg2
= 0 ;
20793 bool temp2
= False
;
20794 PyObject
* obj0
= 0 ;
20795 PyObject
* obj1
= 0 ;
20796 char *kwnames
[] = {
20797 (char *) "self",(char *) "colour", NULL
20800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20804 arg2
= wxString_in_helper(obj1
);
20805 if (arg2
== NULL
) SWIG_fail
;
20809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20810 (arg1
)->SetTopSideColour((wxString
const &)*arg2
);
20812 wxPyEndAllowThreads(__tstate
);
20813 if (PyErr_Occurred()) SWIG_fail
;
20815 Py_INCREF(Py_None
); resultobj
= Py_None
;
20830 static PyObject
*_wrap_PyDivisionShape_SetTopSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20831 PyObject
*resultobj
;
20832 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20833 wxPen
*arg2
= (wxPen
*) 0 ;
20834 PyObject
* obj0
= 0 ;
20835 PyObject
* obj1
= 0 ;
20836 char *kwnames
[] = {
20837 (char *) "self",(char *) "pen", NULL
20840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
20841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20846 if (obj1
== Py_None
) {
20849 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
20850 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
20855 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
20862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20863 (arg1
)->SetTopSidePen(arg2
);
20865 wxPyEndAllowThreads(__tstate
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20868 Py_INCREF(Py_None
); resultobj
= Py_None
;
20875 static PyObject
*_wrap_PyDivisionShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20876 PyObject
*resultobj
;
20877 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20878 PyObject
* obj0
= 0 ;
20879 char *kwnames
[] = {
20880 (char *) "self", NULL
20883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
20884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20888 (arg1
)->base_OnDelete();
20890 wxPyEndAllowThreads(__tstate
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20893 Py_INCREF(Py_None
); resultobj
= Py_None
;
20900 static PyObject
*_wrap_PyDivisionShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20901 PyObject
*resultobj
;
20902 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20904 PyObject
* obj0
= 0 ;
20905 PyObject
* obj1
= 0 ;
20906 char *kwnames
[] = {
20907 (char *) "self",(char *) "dc", NULL
20910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
20911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
20914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20916 if (arg2
== NULL
) {
20917 PyErr_SetString(PyExc_TypeError
,"null reference");
20921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20922 (arg1
)->base_OnDraw(*arg2
);
20924 wxPyEndAllowThreads(__tstate
);
20925 if (PyErr_Occurred()) SWIG_fail
;
20927 Py_INCREF(Py_None
); resultobj
= Py_None
;
20934 static PyObject
*_wrap_PyDivisionShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20935 PyObject
*resultobj
;
20936 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20938 PyObject
* obj0
= 0 ;
20939 PyObject
* obj1
= 0 ;
20940 char *kwnames
[] = {
20941 (char *) "self",(char *) "dc", NULL
20944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
20945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
20948 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20950 if (arg2
== NULL
) {
20951 PyErr_SetString(PyExc_TypeError
,"null reference");
20955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20956 (arg1
)->base_OnDrawContents(*arg2
);
20958 wxPyEndAllowThreads(__tstate
);
20959 if (PyErr_Occurred()) SWIG_fail
;
20961 Py_INCREF(Py_None
); resultobj
= Py_None
;
20968 static PyObject
*_wrap_PyDivisionShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20969 PyObject
*resultobj
;
20970 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20972 bool arg3
= (bool) FALSE
;
20973 PyObject
* obj0
= 0 ;
20974 PyObject
* obj1
= 0 ;
20975 PyObject
* obj2
= 0 ;
20976 char *kwnames
[] = {
20977 (char *) "self",(char *) "dc",(char *) "erase", NULL
20980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
20984 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20986 if (arg2
== NULL
) {
20987 PyErr_SetString(PyExc_TypeError
,"null reference");
20991 arg3
= (bool) SWIG_AsBool(obj2
);
20992 if (PyErr_Occurred()) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21001 Py_INCREF(Py_None
); resultobj
= Py_None
;
21008 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21009 PyObject
*resultobj
;
21010 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21012 PyObject
* obj0
= 0 ;
21013 PyObject
* obj1
= 0 ;
21014 char *kwnames
[] = {
21015 (char *) "self",(char *) "dc", NULL
21018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
21019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21021 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21024 if (arg2
== NULL
) {
21025 PyErr_SetString(PyExc_TypeError
,"null reference");
21029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21030 (arg1
)->base_OnMoveLinks(*arg2
);
21032 wxPyEndAllowThreads(__tstate
);
21033 if (PyErr_Occurred()) SWIG_fail
;
21035 Py_INCREF(Py_None
); resultobj
= Py_None
;
21042 static PyObject
*_wrap_PyDivisionShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21043 PyObject
*resultobj
;
21044 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21046 PyObject
* obj0
= 0 ;
21047 PyObject
* obj1
= 0 ;
21048 char *kwnames
[] = {
21049 (char *) "self",(char *) "dc", NULL
21052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
21053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21056 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21058 if (arg2
== NULL
) {
21059 PyErr_SetString(PyExc_TypeError
,"null reference");
21063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21064 (arg1
)->base_OnErase(*arg2
);
21066 wxPyEndAllowThreads(__tstate
);
21067 if (PyErr_Occurred()) SWIG_fail
;
21069 Py_INCREF(Py_None
); resultobj
= Py_None
;
21076 static PyObject
*_wrap_PyDivisionShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21077 PyObject
*resultobj
;
21078 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21080 PyObject
* obj0
= 0 ;
21081 PyObject
* obj1
= 0 ;
21082 char *kwnames
[] = {
21083 (char *) "self",(char *) "dc", NULL
21086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21090 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21092 if (arg2
== NULL
) {
21093 PyErr_SetString(PyExc_TypeError
,"null reference");
21097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21098 (arg1
)->base_OnEraseContents(*arg2
);
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21103 Py_INCREF(Py_None
); resultobj
= Py_None
;
21110 static PyObject
*_wrap_PyDivisionShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21111 PyObject
*resultobj
;
21112 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21114 PyObject
* obj0
= 0 ;
21115 PyObject
* obj1
= 0 ;
21116 char *kwnames
[] = {
21117 (char *) "self",(char *) "dc", NULL
21120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
21121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21124 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21126 if (arg2
== NULL
) {
21127 PyErr_SetString(PyExc_TypeError
,"null reference");
21131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21132 (arg1
)->base_OnHighlight(*arg2
);
21134 wxPyEndAllowThreads(__tstate
);
21135 if (PyErr_Occurred()) SWIG_fail
;
21137 Py_INCREF(Py_None
); resultobj
= Py_None
;
21144 static PyObject
*_wrap_PyDivisionShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21145 PyObject
*resultobj
;
21146 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21149 int arg4
= (int) 0 ;
21150 int arg5
= (int) 0 ;
21151 PyObject
* obj0
= 0 ;
21152 PyObject
* obj1
= 0 ;
21153 PyObject
* obj2
= 0 ;
21154 PyObject
* obj3
= 0 ;
21155 PyObject
* obj4
= 0 ;
21156 char *kwnames
[] = {
21157 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21163 arg2
= (double) SWIG_AsDouble(obj1
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21165 arg3
= (double) SWIG_AsDouble(obj2
);
21166 if (PyErr_Occurred()) SWIG_fail
;
21168 arg4
= (int) SWIG_AsInt(obj3
);
21169 if (PyErr_Occurred()) SWIG_fail
;
21172 arg5
= (int) SWIG_AsInt(obj4
);
21173 if (PyErr_Occurred()) SWIG_fail
;
21176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21177 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
21179 wxPyEndAllowThreads(__tstate
);
21180 if (PyErr_Occurred()) SWIG_fail
;
21182 Py_INCREF(Py_None
); resultobj
= Py_None
;
21189 static PyObject
*_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21190 PyObject
*resultobj
;
21191 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21194 int arg4
= (int) 0 ;
21195 int arg5
= (int) 0 ;
21196 PyObject
* obj0
= 0 ;
21197 PyObject
* obj1
= 0 ;
21198 PyObject
* obj2
= 0 ;
21199 PyObject
* obj3
= 0 ;
21200 PyObject
* obj4
= 0 ;
21201 char *kwnames
[] = {
21202 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21208 arg2
= (double) SWIG_AsDouble(obj1
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21210 arg3
= (double) SWIG_AsDouble(obj2
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21213 arg4
= (int) SWIG_AsInt(obj3
);
21214 if (PyErr_Occurred()) SWIG_fail
;
21217 arg5
= (int) SWIG_AsInt(obj4
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21222 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
21224 wxPyEndAllowThreads(__tstate
);
21225 if (PyErr_Occurred()) SWIG_fail
;
21227 Py_INCREF(Py_None
); resultobj
= Py_None
;
21234 static PyObject
*_wrap_PyDivisionShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
;
21236 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21239 int arg4
= (int) 0 ;
21240 int arg5
= (int) 0 ;
21241 PyObject
* obj0
= 0 ;
21242 PyObject
* obj1
= 0 ;
21243 PyObject
* obj2
= 0 ;
21244 PyObject
* obj3
= 0 ;
21245 PyObject
* obj4
= 0 ;
21246 char *kwnames
[] = {
21247 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21253 arg2
= (double) SWIG_AsDouble(obj1
);
21254 if (PyErr_Occurred()) SWIG_fail
;
21255 arg3
= (double) SWIG_AsDouble(obj2
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21258 arg4
= (int) SWIG_AsInt(obj3
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21262 arg5
= (int) SWIG_AsInt(obj4
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21272 Py_INCREF(Py_None
); resultobj
= Py_None
;
21279 static PyObject
*_wrap_PyDivisionShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21280 PyObject
*resultobj
;
21281 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21284 PyObject
* obj0
= 0 ;
21285 PyObject
* obj1
= 0 ;
21286 PyObject
* obj2
= 0 ;
21287 char *kwnames
[] = {
21288 (char *) "self",(char *) "x",(char *) "y", NULL
21291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21294 arg2
= (double) SWIG_AsDouble(obj1
);
21295 if (PyErr_Occurred()) SWIG_fail
;
21296 arg3
= (double) SWIG_AsDouble(obj2
);
21297 if (PyErr_Occurred()) SWIG_fail
;
21299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21300 (arg1
)->base_OnSize(arg2
,arg3
);
21302 wxPyEndAllowThreads(__tstate
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21305 Py_INCREF(Py_None
); resultobj
= Py_None
;
21312 static PyObject
*_wrap_PyDivisionShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21313 PyObject
*resultobj
;
21314 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21320 bool arg7
= (bool) True
;
21322 PyObject
* obj0
= 0 ;
21323 PyObject
* obj1
= 0 ;
21324 PyObject
* obj2
= 0 ;
21325 PyObject
* obj3
= 0 ;
21326 PyObject
* obj4
= 0 ;
21327 PyObject
* obj5
= 0 ;
21328 PyObject
* obj6
= 0 ;
21329 char *kwnames
[] = {
21330 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21336 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21337 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21339 if (arg2
== NULL
) {
21340 PyErr_SetString(PyExc_TypeError
,"null reference");
21343 arg3
= (double) SWIG_AsDouble(obj2
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21345 arg4
= (double) SWIG_AsDouble(obj3
);
21346 if (PyErr_Occurred()) SWIG_fail
;
21347 arg5
= (double) SWIG_AsDouble(obj4
);
21348 if (PyErr_Occurred()) SWIG_fail
;
21349 arg6
= (double) SWIG_AsDouble(obj5
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21352 arg7
= (bool) SWIG_AsBool(obj6
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21357 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21359 wxPyEndAllowThreads(__tstate
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21369 static PyObject
*_wrap_PyDivisionShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21370 PyObject
*resultobj
;
21371 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21377 bool arg7
= (bool) True
;
21378 PyObject
* obj0
= 0 ;
21379 PyObject
* obj1
= 0 ;
21380 PyObject
* obj2
= 0 ;
21381 PyObject
* obj3
= 0 ;
21382 PyObject
* obj4
= 0 ;
21383 PyObject
* obj5
= 0 ;
21384 PyObject
* obj6
= 0 ;
21385 char *kwnames
[] = {
21386 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21393 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21395 if (arg2
== NULL
) {
21396 PyErr_SetString(PyExc_TypeError
,"null reference");
21399 arg3
= (double) SWIG_AsDouble(obj2
);
21400 if (PyErr_Occurred()) SWIG_fail
;
21401 arg4
= (double) SWIG_AsDouble(obj3
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21403 arg5
= (double) SWIG_AsDouble(obj4
);
21404 if (PyErr_Occurred()) SWIG_fail
;
21405 arg6
= (double) SWIG_AsDouble(obj5
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21408 arg7
= (bool) SWIG_AsBool(obj6
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21413 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21415 wxPyEndAllowThreads(__tstate
);
21416 if (PyErr_Occurred()) SWIG_fail
;
21418 Py_INCREF(Py_None
); resultobj
= Py_None
;
21425 static PyObject
*_wrap_PyDivisionShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21426 PyObject
*resultobj
;
21427 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21431 int arg5
= (int) 0 ;
21432 int arg6
= (int) 0 ;
21433 PyObject
* obj0
= 0 ;
21434 PyObject
* obj1
= 0 ;
21435 PyObject
* obj2
= 0 ;
21436 PyObject
* obj3
= 0 ;
21437 PyObject
* obj4
= 0 ;
21438 PyObject
* obj5
= 0 ;
21439 char *kwnames
[] = {
21440 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21446 arg2
= (bool) SWIG_AsBool(obj1
);
21447 if (PyErr_Occurred()) SWIG_fail
;
21448 arg3
= (double) SWIG_AsDouble(obj2
);
21449 if (PyErr_Occurred()) SWIG_fail
;
21450 arg4
= (double) SWIG_AsDouble(obj3
);
21451 if (PyErr_Occurred()) SWIG_fail
;
21453 arg5
= (int) SWIG_AsInt(obj4
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21457 arg6
= (int) SWIG_AsInt(obj5
);
21458 if (PyErr_Occurred()) SWIG_fail
;
21461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21462 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
21464 wxPyEndAllowThreads(__tstate
);
21465 if (PyErr_Occurred()) SWIG_fail
;
21467 Py_INCREF(Py_None
); resultobj
= Py_None
;
21474 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21475 PyObject
*resultobj
;
21476 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21479 int arg4
= (int) 0 ;
21480 int arg5
= (int) 0 ;
21481 PyObject
* obj0
= 0 ;
21482 PyObject
* obj1
= 0 ;
21483 PyObject
* obj2
= 0 ;
21484 PyObject
* obj3
= 0 ;
21485 PyObject
* obj4
= 0 ;
21486 char *kwnames
[] = {
21487 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21493 arg2
= (double) SWIG_AsDouble(obj1
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21495 arg3
= (double) SWIG_AsDouble(obj2
);
21496 if (PyErr_Occurred()) SWIG_fail
;
21498 arg4
= (int) SWIG_AsInt(obj3
);
21499 if (PyErr_Occurred()) SWIG_fail
;
21502 arg5
= (int) SWIG_AsInt(obj4
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21507 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
21509 wxPyEndAllowThreads(__tstate
);
21510 if (PyErr_Occurred()) SWIG_fail
;
21512 Py_INCREF(Py_None
); resultobj
= Py_None
;
21519 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21520 PyObject
*resultobj
;
21521 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21524 int arg4
= (int) 0 ;
21525 int arg5
= (int) 0 ;
21526 PyObject
* obj0
= 0 ;
21527 PyObject
* obj1
= 0 ;
21528 PyObject
* obj2
= 0 ;
21529 PyObject
* obj3
= 0 ;
21530 PyObject
* obj4
= 0 ;
21531 char *kwnames
[] = {
21532 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21538 arg2
= (double) SWIG_AsDouble(obj1
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21540 arg3
= (double) SWIG_AsDouble(obj2
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21543 arg4
= (int) SWIG_AsInt(obj3
);
21544 if (PyErr_Occurred()) SWIG_fail
;
21547 arg5
= (int) SWIG_AsInt(obj4
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21552 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
21554 wxPyEndAllowThreads(__tstate
);
21555 if (PyErr_Occurred()) SWIG_fail
;
21557 Py_INCREF(Py_None
); resultobj
= Py_None
;
21564 static PyObject
*_wrap_PyDivisionShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21565 PyObject
*resultobj
;
21566 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21570 int arg5
= (int) 0 ;
21571 int arg6
= (int) 0 ;
21572 PyObject
* obj0
= 0 ;
21573 PyObject
* obj1
= 0 ;
21574 PyObject
* obj2
= 0 ;
21575 PyObject
* obj3
= 0 ;
21576 PyObject
* obj4
= 0 ;
21577 PyObject
* obj5
= 0 ;
21578 char *kwnames
[] = {
21579 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21585 arg2
= (bool) SWIG_AsBool(obj1
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21587 arg3
= (double) SWIG_AsDouble(obj2
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21589 arg4
= (double) SWIG_AsDouble(obj3
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21592 arg5
= (int) SWIG_AsInt(obj4
);
21593 if (PyErr_Occurred()) SWIG_fail
;
21596 arg6
= (int) SWIG_AsInt(obj5
);
21597 if (PyErr_Occurred()) SWIG_fail
;
21600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21601 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
21603 wxPyEndAllowThreads(__tstate
);
21604 if (PyErr_Occurred()) SWIG_fail
;
21606 Py_INCREF(Py_None
); resultobj
= Py_None
;
21613 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21614 PyObject
*resultobj
;
21615 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21618 int arg4
= (int) 0 ;
21619 int arg5
= (int) 0 ;
21620 PyObject
* obj0
= 0 ;
21621 PyObject
* obj1
= 0 ;
21622 PyObject
* obj2
= 0 ;
21623 PyObject
* obj3
= 0 ;
21624 PyObject
* obj4
= 0 ;
21625 char *kwnames
[] = {
21626 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21632 arg2
= (double) SWIG_AsDouble(obj1
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21634 arg3
= (double) SWIG_AsDouble(obj2
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21637 arg4
= (int) SWIG_AsInt(obj3
);
21638 if (PyErr_Occurred()) SWIG_fail
;
21641 arg5
= (int) SWIG_AsInt(obj4
);
21642 if (PyErr_Occurred()) SWIG_fail
;
21645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21646 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 Py_INCREF(Py_None
); resultobj
= Py_None
;
21658 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
;
21660 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21663 int arg4
= (int) 0 ;
21664 int arg5
= (int) 0 ;
21665 PyObject
* obj0
= 0 ;
21666 PyObject
* obj1
= 0 ;
21667 PyObject
* obj2
= 0 ;
21668 PyObject
* obj3
= 0 ;
21669 PyObject
* obj4
= 0 ;
21670 char *kwnames
[] = {
21671 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21677 arg2
= (double) SWIG_AsDouble(obj1
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21679 arg3
= (double) SWIG_AsDouble(obj2
);
21680 if (PyErr_Occurred()) SWIG_fail
;
21682 arg4
= (int) SWIG_AsInt(obj3
);
21683 if (PyErr_Occurred()) SWIG_fail
;
21686 arg5
= (int) SWIG_AsInt(obj4
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21691 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
21693 wxPyEndAllowThreads(__tstate
);
21694 if (PyErr_Occurred()) SWIG_fail
;
21696 Py_INCREF(Py_None
); resultobj
= Py_None
;
21703 static PyObject
*_wrap_PyDivisionShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21704 PyObject
*resultobj
;
21705 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21711 PyObject
* obj0
= 0 ;
21712 PyObject
* obj1
= 0 ;
21713 PyObject
* obj2
= 0 ;
21714 PyObject
* obj3
= 0 ;
21715 PyObject
* obj4
= 0 ;
21716 PyObject
* obj5
= 0 ;
21717 char *kwnames
[] = {
21718 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
21721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDivisionShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21725 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21727 if (arg2
== NULL
) {
21728 PyErr_SetString(PyExc_TypeError
,"null reference");
21731 arg3
= (double) SWIG_AsDouble(obj2
);
21732 if (PyErr_Occurred()) SWIG_fail
;
21733 arg4
= (double) SWIG_AsDouble(obj3
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21735 arg5
= (double) SWIG_AsDouble(obj4
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21737 arg6
= (double) SWIG_AsDouble(obj5
);
21738 if (PyErr_Occurred()) SWIG_fail
;
21740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21741 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
21743 wxPyEndAllowThreads(__tstate
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21746 Py_INCREF(Py_None
); resultobj
= Py_None
;
21753 static PyObject
*_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21754 PyObject
*resultobj
;
21755 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21757 PyObject
* obj0
= 0 ;
21758 PyObject
* obj1
= 0 ;
21759 char *kwnames
[] = {
21760 (char *) "self",(char *) "dc", NULL
21763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
21764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21767 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21769 if (arg2
== NULL
) {
21770 PyErr_SetString(PyExc_TypeError
,"null reference");
21774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21775 (arg1
)->base_OnDrawControlPoints(*arg2
);
21777 wxPyEndAllowThreads(__tstate
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21780 Py_INCREF(Py_None
); resultobj
= Py_None
;
21787 static PyObject
*_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21788 PyObject
*resultobj
;
21789 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21791 PyObject
* obj0
= 0 ;
21792 PyObject
* obj1
= 0 ;
21793 char *kwnames
[] = {
21794 (char *) "self",(char *) "dc", NULL
21797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
21798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21801 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21803 if (arg2
== NULL
) {
21804 PyErr_SetString(PyExc_TypeError
,"null reference");
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 (arg1
)->base_OnEraseControlPoints(*arg2
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21814 Py_INCREF(Py_None
); resultobj
= Py_None
;
21821 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21822 PyObject
*resultobj
;
21823 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21825 bool arg3
= (bool) True
;
21826 PyObject
* obj0
= 0 ;
21827 PyObject
* obj1
= 0 ;
21828 PyObject
* obj2
= 0 ;
21829 char *kwnames
[] = {
21830 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
21833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21837 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21839 if (arg2
== NULL
) {
21840 PyErr_SetString(PyExc_TypeError
,"null reference");
21844 arg3
= (bool) SWIG_AsBool(obj2
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21849 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
21851 wxPyEndAllowThreads(__tstate
);
21852 if (PyErr_Occurred()) SWIG_fail
;
21854 Py_INCREF(Py_None
); resultobj
= Py_None
;
21861 static PyObject
*_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21862 PyObject
*resultobj
;
21863 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21864 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
21868 int arg6
= (int) 0 ;
21869 int arg7
= (int) 0 ;
21870 PyObject
* obj0
= 0 ;
21871 PyObject
* obj1
= 0 ;
21872 PyObject
* obj2
= 0 ;
21873 PyObject
* obj3
= 0 ;
21874 PyObject
* obj4
= 0 ;
21875 PyObject
* obj5
= 0 ;
21876 PyObject
* obj6
= 0 ;
21877 char *kwnames
[] = {
21878 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDivisionShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
21885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21886 arg3
= (bool) SWIG_AsBool(obj2
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21888 arg4
= (double) SWIG_AsDouble(obj3
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21890 arg5
= (double) SWIG_AsDouble(obj4
);
21891 if (PyErr_Occurred()) SWIG_fail
;
21893 arg6
= (int) SWIG_AsInt(obj5
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21897 arg7
= (int) SWIG_AsInt(obj6
);
21898 if (PyErr_Occurred()) SWIG_fail
;
21901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21902 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21904 wxPyEndAllowThreads(__tstate
);
21905 if (PyErr_Occurred()) SWIG_fail
;
21907 Py_INCREF(Py_None
); resultobj
= Py_None
;
21914 static PyObject
*_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21915 PyObject
*resultobj
;
21916 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21917 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
21920 int arg5
= (int) 0 ;
21921 int arg6
= (int) 0 ;
21922 PyObject
* obj0
= 0 ;
21923 PyObject
* obj1
= 0 ;
21924 PyObject
* obj2
= 0 ;
21925 PyObject
* obj3
= 0 ;
21926 PyObject
* obj4
= 0 ;
21927 PyObject
* obj5
= 0 ;
21928 char *kwnames
[] = {
21929 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
21936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21937 arg3
= (double) SWIG_AsDouble(obj2
);
21938 if (PyErr_Occurred()) SWIG_fail
;
21939 arg4
= (double) SWIG_AsDouble(obj3
);
21940 if (PyErr_Occurred()) SWIG_fail
;
21942 arg5
= (int) SWIG_AsInt(obj4
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21946 arg6
= (int) SWIG_AsInt(obj5
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21951 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
21953 wxPyEndAllowThreads(__tstate
);
21954 if (PyErr_Occurred()) SWIG_fail
;
21956 Py_INCREF(Py_None
); resultobj
= Py_None
;
21963 static PyObject
*_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21964 PyObject
*resultobj
;
21965 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21966 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
21969 int arg5
= (int) 0 ;
21970 int arg6
= (int) 0 ;
21971 PyObject
* obj0
= 0 ;
21972 PyObject
* obj1
= 0 ;
21973 PyObject
* obj2
= 0 ;
21974 PyObject
* obj3
= 0 ;
21975 PyObject
* obj4
= 0 ;
21976 PyObject
* obj5
= 0 ;
21977 char *kwnames
[] = {
21978 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21984 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
21985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21986 arg3
= (double) SWIG_AsDouble(obj2
);
21987 if (PyErr_Occurred()) SWIG_fail
;
21988 arg4
= (double) SWIG_AsDouble(obj3
);
21989 if (PyErr_Occurred()) SWIG_fail
;
21991 arg5
= (int) SWIG_AsInt(obj4
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21995 arg6
= (int) SWIG_AsInt(obj5
);
21996 if (PyErr_Occurred()) SWIG_fail
;
21999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22000 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22002 wxPyEndAllowThreads(__tstate
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22005 Py_INCREF(Py_None
); resultobj
= Py_None
;
22012 static PyObject
*_wrap_PyDivisionShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22013 PyObject
*resultobj
;
22014 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22017 PyObject
* obj0
= 0 ;
22018 PyObject
* obj1
= 0 ;
22019 PyObject
* obj2
= 0 ;
22020 char *kwnames
[] = {
22021 (char *) "self",(char *) "w",(char *) "h", NULL
22024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22027 arg2
= (double) SWIG_AsDouble(obj1
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22029 arg3
= (double) SWIG_AsDouble(obj2
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22033 (arg1
)->base_OnBeginSize(arg2
,arg3
);
22035 wxPyEndAllowThreads(__tstate
);
22036 if (PyErr_Occurred()) SWIG_fail
;
22038 Py_INCREF(Py_None
); resultobj
= Py_None
;
22045 static PyObject
*_wrap_PyDivisionShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22046 PyObject
*resultobj
;
22047 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22050 PyObject
* obj0
= 0 ;
22051 PyObject
* obj1
= 0 ;
22052 PyObject
* obj2
= 0 ;
22053 char *kwnames
[] = {
22054 (char *) "self",(char *) "w",(char *) "h", NULL
22057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22060 arg2
= (double) SWIG_AsDouble(obj1
);
22061 if (PyErr_Occurred()) SWIG_fail
;
22062 arg3
= (double) SWIG_AsDouble(obj2
);
22063 if (PyErr_Occurred()) SWIG_fail
;
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 (arg1
)->base_OnEndSize(arg2
,arg3
);
22068 wxPyEndAllowThreads(__tstate
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22071 Py_INCREF(Py_None
); resultobj
= Py_None
;
22078 static PyObject
* PyDivisionShape_swigregister(PyObject
*self
, PyObject
*args
) {
22080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22081 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape
, obj
);
22083 return Py_BuildValue((char *)"");
22085 static PyObject
*_wrap_new_PyEllipseShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22086 PyObject
*resultobj
;
22087 double arg1
= (double) 0.0 ;
22088 double arg2
= (double) 0.0 ;
22089 wxPyEllipseShape
*result
;
22090 PyObject
* obj0
= 0 ;
22091 PyObject
* obj1
= 0 ;
22092 char *kwnames
[] = {
22093 (char *) "width",(char *) "height", NULL
22096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEllipseShape",kwnames
,&obj0
,&obj1
)) goto fail
;
22098 arg1
= (double) SWIG_AsDouble(obj0
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22102 arg2
= (double) SWIG_AsDouble(obj1
);
22103 if (PyErr_Occurred()) SWIG_fail
;
22106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22107 result
= (wxPyEllipseShape
*)new wxPyEllipseShape(arg1
,arg2
);
22109 wxPyEndAllowThreads(__tstate
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEllipseShape
, 1);
22119 static PyObject
*_wrap_PyEllipseShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22120 PyObject
*resultobj
;
22121 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22122 PyObject
*arg2
= (PyObject
*) 0 ;
22123 PyObject
*arg3
= (PyObject
*) 0 ;
22124 PyObject
* obj0
= 0 ;
22125 PyObject
* obj1
= 0 ;
22126 PyObject
* obj2
= 0 ;
22127 char *kwnames
[] = {
22128 (char *) "self",(char *) "self",(char *) "_class", NULL
22131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22138 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22140 wxPyEndAllowThreads(__tstate
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22143 Py_INCREF(Py_None
); resultobj
= Py_None
;
22150 static PyObject
*_wrap_PyEllipseShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22151 PyObject
*resultobj
;
22152 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22154 PyObject
* obj0
= 0 ;
22155 PyObject
* obj1
= 0 ;
22156 char *kwnames
[] = {
22157 (char *) "self",(char *) "dc", NULL
22160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
22161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22164 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22166 if (arg2
== NULL
) {
22167 PyErr_SetString(PyExc_TypeError
,"null reference");
22171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22172 (arg1
)->base_OnDraw(*arg2
);
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22177 Py_INCREF(Py_None
); resultobj
= Py_None
;
22184 static PyObject
*_wrap_PyEllipseShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22185 PyObject
*resultobj
;
22186 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22188 PyObject
* obj0
= 0 ;
22189 PyObject
* obj1
= 0 ;
22190 char *kwnames
[] = {
22191 (char *) "self",(char *) "dc", NULL
22194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22198 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22200 if (arg2
== NULL
) {
22201 PyErr_SetString(PyExc_TypeError
,"null reference");
22205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22206 (arg1
)->base_OnDrawContents(*arg2
);
22208 wxPyEndAllowThreads(__tstate
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22211 Py_INCREF(Py_None
); resultobj
= Py_None
;
22218 static PyObject
*_wrap_PyEllipseShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22219 PyObject
*resultobj
;
22220 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22222 bool arg3
= (bool) FALSE
;
22223 PyObject
* obj0
= 0 ;
22224 PyObject
* obj1
= 0 ;
22225 PyObject
* obj2
= 0 ;
22226 char *kwnames
[] = {
22227 (char *) "self",(char *) "dc",(char *) "erase", NULL
22230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22236 if (arg2
== NULL
) {
22237 PyErr_SetString(PyExc_TypeError
,"null reference");
22241 arg3
= (bool) SWIG_AsBool(obj2
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22251 Py_INCREF(Py_None
); resultobj
= Py_None
;
22258 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22259 PyObject
*resultobj
;
22260 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22262 PyObject
* obj0
= 0 ;
22263 PyObject
* obj1
= 0 ;
22264 char *kwnames
[] = {
22265 (char *) "self",(char *) "dc", NULL
22268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
22269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22272 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22274 if (arg2
== NULL
) {
22275 PyErr_SetString(PyExc_TypeError
,"null reference");
22279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22280 (arg1
)->base_OnMoveLinks(*arg2
);
22282 wxPyEndAllowThreads(__tstate
);
22283 if (PyErr_Occurred()) SWIG_fail
;
22285 Py_INCREF(Py_None
); resultobj
= Py_None
;
22292 static PyObject
*_wrap_PyEllipseShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22293 PyObject
*resultobj
;
22294 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22296 PyObject
* obj0
= 0 ;
22297 PyObject
* obj1
= 0 ;
22298 char *kwnames
[] = {
22299 (char *) "self",(char *) "dc", NULL
22302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
22303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22306 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22308 if (arg2
== NULL
) {
22309 PyErr_SetString(PyExc_TypeError
,"null reference");
22313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22314 (arg1
)->base_OnErase(*arg2
);
22316 wxPyEndAllowThreads(__tstate
);
22317 if (PyErr_Occurred()) SWIG_fail
;
22319 Py_INCREF(Py_None
); resultobj
= Py_None
;
22326 static PyObject
*_wrap_PyEllipseShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22327 PyObject
*resultobj
;
22328 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22330 PyObject
* obj0
= 0 ;
22331 PyObject
* obj1
= 0 ;
22332 char *kwnames
[] = {
22333 (char *) "self",(char *) "dc", NULL
22336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22340 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22342 if (arg2
== NULL
) {
22343 PyErr_SetString(PyExc_TypeError
,"null reference");
22347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22348 (arg1
)->base_OnEraseContents(*arg2
);
22350 wxPyEndAllowThreads(__tstate
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22353 Py_INCREF(Py_None
); resultobj
= Py_None
;
22360 static PyObject
*_wrap_PyEllipseShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22361 PyObject
*resultobj
;
22362 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22364 PyObject
* obj0
= 0 ;
22365 PyObject
* obj1
= 0 ;
22366 char *kwnames
[] = {
22367 (char *) "self",(char *) "dc", NULL
22370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
22371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22374 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22376 if (arg2
== NULL
) {
22377 PyErr_SetString(PyExc_TypeError
,"null reference");
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 (arg1
)->base_OnHighlight(*arg2
);
22384 wxPyEndAllowThreads(__tstate
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 Py_INCREF(Py_None
); resultobj
= Py_None
;
22394 static PyObject
*_wrap_PyEllipseShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22395 PyObject
*resultobj
;
22396 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22399 int arg4
= (int) 0 ;
22400 int arg5
= (int) 0 ;
22401 PyObject
* obj0
= 0 ;
22402 PyObject
* obj1
= 0 ;
22403 PyObject
* obj2
= 0 ;
22404 PyObject
* obj3
= 0 ;
22405 PyObject
* obj4
= 0 ;
22406 char *kwnames
[] = {
22407 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22413 arg2
= (double) SWIG_AsDouble(obj1
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22415 arg3
= (double) SWIG_AsDouble(obj2
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22418 arg4
= (int) SWIG_AsInt(obj3
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22422 arg5
= (int) SWIG_AsInt(obj4
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22427 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
22429 wxPyEndAllowThreads(__tstate
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22432 Py_INCREF(Py_None
); resultobj
= Py_None
;
22439 static PyObject
*_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22440 PyObject
*resultobj
;
22441 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22444 int arg4
= (int) 0 ;
22445 int arg5
= (int) 0 ;
22446 PyObject
* obj0
= 0 ;
22447 PyObject
* obj1
= 0 ;
22448 PyObject
* obj2
= 0 ;
22449 PyObject
* obj3
= 0 ;
22450 PyObject
* obj4
= 0 ;
22451 char *kwnames
[] = {
22452 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22458 arg2
= (double) SWIG_AsDouble(obj1
);
22459 if (PyErr_Occurred()) SWIG_fail
;
22460 arg3
= (double) SWIG_AsDouble(obj2
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22463 arg4
= (int) SWIG_AsInt(obj3
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22467 arg5
= (int) SWIG_AsInt(obj4
);
22468 if (PyErr_Occurred()) SWIG_fail
;
22471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22472 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
22474 wxPyEndAllowThreads(__tstate
);
22475 if (PyErr_Occurred()) SWIG_fail
;
22477 Py_INCREF(Py_None
); resultobj
= Py_None
;
22484 static PyObject
*_wrap_PyEllipseShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22485 PyObject
*resultobj
;
22486 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22489 int arg4
= (int) 0 ;
22490 int arg5
= (int) 0 ;
22491 PyObject
* obj0
= 0 ;
22492 PyObject
* obj1
= 0 ;
22493 PyObject
* obj2
= 0 ;
22494 PyObject
* obj3
= 0 ;
22495 PyObject
* obj4
= 0 ;
22496 char *kwnames
[] = {
22497 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22503 arg2
= (double) SWIG_AsDouble(obj1
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22505 arg3
= (double) SWIG_AsDouble(obj2
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22508 arg4
= (int) SWIG_AsInt(obj3
);
22509 if (PyErr_Occurred()) SWIG_fail
;
22512 arg5
= (int) SWIG_AsInt(obj4
);
22513 if (PyErr_Occurred()) SWIG_fail
;
22516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22517 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
22519 wxPyEndAllowThreads(__tstate
);
22520 if (PyErr_Occurred()) SWIG_fail
;
22522 Py_INCREF(Py_None
); resultobj
= Py_None
;
22529 static PyObject
*_wrap_PyEllipseShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22530 PyObject
*resultobj
;
22531 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22534 PyObject
* obj0
= 0 ;
22535 PyObject
* obj1
= 0 ;
22536 PyObject
* obj2
= 0 ;
22537 char *kwnames
[] = {
22538 (char *) "self",(char *) "x",(char *) "y", NULL
22541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22544 arg2
= (double) SWIG_AsDouble(obj1
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22546 arg3
= (double) SWIG_AsDouble(obj2
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22550 (arg1
)->base_OnSize(arg2
,arg3
);
22552 wxPyEndAllowThreads(__tstate
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22555 Py_INCREF(Py_None
); resultobj
= Py_None
;
22562 static PyObject
*_wrap_PyEllipseShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22563 PyObject
*resultobj
;
22564 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22570 bool arg7
= (bool) True
;
22572 PyObject
* obj0
= 0 ;
22573 PyObject
* obj1
= 0 ;
22574 PyObject
* obj2
= 0 ;
22575 PyObject
* obj3
= 0 ;
22576 PyObject
* obj4
= 0 ;
22577 PyObject
* obj5
= 0 ;
22578 PyObject
* obj6
= 0 ;
22579 char *kwnames
[] = {
22580 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22587 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22589 if (arg2
== NULL
) {
22590 PyErr_SetString(PyExc_TypeError
,"null reference");
22593 arg3
= (double) SWIG_AsDouble(obj2
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22595 arg4
= (double) SWIG_AsDouble(obj3
);
22596 if (PyErr_Occurred()) SWIG_fail
;
22597 arg5
= (double) SWIG_AsDouble(obj4
);
22598 if (PyErr_Occurred()) SWIG_fail
;
22599 arg6
= (double) SWIG_AsDouble(obj5
);
22600 if (PyErr_Occurred()) SWIG_fail
;
22602 arg7
= (bool) SWIG_AsBool(obj6
);
22603 if (PyErr_Occurred()) SWIG_fail
;
22606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22607 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22609 wxPyEndAllowThreads(__tstate
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22619 static PyObject
*_wrap_PyEllipseShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22620 PyObject
*resultobj
;
22621 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22627 bool arg7
= (bool) True
;
22628 PyObject
* obj0
= 0 ;
22629 PyObject
* obj1
= 0 ;
22630 PyObject
* obj2
= 0 ;
22631 PyObject
* obj3
= 0 ;
22632 PyObject
* obj4
= 0 ;
22633 PyObject
* obj5
= 0 ;
22634 PyObject
* obj6
= 0 ;
22635 char *kwnames
[] = {
22636 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22643 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22645 if (arg2
== NULL
) {
22646 PyErr_SetString(PyExc_TypeError
,"null reference");
22649 arg3
= (double) SWIG_AsDouble(obj2
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22651 arg4
= (double) SWIG_AsDouble(obj3
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22653 arg5
= (double) SWIG_AsDouble(obj4
);
22654 if (PyErr_Occurred()) SWIG_fail
;
22655 arg6
= (double) SWIG_AsDouble(obj5
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22658 arg7
= (bool) SWIG_AsBool(obj6
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22665 wxPyEndAllowThreads(__tstate
);
22666 if (PyErr_Occurred()) SWIG_fail
;
22668 Py_INCREF(Py_None
); resultobj
= Py_None
;
22675 static PyObject
*_wrap_PyEllipseShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22676 PyObject
*resultobj
;
22677 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22681 int arg5
= (int) 0 ;
22682 int arg6
= (int) 0 ;
22683 PyObject
* obj0
= 0 ;
22684 PyObject
* obj1
= 0 ;
22685 PyObject
* obj2
= 0 ;
22686 PyObject
* obj3
= 0 ;
22687 PyObject
* obj4
= 0 ;
22688 PyObject
* obj5
= 0 ;
22689 char *kwnames
[] = {
22690 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22696 arg2
= (bool) SWIG_AsBool(obj1
);
22697 if (PyErr_Occurred()) SWIG_fail
;
22698 arg3
= (double) SWIG_AsDouble(obj2
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22700 arg4
= (double) SWIG_AsDouble(obj3
);
22701 if (PyErr_Occurred()) SWIG_fail
;
22703 arg5
= (int) SWIG_AsInt(obj4
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22707 arg6
= (int) SWIG_AsInt(obj5
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22712 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22714 wxPyEndAllowThreads(__tstate
);
22715 if (PyErr_Occurred()) SWIG_fail
;
22717 Py_INCREF(Py_None
); resultobj
= Py_None
;
22724 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22725 PyObject
*resultobj
;
22726 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22729 int arg4
= (int) 0 ;
22730 int arg5
= (int) 0 ;
22731 PyObject
* obj0
= 0 ;
22732 PyObject
* obj1
= 0 ;
22733 PyObject
* obj2
= 0 ;
22734 PyObject
* obj3
= 0 ;
22735 PyObject
* obj4
= 0 ;
22736 char *kwnames
[] = {
22737 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22743 arg2
= (double) SWIG_AsDouble(obj1
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22745 arg3
= (double) SWIG_AsDouble(obj2
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22748 arg4
= (int) SWIG_AsInt(obj3
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22752 arg5
= (int) SWIG_AsInt(obj4
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22757 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
22759 wxPyEndAllowThreads(__tstate
);
22760 if (PyErr_Occurred()) SWIG_fail
;
22762 Py_INCREF(Py_None
); resultobj
= Py_None
;
22769 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22770 PyObject
*resultobj
;
22771 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22774 int arg4
= (int) 0 ;
22775 int arg5
= (int) 0 ;
22776 PyObject
* obj0
= 0 ;
22777 PyObject
* obj1
= 0 ;
22778 PyObject
* obj2
= 0 ;
22779 PyObject
* obj3
= 0 ;
22780 PyObject
* obj4
= 0 ;
22781 char *kwnames
[] = {
22782 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22788 arg2
= (double) SWIG_AsDouble(obj1
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22790 arg3
= (double) SWIG_AsDouble(obj2
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22793 arg4
= (int) SWIG_AsInt(obj3
);
22794 if (PyErr_Occurred()) SWIG_fail
;
22797 arg5
= (int) SWIG_AsInt(obj4
);
22798 if (PyErr_Occurred()) SWIG_fail
;
22801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22802 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
22804 wxPyEndAllowThreads(__tstate
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22807 Py_INCREF(Py_None
); resultobj
= Py_None
;
22814 static PyObject
*_wrap_PyEllipseShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22815 PyObject
*resultobj
;
22816 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22820 int arg5
= (int) 0 ;
22821 int arg6
= (int) 0 ;
22822 PyObject
* obj0
= 0 ;
22823 PyObject
* obj1
= 0 ;
22824 PyObject
* obj2
= 0 ;
22825 PyObject
* obj3
= 0 ;
22826 PyObject
* obj4
= 0 ;
22827 PyObject
* obj5
= 0 ;
22828 char *kwnames
[] = {
22829 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22835 arg2
= (bool) SWIG_AsBool(obj1
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22837 arg3
= (double) SWIG_AsDouble(obj2
);
22838 if (PyErr_Occurred()) SWIG_fail
;
22839 arg4
= (double) SWIG_AsDouble(obj3
);
22840 if (PyErr_Occurred()) SWIG_fail
;
22842 arg5
= (int) SWIG_AsInt(obj4
);
22843 if (PyErr_Occurred()) SWIG_fail
;
22846 arg6
= (int) SWIG_AsInt(obj5
);
22847 if (PyErr_Occurred()) SWIG_fail
;
22850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22851 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
22853 wxPyEndAllowThreads(__tstate
);
22854 if (PyErr_Occurred()) SWIG_fail
;
22856 Py_INCREF(Py_None
); resultobj
= Py_None
;
22863 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22864 PyObject
*resultobj
;
22865 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22868 int arg4
= (int) 0 ;
22869 int arg5
= (int) 0 ;
22870 PyObject
* obj0
= 0 ;
22871 PyObject
* obj1
= 0 ;
22872 PyObject
* obj2
= 0 ;
22873 PyObject
* obj3
= 0 ;
22874 PyObject
* obj4
= 0 ;
22875 char *kwnames
[] = {
22876 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22882 arg2
= (double) SWIG_AsDouble(obj1
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22884 arg3
= (double) SWIG_AsDouble(obj2
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22887 arg4
= (int) SWIG_AsInt(obj3
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22891 arg5
= (int) SWIG_AsInt(obj4
);
22892 if (PyErr_Occurred()) SWIG_fail
;
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
22898 wxPyEndAllowThreads(__tstate
);
22899 if (PyErr_Occurred()) SWIG_fail
;
22901 Py_INCREF(Py_None
); resultobj
= Py_None
;
22908 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22909 PyObject
*resultobj
;
22910 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22913 int arg4
= (int) 0 ;
22914 int arg5
= (int) 0 ;
22915 PyObject
* obj0
= 0 ;
22916 PyObject
* obj1
= 0 ;
22917 PyObject
* obj2
= 0 ;
22918 PyObject
* obj3
= 0 ;
22919 PyObject
* obj4
= 0 ;
22920 char *kwnames
[] = {
22921 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22927 arg2
= (double) SWIG_AsDouble(obj1
);
22928 if (PyErr_Occurred()) SWIG_fail
;
22929 arg3
= (double) SWIG_AsDouble(obj2
);
22930 if (PyErr_Occurred()) SWIG_fail
;
22932 arg4
= (int) SWIG_AsInt(obj3
);
22933 if (PyErr_Occurred()) SWIG_fail
;
22936 arg5
= (int) SWIG_AsInt(obj4
);
22937 if (PyErr_Occurred()) SWIG_fail
;
22940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22941 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
22943 wxPyEndAllowThreads(__tstate
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22946 Py_INCREF(Py_None
); resultobj
= Py_None
;
22953 static PyObject
*_wrap_PyEllipseShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22954 PyObject
*resultobj
;
22955 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22961 PyObject
* obj0
= 0 ;
22962 PyObject
* obj1
= 0 ;
22963 PyObject
* obj2
= 0 ;
22964 PyObject
* obj3
= 0 ;
22965 PyObject
* obj4
= 0 ;
22966 PyObject
* obj5
= 0 ;
22967 char *kwnames
[] = {
22968 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyEllipseShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22975 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22977 if (arg2
== NULL
) {
22978 PyErr_SetString(PyExc_TypeError
,"null reference");
22981 arg3
= (double) SWIG_AsDouble(obj2
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22983 arg4
= (double) SWIG_AsDouble(obj3
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22985 arg5
= (double) SWIG_AsDouble(obj4
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22987 arg6
= (double) SWIG_AsDouble(obj5
);
22988 if (PyErr_Occurred()) SWIG_fail
;
22990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22991 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
22993 wxPyEndAllowThreads(__tstate
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22996 Py_INCREF(Py_None
); resultobj
= Py_None
;
23003 static PyObject
*_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23004 PyObject
*resultobj
;
23005 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23007 PyObject
* obj0
= 0 ;
23008 PyObject
* obj1
= 0 ;
23009 char *kwnames
[] = {
23010 (char *) "self",(char *) "dc", NULL
23013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23017 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23019 if (arg2
== NULL
) {
23020 PyErr_SetString(PyExc_TypeError
,"null reference");
23024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23025 (arg1
)->base_OnDrawControlPoints(*arg2
);
23027 wxPyEndAllowThreads(__tstate
);
23028 if (PyErr_Occurred()) SWIG_fail
;
23030 Py_INCREF(Py_None
); resultobj
= Py_None
;
23037 static PyObject
*_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23038 PyObject
*resultobj
;
23039 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23041 PyObject
* obj0
= 0 ;
23042 PyObject
* obj1
= 0 ;
23043 char *kwnames
[] = {
23044 (char *) "self",(char *) "dc", NULL
23047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23050 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23051 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23053 if (arg2
== NULL
) {
23054 PyErr_SetString(PyExc_TypeError
,"null reference");
23058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23059 (arg1
)->base_OnEraseControlPoints(*arg2
);
23061 wxPyEndAllowThreads(__tstate
);
23062 if (PyErr_Occurred()) SWIG_fail
;
23064 Py_INCREF(Py_None
); resultobj
= Py_None
;
23071 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23072 PyObject
*resultobj
;
23073 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23075 bool arg3
= (bool) True
;
23076 PyObject
* obj0
= 0 ;
23077 PyObject
* obj1
= 0 ;
23078 PyObject
* obj2
= 0 ;
23079 char *kwnames
[] = {
23080 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23087 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23089 if (arg2
== NULL
) {
23090 PyErr_SetString(PyExc_TypeError
,"null reference");
23094 arg3
= (bool) SWIG_AsBool(obj2
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23099 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
23101 wxPyEndAllowThreads(__tstate
);
23102 if (PyErr_Occurred()) SWIG_fail
;
23104 Py_INCREF(Py_None
); resultobj
= Py_None
;
23111 static PyObject
*_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23112 PyObject
*resultobj
;
23113 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23114 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23118 int arg6
= (int) 0 ;
23119 int arg7
= (int) 0 ;
23120 PyObject
* obj0
= 0 ;
23121 PyObject
* obj1
= 0 ;
23122 PyObject
* obj2
= 0 ;
23123 PyObject
* obj3
= 0 ;
23124 PyObject
* obj4
= 0 ;
23125 PyObject
* obj5
= 0 ;
23126 PyObject
* obj6
= 0 ;
23127 char *kwnames
[] = {
23128 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyEllipseShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) 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_wxPyControlPoint
,
23135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23136 arg3
= (bool) SWIG_AsBool(obj2
);
23137 if (PyErr_Occurred()) SWIG_fail
;
23138 arg4
= (double) SWIG_AsDouble(obj3
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23140 arg5
= (double) SWIG_AsDouble(obj4
);
23141 if (PyErr_Occurred()) SWIG_fail
;
23143 arg6
= (int) SWIG_AsInt(obj5
);
23144 if (PyErr_Occurred()) SWIG_fail
;
23147 arg7
= (int) SWIG_AsInt(obj6
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23152 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23154 wxPyEndAllowThreads(__tstate
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23157 Py_INCREF(Py_None
); resultobj
= Py_None
;
23164 static PyObject
*_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23165 PyObject
*resultobj
;
23166 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23167 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23170 int arg5
= (int) 0 ;
23171 int arg6
= (int) 0 ;
23172 PyObject
* obj0
= 0 ;
23173 PyObject
* obj1
= 0 ;
23174 PyObject
* obj2
= 0 ;
23175 PyObject
* obj3
= 0 ;
23176 PyObject
* obj4
= 0 ;
23177 PyObject
* obj5
= 0 ;
23178 char *kwnames
[] = {
23179 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23185 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23187 arg3
= (double) SWIG_AsDouble(obj2
);
23188 if (PyErr_Occurred()) SWIG_fail
;
23189 arg4
= (double) SWIG_AsDouble(obj3
);
23190 if (PyErr_Occurred()) SWIG_fail
;
23192 arg5
= (int) SWIG_AsInt(obj4
);
23193 if (PyErr_Occurred()) SWIG_fail
;
23196 arg6
= (int) SWIG_AsInt(obj5
);
23197 if (PyErr_Occurred()) SWIG_fail
;
23200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23201 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23203 wxPyEndAllowThreads(__tstate
);
23204 if (PyErr_Occurred()) SWIG_fail
;
23206 Py_INCREF(Py_None
); resultobj
= Py_None
;
23213 static PyObject
*_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23214 PyObject
*resultobj
;
23215 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23216 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23219 int arg5
= (int) 0 ;
23220 int arg6
= (int) 0 ;
23221 PyObject
* obj0
= 0 ;
23222 PyObject
* obj1
= 0 ;
23223 PyObject
* obj2
= 0 ;
23224 PyObject
* obj3
= 0 ;
23225 PyObject
* obj4
= 0 ;
23226 PyObject
* obj5
= 0 ;
23227 char *kwnames
[] = {
23228 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23236 arg3
= (double) SWIG_AsDouble(obj2
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23238 arg4
= (double) SWIG_AsDouble(obj3
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23241 arg5
= (int) SWIG_AsInt(obj4
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23245 arg6
= (int) SWIG_AsInt(obj5
);
23246 if (PyErr_Occurred()) SWIG_fail
;
23249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23250 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23252 wxPyEndAllowThreads(__tstate
);
23253 if (PyErr_Occurred()) SWIG_fail
;
23255 Py_INCREF(Py_None
); resultobj
= Py_None
;
23262 static PyObject
*_wrap_PyEllipseShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23263 PyObject
*resultobj
;
23264 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23267 PyObject
* obj0
= 0 ;
23268 PyObject
* obj1
= 0 ;
23269 PyObject
* obj2
= 0 ;
23270 char *kwnames
[] = {
23271 (char *) "self",(char *) "w",(char *) "h", NULL
23274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23277 arg2
= (double) SWIG_AsDouble(obj1
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23279 arg3
= (double) SWIG_AsDouble(obj2
);
23280 if (PyErr_Occurred()) SWIG_fail
;
23282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23283 (arg1
)->base_OnBeginSize(arg2
,arg3
);
23285 wxPyEndAllowThreads(__tstate
);
23286 if (PyErr_Occurred()) SWIG_fail
;
23288 Py_INCREF(Py_None
); resultobj
= Py_None
;
23295 static PyObject
*_wrap_PyEllipseShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23296 PyObject
*resultobj
;
23297 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23300 PyObject
* obj0
= 0 ;
23301 PyObject
* obj1
= 0 ;
23302 PyObject
* obj2
= 0 ;
23303 char *kwnames
[] = {
23304 (char *) "self",(char *) "w",(char *) "h", NULL
23307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23310 arg2
= (double) SWIG_AsDouble(obj1
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23312 arg3
= (double) SWIG_AsDouble(obj2
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 (arg1
)->base_OnEndSize(arg2
,arg3
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23321 Py_INCREF(Py_None
); resultobj
= Py_None
;
23328 static PyObject
* PyEllipseShape_swigregister(PyObject
*self
, PyObject
*args
) {
23330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23331 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape
, obj
);
23333 return Py_BuildValue((char *)"");
23335 static PyObject
*_wrap_new_PyCircleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23336 PyObject
*resultobj
;
23337 double arg1
= (double) 0.0 ;
23338 wxPyCircleShape
*result
;
23339 PyObject
* obj0
= 0 ;
23340 char *kwnames
[] = {
23341 (char *) "width", NULL
23344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyCircleShape",kwnames
,&obj0
)) goto fail
;
23346 arg1
= (double) SWIG_AsDouble(obj0
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23351 result
= (wxPyCircleShape
*)new wxPyCircleShape(arg1
);
23353 wxPyEndAllowThreads(__tstate
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCircleShape
, 1);
23363 static PyObject
*_wrap_PyCircleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23364 PyObject
*resultobj
;
23365 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23366 PyObject
*arg2
= (PyObject
*) 0 ;
23367 PyObject
*arg3
= (PyObject
*) 0 ;
23368 PyObject
* obj0
= 0 ;
23369 PyObject
* obj1
= 0 ;
23370 PyObject
* obj2
= 0 ;
23371 char *kwnames
[] = {
23372 (char *) "self",(char *) "self",(char *) "_class", NULL
23375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23382 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23384 wxPyEndAllowThreads(__tstate
);
23385 if (PyErr_Occurred()) SWIG_fail
;
23387 Py_INCREF(Py_None
); resultobj
= Py_None
;
23394 static PyObject
*_wrap_PyCircleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23395 PyObject
*resultobj
;
23396 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23398 PyObject
* obj0
= 0 ;
23399 PyObject
* obj1
= 0 ;
23400 char *kwnames
[] = {
23401 (char *) "self",(char *) "dc", NULL
23404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
23405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23408 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23410 if (arg2
== NULL
) {
23411 PyErr_SetString(PyExc_TypeError
,"null reference");
23415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23416 (arg1
)->base_OnDraw(*arg2
);
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23421 Py_INCREF(Py_None
); resultobj
= Py_None
;
23428 static PyObject
*_wrap_PyCircleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23429 PyObject
*resultobj
;
23430 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23432 PyObject
* obj0
= 0 ;
23433 PyObject
* obj1
= 0 ;
23434 char *kwnames
[] = {
23435 (char *) "self",(char *) "dc", NULL
23438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23442 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23444 if (arg2
== NULL
) {
23445 PyErr_SetString(PyExc_TypeError
,"null reference");
23449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23450 (arg1
)->base_OnDrawContents(*arg2
);
23452 wxPyEndAllowThreads(__tstate
);
23453 if (PyErr_Occurred()) SWIG_fail
;
23455 Py_INCREF(Py_None
); resultobj
= Py_None
;
23462 static PyObject
*_wrap_PyCircleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23463 PyObject
*resultobj
;
23464 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23466 bool arg3
= (bool) FALSE
;
23467 PyObject
* obj0
= 0 ;
23468 PyObject
* obj1
= 0 ;
23469 PyObject
* obj2
= 0 ;
23470 char *kwnames
[] = {
23471 (char *) "self",(char *) "dc",(char *) "erase", NULL
23474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23478 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23480 if (arg2
== NULL
) {
23481 PyErr_SetString(PyExc_TypeError
,"null reference");
23485 arg3
= (bool) SWIG_AsBool(obj2
);
23486 if (PyErr_Occurred()) SWIG_fail
;
23489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23490 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
23492 wxPyEndAllowThreads(__tstate
);
23493 if (PyErr_Occurred()) SWIG_fail
;
23495 Py_INCREF(Py_None
); resultobj
= Py_None
;
23502 static PyObject
*_wrap_PyCircleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23503 PyObject
*resultobj
;
23504 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23506 PyObject
* obj0
= 0 ;
23507 PyObject
* obj1
= 0 ;
23508 char *kwnames
[] = {
23509 (char *) "self",(char *) "dc", NULL
23512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
23513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23515 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23516 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23518 if (arg2
== NULL
) {
23519 PyErr_SetString(PyExc_TypeError
,"null reference");
23523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 (arg1
)->base_OnMoveLinks(*arg2
);
23526 wxPyEndAllowThreads(__tstate
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23529 Py_INCREF(Py_None
); resultobj
= Py_None
;
23536 static PyObject
*_wrap_PyCircleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23537 PyObject
*resultobj
;
23538 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23540 PyObject
* obj0
= 0 ;
23541 PyObject
* obj1
= 0 ;
23542 char *kwnames
[] = {
23543 (char *) "self",(char *) "dc", NULL
23546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
23547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23550 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23552 if (arg2
== NULL
) {
23553 PyErr_SetString(PyExc_TypeError
,"null reference");
23557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23558 (arg1
)->base_OnErase(*arg2
);
23560 wxPyEndAllowThreads(__tstate
);
23561 if (PyErr_Occurred()) SWIG_fail
;
23563 Py_INCREF(Py_None
); resultobj
= Py_None
;
23570 static PyObject
*_wrap_PyCircleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23571 PyObject
*resultobj
;
23572 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23574 PyObject
* obj0
= 0 ;
23575 PyObject
* obj1
= 0 ;
23576 char *kwnames
[] = {
23577 (char *) "self",(char *) "dc", NULL
23580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23584 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23586 if (arg2
== NULL
) {
23587 PyErr_SetString(PyExc_TypeError
,"null reference");
23591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23592 (arg1
)->base_OnEraseContents(*arg2
);
23594 wxPyEndAllowThreads(__tstate
);
23595 if (PyErr_Occurred()) SWIG_fail
;
23597 Py_INCREF(Py_None
); resultobj
= Py_None
;
23604 static PyObject
*_wrap_PyCircleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23605 PyObject
*resultobj
;
23606 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23608 PyObject
* obj0
= 0 ;
23609 PyObject
* obj1
= 0 ;
23610 char *kwnames
[] = {
23611 (char *) "self",(char *) "dc", NULL
23614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
23615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23617 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23618 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23620 if (arg2
== NULL
) {
23621 PyErr_SetString(PyExc_TypeError
,"null reference");
23625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23626 (arg1
)->base_OnHighlight(*arg2
);
23628 wxPyEndAllowThreads(__tstate
);
23629 if (PyErr_Occurred()) SWIG_fail
;
23631 Py_INCREF(Py_None
); resultobj
= Py_None
;
23638 static PyObject
*_wrap_PyCircleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23639 PyObject
*resultobj
;
23640 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23643 int arg4
= (int) 0 ;
23644 int arg5
= (int) 0 ;
23645 PyObject
* obj0
= 0 ;
23646 PyObject
* obj1
= 0 ;
23647 PyObject
* obj2
= 0 ;
23648 PyObject
* obj3
= 0 ;
23649 PyObject
* obj4
= 0 ;
23650 char *kwnames
[] = {
23651 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23657 arg2
= (double) SWIG_AsDouble(obj1
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23659 arg3
= (double) SWIG_AsDouble(obj2
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23662 arg4
= (int) SWIG_AsInt(obj3
);
23663 if (PyErr_Occurred()) SWIG_fail
;
23666 arg5
= (int) SWIG_AsInt(obj4
);
23667 if (PyErr_Occurred()) SWIG_fail
;
23670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23671 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
23673 wxPyEndAllowThreads(__tstate
);
23674 if (PyErr_Occurred()) SWIG_fail
;
23676 Py_INCREF(Py_None
); resultobj
= Py_None
;
23683 static PyObject
*_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23684 PyObject
*resultobj
;
23685 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23688 int arg4
= (int) 0 ;
23689 int arg5
= (int) 0 ;
23690 PyObject
* obj0
= 0 ;
23691 PyObject
* obj1
= 0 ;
23692 PyObject
* obj2
= 0 ;
23693 PyObject
* obj3
= 0 ;
23694 PyObject
* obj4
= 0 ;
23695 char *kwnames
[] = {
23696 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23702 arg2
= (double) SWIG_AsDouble(obj1
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23704 arg3
= (double) SWIG_AsDouble(obj2
);
23705 if (PyErr_Occurred()) SWIG_fail
;
23707 arg4
= (int) SWIG_AsInt(obj3
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23711 arg5
= (int) SWIG_AsInt(obj4
);
23712 if (PyErr_Occurred()) SWIG_fail
;
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23721 Py_INCREF(Py_None
); resultobj
= Py_None
;
23728 static PyObject
*_wrap_PyCircleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23729 PyObject
*resultobj
;
23730 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23733 int arg4
= (int) 0 ;
23734 int arg5
= (int) 0 ;
23735 PyObject
* obj0
= 0 ;
23736 PyObject
* obj1
= 0 ;
23737 PyObject
* obj2
= 0 ;
23738 PyObject
* obj3
= 0 ;
23739 PyObject
* obj4
= 0 ;
23740 char *kwnames
[] = {
23741 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23747 arg2
= (double) SWIG_AsDouble(obj1
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23749 arg3
= (double) SWIG_AsDouble(obj2
);
23750 if (PyErr_Occurred()) SWIG_fail
;
23752 arg4
= (int) SWIG_AsInt(obj3
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23756 arg5
= (int) SWIG_AsInt(obj4
);
23757 if (PyErr_Occurred()) SWIG_fail
;
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
23763 wxPyEndAllowThreads(__tstate
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23766 Py_INCREF(Py_None
); resultobj
= Py_None
;
23773 static PyObject
*_wrap_PyCircleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23774 PyObject
*resultobj
;
23775 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23778 PyObject
* obj0
= 0 ;
23779 PyObject
* obj1
= 0 ;
23780 PyObject
* obj2
= 0 ;
23781 char *kwnames
[] = {
23782 (char *) "self",(char *) "x",(char *) "y", NULL
23785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23788 arg2
= (double) SWIG_AsDouble(obj1
);
23789 if (PyErr_Occurred()) SWIG_fail
;
23790 arg3
= (double) SWIG_AsDouble(obj2
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23794 (arg1
)->base_OnSize(arg2
,arg3
);
23796 wxPyEndAllowThreads(__tstate
);
23797 if (PyErr_Occurred()) SWIG_fail
;
23799 Py_INCREF(Py_None
); resultobj
= Py_None
;
23806 static PyObject
*_wrap_PyCircleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23807 PyObject
*resultobj
;
23808 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23814 bool arg7
= (bool) True
;
23816 PyObject
* obj0
= 0 ;
23817 PyObject
* obj1
= 0 ;
23818 PyObject
* obj2
= 0 ;
23819 PyObject
* obj3
= 0 ;
23820 PyObject
* obj4
= 0 ;
23821 PyObject
* obj5
= 0 ;
23822 PyObject
* obj6
= 0 ;
23823 char *kwnames
[] = {
23824 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23831 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23833 if (arg2
== NULL
) {
23834 PyErr_SetString(PyExc_TypeError
,"null reference");
23837 arg3
= (double) SWIG_AsDouble(obj2
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23839 arg4
= (double) SWIG_AsDouble(obj3
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23841 arg5
= (double) SWIG_AsDouble(obj4
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23843 arg6
= (double) SWIG_AsDouble(obj5
);
23844 if (PyErr_Occurred()) SWIG_fail
;
23846 arg7
= (bool) SWIG_AsBool(obj6
);
23847 if (PyErr_Occurred()) SWIG_fail
;
23850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23851 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23853 wxPyEndAllowThreads(__tstate
);
23854 if (PyErr_Occurred()) SWIG_fail
;
23856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23863 static PyObject
*_wrap_PyCircleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23864 PyObject
*resultobj
;
23865 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23871 bool arg7
= (bool) True
;
23872 PyObject
* obj0
= 0 ;
23873 PyObject
* obj1
= 0 ;
23874 PyObject
* obj2
= 0 ;
23875 PyObject
* obj3
= 0 ;
23876 PyObject
* obj4
= 0 ;
23877 PyObject
* obj5
= 0 ;
23878 PyObject
* obj6
= 0 ;
23879 char *kwnames
[] = {
23880 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23887 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23889 if (arg2
== NULL
) {
23890 PyErr_SetString(PyExc_TypeError
,"null reference");
23893 arg3
= (double) SWIG_AsDouble(obj2
);
23894 if (PyErr_Occurred()) SWIG_fail
;
23895 arg4
= (double) SWIG_AsDouble(obj3
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23897 arg5
= (double) SWIG_AsDouble(obj4
);
23898 if (PyErr_Occurred()) SWIG_fail
;
23899 arg6
= (double) SWIG_AsDouble(obj5
);
23900 if (PyErr_Occurred()) SWIG_fail
;
23902 arg7
= (bool) SWIG_AsBool(obj6
);
23903 if (PyErr_Occurred()) SWIG_fail
;
23906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23907 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23909 wxPyEndAllowThreads(__tstate
);
23910 if (PyErr_Occurred()) SWIG_fail
;
23912 Py_INCREF(Py_None
); resultobj
= Py_None
;
23919 static PyObject
*_wrap_PyCircleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23920 PyObject
*resultobj
;
23921 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23925 int arg5
= (int) 0 ;
23926 int arg6
= (int) 0 ;
23927 PyObject
* obj0
= 0 ;
23928 PyObject
* obj1
= 0 ;
23929 PyObject
* obj2
= 0 ;
23930 PyObject
* obj3
= 0 ;
23931 PyObject
* obj4
= 0 ;
23932 PyObject
* obj5
= 0 ;
23933 char *kwnames
[] = {
23934 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23940 arg2
= (bool) SWIG_AsBool(obj1
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23942 arg3
= (double) SWIG_AsDouble(obj2
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23944 arg4
= (double) SWIG_AsDouble(obj3
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23947 arg5
= (int) SWIG_AsInt(obj4
);
23948 if (PyErr_Occurred()) SWIG_fail
;
23951 arg6
= (int) SWIG_AsInt(obj5
);
23952 if (PyErr_Occurred()) SWIG_fail
;
23955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23956 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23961 Py_INCREF(Py_None
); resultobj
= Py_None
;
23968 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23969 PyObject
*resultobj
;
23970 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23973 int arg4
= (int) 0 ;
23974 int arg5
= (int) 0 ;
23975 PyObject
* obj0
= 0 ;
23976 PyObject
* obj1
= 0 ;
23977 PyObject
* obj2
= 0 ;
23978 PyObject
* obj3
= 0 ;
23979 PyObject
* obj4
= 0 ;
23980 char *kwnames
[] = {
23981 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23987 arg2
= (double) SWIG_AsDouble(obj1
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23989 arg3
= (double) SWIG_AsDouble(obj2
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23992 arg4
= (int) SWIG_AsInt(obj3
);
23993 if (PyErr_Occurred()) SWIG_fail
;
23996 arg5
= (int) SWIG_AsInt(obj4
);
23997 if (PyErr_Occurred()) SWIG_fail
;
24000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24001 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
24003 wxPyEndAllowThreads(__tstate
);
24004 if (PyErr_Occurred()) SWIG_fail
;
24006 Py_INCREF(Py_None
); resultobj
= Py_None
;
24013 static PyObject
*_wrap_PyCircleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24014 PyObject
*resultobj
;
24015 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24018 int arg4
= (int) 0 ;
24019 int arg5
= (int) 0 ;
24020 PyObject
* obj0
= 0 ;
24021 PyObject
* obj1
= 0 ;
24022 PyObject
* obj2
= 0 ;
24023 PyObject
* obj3
= 0 ;
24024 PyObject
* obj4
= 0 ;
24025 char *kwnames
[] = {
24026 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24032 arg2
= (double) SWIG_AsDouble(obj1
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24034 arg3
= (double) SWIG_AsDouble(obj2
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24037 arg4
= (int) SWIG_AsInt(obj3
);
24038 if (PyErr_Occurred()) SWIG_fail
;
24041 arg5
= (int) SWIG_AsInt(obj4
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24046 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
24048 wxPyEndAllowThreads(__tstate
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24051 Py_INCREF(Py_None
); resultobj
= Py_None
;
24058 static PyObject
*_wrap_PyCircleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24059 PyObject
*resultobj
;
24060 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24064 int arg5
= (int) 0 ;
24065 int arg6
= (int) 0 ;
24066 PyObject
* obj0
= 0 ;
24067 PyObject
* obj1
= 0 ;
24068 PyObject
* obj2
= 0 ;
24069 PyObject
* obj3
= 0 ;
24070 PyObject
* obj4
= 0 ;
24071 PyObject
* obj5
= 0 ;
24072 char *kwnames
[] = {
24073 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24079 arg2
= (bool) SWIG_AsBool(obj1
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24081 arg3
= (double) SWIG_AsDouble(obj2
);
24082 if (PyErr_Occurred()) SWIG_fail
;
24083 arg4
= (double) SWIG_AsDouble(obj3
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24086 arg5
= (int) SWIG_AsInt(obj4
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24090 arg6
= (int) SWIG_AsInt(obj5
);
24091 if (PyErr_Occurred()) SWIG_fail
;
24094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24095 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
24097 wxPyEndAllowThreads(__tstate
);
24098 if (PyErr_Occurred()) SWIG_fail
;
24100 Py_INCREF(Py_None
); resultobj
= Py_None
;
24107 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24108 PyObject
*resultobj
;
24109 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24112 int arg4
= (int) 0 ;
24113 int arg5
= (int) 0 ;
24114 PyObject
* obj0
= 0 ;
24115 PyObject
* obj1
= 0 ;
24116 PyObject
* obj2
= 0 ;
24117 PyObject
* obj3
= 0 ;
24118 PyObject
* obj4
= 0 ;
24119 char *kwnames
[] = {
24120 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24126 arg2
= (double) SWIG_AsDouble(obj1
);
24127 if (PyErr_Occurred()) SWIG_fail
;
24128 arg3
= (double) SWIG_AsDouble(obj2
);
24129 if (PyErr_Occurred()) SWIG_fail
;
24131 arg4
= (int) SWIG_AsInt(obj3
);
24132 if (PyErr_Occurred()) SWIG_fail
;
24135 arg5
= (int) SWIG_AsInt(obj4
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24140 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
24142 wxPyEndAllowThreads(__tstate
);
24143 if (PyErr_Occurred()) SWIG_fail
;
24145 Py_INCREF(Py_None
); resultobj
= Py_None
;
24152 static PyObject
*_wrap_PyCircleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24153 PyObject
*resultobj
;
24154 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24157 int arg4
= (int) 0 ;
24158 int arg5
= (int) 0 ;
24159 PyObject
* obj0
= 0 ;
24160 PyObject
* obj1
= 0 ;
24161 PyObject
* obj2
= 0 ;
24162 PyObject
* obj3
= 0 ;
24163 PyObject
* obj4
= 0 ;
24164 char *kwnames
[] = {
24165 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24171 arg2
= (double) SWIG_AsDouble(obj1
);
24172 if (PyErr_Occurred()) SWIG_fail
;
24173 arg3
= (double) SWIG_AsDouble(obj2
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24176 arg4
= (int) SWIG_AsInt(obj3
);
24177 if (PyErr_Occurred()) SWIG_fail
;
24180 arg5
= (int) SWIG_AsInt(obj4
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24185 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
24187 wxPyEndAllowThreads(__tstate
);
24188 if (PyErr_Occurred()) SWIG_fail
;
24190 Py_INCREF(Py_None
); resultobj
= Py_None
;
24197 static PyObject
*_wrap_PyCircleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24198 PyObject
*resultobj
;
24199 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24205 PyObject
* obj0
= 0 ;
24206 PyObject
* obj1
= 0 ;
24207 PyObject
* obj2
= 0 ;
24208 PyObject
* obj3
= 0 ;
24209 PyObject
* obj4
= 0 ;
24210 PyObject
* obj5
= 0 ;
24211 char *kwnames
[] = {
24212 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyCircleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24219 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24221 if (arg2
== NULL
) {
24222 PyErr_SetString(PyExc_TypeError
,"null reference");
24225 arg3
= (double) SWIG_AsDouble(obj2
);
24226 if (PyErr_Occurred()) SWIG_fail
;
24227 arg4
= (double) SWIG_AsDouble(obj3
);
24228 if (PyErr_Occurred()) SWIG_fail
;
24229 arg5
= (double) SWIG_AsDouble(obj4
);
24230 if (PyErr_Occurred()) SWIG_fail
;
24231 arg6
= (double) SWIG_AsDouble(obj5
);
24232 if (PyErr_Occurred()) SWIG_fail
;
24234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24235 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
24237 wxPyEndAllowThreads(__tstate
);
24238 if (PyErr_Occurred()) SWIG_fail
;
24240 Py_INCREF(Py_None
); resultobj
= Py_None
;
24247 static PyObject
*_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24248 PyObject
*resultobj
;
24249 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24251 PyObject
* obj0
= 0 ;
24252 PyObject
* obj1
= 0 ;
24253 char *kwnames
[] = {
24254 (char *) "self",(char *) "dc", NULL
24257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24260 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24261 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24263 if (arg2
== NULL
) {
24264 PyErr_SetString(PyExc_TypeError
,"null reference");
24268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24269 (arg1
)->base_OnDrawControlPoints(*arg2
);
24271 wxPyEndAllowThreads(__tstate
);
24272 if (PyErr_Occurred()) SWIG_fail
;
24274 Py_INCREF(Py_None
); resultobj
= Py_None
;
24281 static PyObject
*_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24282 PyObject
*resultobj
;
24283 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24285 PyObject
* obj0
= 0 ;
24286 PyObject
* obj1
= 0 ;
24287 char *kwnames
[] = {
24288 (char *) "self",(char *) "dc", NULL
24291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24294 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24295 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24297 if (arg2
== NULL
) {
24298 PyErr_SetString(PyExc_TypeError
,"null reference");
24302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24303 (arg1
)->base_OnEraseControlPoints(*arg2
);
24305 wxPyEndAllowThreads(__tstate
);
24306 if (PyErr_Occurred()) SWIG_fail
;
24308 Py_INCREF(Py_None
); resultobj
= Py_None
;
24315 static PyObject
*_wrap_PyCircleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24316 PyObject
*resultobj
;
24317 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24319 bool arg3
= (bool) True
;
24320 PyObject
* obj0
= 0 ;
24321 PyObject
* obj1
= 0 ;
24322 PyObject
* obj2
= 0 ;
24323 char *kwnames
[] = {
24324 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24330 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24331 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24333 if (arg2
== NULL
) {
24334 PyErr_SetString(PyExc_TypeError
,"null reference");
24338 arg3
= (bool) SWIG_AsBool(obj2
);
24339 if (PyErr_Occurred()) SWIG_fail
;
24342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24343 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
24345 wxPyEndAllowThreads(__tstate
);
24346 if (PyErr_Occurred()) SWIG_fail
;
24348 Py_INCREF(Py_None
); resultobj
= Py_None
;
24355 static PyObject
*_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24356 PyObject
*resultobj
;
24357 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24358 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24362 int arg6
= (int) 0 ;
24363 int arg7
= (int) 0 ;
24364 PyObject
* obj0
= 0 ;
24365 PyObject
* obj1
= 0 ;
24366 PyObject
* obj2
= 0 ;
24367 PyObject
* obj3
= 0 ;
24368 PyObject
* obj4
= 0 ;
24369 PyObject
* obj5
= 0 ;
24370 PyObject
* obj6
= 0 ;
24371 char *kwnames
[] = {
24372 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyCircleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24380 arg3
= (bool) SWIG_AsBool(obj2
);
24381 if (PyErr_Occurred()) SWIG_fail
;
24382 arg4
= (double) SWIG_AsDouble(obj3
);
24383 if (PyErr_Occurred()) SWIG_fail
;
24384 arg5
= (double) SWIG_AsDouble(obj4
);
24385 if (PyErr_Occurred()) SWIG_fail
;
24387 arg6
= (int) SWIG_AsInt(obj5
);
24388 if (PyErr_Occurred()) SWIG_fail
;
24391 arg7
= (int) SWIG_AsInt(obj6
);
24392 if (PyErr_Occurred()) SWIG_fail
;
24395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24396 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24398 wxPyEndAllowThreads(__tstate
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24401 Py_INCREF(Py_None
); resultobj
= Py_None
;
24408 static PyObject
*_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24409 PyObject
*resultobj
;
24410 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24411 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24414 int arg5
= (int) 0 ;
24415 int arg6
= (int) 0 ;
24416 PyObject
* obj0
= 0 ;
24417 PyObject
* obj1
= 0 ;
24418 PyObject
* obj2
= 0 ;
24419 PyObject
* obj3
= 0 ;
24420 PyObject
* obj4
= 0 ;
24421 PyObject
* obj5
= 0 ;
24422 char *kwnames
[] = {
24423 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24431 arg3
= (double) SWIG_AsDouble(obj2
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24433 arg4
= (double) SWIG_AsDouble(obj3
);
24434 if (PyErr_Occurred()) SWIG_fail
;
24436 arg5
= (int) SWIG_AsInt(obj4
);
24437 if (PyErr_Occurred()) SWIG_fail
;
24440 arg6
= (int) SWIG_AsInt(obj5
);
24441 if (PyErr_Occurred()) SWIG_fail
;
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24447 wxPyEndAllowThreads(__tstate
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24450 Py_INCREF(Py_None
); resultobj
= Py_None
;
24457 static PyObject
*_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24458 PyObject
*resultobj
;
24459 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24460 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24463 int arg5
= (int) 0 ;
24464 int arg6
= (int) 0 ;
24465 PyObject
* obj0
= 0 ;
24466 PyObject
* obj1
= 0 ;
24467 PyObject
* obj2
= 0 ;
24468 PyObject
* obj3
= 0 ;
24469 PyObject
* obj4
= 0 ;
24470 PyObject
* obj5
= 0 ;
24471 char *kwnames
[] = {
24472 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24478 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24480 arg3
= (double) SWIG_AsDouble(obj2
);
24481 if (PyErr_Occurred()) SWIG_fail
;
24482 arg4
= (double) SWIG_AsDouble(obj3
);
24483 if (PyErr_Occurred()) SWIG_fail
;
24485 arg5
= (int) SWIG_AsInt(obj4
);
24486 if (PyErr_Occurred()) SWIG_fail
;
24489 arg6
= (int) SWIG_AsInt(obj5
);
24490 if (PyErr_Occurred()) SWIG_fail
;
24493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24494 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24496 wxPyEndAllowThreads(__tstate
);
24497 if (PyErr_Occurred()) SWIG_fail
;
24499 Py_INCREF(Py_None
); resultobj
= Py_None
;
24506 static PyObject
*_wrap_PyCircleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24507 PyObject
*resultobj
;
24508 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24511 PyObject
* obj0
= 0 ;
24512 PyObject
* obj1
= 0 ;
24513 PyObject
* obj2
= 0 ;
24514 char *kwnames
[] = {
24515 (char *) "self",(char *) "w",(char *) "h", NULL
24518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24521 arg2
= (double) SWIG_AsDouble(obj1
);
24522 if (PyErr_Occurred()) SWIG_fail
;
24523 arg3
= (double) SWIG_AsDouble(obj2
);
24524 if (PyErr_Occurred()) SWIG_fail
;
24526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24527 (arg1
)->base_OnBeginSize(arg2
,arg3
);
24529 wxPyEndAllowThreads(__tstate
);
24530 if (PyErr_Occurred()) SWIG_fail
;
24532 Py_INCREF(Py_None
); resultobj
= Py_None
;
24539 static PyObject
*_wrap_PyCircleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24540 PyObject
*resultobj
;
24541 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24544 PyObject
* obj0
= 0 ;
24545 PyObject
* obj1
= 0 ;
24546 PyObject
* obj2
= 0 ;
24547 char *kwnames
[] = {
24548 (char *) "self",(char *) "w",(char *) "h", NULL
24551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24554 arg2
= (double) SWIG_AsDouble(obj1
);
24555 if (PyErr_Occurred()) SWIG_fail
;
24556 arg3
= (double) SWIG_AsDouble(obj2
);
24557 if (PyErr_Occurred()) SWIG_fail
;
24559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24560 (arg1
)->base_OnEndSize(arg2
,arg3
);
24562 wxPyEndAllowThreads(__tstate
);
24563 if (PyErr_Occurred()) SWIG_fail
;
24565 Py_INCREF(Py_None
); resultobj
= Py_None
;
24572 static PyObject
* PyCircleShape_swigregister(PyObject
*self
, PyObject
*args
) {
24574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24575 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape
, obj
);
24577 return Py_BuildValue((char *)"");
24579 static PyObject
*_wrap_new_ArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24580 PyObject
*resultobj
;
24581 int arg1
= (int) 0 ;
24582 int arg2
= (int) 0 ;
24583 double arg3
= (double) 0.0 ;
24584 double arg4
= (double) 0.0 ;
24585 wxString
const &arg5_defvalue
= wxPyEmptyString
;
24586 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
24587 wxPseudoMetaFile
*arg6
= (wxPseudoMetaFile
*) NULL
;
24588 long arg7
= (long) -1 ;
24589 wxArrowHead
*result
;
24590 bool temp5
= False
;
24591 PyObject
* obj0
= 0 ;
24592 PyObject
* obj1
= 0 ;
24593 PyObject
* obj2
= 0 ;
24594 PyObject
* obj3
= 0 ;
24595 PyObject
* obj4
= 0 ;
24596 PyObject
* obj5
= 0 ;
24597 PyObject
* obj6
= 0 ;
24598 char *kwnames
[] = {
24599 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
24602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOO:new_ArrowHead",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24604 arg1
= (int) SWIG_AsInt(obj0
);
24605 if (PyErr_Occurred()) SWIG_fail
;
24608 arg2
= (int) SWIG_AsInt(obj1
);
24609 if (PyErr_Occurred()) SWIG_fail
;
24612 arg3
= (double) SWIG_AsDouble(obj2
);
24613 if (PyErr_Occurred()) SWIG_fail
;
24616 arg4
= (double) SWIG_AsDouble(obj3
);
24617 if (PyErr_Occurred()) SWIG_fail
;
24621 arg5
= wxString_in_helper(obj4
);
24622 if (arg5
== NULL
) SWIG_fail
;
24627 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPseudoMetaFile
,
24628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24631 arg7
= (long) SWIG_AsLong(obj6
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24636 result
= (wxArrowHead
*)new wxArrowHead(arg1
,arg2
,arg3
,arg4
,(wxString
const &)*arg5
,arg6
,arg7
);
24638 wxPyEndAllowThreads(__tstate
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24642 resultobj
= wxPyMake_wxObject(result
);
24658 static PyObject
*_wrap_delete_ArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24659 PyObject
*resultobj
;
24660 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24661 PyObject
* obj0
= 0 ;
24662 char *kwnames
[] = {
24663 (char *) "self", NULL
24666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArrowHead",kwnames
,&obj0
)) goto fail
;
24667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24673 wxPyEndAllowThreads(__tstate
);
24674 if (PyErr_Occurred()) SWIG_fail
;
24676 Py_INCREF(Py_None
); resultobj
= Py_None
;
24683 static PyObject
*_wrap_ArrowHead__GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24684 PyObject
*resultobj
;
24685 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24687 PyObject
* obj0
= 0 ;
24688 char *kwnames
[] = {
24689 (char *) "self", NULL
24692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead__GetType",kwnames
,&obj0
)) goto fail
;
24693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24697 result
= (int)(arg1
)->_GetType();
24699 wxPyEndAllowThreads(__tstate
);
24700 if (PyErr_Occurred()) SWIG_fail
;
24702 resultobj
= SWIG_FromInt((int)result
);
24709 static PyObject
*_wrap_ArrowHead_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24710 PyObject
*resultobj
;
24711 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24713 PyObject
* obj0
= 0 ;
24714 char *kwnames
[] = {
24715 (char *) "self", NULL
24718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetPosition",kwnames
,&obj0
)) goto fail
;
24719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24723 result
= (int)(arg1
)->GetPosition();
24725 wxPyEndAllowThreads(__tstate
);
24726 if (PyErr_Occurred()) SWIG_fail
;
24728 resultobj
= SWIG_FromInt((int)result
);
24735 static PyObject
*_wrap_ArrowHead_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24736 PyObject
*resultobj
;
24737 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24739 PyObject
* obj0
= 0 ;
24740 PyObject
* obj1
= 0 ;
24741 char *kwnames
[] = {
24742 (char *) "self",(char *) "pos", NULL
24745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24748 arg2
= (int) SWIG_AsInt(obj1
);
24749 if (PyErr_Occurred()) SWIG_fail
;
24751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24752 (arg1
)->SetPosition(arg2
);
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24757 Py_INCREF(Py_None
); resultobj
= Py_None
;
24764 static PyObject
*_wrap_ArrowHead_GetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24765 PyObject
*resultobj
;
24766 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24768 PyObject
* obj0
= 0 ;
24769 char *kwnames
[] = {
24770 (char *) "self", NULL
24773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetXOffset",kwnames
,&obj0
)) goto fail
;
24774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24778 result
= (double)(arg1
)->GetXOffset();
24780 wxPyEndAllowThreads(__tstate
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24783 resultobj
= SWIG_FromDouble((double)result
);
24790 static PyObject
*_wrap_ArrowHead_GetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24791 PyObject
*resultobj
;
24792 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24794 PyObject
* obj0
= 0 ;
24795 char *kwnames
[] = {
24796 (char *) "self", NULL
24799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetYOffset",kwnames
,&obj0
)) goto fail
;
24800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24804 result
= (double)(arg1
)->GetYOffset();
24806 wxPyEndAllowThreads(__tstate
);
24807 if (PyErr_Occurred()) SWIG_fail
;
24809 resultobj
= SWIG_FromDouble((double)result
);
24816 static PyObject
*_wrap_ArrowHead_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24817 PyObject
*resultobj
;
24818 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24820 PyObject
* obj0
= 0 ;
24821 char *kwnames
[] = {
24822 (char *) "self", NULL
24825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSpacing",kwnames
,&obj0
)) goto fail
;
24826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24830 result
= (double)(arg1
)->GetSpacing();
24832 wxPyEndAllowThreads(__tstate
);
24833 if (PyErr_Occurred()) SWIG_fail
;
24835 resultobj
= SWIG_FromDouble((double)result
);
24842 static PyObject
*_wrap_ArrowHead_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24843 PyObject
*resultobj
;
24844 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24846 PyObject
* obj0
= 0 ;
24847 char *kwnames
[] = {
24848 (char *) "self", NULL
24851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSize",kwnames
,&obj0
)) goto fail
;
24852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24856 result
= (double)(arg1
)->GetSize();
24858 wxPyEndAllowThreads(__tstate
);
24859 if (PyErr_Occurred()) SWIG_fail
;
24861 resultobj
= SWIG_FromDouble((double)result
);
24868 static PyObject
*_wrap_ArrowHead_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24869 PyObject
*resultobj
;
24870 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24872 PyObject
* obj0
= 0 ;
24873 char *kwnames
[] = {
24874 (char *) "self", NULL
24877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetName",kwnames
,&obj0
)) goto fail
;
24878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24882 result
= (arg1
)->GetName();
24884 wxPyEndAllowThreads(__tstate
);
24885 if (PyErr_Occurred()) SWIG_fail
;
24889 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24891 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24900 static PyObject
*_wrap_ArrowHead_SetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24901 PyObject
*resultobj
;
24902 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24904 PyObject
* obj0
= 0 ;
24905 PyObject
* obj1
= 0 ;
24906 char *kwnames
[] = {
24907 (char *) "self",(char *) "x", NULL
24910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetXOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
24911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24913 arg2
= (double) SWIG_AsDouble(obj1
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24917 (arg1
)->SetXOffset(arg2
);
24919 wxPyEndAllowThreads(__tstate
);
24920 if (PyErr_Occurred()) SWIG_fail
;
24922 Py_INCREF(Py_None
); resultobj
= Py_None
;
24929 static PyObject
*_wrap_ArrowHead_SetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24930 PyObject
*resultobj
;
24931 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24933 PyObject
* obj0
= 0 ;
24934 PyObject
* obj1
= 0 ;
24935 char *kwnames
[] = {
24936 (char *) "self",(char *) "y", NULL
24939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetYOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
24940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24942 arg2
= (double) SWIG_AsDouble(obj1
);
24943 if (PyErr_Occurred()) SWIG_fail
;
24945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24946 (arg1
)->SetYOffset(arg2
);
24948 wxPyEndAllowThreads(__tstate
);
24949 if (PyErr_Occurred()) SWIG_fail
;
24951 Py_INCREF(Py_None
); resultobj
= Py_None
;
24958 static PyObject
*_wrap_ArrowHead_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24959 PyObject
*resultobj
;
24960 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24961 wxPseudoMetaFile
*result
;
24962 PyObject
* obj0
= 0 ;
24963 char *kwnames
[] = {
24964 (char *) "self", NULL
24967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetMetaFile",kwnames
,&obj0
)) goto fail
;
24968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24972 result
= (wxPseudoMetaFile
*)(arg1
)->GetMetaFile();
24974 wxPyEndAllowThreads(__tstate
);
24975 if (PyErr_Occurred()) SWIG_fail
;
24978 resultobj
= wxPyMake_wxObject(result
);
24986 static PyObject
*_wrap_ArrowHead_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24987 PyObject
*resultobj
;
24988 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24990 PyObject
* obj0
= 0 ;
24991 char *kwnames
[] = {
24992 (char *) "self", NULL
24995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetId",kwnames
,&obj0
)) goto fail
;
24996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25000 result
= (long)(arg1
)->GetId();
25002 wxPyEndAllowThreads(__tstate
);
25003 if (PyErr_Occurred()) SWIG_fail
;
25005 resultobj
= SWIG_FromLong((long)result
);
25012 static PyObject
*_wrap_ArrowHead_GetArrowEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25013 PyObject
*resultobj
;
25014 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25016 PyObject
* obj0
= 0 ;
25017 char *kwnames
[] = {
25018 (char *) "self", NULL
25021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowEnd",kwnames
,&obj0
)) goto fail
;
25022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25026 result
= (int)(arg1
)->GetArrowEnd();
25028 wxPyEndAllowThreads(__tstate
);
25029 if (PyErr_Occurred()) SWIG_fail
;
25031 resultobj
= SWIG_FromInt((int)result
);
25038 static PyObject
*_wrap_ArrowHead_GetArrowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25039 PyObject
*resultobj
;
25040 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25042 PyObject
* obj0
= 0 ;
25043 char *kwnames
[] = {
25044 (char *) "self", NULL
25047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowSize",kwnames
,&obj0
)) goto fail
;
25048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25052 result
= (double)(arg1
)->GetArrowSize();
25054 wxPyEndAllowThreads(__tstate
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25057 resultobj
= SWIG_FromDouble((double)result
);
25064 static PyObject
*_wrap_ArrowHead_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25065 PyObject
*resultobj
;
25066 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25068 PyObject
* obj0
= 0 ;
25069 PyObject
* obj1
= 0 ;
25070 char *kwnames
[] = {
25071 (char *) "self",(char *) "size", NULL
25074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25077 arg2
= (double) SWIG_AsDouble(obj1
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25081 (arg1
)->SetSize(arg2
);
25083 wxPyEndAllowThreads(__tstate
);
25084 if (PyErr_Occurred()) SWIG_fail
;
25086 Py_INCREF(Py_None
); resultobj
= Py_None
;
25093 static PyObject
*_wrap_ArrowHead_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25094 PyObject
*resultobj
;
25095 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25097 PyObject
* obj0
= 0 ;
25098 PyObject
* obj1
= 0 ;
25099 char *kwnames
[] = {
25100 (char *) "self",(char *) "sp", NULL
25103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25106 arg2
= (double) SWIG_AsDouble(obj1
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25110 (arg1
)->SetSpacing(arg2
);
25112 wxPyEndAllowThreads(__tstate
);
25113 if (PyErr_Occurred()) SWIG_fail
;
25115 Py_INCREF(Py_None
); resultobj
= Py_None
;
25122 static PyObject
* ArrowHead_swigregister(PyObject
*self
, PyObject
*args
) {
25124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25125 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead
, obj
);
25127 return Py_BuildValue((char *)"");
25129 static PyObject
*_wrap_new_PyLineShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25130 PyObject
*resultobj
;
25131 wxPyLineShape
*result
;
25132 char *kwnames
[] = {
25136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLineShape",kwnames
)) goto fail
;
25138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25139 result
= (wxPyLineShape
*)new wxPyLineShape();
25141 wxPyEndAllowThreads(__tstate
);
25142 if (PyErr_Occurred()) SWIG_fail
;
25144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLineShape
, 1);
25151 static PyObject
*_wrap_PyLineShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25152 PyObject
*resultobj
;
25153 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25154 PyObject
*arg2
= (PyObject
*) 0 ;
25155 PyObject
*arg3
= (PyObject
*) 0 ;
25156 PyObject
* obj0
= 0 ;
25157 PyObject
* obj1
= 0 ;
25158 PyObject
* obj2
= 0 ;
25159 char *kwnames
[] = {
25160 (char *) "self",(char *) "self",(char *) "_class", NULL
25163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25170 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25172 wxPyEndAllowThreads(__tstate
);
25173 if (PyErr_Occurred()) SWIG_fail
;
25175 Py_INCREF(Py_None
); resultobj
= Py_None
;
25182 static PyObject
*_wrap_PyLineShape_AddArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25183 PyObject
*resultobj
;
25184 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25186 int arg3
= (int) ARROW_POSITION_END
;
25187 double arg4
= (double) 10.0 ;
25188 double arg5
= (double) 0.0 ;
25189 wxString
const &arg6_defvalue
= wxPyEmptyString
;
25190 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25191 wxPseudoMetaFile
*arg7
= (wxPseudoMetaFile
*) NULL
;
25192 long arg8
= (long) -1 ;
25193 bool temp6
= False
;
25194 PyObject
* obj0
= 0 ;
25195 PyObject
* obj1
= 0 ;
25196 PyObject
* obj2
= 0 ;
25197 PyObject
* obj3
= 0 ;
25198 PyObject
* obj4
= 0 ;
25199 PyObject
* obj5
= 0 ;
25200 PyObject
* obj6
= 0 ;
25201 PyObject
* obj7
= 0 ;
25202 char *kwnames
[] = {
25203 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:PyLineShape_AddArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25209 arg2
= (int) SWIG_AsInt(obj1
);
25210 if (PyErr_Occurred()) SWIG_fail
;
25212 arg3
= (int) SWIG_AsInt(obj2
);
25213 if (PyErr_Occurred()) SWIG_fail
;
25216 arg4
= (double) SWIG_AsDouble(obj3
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25220 arg5
= (double) SWIG_AsDouble(obj4
);
25221 if (PyErr_Occurred()) SWIG_fail
;
25225 arg6
= wxString_in_helper(obj5
);
25226 if (arg6
== NULL
) SWIG_fail
;
25231 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPseudoMetaFile
,
25232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25235 arg8
= (long) SWIG_AsLong(obj7
);
25236 if (PyErr_Occurred()) SWIG_fail
;
25239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25240 (arg1
)->AddArrow(arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
,arg8
);
25242 wxPyEndAllowThreads(__tstate
);
25243 if (PyErr_Occurred()) SWIG_fail
;
25245 Py_INCREF(Py_None
); resultobj
= Py_None
;
25260 static PyObject
*_wrap_PyLineShape_AddArrowOrdered(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25261 PyObject
*resultobj
;
25262 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25263 wxArrowHead
*arg2
= (wxArrowHead
*) 0 ;
25264 PyObject
*arg3
= (PyObject
*) 0 ;
25266 PyObject
* obj0
= 0 ;
25267 PyObject
* obj1
= 0 ;
25268 PyObject
* obj2
= 0 ;
25269 PyObject
* obj3
= 0 ;
25270 char *kwnames
[] = {
25271 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
25274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyLineShape_AddArrowOrdered",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxArrowHead
,
25278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25280 arg4
= (int) SWIG_AsInt(obj3
);
25281 if (PyErr_Occurred()) SWIG_fail
;
25283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25284 wxPyLineShape_AddArrowOrdered(arg1
,arg2
,arg3
,arg4
);
25286 wxPyEndAllowThreads(__tstate
);
25287 if (PyErr_Occurred()) SWIG_fail
;
25289 Py_INCREF(Py_None
); resultobj
= Py_None
;
25296 static PyObject
*_wrap_PyLineShape_ClearArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25297 PyObject
*resultobj
;
25298 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25299 wxString
*arg2
= 0 ;
25301 bool temp2
= False
;
25302 PyObject
* obj0
= 0 ;
25303 PyObject
* obj1
= 0 ;
25304 char *kwnames
[] = {
25305 (char *) "self",(char *) "name", NULL
25308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_ClearArrow",kwnames
,&obj0
,&obj1
)) goto fail
;
25309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25312 arg2
= wxString_in_helper(obj1
);
25313 if (arg2
== NULL
) SWIG_fail
;
25317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25318 result
= (bool)(arg1
)->ClearArrow((wxString
const &)*arg2
);
25320 wxPyEndAllowThreads(__tstate
);
25321 if (PyErr_Occurred()) SWIG_fail
;
25323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25338 static PyObject
*_wrap_PyLineShape_ClearArrowsAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25339 PyObject
*resultobj
;
25340 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25341 int arg2
= (int) -1 ;
25342 PyObject
* obj0
= 0 ;
25343 PyObject
* obj1
= 0 ;
25344 char *kwnames
[] = {
25345 (char *) "self",(char *) "position", NULL
25348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_ClearArrowsAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25352 arg2
= (int) SWIG_AsInt(obj1
);
25353 if (PyErr_Occurred()) SWIG_fail
;
25356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25357 (arg1
)->ClearArrowsAtPosition(arg2
);
25359 wxPyEndAllowThreads(__tstate
);
25360 if (PyErr_Occurred()) SWIG_fail
;
25362 Py_INCREF(Py_None
); resultobj
= Py_None
;
25369 static PyObject
*_wrap_PyLineShape_DrawArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25370 PyObject
*resultobj
;
25371 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25373 wxArrowHead
*arg3
= (wxArrowHead
*) 0 ;
25376 PyObject
* obj0
= 0 ;
25377 PyObject
* obj1
= 0 ;
25378 PyObject
* obj2
= 0 ;
25379 PyObject
* obj3
= 0 ;
25380 PyObject
* obj4
= 0 ;
25381 char *kwnames
[] = {
25382 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
25385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_DrawArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25389 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25391 if (arg2
== NULL
) {
25392 PyErr_SetString(PyExc_TypeError
,"null reference");
25395 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxArrowHead
,
25396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25397 arg4
= (double) SWIG_AsDouble(obj3
);
25398 if (PyErr_Occurred()) SWIG_fail
;
25399 arg5
= (bool) SWIG_AsBool(obj4
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25403 (arg1
)->DrawArrow(*arg2
,arg3
,arg4
,arg5
);
25405 wxPyEndAllowThreads(__tstate
);
25406 if (PyErr_Occurred()) SWIG_fail
;
25408 Py_INCREF(Py_None
); resultobj
= Py_None
;
25415 static PyObject
*_wrap_PyLineShape_DeleteArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25416 PyObject
*resultobj
;
25417 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25420 PyObject
* obj0
= 0 ;
25421 PyObject
* obj1
= 0 ;
25422 char *kwnames
[] = {
25423 (char *) "self",(char *) "arrowId", NULL
25426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DeleteArrowHeadId",kwnames
,&obj0
,&obj1
)) goto fail
;
25427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25429 arg2
= (long) SWIG_AsLong(obj1
);
25430 if (PyErr_Occurred()) SWIG_fail
;
25432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25433 result
= (bool)(arg1
)->DeleteArrowHead(arg2
);
25435 wxPyEndAllowThreads(__tstate
);
25436 if (PyErr_Occurred()) SWIG_fail
;
25438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25445 static PyObject
*_wrap_PyLineShape_DeleteArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25446 PyObject
*resultobj
;
25447 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25449 wxString
*arg3
= 0 ;
25451 bool temp3
= False
;
25452 PyObject
* obj0
= 0 ;
25453 PyObject
* obj1
= 0 ;
25454 PyObject
* obj2
= 0 ;
25455 char *kwnames
[] = {
25456 (char *) "self",(char *) "position",(char *) "name", NULL
25459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_DeleteArrowHead",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25462 arg2
= (int) SWIG_AsInt(obj1
);
25463 if (PyErr_Occurred()) SWIG_fail
;
25465 arg3
= wxString_in_helper(obj2
);
25466 if (arg3
== NULL
) SWIG_fail
;
25470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25471 result
= (bool)(arg1
)->DeleteArrowHead(arg2
,(wxString
const &)*arg3
);
25473 wxPyEndAllowThreads(__tstate
);
25474 if (PyErr_Occurred()) SWIG_fail
;
25476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25491 static PyObject
*_wrap_PyLineShape_DeleteLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
;
25493 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25495 PyObject
* obj0
= 0 ;
25496 char *kwnames
[] = {
25497 (char *) "self", NULL
25500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames
,&obj0
)) goto fail
;
25501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 result
= (bool)(arg1
)->DeleteLineControlPoint();
25507 wxPyEndAllowThreads(__tstate
);
25508 if (PyErr_Occurred()) SWIG_fail
;
25510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25517 static PyObject
*_wrap_PyLineShape_DrawArrows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25518 PyObject
*resultobj
;
25519 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25521 PyObject
* obj0
= 0 ;
25522 PyObject
* obj1
= 0 ;
25523 char *kwnames
[] = {
25524 (char *) "self",(char *) "dc", NULL
25527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DrawArrows",kwnames
,&obj0
,&obj1
)) goto fail
;
25528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25531 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25533 if (arg2
== NULL
) {
25534 PyErr_SetString(PyExc_TypeError
,"null reference");
25538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25539 (arg1
)->DrawArrows(*arg2
);
25541 wxPyEndAllowThreads(__tstate
);
25542 if (PyErr_Occurred()) SWIG_fail
;
25544 Py_INCREF(Py_None
); resultobj
= Py_None
;
25551 static PyObject
*_wrap_PyLineShape_DrawRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25552 PyObject
*resultobj
;
25553 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25555 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
25558 PyObject
* obj0
= 0 ;
25559 PyObject
* obj1
= 0 ;
25560 PyObject
* obj2
= 0 ;
25561 PyObject
* obj3
= 0 ;
25562 PyObject
* obj4
= 0 ;
25563 char *kwnames
[] = {
25564 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_DrawRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25573 if (arg2
== NULL
) {
25574 PyErr_SetString(PyExc_TypeError
,"null reference");
25577 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxShapeRegion
,
25578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25579 arg4
= (double) SWIG_AsDouble(obj3
);
25580 if (PyErr_Occurred()) SWIG_fail
;
25581 arg5
= (double) SWIG_AsDouble(obj4
);
25582 if (PyErr_Occurred()) SWIG_fail
;
25584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25585 (arg1
)->DrawRegion(*arg2
,arg3
,arg4
,arg5
);
25587 wxPyEndAllowThreads(__tstate
);
25588 if (PyErr_Occurred()) SWIG_fail
;
25590 Py_INCREF(Py_None
); resultobj
= Py_None
;
25597 static PyObject
*_wrap_PyLineShape_EraseRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25598 PyObject
*resultobj
;
25599 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25601 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
25604 PyObject
* obj0
= 0 ;
25605 PyObject
* obj1
= 0 ;
25606 PyObject
* obj2
= 0 ;
25607 PyObject
* obj3
= 0 ;
25608 PyObject
* obj4
= 0 ;
25609 char *kwnames
[] = {
25610 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_EraseRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25619 if (arg2
== NULL
) {
25620 PyErr_SetString(PyExc_TypeError
,"null reference");
25623 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxShapeRegion
,
25624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25625 arg4
= (double) SWIG_AsDouble(obj3
);
25626 if (PyErr_Occurred()) SWIG_fail
;
25627 arg5
= (double) SWIG_AsDouble(obj4
);
25628 if (PyErr_Occurred()) SWIG_fail
;
25630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25631 (arg1
)->EraseRegion(*arg2
,arg3
,arg4
,arg5
);
25633 wxPyEndAllowThreads(__tstate
);
25634 if (PyErr_Occurred()) SWIG_fail
;
25636 Py_INCREF(Py_None
); resultobj
= Py_None
;
25643 static PyObject
*_wrap_PyLineShape_FindArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25644 PyObject
*resultobj
;
25645 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25647 wxArrowHead
*result
;
25648 PyObject
* obj0
= 0 ;
25649 PyObject
* obj1
= 0 ;
25650 char *kwnames
[] = {
25651 (char *) "self",(char *) "arrowId", NULL
25654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_FindArrowHeadId",kwnames
,&obj0
,&obj1
)) goto fail
;
25655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25657 arg2
= (long) SWIG_AsLong(obj1
);
25658 if (PyErr_Occurred()) SWIG_fail
;
25660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25661 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
);
25663 wxPyEndAllowThreads(__tstate
);
25664 if (PyErr_Occurred()) SWIG_fail
;
25667 resultobj
= wxPyMake_wxObject(result
);
25675 static PyObject
*_wrap_PyLineShape_FindArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25676 PyObject
*resultobj
;
25677 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25679 wxString
*arg3
= 0 ;
25680 wxArrowHead
*result
;
25681 bool temp3
= False
;
25682 PyObject
* obj0
= 0 ;
25683 PyObject
* obj1
= 0 ;
25684 PyObject
* obj2
= 0 ;
25685 char *kwnames
[] = {
25686 (char *) "self",(char *) "position",(char *) "name", NULL
25689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindArrowHead",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25692 arg2
= (int) SWIG_AsInt(obj1
);
25693 if (PyErr_Occurred()) SWIG_fail
;
25695 arg3
= wxString_in_helper(obj2
);
25696 if (arg3
== NULL
) SWIG_fail
;
25700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25701 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
,(wxString
const &)*arg3
);
25703 wxPyEndAllowThreads(__tstate
);
25704 if (PyErr_Occurred()) SWIG_fail
;
25707 resultobj
= wxPyMake_wxObject(result
);
25723 static PyObject
*_wrap_PyLineShape_FindLineEndPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25724 PyObject
*resultobj
;
25725 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25726 double *arg2
= (double *) 0 ;
25727 double *arg3
= (double *) 0 ;
25728 double *arg4
= (double *) 0 ;
25729 double *arg5
= (double *) 0 ;
25734 PyObject
* obj0
= 0 ;
25735 char *kwnames
[] = {
25736 (char *) "self", NULL
25743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindLineEndPoints",kwnames
,&obj0
)) goto fail
;
25744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25748 (arg1
)->FindLineEndPoints(arg2
,arg3
,arg4
,arg5
);
25750 wxPyEndAllowThreads(__tstate
);
25751 if (PyErr_Occurred()) SWIG_fail
;
25753 Py_INCREF(Py_None
); resultobj
= Py_None
;
25755 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
25756 resultobj
= t_output_helper(resultobj
,o
);
25759 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
25760 resultobj
= t_output_helper(resultobj
,o
);
25763 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
25764 resultobj
= t_output_helper(resultobj
,o
);
25767 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
25768 resultobj
= t_output_helper(resultobj
,o
);
25776 static PyObject
*_wrap_PyLineShape_FindLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25777 PyObject
*resultobj
;
25778 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25782 PyObject
* obj0
= 0 ;
25783 PyObject
* obj1
= 0 ;
25784 PyObject
* obj2
= 0 ;
25785 char *kwnames
[] = {
25786 (char *) "self",(char *) "x",(char *) "y", NULL
25789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindLinePosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25792 arg2
= (double) SWIG_AsDouble(obj1
);
25793 if (PyErr_Occurred()) SWIG_fail
;
25794 arg3
= (double) SWIG_AsDouble(obj2
);
25795 if (PyErr_Occurred()) SWIG_fail
;
25797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25798 result
= (int)(arg1
)->FindLinePosition(arg2
,arg3
);
25800 wxPyEndAllowThreads(__tstate
);
25801 if (PyErr_Occurred()) SWIG_fail
;
25803 resultobj
= SWIG_FromInt((int)result
);
25810 static PyObject
*_wrap_PyLineShape_FindMinimumWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25811 PyObject
*resultobj
;
25812 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25814 PyObject
* obj0
= 0 ;
25815 char *kwnames
[] = {
25816 (char *) "self", NULL
25819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindMinimumWidth",kwnames
,&obj0
)) goto fail
;
25820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25824 result
= (double)(arg1
)->FindMinimumWidth();
25826 wxPyEndAllowThreads(__tstate
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25829 resultobj
= SWIG_FromDouble((double)result
);
25836 static PyObject
*_wrap_PyLineShape_FindNth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25837 PyObject
*resultobj
;
25838 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25839 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
25840 int *arg3
= (int *) 0 ;
25841 int *arg4
= (int *) 0 ;
25845 PyObject
* obj0
= 0 ;
25846 PyObject
* obj1
= 0 ;
25847 PyObject
* obj2
= 0 ;
25848 char *kwnames
[] = {
25849 (char *) "self",(char *) "image",(char *) "incoming", NULL
25854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindNth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25857 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
25858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25859 arg5
= (bool) SWIG_AsBool(obj2
);
25860 if (PyErr_Occurred()) SWIG_fail
;
25862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25863 (arg1
)->FindNth(arg2
,arg3
,arg4
,arg5
);
25865 wxPyEndAllowThreads(__tstate
);
25866 if (PyErr_Occurred()) SWIG_fail
;
25868 Py_INCREF(Py_None
); resultobj
= Py_None
;
25870 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25871 resultobj
= t_output_helper(resultobj
,o
);
25874 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25875 resultobj
= t_output_helper(resultobj
,o
);
25883 static PyObject
*_wrap_PyLineShape_GetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25884 PyObject
*resultobj
;
25885 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25887 PyObject
* obj0
= 0 ;
25888 char *kwnames
[] = {
25889 (char *) "self", NULL
25892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames
,&obj0
)) goto fail
;
25893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25897 result
= (int)(arg1
)->GetAttachmentFrom();
25899 wxPyEndAllowThreads(__tstate
);
25900 if (PyErr_Occurred()) SWIG_fail
;
25902 resultobj
= SWIG_FromInt((int)result
);
25909 static PyObject
*_wrap_PyLineShape_GetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25910 PyObject
*resultobj
;
25911 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25913 PyObject
* obj0
= 0 ;
25914 char *kwnames
[] = {
25915 (char *) "self", NULL
25918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentTo",kwnames
,&obj0
)) goto fail
;
25919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25923 result
= (int)(arg1
)->GetAttachmentTo();
25925 wxPyEndAllowThreads(__tstate
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25928 resultobj
= SWIG_FromInt((int)result
);
25935 static PyObject
*_wrap_PyLineShape_GetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25936 PyObject
*resultobj
;
25937 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25938 double *arg2
= (double *) 0 ;
25939 double *arg3
= (double *) 0 ;
25940 double *arg4
= (double *) 0 ;
25941 double *arg5
= (double *) 0 ;
25946 PyObject
* obj0
= 0 ;
25947 char *kwnames
[] = {
25948 (char *) "self", NULL
25955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetEnds",kwnames
,&obj0
)) goto fail
;
25956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25960 (arg1
)->GetEnds(arg2
,arg3
,arg4
,arg5
);
25962 wxPyEndAllowThreads(__tstate
);
25963 if (PyErr_Occurred()) SWIG_fail
;
25965 Py_INCREF(Py_None
); resultobj
= Py_None
;
25967 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
25968 resultobj
= t_output_helper(resultobj
,o
);
25971 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
25972 resultobj
= t_output_helper(resultobj
,o
);
25975 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
25976 resultobj
= t_output_helper(resultobj
,o
);
25979 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
25980 resultobj
= t_output_helper(resultobj
,o
);
25988 static PyObject
*_wrap_PyLineShape_GetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25989 PyObject
*resultobj
;
25990 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25992 PyObject
* obj0
= 0 ;
25993 char *kwnames
[] = {
25994 (char *) "self", NULL
25997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetFrom",kwnames
,&obj0
)) goto fail
;
25998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26002 result
= (wxPyShape
*)(arg1
)->GetFrom();
26004 wxPyEndAllowThreads(__tstate
);
26005 if (PyErr_Occurred()) SWIG_fail
;
26008 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
26016 static PyObject
*_wrap_PyLineShape_GetLabelPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26017 PyObject
*resultobj
;
26018 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26020 double *arg3
= (double *) 0 ;
26021 double *arg4
= (double *) 0 ;
26024 PyObject
* obj0
= 0 ;
26025 PyObject
* obj1
= 0 ;
26026 char *kwnames
[] = {
26027 (char *) "self",(char *) "position", NULL
26032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetLabelPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
26033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26035 arg2
= (int) SWIG_AsInt(obj1
);
26036 if (PyErr_Occurred()) SWIG_fail
;
26038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26039 (arg1
)->GetLabelPosition(arg2
,arg3
,arg4
);
26041 wxPyEndAllowThreads(__tstate
);
26042 if (PyErr_Occurred()) SWIG_fail
;
26044 Py_INCREF(Py_None
); resultobj
= Py_None
;
26046 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
26047 resultobj
= t_output_helper(resultobj
,o
);
26050 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
26051 resultobj
= t_output_helper(resultobj
,o
);
26059 static PyObject
*_wrap_PyLineShape_GetNextControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26060 PyObject
*resultobj
;
26061 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26062 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26063 wxRealPoint
*result
;
26064 PyObject
* obj0
= 0 ;
26065 PyObject
* obj1
= 0 ;
26066 char *kwnames
[] = {
26067 (char *) "self",(char *) "shape", NULL
26070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26077 result
= (wxRealPoint
*)(arg1
)->GetNextControlPoint(arg2
);
26079 wxPyEndAllowThreads(__tstate
);
26080 if (PyErr_Occurred()) SWIG_fail
;
26082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 0);
26089 static PyObject
*_wrap_PyLineShape_GetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26090 PyObject
*resultobj
;
26091 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26093 PyObject
* obj0
= 0 ;
26094 char *kwnames
[] = {
26095 (char *) "self", NULL
26098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetTo",kwnames
,&obj0
)) goto fail
;
26099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26103 result
= (wxPyShape
*)(arg1
)->GetTo();
26105 wxPyEndAllowThreads(__tstate
);
26106 if (PyErr_Occurred()) SWIG_fail
;
26109 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
26117 static PyObject
*_wrap_PyLineShape_Initialise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26118 PyObject
*resultobj
;
26119 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26120 PyObject
* obj0
= 0 ;
26121 char *kwnames
[] = {
26122 (char *) "self", NULL
26125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Initialise",kwnames
,&obj0
)) goto fail
;
26126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26130 (arg1
)->Initialise();
26132 wxPyEndAllowThreads(__tstate
);
26133 if (PyErr_Occurred()) SWIG_fail
;
26135 Py_INCREF(Py_None
); resultobj
= Py_None
;
26142 static PyObject
*_wrap_PyLineShape_InsertLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26143 PyObject
*resultobj
;
26144 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26145 wxDC
*arg2
= (wxDC
*) 0 ;
26146 PyObject
* obj0
= 0 ;
26147 PyObject
* obj1
= 0 ;
26148 char *kwnames
[] = {
26149 (char *) "self",(char *) "dc", NULL
26152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26159 (arg1
)->InsertLineControlPoint(arg2
);
26161 wxPyEndAllowThreads(__tstate
);
26162 if (PyErr_Occurred()) SWIG_fail
;
26164 Py_INCREF(Py_None
); resultobj
= Py_None
;
26171 static PyObject
*_wrap_PyLineShape_IsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26172 PyObject
*resultobj
;
26173 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26174 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26176 PyObject
* obj0
= 0 ;
26177 PyObject
* obj1
= 0 ;
26178 char *kwnames
[] = {
26179 (char *) "self",(char *) "shape", NULL
26182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_IsEnd",kwnames
,&obj0
,&obj1
)) goto fail
;
26183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26185 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26189 result
= (bool)(arg1
)->IsEnd(arg2
);
26191 wxPyEndAllowThreads(__tstate
);
26192 if (PyErr_Occurred()) SWIG_fail
;
26194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26201 static PyObject
*_wrap_PyLineShape_IsSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26202 PyObject
*resultobj
;
26203 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26205 PyObject
* obj0
= 0 ;
26206 char *kwnames
[] = {
26207 (char *) "self", NULL
26210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_IsSpline",kwnames
,&obj0
)) goto fail
;
26211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26215 result
= (bool)(arg1
)->IsSpline();
26217 wxPyEndAllowThreads(__tstate
);
26218 if (PyErr_Occurred()) SWIG_fail
;
26220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26227 static PyObject
*_wrap_PyLineShape_MakeLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26228 PyObject
*resultobj
;
26229 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26231 PyObject
* obj0
= 0 ;
26232 PyObject
* obj1
= 0 ;
26233 char *kwnames
[] = {
26234 (char *) "self",(char *) "n", NULL
26237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_MakeLineControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
26238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26240 arg2
= (int) SWIG_AsInt(obj1
);
26241 if (PyErr_Occurred()) SWIG_fail
;
26243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26244 (arg1
)->MakeLineControlPoints(arg2
);
26246 wxPyEndAllowThreads(__tstate
);
26247 if (PyErr_Occurred()) SWIG_fail
;
26249 Py_INCREF(Py_None
); resultobj
= Py_None
;
26256 static PyObject
*_wrap_PyLineShape_GetLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26257 PyObject
*resultobj
;
26258 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26260 PyObject
* obj0
= 0 ;
26261 char *kwnames
[] = {
26262 (char *) "self", NULL
26265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetLineControlPoints",kwnames
,&obj0
)) goto fail
;
26266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26270 result
= (PyObject
*)wxPyLineShape_GetLineControlPoints(arg1
);
26272 wxPyEndAllowThreads(__tstate
);
26273 if (PyErr_Occurred()) SWIG_fail
;
26275 resultobj
= result
;
26282 static PyObject
*_wrap_PyLineShape_SetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26283 PyObject
*resultobj
;
26284 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26286 PyObject
* obj0
= 0 ;
26287 PyObject
* obj1
= 0 ;
26288 char *kwnames
[] = {
26289 (char *) "self",(char *) "fromAttach", NULL
26292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetAttachmentFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
26293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26295 arg2
= (int) SWIG_AsInt(obj1
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26299 (arg1
)->SetAttachmentFrom(arg2
);
26301 wxPyEndAllowThreads(__tstate
);
26302 if (PyErr_Occurred()) SWIG_fail
;
26304 Py_INCREF(Py_None
); resultobj
= Py_None
;
26311 static PyObject
*_wrap_PyLineShape_SetAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26312 PyObject
*resultobj
;
26313 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26316 PyObject
* obj0
= 0 ;
26317 PyObject
* obj1
= 0 ;
26318 PyObject
* obj2
= 0 ;
26319 char *kwnames
[] = {
26320 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
26323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAttachments",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26326 arg2
= (int) SWIG_AsInt(obj1
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26328 arg3
= (int) SWIG_AsInt(obj2
);
26329 if (PyErr_Occurred()) SWIG_fail
;
26331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26332 (arg1
)->SetAttachments(arg2
,arg3
);
26334 wxPyEndAllowThreads(__tstate
);
26335 if (PyErr_Occurred()) SWIG_fail
;
26337 Py_INCREF(Py_None
); resultobj
= Py_None
;
26344 static PyObject
*_wrap_PyLineShape_SetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26345 PyObject
*resultobj
;
26346 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26348 PyObject
* obj0
= 0 ;
26349 PyObject
* obj1
= 0 ;
26350 char *kwnames
[] = {
26351 (char *) "self",(char *) "toAttach", NULL
26354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetAttachmentTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26357 arg2
= (int) SWIG_AsInt(obj1
);
26358 if (PyErr_Occurred()) SWIG_fail
;
26360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26361 (arg1
)->SetAttachmentTo(arg2
);
26363 wxPyEndAllowThreads(__tstate
);
26364 if (PyErr_Occurred()) SWIG_fail
;
26366 Py_INCREF(Py_None
); resultobj
= Py_None
;
26373 static PyObject
*_wrap_PyLineShape_SetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26374 PyObject
*resultobj
;
26375 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26380 PyObject
* obj0
= 0 ;
26381 PyObject
* obj1
= 0 ;
26382 PyObject
* obj2
= 0 ;
26383 PyObject
* obj3
= 0 ;
26384 PyObject
* obj4
= 0 ;
26385 char *kwnames
[] = {
26386 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_SetEnds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26392 arg2
= (double) SWIG_AsDouble(obj1
);
26393 if (PyErr_Occurred()) SWIG_fail
;
26394 arg3
= (double) SWIG_AsDouble(obj2
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26396 arg4
= (double) SWIG_AsDouble(obj3
);
26397 if (PyErr_Occurred()) SWIG_fail
;
26398 arg5
= (double) SWIG_AsDouble(obj4
);
26399 if (PyErr_Occurred()) SWIG_fail
;
26401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26402 (arg1
)->SetEnds(arg2
,arg3
,arg4
,arg5
);
26404 wxPyEndAllowThreads(__tstate
);
26405 if (PyErr_Occurred()) SWIG_fail
;
26407 Py_INCREF(Py_None
); resultobj
= Py_None
;
26414 static PyObject
*_wrap_PyLineShape_SetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26415 PyObject
*resultobj
;
26416 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26417 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26418 PyObject
* obj0
= 0 ;
26419 PyObject
* obj1
= 0 ;
26420 char *kwnames
[] = {
26421 (char *) "self",(char *) "object", NULL
26424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
26425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26431 (arg1
)->SetFrom(arg2
);
26433 wxPyEndAllowThreads(__tstate
);
26434 if (PyErr_Occurred()) SWIG_fail
;
26436 Py_INCREF(Py_None
); resultobj
= Py_None
;
26443 static PyObject
*_wrap_PyLineShape_SetIgnoreOffsets(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26444 PyObject
*resultobj
;
26445 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26447 PyObject
* obj0
= 0 ;
26448 PyObject
* obj1
= 0 ;
26449 char *kwnames
[] = {
26450 (char *) "self",(char *) "ignore", NULL
26453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames
,&obj0
,&obj1
)) goto fail
;
26454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26456 arg2
= (bool) SWIG_AsBool(obj1
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26460 (arg1
)->SetIgnoreOffsets(arg2
);
26462 wxPyEndAllowThreads(__tstate
);
26463 if (PyErr_Occurred()) SWIG_fail
;
26465 Py_INCREF(Py_None
); resultobj
= Py_None
;
26472 static PyObject
*_wrap_PyLineShape_SetSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26473 PyObject
*resultobj
;
26474 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26476 PyObject
* obj0
= 0 ;
26477 PyObject
* obj1
= 0 ;
26478 char *kwnames
[] = {
26479 (char *) "self",(char *) "spline", NULL
26482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
26483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26485 arg2
= (bool) SWIG_AsBool(obj1
);
26486 if (PyErr_Occurred()) SWIG_fail
;
26488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26489 (arg1
)->SetSpline(arg2
);
26491 wxPyEndAllowThreads(__tstate
);
26492 if (PyErr_Occurred()) SWIG_fail
;
26494 Py_INCREF(Py_None
); resultobj
= Py_None
;
26501 static PyObject
*_wrap_PyLineShape_SetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26502 PyObject
*resultobj
;
26503 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26504 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26505 PyObject
* obj0
= 0 ;
26506 PyObject
* obj1
= 0 ;
26507 char *kwnames
[] = {
26508 (char *) "self",(char *) "object", NULL
26511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26518 (arg1
)->SetTo(arg2
);
26520 wxPyEndAllowThreads(__tstate
);
26521 if (PyErr_Occurred()) SWIG_fail
;
26523 Py_INCREF(Py_None
); resultobj
= Py_None
;
26530 static PyObject
*_wrap_PyLineShape_Straighten(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26531 PyObject
*resultobj
;
26532 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26533 wxDC
*arg2
= (wxDC
*) NULL
;
26534 PyObject
* obj0
= 0 ;
26535 PyObject
* obj1
= 0 ;
26536 char *kwnames
[] = {
26537 (char *) "self",(char *) "dc", NULL
26540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_Straighten",kwnames
,&obj0
,&obj1
)) goto fail
;
26541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 (arg1
)->Straighten(arg2
);
26551 wxPyEndAllowThreads(__tstate
);
26552 if (PyErr_Occurred()) SWIG_fail
;
26554 Py_INCREF(Py_None
); resultobj
= Py_None
;
26561 static PyObject
*_wrap_PyLineShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26562 PyObject
*resultobj
;
26563 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26564 PyObject
* obj0
= 0 ;
26565 char *kwnames
[] = {
26566 (char *) "self", NULL
26569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Unlink",kwnames
,&obj0
)) goto fail
;
26570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26576 wxPyEndAllowThreads(__tstate
);
26577 if (PyErr_Occurred()) SWIG_fail
;
26579 Py_INCREF(Py_None
); resultobj
= Py_None
;
26586 static PyObject
*_wrap_PyLineShape_SetAlignmentOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26587 PyObject
*resultobj
;
26588 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26591 PyObject
* obj0
= 0 ;
26592 PyObject
* obj1
= 0 ;
26593 PyObject
* obj2
= 0 ;
26594 char *kwnames
[] = {
26595 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
26598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26601 arg2
= (bool) SWIG_AsBool(obj1
);
26602 if (PyErr_Occurred()) SWIG_fail
;
26603 arg3
= (bool) SWIG_AsBool(obj2
);
26604 if (PyErr_Occurred()) SWIG_fail
;
26606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26607 (arg1
)->SetAlignmentOrientation(arg2
,arg3
);
26609 wxPyEndAllowThreads(__tstate
);
26610 if (PyErr_Occurred()) SWIG_fail
;
26612 Py_INCREF(Py_None
); resultobj
= Py_None
;
26619 static PyObject
*_wrap_PyLineShape_SetAlignmentType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26620 PyObject
*resultobj
;
26621 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26624 PyObject
* obj0
= 0 ;
26625 PyObject
* obj1
= 0 ;
26626 PyObject
* obj2
= 0 ;
26627 char *kwnames
[] = {
26628 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
26631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentType",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26634 arg2
= (bool) SWIG_AsBool(obj1
);
26635 if (PyErr_Occurred()) SWIG_fail
;
26636 arg3
= (int) SWIG_AsInt(obj2
);
26637 if (PyErr_Occurred()) SWIG_fail
;
26639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26640 (arg1
)->SetAlignmentType(arg2
,arg3
);
26642 wxPyEndAllowThreads(__tstate
);
26643 if (PyErr_Occurred()) SWIG_fail
;
26645 Py_INCREF(Py_None
); resultobj
= Py_None
;
26652 static PyObject
*_wrap_PyLineShape_GetAlignmentOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26653 PyObject
*resultobj
;
26654 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26657 PyObject
* obj0
= 0 ;
26658 PyObject
* obj1
= 0 ;
26659 char *kwnames
[] = {
26660 (char *) "self",(char *) "isEnd", NULL
26663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
26664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26666 arg2
= (bool) SWIG_AsBool(obj1
);
26667 if (PyErr_Occurred()) SWIG_fail
;
26669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26670 result
= (bool)(arg1
)->GetAlignmentOrientation(arg2
);
26672 wxPyEndAllowThreads(__tstate
);
26673 if (PyErr_Occurred()) SWIG_fail
;
26675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26682 static PyObject
*_wrap_PyLineShape_GetAlignmentType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26683 PyObject
*resultobj
;
26684 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26687 PyObject
* obj0
= 0 ;
26688 PyObject
* obj1
= 0 ;
26689 char *kwnames
[] = {
26690 (char *) "self",(char *) "isEnd", NULL
26693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentType",kwnames
,&obj0
,&obj1
)) goto fail
;
26694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26696 arg2
= (bool) SWIG_AsBool(obj1
);
26697 if (PyErr_Occurred()) SWIG_fail
;
26699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26700 result
= (int)(arg1
)->GetAlignmentType(arg2
);
26702 wxPyEndAllowThreads(__tstate
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26705 resultobj
= SWIG_FromInt((int)result
);
26712 static PyObject
*_wrap_PyLineShape_GetAlignmentStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26713 PyObject
*resultobj
;
26714 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26716 PyObject
* obj0
= 0 ;
26717 char *kwnames
[] = {
26718 (char *) "self", NULL
26721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentStart",kwnames
,&obj0
)) goto fail
;
26722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26726 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentStart();
26728 wxPyEndAllowThreads(__tstate
);
26729 if (PyErr_Occurred()) SWIG_fail
;
26731 resultobj
= SWIG_FromInt((int)result
);
26738 static PyObject
*_wrap_PyLineShape_GetAlignmentEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26739 PyObject
*resultobj
;
26740 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26742 PyObject
* obj0
= 0 ;
26743 char *kwnames
[] = {
26744 (char *) "self", NULL
26747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames
,&obj0
)) goto fail
;
26748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26752 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentEnd();
26754 wxPyEndAllowThreads(__tstate
);
26755 if (PyErr_Occurred()) SWIG_fail
;
26757 resultobj
= SWIG_FromInt((int)result
);
26764 static PyObject
*_wrap_PyLineShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26765 PyObject
*resultobj
;
26766 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26768 PyObject
* obj0
= 0 ;
26769 PyObject
* obj1
= 0 ;
26770 char *kwnames
[] = {
26771 (char *) "self",(char *) "dc", NULL
26774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
26775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26778 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26780 if (arg2
== NULL
) {
26781 PyErr_SetString(PyExc_TypeError
,"null reference");
26785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26786 (arg1
)->base_OnDraw(*arg2
);
26788 wxPyEndAllowThreads(__tstate
);
26789 if (PyErr_Occurred()) SWIG_fail
;
26791 Py_INCREF(Py_None
); resultobj
= Py_None
;
26798 static PyObject
*_wrap_PyLineShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26799 PyObject
*resultobj
;
26800 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26802 PyObject
* obj0
= 0 ;
26803 PyObject
* obj1
= 0 ;
26804 char *kwnames
[] = {
26805 (char *) "self",(char *) "dc", NULL
26808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
26809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26812 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26814 if (arg2
== NULL
) {
26815 PyErr_SetString(PyExc_TypeError
,"null reference");
26819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26820 (arg1
)->base_OnDrawContents(*arg2
);
26822 wxPyEndAllowThreads(__tstate
);
26823 if (PyErr_Occurred()) SWIG_fail
;
26825 Py_INCREF(Py_None
); resultobj
= Py_None
;
26832 static PyObject
*_wrap_PyLineShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26833 PyObject
*resultobj
;
26834 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26836 bool arg3
= (bool) FALSE
;
26837 PyObject
* obj0
= 0 ;
26838 PyObject
* obj1
= 0 ;
26839 PyObject
* obj2
= 0 ;
26840 char *kwnames
[] = {
26841 (char *) "self",(char *) "dc",(char *) "erase", NULL
26844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26850 if (arg2
== NULL
) {
26851 PyErr_SetString(PyExc_TypeError
,"null reference");
26855 arg3
= (bool) SWIG_AsBool(obj2
);
26856 if (PyErr_Occurred()) SWIG_fail
;
26859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26860 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
26862 wxPyEndAllowThreads(__tstate
);
26863 if (PyErr_Occurred()) SWIG_fail
;
26865 Py_INCREF(Py_None
); resultobj
= Py_None
;
26872 static PyObject
*_wrap_PyLineShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26873 PyObject
*resultobj
;
26874 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26876 PyObject
* obj0
= 0 ;
26877 PyObject
* obj1
= 0 ;
26878 char *kwnames
[] = {
26879 (char *) "self",(char *) "dc", NULL
26882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
26883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26885 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26886 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26888 if (arg2
== NULL
) {
26889 PyErr_SetString(PyExc_TypeError
,"null reference");
26893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26894 (arg1
)->base_OnMoveLinks(*arg2
);
26896 wxPyEndAllowThreads(__tstate
);
26897 if (PyErr_Occurred()) SWIG_fail
;
26899 Py_INCREF(Py_None
); resultobj
= Py_None
;
26906 static PyObject
*_wrap_PyLineShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26907 PyObject
*resultobj
;
26908 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26910 PyObject
* obj0
= 0 ;
26911 PyObject
* obj1
= 0 ;
26912 char *kwnames
[] = {
26913 (char *) "self",(char *) "dc", NULL
26916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
26917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26920 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26922 if (arg2
== NULL
) {
26923 PyErr_SetString(PyExc_TypeError
,"null reference");
26927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26928 (arg1
)->base_OnErase(*arg2
);
26930 wxPyEndAllowThreads(__tstate
);
26931 if (PyErr_Occurred()) SWIG_fail
;
26933 Py_INCREF(Py_None
); resultobj
= Py_None
;
26940 static PyObject
*_wrap_PyLineShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26941 PyObject
*resultobj
;
26942 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26944 PyObject
* obj0
= 0 ;
26945 PyObject
* obj1
= 0 ;
26946 char *kwnames
[] = {
26947 (char *) "self",(char *) "dc", NULL
26950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
26951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26954 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26956 if (arg2
== NULL
) {
26957 PyErr_SetString(PyExc_TypeError
,"null reference");
26961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26962 (arg1
)->base_OnEraseContents(*arg2
);
26964 wxPyEndAllowThreads(__tstate
);
26965 if (PyErr_Occurred()) SWIG_fail
;
26967 Py_INCREF(Py_None
); resultobj
= Py_None
;
26974 static PyObject
*_wrap_PyLineShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26975 PyObject
*resultobj
;
26976 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26978 PyObject
* obj0
= 0 ;
26979 PyObject
* obj1
= 0 ;
26980 char *kwnames
[] = {
26981 (char *) "self",(char *) "dc", NULL
26984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
26985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26988 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26990 if (arg2
== NULL
) {
26991 PyErr_SetString(PyExc_TypeError
,"null reference");
26995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26996 (arg1
)->base_OnHighlight(*arg2
);
26998 wxPyEndAllowThreads(__tstate
);
26999 if (PyErr_Occurred()) SWIG_fail
;
27001 Py_INCREF(Py_None
); resultobj
= Py_None
;
27008 static PyObject
*_wrap_PyLineShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27009 PyObject
*resultobj
;
27010 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27013 int arg4
= (int) 0 ;
27014 int arg5
= (int) 0 ;
27015 PyObject
* obj0
= 0 ;
27016 PyObject
* obj1
= 0 ;
27017 PyObject
* obj2
= 0 ;
27018 PyObject
* obj3
= 0 ;
27019 PyObject
* obj4
= 0 ;
27020 char *kwnames
[] = {
27021 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27027 arg2
= (double) SWIG_AsDouble(obj1
);
27028 if (PyErr_Occurred()) SWIG_fail
;
27029 arg3
= (double) SWIG_AsDouble(obj2
);
27030 if (PyErr_Occurred()) SWIG_fail
;
27032 arg4
= (int) SWIG_AsInt(obj3
);
27033 if (PyErr_Occurred()) SWIG_fail
;
27036 arg5
= (int) SWIG_AsInt(obj4
);
27037 if (PyErr_Occurred()) SWIG_fail
;
27040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27041 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
27043 wxPyEndAllowThreads(__tstate
);
27044 if (PyErr_Occurred()) SWIG_fail
;
27046 Py_INCREF(Py_None
); resultobj
= Py_None
;
27053 static PyObject
*_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27054 PyObject
*resultobj
;
27055 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27058 int arg4
= (int) 0 ;
27059 int arg5
= (int) 0 ;
27060 PyObject
* obj0
= 0 ;
27061 PyObject
* obj1
= 0 ;
27062 PyObject
* obj2
= 0 ;
27063 PyObject
* obj3
= 0 ;
27064 PyObject
* obj4
= 0 ;
27065 char *kwnames
[] = {
27066 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27072 arg2
= (double) SWIG_AsDouble(obj1
);
27073 if (PyErr_Occurred()) SWIG_fail
;
27074 arg3
= (double) SWIG_AsDouble(obj2
);
27075 if (PyErr_Occurred()) SWIG_fail
;
27077 arg4
= (int) SWIG_AsInt(obj3
);
27078 if (PyErr_Occurred()) SWIG_fail
;
27081 arg5
= (int) SWIG_AsInt(obj4
);
27082 if (PyErr_Occurred()) SWIG_fail
;
27085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27086 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
27088 wxPyEndAllowThreads(__tstate
);
27089 if (PyErr_Occurred()) SWIG_fail
;
27091 Py_INCREF(Py_None
); resultobj
= Py_None
;
27098 static PyObject
*_wrap_PyLineShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27099 PyObject
*resultobj
;
27100 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27103 int arg4
= (int) 0 ;
27104 int arg5
= (int) 0 ;
27105 PyObject
* obj0
= 0 ;
27106 PyObject
* obj1
= 0 ;
27107 PyObject
* obj2
= 0 ;
27108 PyObject
* obj3
= 0 ;
27109 PyObject
* obj4
= 0 ;
27110 char *kwnames
[] = {
27111 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27117 arg2
= (double) SWIG_AsDouble(obj1
);
27118 if (PyErr_Occurred()) SWIG_fail
;
27119 arg3
= (double) SWIG_AsDouble(obj2
);
27120 if (PyErr_Occurred()) SWIG_fail
;
27122 arg4
= (int) SWIG_AsInt(obj3
);
27123 if (PyErr_Occurred()) SWIG_fail
;
27126 arg5
= (int) SWIG_AsInt(obj4
);
27127 if (PyErr_Occurred()) SWIG_fail
;
27130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27131 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
27133 wxPyEndAllowThreads(__tstate
);
27134 if (PyErr_Occurred()) SWIG_fail
;
27136 Py_INCREF(Py_None
); resultobj
= Py_None
;
27143 static PyObject
*_wrap_PyLineShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27144 PyObject
*resultobj
;
27145 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27148 PyObject
* obj0
= 0 ;
27149 PyObject
* obj1
= 0 ;
27150 PyObject
* obj2
= 0 ;
27151 char *kwnames
[] = {
27152 (char *) "self",(char *) "x",(char *) "y", NULL
27155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27158 arg2
= (double) SWIG_AsDouble(obj1
);
27159 if (PyErr_Occurred()) SWIG_fail
;
27160 arg3
= (double) SWIG_AsDouble(obj2
);
27161 if (PyErr_Occurred()) SWIG_fail
;
27163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27164 (arg1
)->base_OnSize(arg2
,arg3
);
27166 wxPyEndAllowThreads(__tstate
);
27167 if (PyErr_Occurred()) SWIG_fail
;
27169 Py_INCREF(Py_None
); resultobj
= Py_None
;
27176 static PyObject
*_wrap_PyLineShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27177 PyObject
*resultobj
;
27178 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27184 bool arg7
= (bool) True
;
27186 PyObject
* obj0
= 0 ;
27187 PyObject
* obj1
= 0 ;
27188 PyObject
* obj2
= 0 ;
27189 PyObject
* obj3
= 0 ;
27190 PyObject
* obj4
= 0 ;
27191 PyObject
* obj5
= 0 ;
27192 PyObject
* obj6
= 0 ;
27193 char *kwnames
[] = {
27194 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyLineShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27201 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27203 if (arg2
== NULL
) {
27204 PyErr_SetString(PyExc_TypeError
,"null reference");
27207 arg3
= (double) SWIG_AsDouble(obj2
);
27208 if (PyErr_Occurred()) SWIG_fail
;
27209 arg4
= (double) SWIG_AsDouble(obj3
);
27210 if (PyErr_Occurred()) SWIG_fail
;
27211 arg5
= (double) SWIG_AsDouble(obj4
);
27212 if (PyErr_Occurred()) SWIG_fail
;
27213 arg6
= (double) SWIG_AsDouble(obj5
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27216 arg7
= (bool) SWIG_AsBool(obj6
);
27217 if (PyErr_Occurred()) SWIG_fail
;
27220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27221 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27223 wxPyEndAllowThreads(__tstate
);
27224 if (PyErr_Occurred()) SWIG_fail
;
27226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27233 static PyObject
*_wrap_PyLineShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27234 PyObject
*resultobj
;
27235 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27241 bool arg7
= (bool) True
;
27242 PyObject
* obj0
= 0 ;
27243 PyObject
* obj1
= 0 ;
27244 PyObject
* obj2
= 0 ;
27245 PyObject
* obj3
= 0 ;
27246 PyObject
* obj4
= 0 ;
27247 PyObject
* obj5
= 0 ;
27248 PyObject
* obj6
= 0 ;
27249 char *kwnames
[] = {
27250 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyLineShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27256 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27257 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27259 if (arg2
== NULL
) {
27260 PyErr_SetString(PyExc_TypeError
,"null reference");
27263 arg3
= (double) SWIG_AsDouble(obj2
);
27264 if (PyErr_Occurred()) SWIG_fail
;
27265 arg4
= (double) SWIG_AsDouble(obj3
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27267 arg5
= (double) SWIG_AsDouble(obj4
);
27268 if (PyErr_Occurred()) SWIG_fail
;
27269 arg6
= (double) SWIG_AsDouble(obj5
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27272 arg7
= (bool) SWIG_AsBool(obj6
);
27273 if (PyErr_Occurred()) SWIG_fail
;
27276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27277 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27279 wxPyEndAllowThreads(__tstate
);
27280 if (PyErr_Occurred()) SWIG_fail
;
27282 Py_INCREF(Py_None
); resultobj
= Py_None
;
27289 static PyObject
*_wrap_PyLineShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27290 PyObject
*resultobj
;
27291 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27295 int arg5
= (int) 0 ;
27296 int arg6
= (int) 0 ;
27297 PyObject
* obj0
= 0 ;
27298 PyObject
* obj1
= 0 ;
27299 PyObject
* obj2
= 0 ;
27300 PyObject
* obj3
= 0 ;
27301 PyObject
* obj4
= 0 ;
27302 PyObject
* obj5
= 0 ;
27303 char *kwnames
[] = {
27304 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27310 arg2
= (bool) SWIG_AsBool(obj1
);
27311 if (PyErr_Occurred()) SWIG_fail
;
27312 arg3
= (double) SWIG_AsDouble(obj2
);
27313 if (PyErr_Occurred()) SWIG_fail
;
27314 arg4
= (double) SWIG_AsDouble(obj3
);
27315 if (PyErr_Occurred()) SWIG_fail
;
27317 arg5
= (int) SWIG_AsInt(obj4
);
27318 if (PyErr_Occurred()) SWIG_fail
;
27321 arg6
= (int) SWIG_AsInt(obj5
);
27322 if (PyErr_Occurred()) SWIG_fail
;
27325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27326 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
27328 wxPyEndAllowThreads(__tstate
);
27329 if (PyErr_Occurred()) SWIG_fail
;
27331 Py_INCREF(Py_None
); resultobj
= Py_None
;
27338 static PyObject
*_wrap_PyLineShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27339 PyObject
*resultobj
;
27340 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27343 int arg4
= (int) 0 ;
27344 int arg5
= (int) 0 ;
27345 PyObject
* obj0
= 0 ;
27346 PyObject
* obj1
= 0 ;
27347 PyObject
* obj2
= 0 ;
27348 PyObject
* obj3
= 0 ;
27349 PyObject
* obj4
= 0 ;
27350 char *kwnames
[] = {
27351 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27357 arg2
= (double) SWIG_AsDouble(obj1
);
27358 if (PyErr_Occurred()) SWIG_fail
;
27359 arg3
= (double) SWIG_AsDouble(obj2
);
27360 if (PyErr_Occurred()) SWIG_fail
;
27362 arg4
= (int) SWIG_AsInt(obj3
);
27363 if (PyErr_Occurred()) SWIG_fail
;
27366 arg5
= (int) SWIG_AsInt(obj4
);
27367 if (PyErr_Occurred()) SWIG_fail
;
27370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27371 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
27373 wxPyEndAllowThreads(__tstate
);
27374 if (PyErr_Occurred()) SWIG_fail
;
27376 Py_INCREF(Py_None
); resultobj
= Py_None
;
27383 static PyObject
*_wrap_PyLineShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27384 PyObject
*resultobj
;
27385 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27388 int arg4
= (int) 0 ;
27389 int arg5
= (int) 0 ;
27390 PyObject
* obj0
= 0 ;
27391 PyObject
* obj1
= 0 ;
27392 PyObject
* obj2
= 0 ;
27393 PyObject
* obj3
= 0 ;
27394 PyObject
* obj4
= 0 ;
27395 char *kwnames
[] = {
27396 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27402 arg2
= (double) SWIG_AsDouble(obj1
);
27403 if (PyErr_Occurred()) SWIG_fail
;
27404 arg3
= (double) SWIG_AsDouble(obj2
);
27405 if (PyErr_Occurred()) SWIG_fail
;
27407 arg4
= (int) SWIG_AsInt(obj3
);
27408 if (PyErr_Occurred()) SWIG_fail
;
27411 arg5
= (int) SWIG_AsInt(obj4
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27416 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
27418 wxPyEndAllowThreads(__tstate
);
27419 if (PyErr_Occurred()) SWIG_fail
;
27421 Py_INCREF(Py_None
); resultobj
= Py_None
;
27428 static PyObject
*_wrap_PyLineShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27429 PyObject
*resultobj
;
27430 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27434 int arg5
= (int) 0 ;
27435 int arg6
= (int) 0 ;
27436 PyObject
* obj0
= 0 ;
27437 PyObject
* obj1
= 0 ;
27438 PyObject
* obj2
= 0 ;
27439 PyObject
* obj3
= 0 ;
27440 PyObject
* obj4
= 0 ;
27441 PyObject
* obj5
= 0 ;
27442 char *kwnames
[] = {
27443 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27449 arg2
= (bool) SWIG_AsBool(obj1
);
27450 if (PyErr_Occurred()) SWIG_fail
;
27451 arg3
= (double) SWIG_AsDouble(obj2
);
27452 if (PyErr_Occurred()) SWIG_fail
;
27453 arg4
= (double) SWIG_AsDouble(obj3
);
27454 if (PyErr_Occurred()) SWIG_fail
;
27456 arg5
= (int) SWIG_AsInt(obj4
);
27457 if (PyErr_Occurred()) SWIG_fail
;
27460 arg6
= (int) SWIG_AsInt(obj5
);
27461 if (PyErr_Occurred()) SWIG_fail
;
27464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27465 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
27467 wxPyEndAllowThreads(__tstate
);
27468 if (PyErr_Occurred()) SWIG_fail
;
27470 Py_INCREF(Py_None
); resultobj
= Py_None
;
27477 static PyObject
*_wrap_PyLineShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27478 PyObject
*resultobj
;
27479 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27482 int arg4
= (int) 0 ;
27483 int arg5
= (int) 0 ;
27484 PyObject
* obj0
= 0 ;
27485 PyObject
* obj1
= 0 ;
27486 PyObject
* obj2
= 0 ;
27487 PyObject
* obj3
= 0 ;
27488 PyObject
* obj4
= 0 ;
27489 char *kwnames
[] = {
27490 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27496 arg2
= (double) SWIG_AsDouble(obj1
);
27497 if (PyErr_Occurred()) SWIG_fail
;
27498 arg3
= (double) SWIG_AsDouble(obj2
);
27499 if (PyErr_Occurred()) SWIG_fail
;
27501 arg4
= (int) SWIG_AsInt(obj3
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27505 arg5
= (int) SWIG_AsInt(obj4
);
27506 if (PyErr_Occurred()) SWIG_fail
;
27509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27510 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
27512 wxPyEndAllowThreads(__tstate
);
27513 if (PyErr_Occurred()) SWIG_fail
;
27515 Py_INCREF(Py_None
); resultobj
= Py_None
;
27522 static PyObject
*_wrap_PyLineShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27523 PyObject
*resultobj
;
27524 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27527 int arg4
= (int) 0 ;
27528 int arg5
= (int) 0 ;
27529 PyObject
* obj0
= 0 ;
27530 PyObject
* obj1
= 0 ;
27531 PyObject
* obj2
= 0 ;
27532 PyObject
* obj3
= 0 ;
27533 PyObject
* obj4
= 0 ;
27534 char *kwnames
[] = {
27535 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27541 arg2
= (double) SWIG_AsDouble(obj1
);
27542 if (PyErr_Occurred()) SWIG_fail
;
27543 arg3
= (double) SWIG_AsDouble(obj2
);
27544 if (PyErr_Occurred()) SWIG_fail
;
27546 arg4
= (int) SWIG_AsInt(obj3
);
27547 if (PyErr_Occurred()) SWIG_fail
;
27550 arg5
= (int) SWIG_AsInt(obj4
);
27551 if (PyErr_Occurred()) SWIG_fail
;
27554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27555 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
27557 wxPyEndAllowThreads(__tstate
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27560 Py_INCREF(Py_None
); resultobj
= Py_None
;
27567 static PyObject
*_wrap_PyLineShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27568 PyObject
*resultobj
;
27569 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27575 PyObject
* obj0
= 0 ;
27576 PyObject
* obj1
= 0 ;
27577 PyObject
* obj2
= 0 ;
27578 PyObject
* obj3
= 0 ;
27579 PyObject
* obj4
= 0 ;
27580 PyObject
* obj5
= 0 ;
27581 char *kwnames
[] = {
27582 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyLineShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27589 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27591 if (arg2
== NULL
) {
27592 PyErr_SetString(PyExc_TypeError
,"null reference");
27595 arg3
= (double) SWIG_AsDouble(obj2
);
27596 if (PyErr_Occurred()) SWIG_fail
;
27597 arg4
= (double) SWIG_AsDouble(obj3
);
27598 if (PyErr_Occurred()) SWIG_fail
;
27599 arg5
= (double) SWIG_AsDouble(obj4
);
27600 if (PyErr_Occurred()) SWIG_fail
;
27601 arg6
= (double) SWIG_AsDouble(obj5
);
27602 if (PyErr_Occurred()) SWIG_fail
;
27604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27605 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
27607 wxPyEndAllowThreads(__tstate
);
27608 if (PyErr_Occurred()) SWIG_fail
;
27610 Py_INCREF(Py_None
); resultobj
= Py_None
;
27617 static PyObject
*_wrap_PyLineShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27618 PyObject
*resultobj
;
27619 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27621 PyObject
* obj0
= 0 ;
27622 PyObject
* obj1
= 0 ;
27623 char *kwnames
[] = {
27624 (char *) "self",(char *) "dc", NULL
27627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
27628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27633 if (arg2
== NULL
) {
27634 PyErr_SetString(PyExc_TypeError
,"null reference");
27638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27639 (arg1
)->base_OnDrawControlPoints(*arg2
);
27641 wxPyEndAllowThreads(__tstate
);
27642 if (PyErr_Occurred()) SWIG_fail
;
27644 Py_INCREF(Py_None
); resultobj
= Py_None
;
27651 static PyObject
*_wrap_PyLineShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27652 PyObject
*resultobj
;
27653 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27655 PyObject
* obj0
= 0 ;
27656 PyObject
* obj1
= 0 ;
27657 char *kwnames
[] = {
27658 (char *) "self",(char *) "dc", NULL
27661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
27662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27665 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27667 if (arg2
== NULL
) {
27668 PyErr_SetString(PyExc_TypeError
,"null reference");
27672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27673 (arg1
)->base_OnEraseControlPoints(*arg2
);
27675 wxPyEndAllowThreads(__tstate
);
27676 if (PyErr_Occurred()) SWIG_fail
;
27678 Py_INCREF(Py_None
); resultobj
= Py_None
;
27685 static PyObject
*_wrap_PyLineShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27686 PyObject
*resultobj
;
27687 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27689 bool arg3
= (bool) True
;
27690 PyObject
* obj0
= 0 ;
27691 PyObject
* obj1
= 0 ;
27692 PyObject
* obj2
= 0 ;
27693 char *kwnames
[] = {
27694 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
27697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27701 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27703 if (arg2
== NULL
) {
27704 PyErr_SetString(PyExc_TypeError
,"null reference");
27708 arg3
= (bool) SWIG_AsBool(obj2
);
27709 if (PyErr_Occurred()) SWIG_fail
;
27712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27713 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
27715 wxPyEndAllowThreads(__tstate
);
27716 if (PyErr_Occurred()) SWIG_fail
;
27718 Py_INCREF(Py_None
); resultobj
= Py_None
;
27725 static PyObject
*_wrap_PyLineShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27726 PyObject
*resultobj
;
27727 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27728 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
27732 int arg6
= (int) 0 ;
27733 int arg7
= (int) 0 ;
27734 PyObject
* obj0
= 0 ;
27735 PyObject
* obj1
= 0 ;
27736 PyObject
* obj2
= 0 ;
27737 PyObject
* obj3
= 0 ;
27738 PyObject
* obj4
= 0 ;
27739 PyObject
* obj5
= 0 ;
27740 PyObject
* obj6
= 0 ;
27741 char *kwnames
[] = {
27742 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyLineShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
27749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27750 arg3
= (bool) SWIG_AsBool(obj2
);
27751 if (PyErr_Occurred()) SWIG_fail
;
27752 arg4
= (double) SWIG_AsDouble(obj3
);
27753 if (PyErr_Occurred()) SWIG_fail
;
27754 arg5
= (double) SWIG_AsDouble(obj4
);
27755 if (PyErr_Occurred()) SWIG_fail
;
27757 arg6
= (int) SWIG_AsInt(obj5
);
27758 if (PyErr_Occurred()) SWIG_fail
;
27761 arg7
= (int) SWIG_AsInt(obj6
);
27762 if (PyErr_Occurred()) SWIG_fail
;
27765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27766 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27768 wxPyEndAllowThreads(__tstate
);
27769 if (PyErr_Occurred()) SWIG_fail
;
27771 Py_INCREF(Py_None
); resultobj
= Py_None
;
27778 static PyObject
*_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27779 PyObject
*resultobj
;
27780 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27781 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
27784 int arg5
= (int) 0 ;
27785 int arg6
= (int) 0 ;
27786 PyObject
* obj0
= 0 ;
27787 PyObject
* obj1
= 0 ;
27788 PyObject
* obj2
= 0 ;
27789 PyObject
* obj3
= 0 ;
27790 PyObject
* obj4
= 0 ;
27791 PyObject
* obj5
= 0 ;
27792 char *kwnames
[] = {
27793 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
27800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27801 arg3
= (double) SWIG_AsDouble(obj2
);
27802 if (PyErr_Occurred()) SWIG_fail
;
27803 arg4
= (double) SWIG_AsDouble(obj3
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27806 arg5
= (int) SWIG_AsInt(obj4
);
27807 if (PyErr_Occurred()) SWIG_fail
;
27810 arg6
= (int) SWIG_AsInt(obj5
);
27811 if (PyErr_Occurred()) SWIG_fail
;
27814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27815 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
27817 wxPyEndAllowThreads(__tstate
);
27818 if (PyErr_Occurred()) SWIG_fail
;
27820 Py_INCREF(Py_None
); resultobj
= Py_None
;
27827 static PyObject
*_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27828 PyObject
*resultobj
;
27829 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27830 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
27833 int arg5
= (int) 0 ;
27834 int arg6
= (int) 0 ;
27835 PyObject
* obj0
= 0 ;
27836 PyObject
* obj1
= 0 ;
27837 PyObject
* obj2
= 0 ;
27838 PyObject
* obj3
= 0 ;
27839 PyObject
* obj4
= 0 ;
27840 PyObject
* obj5
= 0 ;
27841 char *kwnames
[] = {
27842 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27848 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
27849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27850 arg3
= (double) SWIG_AsDouble(obj2
);
27851 if (PyErr_Occurred()) SWIG_fail
;
27852 arg4
= (double) SWIG_AsDouble(obj3
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27855 arg5
= (int) SWIG_AsInt(obj4
);
27856 if (PyErr_Occurred()) SWIG_fail
;
27859 arg6
= (int) SWIG_AsInt(obj5
);
27860 if (PyErr_Occurred()) SWIG_fail
;
27863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27864 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
27866 wxPyEndAllowThreads(__tstate
);
27867 if (PyErr_Occurred()) SWIG_fail
;
27869 Py_INCREF(Py_None
); resultobj
= Py_None
;
27876 static PyObject
*_wrap_PyLineShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27877 PyObject
*resultobj
;
27878 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27881 PyObject
* obj0
= 0 ;
27882 PyObject
* obj1
= 0 ;
27883 PyObject
* obj2
= 0 ;
27884 char *kwnames
[] = {
27885 (char *) "self",(char *) "w",(char *) "h", NULL
27888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27891 arg2
= (double) SWIG_AsDouble(obj1
);
27892 if (PyErr_Occurred()) SWIG_fail
;
27893 arg3
= (double) SWIG_AsDouble(obj2
);
27894 if (PyErr_Occurred()) SWIG_fail
;
27896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27897 (arg1
)->base_OnBeginSize(arg2
,arg3
);
27899 wxPyEndAllowThreads(__tstate
);
27900 if (PyErr_Occurred()) SWIG_fail
;
27902 Py_INCREF(Py_None
); resultobj
= Py_None
;
27909 static PyObject
*_wrap_PyLineShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27910 PyObject
*resultobj
;
27911 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27914 PyObject
* obj0
= 0 ;
27915 PyObject
* obj1
= 0 ;
27916 PyObject
* obj2
= 0 ;
27917 char *kwnames
[] = {
27918 (char *) "self",(char *) "w",(char *) "h", NULL
27921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27924 arg2
= (double) SWIG_AsDouble(obj1
);
27925 if (PyErr_Occurred()) SWIG_fail
;
27926 arg3
= (double) SWIG_AsDouble(obj2
);
27927 if (PyErr_Occurred()) SWIG_fail
;
27929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27930 (arg1
)->base_OnEndSize(arg2
,arg3
);
27932 wxPyEndAllowThreads(__tstate
);
27933 if (PyErr_Occurred()) SWIG_fail
;
27935 Py_INCREF(Py_None
); resultobj
= Py_None
;
27942 static PyObject
* PyLineShape_swigregister(PyObject
*self
, PyObject
*args
) {
27944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27945 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape
, obj
);
27947 return Py_BuildValue((char *)"");
27949 static PyObject
*_wrap_new_PyPolygonShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27950 PyObject
*resultobj
;
27951 wxPyPolygonShape
*result
;
27952 char *kwnames
[] = {
27956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyPolygonShape",kwnames
)) goto fail
;
27958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27959 result
= (wxPyPolygonShape
*)new wxPyPolygonShape();
27961 wxPyEndAllowThreads(__tstate
);
27962 if (PyErr_Occurred()) SWIG_fail
;
27964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPolygonShape
, 1);
27971 static PyObject
*_wrap_PyPolygonShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27972 PyObject
*resultobj
;
27973 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
27974 PyObject
*arg2
= (PyObject
*) 0 ;
27975 PyObject
*arg3
= (PyObject
*) 0 ;
27976 PyObject
* obj0
= 0 ;
27977 PyObject
* obj1
= 0 ;
27978 PyObject
* obj2
= 0 ;
27979 char *kwnames
[] = {
27980 (char *) "self",(char *) "self",(char *) "_class", NULL
27983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
27985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27990 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27992 wxPyEndAllowThreads(__tstate
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27995 Py_INCREF(Py_None
); resultobj
= Py_None
;
28002 static PyObject
*_wrap_PyPolygonShape_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28003 PyObject
*resultobj
;
28004 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28005 PyObject
*arg2
= (PyObject
*) 0 ;
28007 PyObject
* obj0
= 0 ;
28008 PyObject
* obj1
= 0 ;
28009 char *kwnames
[] = {
28010 (char *) "self",(char *) "points", NULL
28013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
28014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28019 result
= (PyObject
*)wxPyPolygonShape_Create(arg1
,arg2
);
28021 wxPyEndAllowThreads(__tstate
);
28022 if (PyErr_Occurred()) SWIG_fail
;
28024 resultobj
= result
;
28031 static PyObject
*_wrap_PyPolygonShape_AddPolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28032 PyObject
*resultobj
;
28033 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28034 int arg2
= (int) 0 ;
28035 PyObject
* obj0
= 0 ;
28036 PyObject
* obj1
= 0 ;
28037 char *kwnames
[] = {
28038 (char *) "self",(char *) "pos", NULL
28041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyPolygonShape_AddPolygonPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28045 arg2
= (int) SWIG_AsInt(obj1
);
28046 if (PyErr_Occurred()) SWIG_fail
;
28049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28050 (arg1
)->AddPolygonPoint(arg2
);
28052 wxPyEndAllowThreads(__tstate
);
28053 if (PyErr_Occurred()) SWIG_fail
;
28055 Py_INCREF(Py_None
); resultobj
= Py_None
;
28062 static PyObject
*_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28063 PyObject
*resultobj
;
28064 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28065 PyObject
* obj0
= 0 ;
28066 char *kwnames
[] = {
28067 (char *) "self", NULL
28070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames
,&obj0
)) goto fail
;
28071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28075 (arg1
)->CalculatePolygonCentre();
28077 wxPyEndAllowThreads(__tstate
);
28078 if (PyErr_Occurred()) SWIG_fail
;
28080 Py_INCREF(Py_None
); resultobj
= Py_None
;
28087 static PyObject
*_wrap_PyPolygonShape_DeletePolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28088 PyObject
*resultobj
;
28089 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28090 int arg2
= (int) 0 ;
28091 PyObject
* obj0
= 0 ;
28092 PyObject
* obj1
= 0 ;
28093 char *kwnames
[] = {
28094 (char *) "self",(char *) "pos", NULL
28097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyPolygonShape_DeletePolygonPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28101 arg2
= (int) SWIG_AsInt(obj1
);
28102 if (PyErr_Occurred()) SWIG_fail
;
28105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28106 (arg1
)->DeletePolygonPoint(arg2
);
28108 wxPyEndAllowThreads(__tstate
);
28109 if (PyErr_Occurred()) SWIG_fail
;
28111 Py_INCREF(Py_None
); resultobj
= Py_None
;
28118 static PyObject
*_wrap_PyPolygonShape_GetPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28119 PyObject
*resultobj
;
28120 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28122 PyObject
* obj0
= 0 ;
28123 char *kwnames
[] = {
28124 (char *) "self", NULL
28127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetPoints",kwnames
,&obj0
)) goto fail
;
28128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28132 result
= (PyObject
*)wxPyPolygonShape_GetPoints(arg1
);
28134 wxPyEndAllowThreads(__tstate
);
28135 if (PyErr_Occurred()) SWIG_fail
;
28137 resultobj
= result
;
28144 static PyObject
*_wrap_PyPolygonShape_GetOriginalPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28145 PyObject
*resultobj
;
28146 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28148 PyObject
* obj0
= 0 ;
28149 char *kwnames
[] = {
28150 (char *) "self", NULL
28153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames
,&obj0
)) goto fail
;
28154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28158 result
= (PyObject
*)wxPyPolygonShape_GetOriginalPoints(arg1
);
28160 wxPyEndAllowThreads(__tstate
);
28161 if (PyErr_Occurred()) SWIG_fail
;
28163 resultobj
= result
;
28170 static PyObject
*_wrap_PyPolygonShape_GetOriginalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28171 PyObject
*resultobj
;
28172 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28174 PyObject
* obj0
= 0 ;
28175 char *kwnames
[] = {
28176 (char *) "self", NULL
28179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames
,&obj0
)) goto fail
;
28180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28184 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalWidth();
28186 wxPyEndAllowThreads(__tstate
);
28187 if (PyErr_Occurred()) SWIG_fail
;
28189 resultobj
= SWIG_FromDouble((double)result
);
28196 static PyObject
*_wrap_PyPolygonShape_GetOriginalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28197 PyObject
*resultobj
;
28198 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28200 PyObject
* obj0
= 0 ;
28201 char *kwnames
[] = {
28202 (char *) "self", NULL
28205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames
,&obj0
)) goto fail
;
28206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28210 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalHeight();
28212 wxPyEndAllowThreads(__tstate
);
28213 if (PyErr_Occurred()) SWIG_fail
;
28215 resultobj
= SWIG_FromDouble((double)result
);
28222 static PyObject
*_wrap_PyPolygonShape_SetOriginalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28223 PyObject
*resultobj
;
28224 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28226 PyObject
* obj0
= 0 ;
28227 PyObject
* obj1
= 0 ;
28228 char *kwnames
[] = {
28229 (char *) "self",(char *) "w", NULL
28232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_SetOriginalWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
28233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28235 arg2
= (double) SWIG_AsDouble(obj1
);
28236 if (PyErr_Occurred()) SWIG_fail
;
28238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28239 (arg1
)->SetOriginalWidth(arg2
);
28241 wxPyEndAllowThreads(__tstate
);
28242 if (PyErr_Occurred()) SWIG_fail
;
28244 Py_INCREF(Py_None
); resultobj
= Py_None
;
28251 static PyObject
*_wrap_PyPolygonShape_SetOriginalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28252 PyObject
*resultobj
;
28253 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28255 PyObject
* obj0
= 0 ;
28256 PyObject
* obj1
= 0 ;
28257 char *kwnames
[] = {
28258 (char *) "self",(char *) "h", NULL
28261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_SetOriginalHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
28262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28264 arg2
= (double) SWIG_AsDouble(obj1
);
28265 if (PyErr_Occurred()) SWIG_fail
;
28267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28268 (arg1
)->SetOriginalHeight(arg2
);
28270 wxPyEndAllowThreads(__tstate
);
28271 if (PyErr_Occurred()) SWIG_fail
;
28273 Py_INCREF(Py_None
); resultobj
= Py_None
;
28280 static PyObject
*_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28281 PyObject
*resultobj
;
28282 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28283 PyObject
* obj0
= 0 ;
28284 char *kwnames
[] = {
28285 (char *) "self", NULL
28288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames
,&obj0
)) goto fail
;
28289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28293 (arg1
)->UpdateOriginalPoints();
28295 wxPyEndAllowThreads(__tstate
);
28296 if (PyErr_Occurred()) SWIG_fail
;
28298 Py_INCREF(Py_None
); resultobj
= Py_None
;
28305 static PyObject
*_wrap_PyPolygonShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28306 PyObject
*resultobj
;
28307 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28309 PyObject
* obj0
= 0 ;
28310 PyObject
* obj1
= 0 ;
28311 char *kwnames
[] = {
28312 (char *) "self",(char *) "dc", NULL
28315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
28316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28319 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28321 if (arg2
== NULL
) {
28322 PyErr_SetString(PyExc_TypeError
,"null reference");
28326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28327 (arg1
)->base_OnDraw(*arg2
);
28329 wxPyEndAllowThreads(__tstate
);
28330 if (PyErr_Occurred()) SWIG_fail
;
28332 Py_INCREF(Py_None
); resultobj
= Py_None
;
28339 static PyObject
*_wrap_PyPolygonShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28340 PyObject
*resultobj
;
28341 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28343 PyObject
* obj0
= 0 ;
28344 PyObject
* obj1
= 0 ;
28345 char *kwnames
[] = {
28346 (char *) "self",(char *) "dc", NULL
28349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
28350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28353 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28355 if (arg2
== NULL
) {
28356 PyErr_SetString(PyExc_TypeError
,"null reference");
28360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28361 (arg1
)->base_OnDrawContents(*arg2
);
28363 wxPyEndAllowThreads(__tstate
);
28364 if (PyErr_Occurred()) SWIG_fail
;
28366 Py_INCREF(Py_None
); resultobj
= Py_None
;
28373 static PyObject
*_wrap_PyPolygonShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28374 PyObject
*resultobj
;
28375 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28377 bool arg3
= (bool) FALSE
;
28378 PyObject
* obj0
= 0 ;
28379 PyObject
* obj1
= 0 ;
28380 PyObject
* obj2
= 0 ;
28381 char *kwnames
[] = {
28382 (char *) "self",(char *) "dc",(char *) "erase", NULL
28385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28389 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28391 if (arg2
== NULL
) {
28392 PyErr_SetString(PyExc_TypeError
,"null reference");
28396 arg3
= (bool) SWIG_AsBool(obj2
);
28397 if (PyErr_Occurred()) SWIG_fail
;
28400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28401 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
28403 wxPyEndAllowThreads(__tstate
);
28404 if (PyErr_Occurred()) SWIG_fail
;
28406 Py_INCREF(Py_None
); resultobj
= Py_None
;
28413 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28414 PyObject
*resultobj
;
28415 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28417 PyObject
* obj0
= 0 ;
28418 PyObject
* obj1
= 0 ;
28419 char *kwnames
[] = {
28420 (char *) "self",(char *) "dc", NULL
28423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
28424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28427 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28429 if (arg2
== NULL
) {
28430 PyErr_SetString(PyExc_TypeError
,"null reference");
28434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28435 (arg1
)->base_OnMoveLinks(*arg2
);
28437 wxPyEndAllowThreads(__tstate
);
28438 if (PyErr_Occurred()) SWIG_fail
;
28440 Py_INCREF(Py_None
); resultobj
= Py_None
;
28447 static PyObject
*_wrap_PyPolygonShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28448 PyObject
*resultobj
;
28449 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28451 PyObject
* obj0
= 0 ;
28452 PyObject
* obj1
= 0 ;
28453 char *kwnames
[] = {
28454 (char *) "self",(char *) "dc", NULL
28457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
28458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28461 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28463 if (arg2
== NULL
) {
28464 PyErr_SetString(PyExc_TypeError
,"null reference");
28468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28469 (arg1
)->base_OnErase(*arg2
);
28471 wxPyEndAllowThreads(__tstate
);
28472 if (PyErr_Occurred()) SWIG_fail
;
28474 Py_INCREF(Py_None
); resultobj
= Py_None
;
28481 static PyObject
*_wrap_PyPolygonShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28482 PyObject
*resultobj
;
28483 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28485 PyObject
* obj0
= 0 ;
28486 PyObject
* obj1
= 0 ;
28487 char *kwnames
[] = {
28488 (char *) "self",(char *) "dc", NULL
28491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
28492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28497 if (arg2
== NULL
) {
28498 PyErr_SetString(PyExc_TypeError
,"null reference");
28502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28503 (arg1
)->base_OnEraseContents(*arg2
);
28505 wxPyEndAllowThreads(__tstate
);
28506 if (PyErr_Occurred()) SWIG_fail
;
28508 Py_INCREF(Py_None
); resultobj
= Py_None
;
28515 static PyObject
*_wrap_PyPolygonShape_base_OnHighlight(PyObject
*self
, 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_OnHighlight",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_OnHighlight(*arg2
);
28539 wxPyEndAllowThreads(__tstate
);
28540 if (PyErr_Occurred()) SWIG_fail
;
28542 Py_INCREF(Py_None
); resultobj
= Py_None
;
28549 static PyObject
*_wrap_PyPolygonShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28550 PyObject
*resultobj
;
28551 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28554 int arg4
= (int) 0 ;
28555 int arg5
= (int) 0 ;
28556 PyObject
* obj0
= 0 ;
28557 PyObject
* obj1
= 0 ;
28558 PyObject
* obj2
= 0 ;
28559 PyObject
* obj3
= 0 ;
28560 PyObject
* obj4
= 0 ;
28561 char *kwnames
[] = {
28562 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28568 arg2
= (double) SWIG_AsDouble(obj1
);
28569 if (PyErr_Occurred()) SWIG_fail
;
28570 arg3
= (double) SWIG_AsDouble(obj2
);
28571 if (PyErr_Occurred()) SWIG_fail
;
28573 arg4
= (int) SWIG_AsInt(obj3
);
28574 if (PyErr_Occurred()) SWIG_fail
;
28577 arg5
= (int) SWIG_AsInt(obj4
);
28578 if (PyErr_Occurred()) SWIG_fail
;
28581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28582 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
28584 wxPyEndAllowThreads(__tstate
);
28585 if (PyErr_Occurred()) SWIG_fail
;
28587 Py_INCREF(Py_None
); resultobj
= Py_None
;
28594 static PyObject
*_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28595 PyObject
*resultobj
;
28596 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28599 int arg4
= (int) 0 ;
28600 int arg5
= (int) 0 ;
28601 PyObject
* obj0
= 0 ;
28602 PyObject
* obj1
= 0 ;
28603 PyObject
* obj2
= 0 ;
28604 PyObject
* obj3
= 0 ;
28605 PyObject
* obj4
= 0 ;
28606 char *kwnames
[] = {
28607 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28613 arg2
= (double) SWIG_AsDouble(obj1
);
28614 if (PyErr_Occurred()) SWIG_fail
;
28615 arg3
= (double) SWIG_AsDouble(obj2
);
28616 if (PyErr_Occurred()) SWIG_fail
;
28618 arg4
= (int) SWIG_AsInt(obj3
);
28619 if (PyErr_Occurred()) SWIG_fail
;
28622 arg5
= (int) SWIG_AsInt(obj4
);
28623 if (PyErr_Occurred()) SWIG_fail
;
28626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28627 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
28629 wxPyEndAllowThreads(__tstate
);
28630 if (PyErr_Occurred()) SWIG_fail
;
28632 Py_INCREF(Py_None
); resultobj
= Py_None
;
28639 static PyObject
*_wrap_PyPolygonShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28640 PyObject
*resultobj
;
28641 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28644 int arg4
= (int) 0 ;
28645 int arg5
= (int) 0 ;
28646 PyObject
* obj0
= 0 ;
28647 PyObject
* obj1
= 0 ;
28648 PyObject
* obj2
= 0 ;
28649 PyObject
* obj3
= 0 ;
28650 PyObject
* obj4
= 0 ;
28651 char *kwnames
[] = {
28652 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28658 arg2
= (double) SWIG_AsDouble(obj1
);
28659 if (PyErr_Occurred()) SWIG_fail
;
28660 arg3
= (double) SWIG_AsDouble(obj2
);
28661 if (PyErr_Occurred()) SWIG_fail
;
28663 arg4
= (int) SWIG_AsInt(obj3
);
28664 if (PyErr_Occurred()) SWIG_fail
;
28667 arg5
= (int) SWIG_AsInt(obj4
);
28668 if (PyErr_Occurred()) SWIG_fail
;
28671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28672 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
28674 wxPyEndAllowThreads(__tstate
);
28675 if (PyErr_Occurred()) SWIG_fail
;
28677 Py_INCREF(Py_None
); resultobj
= Py_None
;
28684 static PyObject
*_wrap_PyPolygonShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28685 PyObject
*resultobj
;
28686 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28689 PyObject
* obj0
= 0 ;
28690 PyObject
* obj1
= 0 ;
28691 PyObject
* obj2
= 0 ;
28692 char *kwnames
[] = {
28693 (char *) "self",(char *) "x",(char *) "y", NULL
28696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28699 arg2
= (double) SWIG_AsDouble(obj1
);
28700 if (PyErr_Occurred()) SWIG_fail
;
28701 arg3
= (double) SWIG_AsDouble(obj2
);
28702 if (PyErr_Occurred()) SWIG_fail
;
28704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28705 (arg1
)->base_OnSize(arg2
,arg3
);
28707 wxPyEndAllowThreads(__tstate
);
28708 if (PyErr_Occurred()) SWIG_fail
;
28710 Py_INCREF(Py_None
); resultobj
= Py_None
;
28717 static PyObject
*_wrap_PyPolygonShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28718 PyObject
*resultobj
;
28719 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28725 bool arg7
= (bool) True
;
28727 PyObject
* obj0
= 0 ;
28728 PyObject
* obj1
= 0 ;
28729 PyObject
* obj2
= 0 ;
28730 PyObject
* obj3
= 0 ;
28731 PyObject
* obj4
= 0 ;
28732 PyObject
* obj5
= 0 ;
28733 PyObject
* obj6
= 0 ;
28734 char *kwnames
[] = {
28735 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28744 if (arg2
== NULL
) {
28745 PyErr_SetString(PyExc_TypeError
,"null reference");
28748 arg3
= (double) SWIG_AsDouble(obj2
);
28749 if (PyErr_Occurred()) SWIG_fail
;
28750 arg4
= (double) SWIG_AsDouble(obj3
);
28751 if (PyErr_Occurred()) SWIG_fail
;
28752 arg5
= (double) SWIG_AsDouble(obj4
);
28753 if (PyErr_Occurred()) SWIG_fail
;
28754 arg6
= (double) SWIG_AsDouble(obj5
);
28755 if (PyErr_Occurred()) SWIG_fail
;
28757 arg7
= (bool) SWIG_AsBool(obj6
);
28758 if (PyErr_Occurred()) SWIG_fail
;
28761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28762 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28764 wxPyEndAllowThreads(__tstate
);
28765 if (PyErr_Occurred()) SWIG_fail
;
28767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28774 static PyObject
*_wrap_PyPolygonShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28775 PyObject
*resultobj
;
28776 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28782 bool arg7
= (bool) True
;
28783 PyObject
* obj0
= 0 ;
28784 PyObject
* obj1
= 0 ;
28785 PyObject
* obj2
= 0 ;
28786 PyObject
* obj3
= 0 ;
28787 PyObject
* obj4
= 0 ;
28788 PyObject
* obj5
= 0 ;
28789 PyObject
* obj6
= 0 ;
28790 char *kwnames
[] = {
28791 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28800 if (arg2
== NULL
) {
28801 PyErr_SetString(PyExc_TypeError
,"null reference");
28804 arg3
= (double) SWIG_AsDouble(obj2
);
28805 if (PyErr_Occurred()) SWIG_fail
;
28806 arg4
= (double) SWIG_AsDouble(obj3
);
28807 if (PyErr_Occurred()) SWIG_fail
;
28808 arg5
= (double) SWIG_AsDouble(obj4
);
28809 if (PyErr_Occurred()) SWIG_fail
;
28810 arg6
= (double) SWIG_AsDouble(obj5
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28813 arg7
= (bool) SWIG_AsBool(obj6
);
28814 if (PyErr_Occurred()) SWIG_fail
;
28817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28818 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28820 wxPyEndAllowThreads(__tstate
);
28821 if (PyErr_Occurred()) SWIG_fail
;
28823 Py_INCREF(Py_None
); resultobj
= Py_None
;
28830 static PyObject
*_wrap_PyPolygonShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28831 PyObject
*resultobj
;
28832 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28836 int arg5
= (int) 0 ;
28837 int arg6
= (int) 0 ;
28838 PyObject
* obj0
= 0 ;
28839 PyObject
* obj1
= 0 ;
28840 PyObject
* obj2
= 0 ;
28841 PyObject
* obj3
= 0 ;
28842 PyObject
* obj4
= 0 ;
28843 PyObject
* obj5
= 0 ;
28844 char *kwnames
[] = {
28845 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28851 arg2
= (bool) SWIG_AsBool(obj1
);
28852 if (PyErr_Occurred()) SWIG_fail
;
28853 arg3
= (double) SWIG_AsDouble(obj2
);
28854 if (PyErr_Occurred()) SWIG_fail
;
28855 arg4
= (double) SWIG_AsDouble(obj3
);
28856 if (PyErr_Occurred()) SWIG_fail
;
28858 arg5
= (int) SWIG_AsInt(obj4
);
28859 if (PyErr_Occurred()) SWIG_fail
;
28862 arg6
= (int) SWIG_AsInt(obj5
);
28863 if (PyErr_Occurred()) SWIG_fail
;
28866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28867 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
28869 wxPyEndAllowThreads(__tstate
);
28870 if (PyErr_Occurred()) SWIG_fail
;
28872 Py_INCREF(Py_None
); resultobj
= Py_None
;
28879 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28880 PyObject
*resultobj
;
28881 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28884 int arg4
= (int) 0 ;
28885 int arg5
= (int) 0 ;
28886 PyObject
* obj0
= 0 ;
28887 PyObject
* obj1
= 0 ;
28888 PyObject
* obj2
= 0 ;
28889 PyObject
* obj3
= 0 ;
28890 PyObject
* obj4
= 0 ;
28891 char *kwnames
[] = {
28892 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28898 arg2
= (double) SWIG_AsDouble(obj1
);
28899 if (PyErr_Occurred()) SWIG_fail
;
28900 arg3
= (double) SWIG_AsDouble(obj2
);
28901 if (PyErr_Occurred()) SWIG_fail
;
28903 arg4
= (int) SWIG_AsInt(obj3
);
28904 if (PyErr_Occurred()) SWIG_fail
;
28907 arg5
= (int) SWIG_AsInt(obj4
);
28908 if (PyErr_Occurred()) SWIG_fail
;
28911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28912 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
28914 wxPyEndAllowThreads(__tstate
);
28915 if (PyErr_Occurred()) SWIG_fail
;
28917 Py_INCREF(Py_None
); resultobj
= Py_None
;
28924 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28925 PyObject
*resultobj
;
28926 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28929 int arg4
= (int) 0 ;
28930 int arg5
= (int) 0 ;
28931 PyObject
* obj0
= 0 ;
28932 PyObject
* obj1
= 0 ;
28933 PyObject
* obj2
= 0 ;
28934 PyObject
* obj3
= 0 ;
28935 PyObject
* obj4
= 0 ;
28936 char *kwnames
[] = {
28937 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28943 arg2
= (double) SWIG_AsDouble(obj1
);
28944 if (PyErr_Occurred()) SWIG_fail
;
28945 arg3
= (double) SWIG_AsDouble(obj2
);
28946 if (PyErr_Occurred()) SWIG_fail
;
28948 arg4
= (int) SWIG_AsInt(obj3
);
28949 if (PyErr_Occurred()) SWIG_fail
;
28952 arg5
= (int) SWIG_AsInt(obj4
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28957 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
28959 wxPyEndAllowThreads(__tstate
);
28960 if (PyErr_Occurred()) SWIG_fail
;
28962 Py_INCREF(Py_None
); resultobj
= Py_None
;
28969 static PyObject
*_wrap_PyPolygonShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28970 PyObject
*resultobj
;
28971 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28975 int arg5
= (int) 0 ;
28976 int arg6
= (int) 0 ;
28977 PyObject
* obj0
= 0 ;
28978 PyObject
* obj1
= 0 ;
28979 PyObject
* obj2
= 0 ;
28980 PyObject
* obj3
= 0 ;
28981 PyObject
* obj4
= 0 ;
28982 PyObject
* obj5
= 0 ;
28983 char *kwnames
[] = {
28984 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28990 arg2
= (bool) SWIG_AsBool(obj1
);
28991 if (PyErr_Occurred()) SWIG_fail
;
28992 arg3
= (double) SWIG_AsDouble(obj2
);
28993 if (PyErr_Occurred()) SWIG_fail
;
28994 arg4
= (double) SWIG_AsDouble(obj3
);
28995 if (PyErr_Occurred()) SWIG_fail
;
28997 arg5
= (int) SWIG_AsInt(obj4
);
28998 if (PyErr_Occurred()) SWIG_fail
;
29001 arg6
= (int) SWIG_AsInt(obj5
);
29002 if (PyErr_Occurred()) SWIG_fail
;
29005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29006 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
29008 wxPyEndAllowThreads(__tstate
);
29009 if (PyErr_Occurred()) SWIG_fail
;
29011 Py_INCREF(Py_None
); resultobj
= Py_None
;
29018 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29019 PyObject
*resultobj
;
29020 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29023 int arg4
= (int) 0 ;
29024 int arg5
= (int) 0 ;
29025 PyObject
* obj0
= 0 ;
29026 PyObject
* obj1
= 0 ;
29027 PyObject
* obj2
= 0 ;
29028 PyObject
* obj3
= 0 ;
29029 PyObject
* obj4
= 0 ;
29030 char *kwnames
[] = {
29031 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29037 arg2
= (double) SWIG_AsDouble(obj1
);
29038 if (PyErr_Occurred()) SWIG_fail
;
29039 arg3
= (double) SWIG_AsDouble(obj2
);
29040 if (PyErr_Occurred()) SWIG_fail
;
29042 arg4
= (int) SWIG_AsInt(obj3
);
29043 if (PyErr_Occurred()) SWIG_fail
;
29046 arg5
= (int) SWIG_AsInt(obj4
);
29047 if (PyErr_Occurred()) SWIG_fail
;
29050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29051 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
29053 wxPyEndAllowThreads(__tstate
);
29054 if (PyErr_Occurred()) SWIG_fail
;
29056 Py_INCREF(Py_None
); resultobj
= Py_None
;
29063 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29064 PyObject
*resultobj
;
29065 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29068 int arg4
= (int) 0 ;
29069 int arg5
= (int) 0 ;
29070 PyObject
* obj0
= 0 ;
29071 PyObject
* obj1
= 0 ;
29072 PyObject
* obj2
= 0 ;
29073 PyObject
* obj3
= 0 ;
29074 PyObject
* obj4
= 0 ;
29075 char *kwnames
[] = {
29076 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29082 arg2
= (double) SWIG_AsDouble(obj1
);
29083 if (PyErr_Occurred()) SWIG_fail
;
29084 arg3
= (double) SWIG_AsDouble(obj2
);
29085 if (PyErr_Occurred()) SWIG_fail
;
29087 arg4
= (int) SWIG_AsInt(obj3
);
29088 if (PyErr_Occurred()) SWIG_fail
;
29091 arg5
= (int) SWIG_AsInt(obj4
);
29092 if (PyErr_Occurred()) SWIG_fail
;
29095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29096 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
29098 wxPyEndAllowThreads(__tstate
);
29099 if (PyErr_Occurred()) SWIG_fail
;
29101 Py_INCREF(Py_None
); resultobj
= Py_None
;
29108 static PyObject
*_wrap_PyPolygonShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29109 PyObject
*resultobj
;
29110 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29116 PyObject
* obj0
= 0 ;
29117 PyObject
* obj1
= 0 ;
29118 PyObject
* obj2
= 0 ;
29119 PyObject
* obj3
= 0 ;
29120 PyObject
* obj4
= 0 ;
29121 PyObject
* obj5
= 0 ;
29122 char *kwnames
[] = {
29123 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyPolygonShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29130 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29132 if (arg2
== NULL
) {
29133 PyErr_SetString(PyExc_TypeError
,"null reference");
29136 arg3
= (double) SWIG_AsDouble(obj2
);
29137 if (PyErr_Occurred()) SWIG_fail
;
29138 arg4
= (double) SWIG_AsDouble(obj3
);
29139 if (PyErr_Occurred()) SWIG_fail
;
29140 arg5
= (double) SWIG_AsDouble(obj4
);
29141 if (PyErr_Occurred()) SWIG_fail
;
29142 arg6
= (double) SWIG_AsDouble(obj5
);
29143 if (PyErr_Occurred()) SWIG_fail
;
29145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29146 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
29148 wxPyEndAllowThreads(__tstate
);
29149 if (PyErr_Occurred()) SWIG_fail
;
29151 Py_INCREF(Py_None
); resultobj
= Py_None
;
29158 static PyObject
*_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29159 PyObject
*resultobj
;
29160 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29162 PyObject
* obj0
= 0 ;
29163 PyObject
* obj1
= 0 ;
29164 char *kwnames
[] = {
29165 (char *) "self",(char *) "dc", NULL
29168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
29169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29171 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29172 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29174 if (arg2
== NULL
) {
29175 PyErr_SetString(PyExc_TypeError
,"null reference");
29179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29180 (arg1
)->base_OnDrawControlPoints(*arg2
);
29182 wxPyEndAllowThreads(__tstate
);
29183 if (PyErr_Occurred()) SWIG_fail
;
29185 Py_INCREF(Py_None
); resultobj
= Py_None
;
29192 static PyObject
*_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29193 PyObject
*resultobj
;
29194 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29196 PyObject
* obj0
= 0 ;
29197 PyObject
* obj1
= 0 ;
29198 char *kwnames
[] = {
29199 (char *) "self",(char *) "dc", NULL
29202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
29203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29206 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29208 if (arg2
== NULL
) {
29209 PyErr_SetString(PyExc_TypeError
,"null reference");
29213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29214 (arg1
)->base_OnEraseControlPoints(*arg2
);
29216 wxPyEndAllowThreads(__tstate
);
29217 if (PyErr_Occurred()) SWIG_fail
;
29219 Py_INCREF(Py_None
); resultobj
= Py_None
;
29226 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29227 PyObject
*resultobj
;
29228 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29230 bool arg3
= (bool) True
;
29231 PyObject
* obj0
= 0 ;
29232 PyObject
* obj1
= 0 ;
29233 PyObject
* obj2
= 0 ;
29234 char *kwnames
[] = {
29235 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
29238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29242 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29244 if (arg2
== NULL
) {
29245 PyErr_SetString(PyExc_TypeError
,"null reference");
29249 arg3
= (bool) SWIG_AsBool(obj2
);
29250 if (PyErr_Occurred()) SWIG_fail
;
29253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29254 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
29256 wxPyEndAllowThreads(__tstate
);
29257 if (PyErr_Occurred()) SWIG_fail
;
29259 Py_INCREF(Py_None
); resultobj
= Py_None
;
29266 static PyObject
*_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29267 PyObject
*resultobj
;
29268 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29269 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29273 int arg6
= (int) 0 ;
29274 int arg7
= (int) 0 ;
29275 PyObject
* obj0
= 0 ;
29276 PyObject
* obj1
= 0 ;
29277 PyObject
* obj2
= 0 ;
29278 PyObject
* obj3
= 0 ;
29279 PyObject
* obj4
= 0 ;
29280 PyObject
* obj5
= 0 ;
29281 PyObject
* obj6
= 0 ;
29282 char *kwnames
[] = {
29283 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyPolygonShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29291 arg3
= (bool) SWIG_AsBool(obj2
);
29292 if (PyErr_Occurred()) SWIG_fail
;
29293 arg4
= (double) SWIG_AsDouble(obj3
);
29294 if (PyErr_Occurred()) SWIG_fail
;
29295 arg5
= (double) SWIG_AsDouble(obj4
);
29296 if (PyErr_Occurred()) SWIG_fail
;
29298 arg6
= (int) SWIG_AsInt(obj5
);
29299 if (PyErr_Occurred()) SWIG_fail
;
29302 arg7
= (int) SWIG_AsInt(obj6
);
29303 if (PyErr_Occurred()) SWIG_fail
;
29306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29307 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29309 wxPyEndAllowThreads(__tstate
);
29310 if (PyErr_Occurred()) SWIG_fail
;
29312 Py_INCREF(Py_None
); resultobj
= Py_None
;
29319 static PyObject
*_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29320 PyObject
*resultobj
;
29321 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29322 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29325 int arg5
= (int) 0 ;
29326 int arg6
= (int) 0 ;
29327 PyObject
* obj0
= 0 ;
29328 PyObject
* obj1
= 0 ;
29329 PyObject
* obj2
= 0 ;
29330 PyObject
* obj3
= 0 ;
29331 PyObject
* obj4
= 0 ;
29332 PyObject
* obj5
= 0 ;
29333 char *kwnames
[] = {
29334 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29342 arg3
= (double) SWIG_AsDouble(obj2
);
29343 if (PyErr_Occurred()) SWIG_fail
;
29344 arg4
= (double) SWIG_AsDouble(obj3
);
29345 if (PyErr_Occurred()) SWIG_fail
;
29347 arg5
= (int) SWIG_AsInt(obj4
);
29348 if (PyErr_Occurred()) SWIG_fail
;
29351 arg6
= (int) SWIG_AsInt(obj5
);
29352 if (PyErr_Occurred()) SWIG_fail
;
29355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29356 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29358 wxPyEndAllowThreads(__tstate
);
29359 if (PyErr_Occurred()) SWIG_fail
;
29361 Py_INCREF(Py_None
); resultobj
= Py_None
;
29368 static PyObject
*_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29369 PyObject
*resultobj
;
29370 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29371 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29374 int arg5
= (int) 0 ;
29375 int arg6
= (int) 0 ;
29376 PyObject
* obj0
= 0 ;
29377 PyObject
* obj1
= 0 ;
29378 PyObject
* obj2
= 0 ;
29379 PyObject
* obj3
= 0 ;
29380 PyObject
* obj4
= 0 ;
29381 PyObject
* obj5
= 0 ;
29382 char *kwnames
[] = {
29383 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29391 arg3
= (double) SWIG_AsDouble(obj2
);
29392 if (PyErr_Occurred()) SWIG_fail
;
29393 arg4
= (double) SWIG_AsDouble(obj3
);
29394 if (PyErr_Occurred()) SWIG_fail
;
29396 arg5
= (int) SWIG_AsInt(obj4
);
29397 if (PyErr_Occurred()) SWIG_fail
;
29400 arg6
= (int) SWIG_AsInt(obj5
);
29401 if (PyErr_Occurred()) SWIG_fail
;
29404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29405 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29407 wxPyEndAllowThreads(__tstate
);
29408 if (PyErr_Occurred()) SWIG_fail
;
29410 Py_INCREF(Py_None
); resultobj
= Py_None
;
29417 static PyObject
*_wrap_PyPolygonShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29418 PyObject
*resultobj
;
29419 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29422 PyObject
* obj0
= 0 ;
29423 PyObject
* obj1
= 0 ;
29424 PyObject
* obj2
= 0 ;
29425 char *kwnames
[] = {
29426 (char *) "self",(char *) "w",(char *) "h", NULL
29429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29432 arg2
= (double) SWIG_AsDouble(obj1
);
29433 if (PyErr_Occurred()) SWIG_fail
;
29434 arg3
= (double) SWIG_AsDouble(obj2
);
29435 if (PyErr_Occurred()) SWIG_fail
;
29437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29438 (arg1
)->base_OnBeginSize(arg2
,arg3
);
29440 wxPyEndAllowThreads(__tstate
);
29441 if (PyErr_Occurred()) SWIG_fail
;
29443 Py_INCREF(Py_None
); resultobj
= Py_None
;
29450 static PyObject
*_wrap_PyPolygonShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29451 PyObject
*resultobj
;
29452 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29455 PyObject
* obj0
= 0 ;
29456 PyObject
* obj1
= 0 ;
29457 PyObject
* obj2
= 0 ;
29458 char *kwnames
[] = {
29459 (char *) "self",(char *) "w",(char *) "h", NULL
29462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29465 arg2
= (double) SWIG_AsDouble(obj1
);
29466 if (PyErr_Occurred()) SWIG_fail
;
29467 arg3
= (double) SWIG_AsDouble(obj2
);
29468 if (PyErr_Occurred()) SWIG_fail
;
29470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29471 (arg1
)->base_OnEndSize(arg2
,arg3
);
29473 wxPyEndAllowThreads(__tstate
);
29474 if (PyErr_Occurred()) SWIG_fail
;
29476 Py_INCREF(Py_None
); resultobj
= Py_None
;
29483 static PyObject
* PyPolygonShape_swigregister(PyObject
*self
, PyObject
*args
) {
29485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29486 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape
, obj
);
29488 return Py_BuildValue((char *)"");
29490 static PyObject
*_wrap_new_PyTextShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29491 PyObject
*resultobj
;
29492 double arg1
= (double) 0.0 ;
29493 double arg2
= (double) 0.0 ;
29494 wxPyTextShape
*result
;
29495 PyObject
* obj0
= 0 ;
29496 PyObject
* obj1
= 0 ;
29497 char *kwnames
[] = {
29498 (char *) "width",(char *) "height", NULL
29501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyTextShape",kwnames
,&obj0
,&obj1
)) goto fail
;
29503 arg1
= (double) SWIG_AsDouble(obj0
);
29504 if (PyErr_Occurred()) SWIG_fail
;
29507 arg2
= (double) SWIG_AsDouble(obj1
);
29508 if (PyErr_Occurred()) SWIG_fail
;
29511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29512 result
= (wxPyTextShape
*)new wxPyTextShape(arg1
,arg2
);
29514 wxPyEndAllowThreads(__tstate
);
29515 if (PyErr_Occurred()) SWIG_fail
;
29517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextShape
, 1);
29524 static PyObject
*_wrap_PyTextShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29525 PyObject
*resultobj
;
29526 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29527 PyObject
*arg2
= (PyObject
*) 0 ;
29528 PyObject
*arg3
= (PyObject
*) 0 ;
29529 PyObject
* obj0
= 0 ;
29530 PyObject
* obj1
= 0 ;
29531 PyObject
* obj2
= 0 ;
29532 char *kwnames
[] = {
29533 (char *) "self",(char *) "self",(char *) "_class", NULL
29536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29543 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29545 wxPyEndAllowThreads(__tstate
);
29546 if (PyErr_Occurred()) SWIG_fail
;
29548 Py_INCREF(Py_None
); resultobj
= Py_None
;
29555 static PyObject
*_wrap_PyTextShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29556 PyObject
*resultobj
;
29557 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29558 PyObject
* obj0
= 0 ;
29559 char *kwnames
[] = {
29560 (char *) "self", NULL
29563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyTextShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
29564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29568 (arg1
)->base_OnDelete();
29570 wxPyEndAllowThreads(__tstate
);
29571 if (PyErr_Occurred()) SWIG_fail
;
29573 Py_INCREF(Py_None
); resultobj
= Py_None
;
29580 static PyObject
*_wrap_PyTextShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29581 PyObject
*resultobj
;
29582 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29584 PyObject
* obj0
= 0 ;
29585 PyObject
* obj1
= 0 ;
29586 char *kwnames
[] = {
29587 (char *) "self",(char *) "dc", NULL
29590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
29591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29596 if (arg2
== NULL
) {
29597 PyErr_SetString(PyExc_TypeError
,"null reference");
29601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29602 (arg1
)->base_OnDraw(*arg2
);
29604 wxPyEndAllowThreads(__tstate
);
29605 if (PyErr_Occurred()) SWIG_fail
;
29607 Py_INCREF(Py_None
); resultobj
= Py_None
;
29614 static PyObject
*_wrap_PyTextShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29615 PyObject
*resultobj
;
29616 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29618 PyObject
* obj0
= 0 ;
29619 PyObject
* obj1
= 0 ;
29620 char *kwnames
[] = {
29621 (char *) "self",(char *) "dc", NULL
29624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
29625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29628 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29630 if (arg2
== NULL
) {
29631 PyErr_SetString(PyExc_TypeError
,"null reference");
29635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29636 (arg1
)->base_OnDrawContents(*arg2
);
29638 wxPyEndAllowThreads(__tstate
);
29639 if (PyErr_Occurred()) SWIG_fail
;
29641 Py_INCREF(Py_None
); resultobj
= Py_None
;
29648 static PyObject
*_wrap_PyTextShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29649 PyObject
*resultobj
;
29650 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29652 bool arg3
= (bool) FALSE
;
29653 PyObject
* obj0
= 0 ;
29654 PyObject
* obj1
= 0 ;
29655 PyObject
* obj2
= 0 ;
29656 char *kwnames
[] = {
29657 (char *) "self",(char *) "dc",(char *) "erase", NULL
29660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29664 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29666 if (arg2
== NULL
) {
29667 PyErr_SetString(PyExc_TypeError
,"null reference");
29671 arg3
= (bool) SWIG_AsBool(obj2
);
29672 if (PyErr_Occurred()) SWIG_fail
;
29675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29676 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
29678 wxPyEndAllowThreads(__tstate
);
29679 if (PyErr_Occurred()) SWIG_fail
;
29681 Py_INCREF(Py_None
); resultobj
= Py_None
;
29688 static PyObject
*_wrap_PyTextShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29689 PyObject
*resultobj
;
29690 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29692 PyObject
* obj0
= 0 ;
29693 PyObject
* obj1
= 0 ;
29694 char *kwnames
[] = {
29695 (char *) "self",(char *) "dc", NULL
29698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
29699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29702 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29704 if (arg2
== NULL
) {
29705 PyErr_SetString(PyExc_TypeError
,"null reference");
29709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29710 (arg1
)->base_OnMoveLinks(*arg2
);
29712 wxPyEndAllowThreads(__tstate
);
29713 if (PyErr_Occurred()) SWIG_fail
;
29715 Py_INCREF(Py_None
); resultobj
= Py_None
;
29722 static PyObject
*_wrap_PyTextShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29723 PyObject
*resultobj
;
29724 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29726 PyObject
* obj0
= 0 ;
29727 PyObject
* obj1
= 0 ;
29728 char *kwnames
[] = {
29729 (char *) "self",(char *) "dc", NULL
29732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
29733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29735 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29736 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29738 if (arg2
== NULL
) {
29739 PyErr_SetString(PyExc_TypeError
,"null reference");
29743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29744 (arg1
)->base_OnErase(*arg2
);
29746 wxPyEndAllowThreads(__tstate
);
29747 if (PyErr_Occurred()) SWIG_fail
;
29749 Py_INCREF(Py_None
); resultobj
= Py_None
;
29756 static PyObject
*_wrap_PyTextShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29757 PyObject
*resultobj
;
29758 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29760 PyObject
* obj0
= 0 ;
29761 PyObject
* obj1
= 0 ;
29762 char *kwnames
[] = {
29763 (char *) "self",(char *) "dc", NULL
29766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
29767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29772 if (arg2
== NULL
) {
29773 PyErr_SetString(PyExc_TypeError
,"null reference");
29777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29778 (arg1
)->base_OnEraseContents(*arg2
);
29780 wxPyEndAllowThreads(__tstate
);
29781 if (PyErr_Occurred()) SWIG_fail
;
29783 Py_INCREF(Py_None
); resultobj
= Py_None
;
29790 static PyObject
*_wrap_PyTextShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29791 PyObject
*resultobj
;
29792 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29794 PyObject
* obj0
= 0 ;
29795 PyObject
* obj1
= 0 ;
29796 char *kwnames
[] = {
29797 (char *) "self",(char *) "dc", NULL
29800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
29801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29804 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29806 if (arg2
== NULL
) {
29807 PyErr_SetString(PyExc_TypeError
,"null reference");
29811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29812 (arg1
)->base_OnHighlight(*arg2
);
29814 wxPyEndAllowThreads(__tstate
);
29815 if (PyErr_Occurred()) SWIG_fail
;
29817 Py_INCREF(Py_None
); resultobj
= Py_None
;
29824 static PyObject
*_wrap_PyTextShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29825 PyObject
*resultobj
;
29826 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29829 int arg4
= (int) 0 ;
29830 int arg5
= (int) 0 ;
29831 PyObject
* obj0
= 0 ;
29832 PyObject
* obj1
= 0 ;
29833 PyObject
* obj2
= 0 ;
29834 PyObject
* obj3
= 0 ;
29835 PyObject
* obj4
= 0 ;
29836 char *kwnames
[] = {
29837 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29843 arg2
= (double) SWIG_AsDouble(obj1
);
29844 if (PyErr_Occurred()) SWIG_fail
;
29845 arg3
= (double) SWIG_AsDouble(obj2
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29848 arg4
= (int) SWIG_AsInt(obj3
);
29849 if (PyErr_Occurred()) SWIG_fail
;
29852 arg5
= (int) SWIG_AsInt(obj4
);
29853 if (PyErr_Occurred()) SWIG_fail
;
29856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29857 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
29859 wxPyEndAllowThreads(__tstate
);
29860 if (PyErr_Occurred()) SWIG_fail
;
29862 Py_INCREF(Py_None
); resultobj
= Py_None
;
29869 static PyObject
*_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29870 PyObject
*resultobj
;
29871 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29874 int arg4
= (int) 0 ;
29875 int arg5
= (int) 0 ;
29876 PyObject
* obj0
= 0 ;
29877 PyObject
* obj1
= 0 ;
29878 PyObject
* obj2
= 0 ;
29879 PyObject
* obj3
= 0 ;
29880 PyObject
* obj4
= 0 ;
29881 char *kwnames
[] = {
29882 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29888 arg2
= (double) SWIG_AsDouble(obj1
);
29889 if (PyErr_Occurred()) SWIG_fail
;
29890 arg3
= (double) SWIG_AsDouble(obj2
);
29891 if (PyErr_Occurred()) SWIG_fail
;
29893 arg4
= (int) SWIG_AsInt(obj3
);
29894 if (PyErr_Occurred()) SWIG_fail
;
29897 arg5
= (int) SWIG_AsInt(obj4
);
29898 if (PyErr_Occurred()) SWIG_fail
;
29901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29902 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
29904 wxPyEndAllowThreads(__tstate
);
29905 if (PyErr_Occurred()) SWIG_fail
;
29907 Py_INCREF(Py_None
); resultobj
= Py_None
;
29914 static PyObject
*_wrap_PyTextShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29915 PyObject
*resultobj
;
29916 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29919 int arg4
= (int) 0 ;
29920 int arg5
= (int) 0 ;
29921 PyObject
* obj0
= 0 ;
29922 PyObject
* obj1
= 0 ;
29923 PyObject
* obj2
= 0 ;
29924 PyObject
* obj3
= 0 ;
29925 PyObject
* obj4
= 0 ;
29926 char *kwnames
[] = {
29927 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29933 arg2
= (double) SWIG_AsDouble(obj1
);
29934 if (PyErr_Occurred()) SWIG_fail
;
29935 arg3
= (double) SWIG_AsDouble(obj2
);
29936 if (PyErr_Occurred()) SWIG_fail
;
29938 arg4
= (int) SWIG_AsInt(obj3
);
29939 if (PyErr_Occurred()) SWIG_fail
;
29942 arg5
= (int) SWIG_AsInt(obj4
);
29943 if (PyErr_Occurred()) SWIG_fail
;
29946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29947 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
29949 wxPyEndAllowThreads(__tstate
);
29950 if (PyErr_Occurred()) SWIG_fail
;
29952 Py_INCREF(Py_None
); resultobj
= Py_None
;
29959 static PyObject
*_wrap_PyTextShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29960 PyObject
*resultobj
;
29961 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29964 PyObject
* obj0
= 0 ;
29965 PyObject
* obj1
= 0 ;
29966 PyObject
* obj2
= 0 ;
29967 char *kwnames
[] = {
29968 (char *) "self",(char *) "x",(char *) "y", NULL
29971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29974 arg2
= (double) SWIG_AsDouble(obj1
);
29975 if (PyErr_Occurred()) SWIG_fail
;
29976 arg3
= (double) SWIG_AsDouble(obj2
);
29977 if (PyErr_Occurred()) SWIG_fail
;
29979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29980 (arg1
)->base_OnSize(arg2
,arg3
);
29982 wxPyEndAllowThreads(__tstate
);
29983 if (PyErr_Occurred()) SWIG_fail
;
29985 Py_INCREF(Py_None
); resultobj
= Py_None
;
29992 static PyObject
*_wrap_PyTextShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29993 PyObject
*resultobj
;
29994 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30000 bool arg7
= (bool) True
;
30002 PyObject
* obj0
= 0 ;
30003 PyObject
* obj1
= 0 ;
30004 PyObject
* obj2
= 0 ;
30005 PyObject
* obj3
= 0 ;
30006 PyObject
* obj4
= 0 ;
30007 PyObject
* obj5
= 0 ;
30008 PyObject
* obj6
= 0 ;
30009 char *kwnames
[] = {
30010 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyTextShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30017 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30019 if (arg2
== NULL
) {
30020 PyErr_SetString(PyExc_TypeError
,"null reference");
30023 arg3
= (double) SWIG_AsDouble(obj2
);
30024 if (PyErr_Occurred()) SWIG_fail
;
30025 arg4
= (double) SWIG_AsDouble(obj3
);
30026 if (PyErr_Occurred()) SWIG_fail
;
30027 arg5
= (double) SWIG_AsDouble(obj4
);
30028 if (PyErr_Occurred()) SWIG_fail
;
30029 arg6
= (double) SWIG_AsDouble(obj5
);
30030 if (PyErr_Occurred()) SWIG_fail
;
30032 arg7
= (bool) SWIG_AsBool(obj6
);
30033 if (PyErr_Occurred()) SWIG_fail
;
30036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30037 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30039 wxPyEndAllowThreads(__tstate
);
30040 if (PyErr_Occurred()) SWIG_fail
;
30042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30049 static PyObject
*_wrap_PyTextShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30050 PyObject
*resultobj
;
30051 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30057 bool arg7
= (bool) True
;
30058 PyObject
* obj0
= 0 ;
30059 PyObject
* obj1
= 0 ;
30060 PyObject
* obj2
= 0 ;
30061 PyObject
* obj3
= 0 ;
30062 PyObject
* obj4
= 0 ;
30063 PyObject
* obj5
= 0 ;
30064 PyObject
* obj6
= 0 ;
30065 char *kwnames
[] = {
30066 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyTextShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30072 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30073 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30075 if (arg2
== NULL
) {
30076 PyErr_SetString(PyExc_TypeError
,"null reference");
30079 arg3
= (double) SWIG_AsDouble(obj2
);
30080 if (PyErr_Occurred()) SWIG_fail
;
30081 arg4
= (double) SWIG_AsDouble(obj3
);
30082 if (PyErr_Occurred()) SWIG_fail
;
30083 arg5
= (double) SWIG_AsDouble(obj4
);
30084 if (PyErr_Occurred()) SWIG_fail
;
30085 arg6
= (double) SWIG_AsDouble(obj5
);
30086 if (PyErr_Occurred()) SWIG_fail
;
30088 arg7
= (bool) SWIG_AsBool(obj6
);
30089 if (PyErr_Occurred()) SWIG_fail
;
30092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30093 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30095 wxPyEndAllowThreads(__tstate
);
30096 if (PyErr_Occurred()) SWIG_fail
;
30098 Py_INCREF(Py_None
); resultobj
= Py_None
;
30105 static PyObject
*_wrap_PyTextShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30106 PyObject
*resultobj
;
30107 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30111 int arg5
= (int) 0 ;
30112 int arg6
= (int) 0 ;
30113 PyObject
* obj0
= 0 ;
30114 PyObject
* obj1
= 0 ;
30115 PyObject
* obj2
= 0 ;
30116 PyObject
* obj3
= 0 ;
30117 PyObject
* obj4
= 0 ;
30118 PyObject
* obj5
= 0 ;
30119 char *kwnames
[] = {
30120 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30126 arg2
= (bool) SWIG_AsBool(obj1
);
30127 if (PyErr_Occurred()) SWIG_fail
;
30128 arg3
= (double) SWIG_AsDouble(obj2
);
30129 if (PyErr_Occurred()) SWIG_fail
;
30130 arg4
= (double) SWIG_AsDouble(obj3
);
30131 if (PyErr_Occurred()) SWIG_fail
;
30133 arg5
= (int) SWIG_AsInt(obj4
);
30134 if (PyErr_Occurred()) SWIG_fail
;
30137 arg6
= (int) SWIG_AsInt(obj5
);
30138 if (PyErr_Occurred()) SWIG_fail
;
30141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30142 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30144 wxPyEndAllowThreads(__tstate
);
30145 if (PyErr_Occurred()) SWIG_fail
;
30147 Py_INCREF(Py_None
); resultobj
= Py_None
;
30154 static PyObject
*_wrap_PyTextShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30155 PyObject
*resultobj
;
30156 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30159 int arg4
= (int) 0 ;
30160 int arg5
= (int) 0 ;
30161 PyObject
* obj0
= 0 ;
30162 PyObject
* obj1
= 0 ;
30163 PyObject
* obj2
= 0 ;
30164 PyObject
* obj3
= 0 ;
30165 PyObject
* obj4
= 0 ;
30166 char *kwnames
[] = {
30167 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30173 arg2
= (double) SWIG_AsDouble(obj1
);
30174 if (PyErr_Occurred()) SWIG_fail
;
30175 arg3
= (double) SWIG_AsDouble(obj2
);
30176 if (PyErr_Occurred()) SWIG_fail
;
30178 arg4
= (int) SWIG_AsInt(obj3
);
30179 if (PyErr_Occurred()) SWIG_fail
;
30182 arg5
= (int) SWIG_AsInt(obj4
);
30183 if (PyErr_Occurred()) SWIG_fail
;
30186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30187 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
30189 wxPyEndAllowThreads(__tstate
);
30190 if (PyErr_Occurred()) SWIG_fail
;
30192 Py_INCREF(Py_None
); resultobj
= Py_None
;
30199 static PyObject
*_wrap_PyTextShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30200 PyObject
*resultobj
;
30201 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30204 int arg4
= (int) 0 ;
30205 int arg5
= (int) 0 ;
30206 PyObject
* obj0
= 0 ;
30207 PyObject
* obj1
= 0 ;
30208 PyObject
* obj2
= 0 ;
30209 PyObject
* obj3
= 0 ;
30210 PyObject
* obj4
= 0 ;
30211 char *kwnames
[] = {
30212 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30218 arg2
= (double) SWIG_AsDouble(obj1
);
30219 if (PyErr_Occurred()) SWIG_fail
;
30220 arg3
= (double) SWIG_AsDouble(obj2
);
30221 if (PyErr_Occurred()) SWIG_fail
;
30223 arg4
= (int) SWIG_AsInt(obj3
);
30224 if (PyErr_Occurred()) SWIG_fail
;
30227 arg5
= (int) SWIG_AsInt(obj4
);
30228 if (PyErr_Occurred()) SWIG_fail
;
30231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30232 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
30234 wxPyEndAllowThreads(__tstate
);
30235 if (PyErr_Occurred()) SWIG_fail
;
30237 Py_INCREF(Py_None
); resultobj
= Py_None
;
30244 static PyObject
*_wrap_PyTextShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30245 PyObject
*resultobj
;
30246 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30250 int arg5
= (int) 0 ;
30251 int arg6
= (int) 0 ;
30252 PyObject
* obj0
= 0 ;
30253 PyObject
* obj1
= 0 ;
30254 PyObject
* obj2
= 0 ;
30255 PyObject
* obj3
= 0 ;
30256 PyObject
* obj4
= 0 ;
30257 PyObject
* obj5
= 0 ;
30258 char *kwnames
[] = {
30259 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30265 arg2
= (bool) SWIG_AsBool(obj1
);
30266 if (PyErr_Occurred()) SWIG_fail
;
30267 arg3
= (double) SWIG_AsDouble(obj2
);
30268 if (PyErr_Occurred()) SWIG_fail
;
30269 arg4
= (double) SWIG_AsDouble(obj3
);
30270 if (PyErr_Occurred()) SWIG_fail
;
30272 arg5
= (int) SWIG_AsInt(obj4
);
30273 if (PyErr_Occurred()) SWIG_fail
;
30276 arg6
= (int) SWIG_AsInt(obj5
);
30277 if (PyErr_Occurred()) SWIG_fail
;
30280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30281 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
30283 wxPyEndAllowThreads(__tstate
);
30284 if (PyErr_Occurred()) SWIG_fail
;
30286 Py_INCREF(Py_None
); resultobj
= Py_None
;
30293 static PyObject
*_wrap_PyTextShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30294 PyObject
*resultobj
;
30295 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30298 int arg4
= (int) 0 ;
30299 int arg5
= (int) 0 ;
30300 PyObject
* obj0
= 0 ;
30301 PyObject
* obj1
= 0 ;
30302 PyObject
* obj2
= 0 ;
30303 PyObject
* obj3
= 0 ;
30304 PyObject
* obj4
= 0 ;
30305 char *kwnames
[] = {
30306 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30312 arg2
= (double) SWIG_AsDouble(obj1
);
30313 if (PyErr_Occurred()) SWIG_fail
;
30314 arg3
= (double) SWIG_AsDouble(obj2
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30317 arg4
= (int) SWIG_AsInt(obj3
);
30318 if (PyErr_Occurred()) SWIG_fail
;
30321 arg5
= (int) SWIG_AsInt(obj4
);
30322 if (PyErr_Occurred()) SWIG_fail
;
30325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30326 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
30328 wxPyEndAllowThreads(__tstate
);
30329 if (PyErr_Occurred()) SWIG_fail
;
30331 Py_INCREF(Py_None
); resultobj
= Py_None
;
30338 static PyObject
*_wrap_PyTextShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30339 PyObject
*resultobj
;
30340 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30343 int arg4
= (int) 0 ;
30344 int arg5
= (int) 0 ;
30345 PyObject
* obj0
= 0 ;
30346 PyObject
* obj1
= 0 ;
30347 PyObject
* obj2
= 0 ;
30348 PyObject
* obj3
= 0 ;
30349 PyObject
* obj4
= 0 ;
30350 char *kwnames
[] = {
30351 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30357 arg2
= (double) SWIG_AsDouble(obj1
);
30358 if (PyErr_Occurred()) SWIG_fail
;
30359 arg3
= (double) SWIG_AsDouble(obj2
);
30360 if (PyErr_Occurred()) SWIG_fail
;
30362 arg4
= (int) SWIG_AsInt(obj3
);
30363 if (PyErr_Occurred()) SWIG_fail
;
30366 arg5
= (int) SWIG_AsInt(obj4
);
30367 if (PyErr_Occurred()) SWIG_fail
;
30370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30371 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
30373 wxPyEndAllowThreads(__tstate
);
30374 if (PyErr_Occurred()) SWIG_fail
;
30376 Py_INCREF(Py_None
); resultobj
= Py_None
;
30383 static PyObject
*_wrap_PyTextShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30384 PyObject
*resultobj
;
30385 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30391 PyObject
* obj0
= 0 ;
30392 PyObject
* obj1
= 0 ;
30393 PyObject
* obj2
= 0 ;
30394 PyObject
* obj3
= 0 ;
30395 PyObject
* obj4
= 0 ;
30396 PyObject
* obj5
= 0 ;
30397 char *kwnames
[] = {
30398 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyTextShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30405 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30407 if (arg2
== NULL
) {
30408 PyErr_SetString(PyExc_TypeError
,"null reference");
30411 arg3
= (double) SWIG_AsDouble(obj2
);
30412 if (PyErr_Occurred()) SWIG_fail
;
30413 arg4
= (double) SWIG_AsDouble(obj3
);
30414 if (PyErr_Occurred()) SWIG_fail
;
30415 arg5
= (double) SWIG_AsDouble(obj4
);
30416 if (PyErr_Occurred()) SWIG_fail
;
30417 arg6
= (double) SWIG_AsDouble(obj5
);
30418 if (PyErr_Occurred()) SWIG_fail
;
30420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30421 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
30423 wxPyEndAllowThreads(__tstate
);
30424 if (PyErr_Occurred()) SWIG_fail
;
30426 Py_INCREF(Py_None
); resultobj
= Py_None
;
30433 static PyObject
*_wrap_PyTextShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30434 PyObject
*resultobj
;
30435 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30437 PyObject
* obj0
= 0 ;
30438 PyObject
* obj1
= 0 ;
30439 char *kwnames
[] = {
30440 (char *) "self",(char *) "dc", NULL
30443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
30444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30447 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30449 if (arg2
== NULL
) {
30450 PyErr_SetString(PyExc_TypeError
,"null reference");
30454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30455 (arg1
)->base_OnDrawControlPoints(*arg2
);
30457 wxPyEndAllowThreads(__tstate
);
30458 if (PyErr_Occurred()) SWIG_fail
;
30460 Py_INCREF(Py_None
); resultobj
= Py_None
;
30467 static PyObject
*_wrap_PyTextShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30468 PyObject
*resultobj
;
30469 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30471 PyObject
* obj0
= 0 ;
30472 PyObject
* obj1
= 0 ;
30473 char *kwnames
[] = {
30474 (char *) "self",(char *) "dc", NULL
30477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
30478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30481 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30483 if (arg2
== NULL
) {
30484 PyErr_SetString(PyExc_TypeError
,"null reference");
30488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30489 (arg1
)->base_OnEraseControlPoints(*arg2
);
30491 wxPyEndAllowThreads(__tstate
);
30492 if (PyErr_Occurred()) SWIG_fail
;
30494 Py_INCREF(Py_None
); resultobj
= Py_None
;
30501 static PyObject
*_wrap_PyTextShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30502 PyObject
*resultobj
;
30503 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30505 bool arg3
= (bool) True
;
30506 PyObject
* obj0
= 0 ;
30507 PyObject
* obj1
= 0 ;
30508 PyObject
* obj2
= 0 ;
30509 char *kwnames
[] = {
30510 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
30513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30519 if (arg2
== NULL
) {
30520 PyErr_SetString(PyExc_TypeError
,"null reference");
30524 arg3
= (bool) SWIG_AsBool(obj2
);
30525 if (PyErr_Occurred()) SWIG_fail
;
30528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30529 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
30531 wxPyEndAllowThreads(__tstate
);
30532 if (PyErr_Occurred()) SWIG_fail
;
30534 Py_INCREF(Py_None
); resultobj
= Py_None
;
30541 static PyObject
*_wrap_PyTextShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30542 PyObject
*resultobj
;
30543 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30544 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30548 int arg6
= (int) 0 ;
30549 int arg7
= (int) 0 ;
30550 PyObject
* obj0
= 0 ;
30551 PyObject
* obj1
= 0 ;
30552 PyObject
* obj2
= 0 ;
30553 PyObject
* obj3
= 0 ;
30554 PyObject
* obj4
= 0 ;
30555 PyObject
* obj5
= 0 ;
30556 PyObject
* obj6
= 0 ;
30557 char *kwnames
[] = {
30558 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyTextShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30566 arg3
= (bool) SWIG_AsBool(obj2
);
30567 if (PyErr_Occurred()) SWIG_fail
;
30568 arg4
= (double) SWIG_AsDouble(obj3
);
30569 if (PyErr_Occurred()) SWIG_fail
;
30570 arg5
= (double) SWIG_AsDouble(obj4
);
30571 if (PyErr_Occurred()) SWIG_fail
;
30573 arg6
= (int) SWIG_AsInt(obj5
);
30574 if (PyErr_Occurred()) SWIG_fail
;
30577 arg7
= (int) SWIG_AsInt(obj6
);
30578 if (PyErr_Occurred()) SWIG_fail
;
30581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30582 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30584 wxPyEndAllowThreads(__tstate
);
30585 if (PyErr_Occurred()) SWIG_fail
;
30587 Py_INCREF(Py_None
); resultobj
= Py_None
;
30594 static PyObject
*_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30595 PyObject
*resultobj
;
30596 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30597 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30600 int arg5
= (int) 0 ;
30601 int arg6
= (int) 0 ;
30602 PyObject
* obj0
= 0 ;
30603 PyObject
* obj1
= 0 ;
30604 PyObject
* obj2
= 0 ;
30605 PyObject
* obj3
= 0 ;
30606 PyObject
* obj4
= 0 ;
30607 PyObject
* obj5
= 0 ;
30608 char *kwnames
[] = {
30609 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30617 arg3
= (double) SWIG_AsDouble(obj2
);
30618 if (PyErr_Occurred()) SWIG_fail
;
30619 arg4
= (double) SWIG_AsDouble(obj3
);
30620 if (PyErr_Occurred()) SWIG_fail
;
30622 arg5
= (int) SWIG_AsInt(obj4
);
30623 if (PyErr_Occurred()) SWIG_fail
;
30626 arg6
= (int) SWIG_AsInt(obj5
);
30627 if (PyErr_Occurred()) SWIG_fail
;
30630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30631 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30633 wxPyEndAllowThreads(__tstate
);
30634 if (PyErr_Occurred()) SWIG_fail
;
30636 Py_INCREF(Py_None
); resultobj
= Py_None
;
30643 static PyObject
*_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30644 PyObject
*resultobj
;
30645 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30646 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30649 int arg5
= (int) 0 ;
30650 int arg6
= (int) 0 ;
30651 PyObject
* obj0
= 0 ;
30652 PyObject
* obj1
= 0 ;
30653 PyObject
* obj2
= 0 ;
30654 PyObject
* obj3
= 0 ;
30655 PyObject
* obj4
= 0 ;
30656 PyObject
* obj5
= 0 ;
30657 char *kwnames
[] = {
30658 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30666 arg3
= (double) SWIG_AsDouble(obj2
);
30667 if (PyErr_Occurred()) SWIG_fail
;
30668 arg4
= (double) SWIG_AsDouble(obj3
);
30669 if (PyErr_Occurred()) SWIG_fail
;
30671 arg5
= (int) SWIG_AsInt(obj4
);
30672 if (PyErr_Occurred()) SWIG_fail
;
30675 arg6
= (int) SWIG_AsInt(obj5
);
30676 if (PyErr_Occurred()) SWIG_fail
;
30679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30680 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30682 wxPyEndAllowThreads(__tstate
);
30683 if (PyErr_Occurred()) SWIG_fail
;
30685 Py_INCREF(Py_None
); resultobj
= Py_None
;
30692 static PyObject
*_wrap_PyTextShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30693 PyObject
*resultobj
;
30694 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30697 PyObject
* obj0
= 0 ;
30698 PyObject
* obj1
= 0 ;
30699 PyObject
* obj2
= 0 ;
30700 char *kwnames
[] = {
30701 (char *) "self",(char *) "w",(char *) "h", NULL
30704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30707 arg2
= (double) SWIG_AsDouble(obj1
);
30708 if (PyErr_Occurred()) SWIG_fail
;
30709 arg3
= (double) SWIG_AsDouble(obj2
);
30710 if (PyErr_Occurred()) SWIG_fail
;
30712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30713 (arg1
)->base_OnBeginSize(arg2
,arg3
);
30715 wxPyEndAllowThreads(__tstate
);
30716 if (PyErr_Occurred()) SWIG_fail
;
30718 Py_INCREF(Py_None
); resultobj
= Py_None
;
30725 static PyObject
*_wrap_PyTextShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30726 PyObject
*resultobj
;
30727 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30730 PyObject
* obj0
= 0 ;
30731 PyObject
* obj1
= 0 ;
30732 PyObject
* obj2
= 0 ;
30733 char *kwnames
[] = {
30734 (char *) "self",(char *) "w",(char *) "h", NULL
30737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30740 arg2
= (double) SWIG_AsDouble(obj1
);
30741 if (PyErr_Occurred()) SWIG_fail
;
30742 arg3
= (double) SWIG_AsDouble(obj2
);
30743 if (PyErr_Occurred()) SWIG_fail
;
30745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30746 (arg1
)->base_OnEndSize(arg2
,arg3
);
30748 wxPyEndAllowThreads(__tstate
);
30749 if (PyErr_Occurred()) SWIG_fail
;
30751 Py_INCREF(Py_None
); resultobj
= Py_None
;
30758 static PyObject
* PyTextShape_swigregister(PyObject
*self
, PyObject
*args
) {
30760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30761 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape
, obj
);
30763 return Py_BuildValue((char *)"");
30765 static PyObject
*_wrap_new_Diagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30766 PyObject
*resultobj
;
30768 char *kwnames
[] = {
30772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Diagram",kwnames
)) goto fail
;
30774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30775 result
= (wxDiagram
*)new wxDiagram();
30777 wxPyEndAllowThreads(__tstate
);
30778 if (PyErr_Occurred()) SWIG_fail
;
30781 resultobj
= wxPyMake_wxObject(result
);
30789 static PyObject
*_wrap_Diagram_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30790 PyObject
*resultobj
;
30791 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30792 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
30793 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
30794 PyObject
* obj0
= 0 ;
30795 PyObject
* obj1
= 0 ;
30796 PyObject
* obj2
= 0 ;
30797 char *kwnames
[] = {
30798 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
30801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Diagram_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
30803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
30805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30807 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
30808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30812 (arg1
)->AddShape(arg2
,arg3
);
30814 wxPyEndAllowThreads(__tstate
);
30815 if (PyErr_Occurred()) SWIG_fail
;
30817 Py_INCREF(Py_None
); resultobj
= Py_None
;
30824 static PyObject
*_wrap_Diagram_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30825 PyObject
*resultobj
;
30826 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30828 PyObject
* obj0
= 0 ;
30829 PyObject
* obj1
= 0 ;
30830 char *kwnames
[] = {
30831 (char *) "self",(char *) "dc", NULL
30834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
30835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
30836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30838 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30840 if (arg2
== NULL
) {
30841 PyErr_SetString(PyExc_TypeError
,"null reference");
30845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30846 (arg1
)->Clear(*arg2
);
30848 wxPyEndAllowThreads(__tstate
);
30849 if (PyErr_Occurred()) SWIG_fail
;
30851 Py_INCREF(Py_None
); resultobj
= Py_None
;
30858 static PyObject
*_wrap_Diagram_DeleteAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30859 PyObject
*resultobj
;
30860 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30861 PyObject
* obj0
= 0 ;
30862 char *kwnames
[] = {
30863 (char *) "self", NULL
30866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_DeleteAllShapes",kwnames
,&obj0
)) goto fail
;
30867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
30868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30871 (arg1
)->DeleteAllShapes();
30873 wxPyEndAllowThreads(__tstate
);
30874 if (PyErr_Occurred()) SWIG_fail
;
30876 Py_INCREF(Py_None
); resultobj
= Py_None
;
30883 static PyObject
*_wrap_Diagram_DrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30884 PyObject
*resultobj
;
30885 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30891 PyObject
* obj0
= 0 ;
30892 PyObject
* obj1
= 0 ;
30893 PyObject
* obj2
= 0 ;
30894 PyObject
* obj3
= 0 ;
30895 PyObject
* obj4
= 0 ;
30896 PyObject
* obj5
= 0 ;
30897 char *kwnames
[] = {
30898 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
30901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Diagram_DrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
30903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30905 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30907 if (arg2
== NULL
) {
30908 PyErr_SetString(PyExc_TypeError
,"null reference");
30911 arg3
= (double) SWIG_AsDouble(obj2
);
30912 if (PyErr_Occurred()) SWIG_fail
;
30913 arg4
= (double) SWIG_AsDouble(obj3
);
30914 if (PyErr_Occurred()) SWIG_fail
;
30915 arg5
= (double) SWIG_AsDouble(obj4
);
30916 if (PyErr_Occurred()) SWIG_fail
;
30917 arg6
= (double) SWIG_AsDouble(obj5
);
30918 if (PyErr_Occurred()) SWIG_fail
;
30920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30921 (arg1
)->DrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
30923 wxPyEndAllowThreads(__tstate
);
30924 if (PyErr_Occurred()) SWIG_fail
;
30926 Py_INCREF(Py_None
); resultobj
= Py_None
;
30933 static PyObject
*_wrap_Diagram_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30934 PyObject
*resultobj
;
30935 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30938 PyObject
* obj0
= 0 ;
30939 PyObject
* obj1
= 0 ;
30940 char *kwnames
[] = {
30941 (char *) "self",(char *) "id", NULL
30944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_FindShape",kwnames
,&obj0
,&obj1
)) goto fail
;
30945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
30946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30947 arg2
= (long) SWIG_AsLong(obj1
);
30948 if (PyErr_Occurred()) SWIG_fail
;
30950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30951 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
);
30953 wxPyEndAllowThreads(__tstate
);
30954 if (PyErr_Occurred()) SWIG_fail
;
30957 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
30965 static PyObject
*_wrap_Diagram_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30966 PyObject
*resultobj
;
30967 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30968 wxPyShapeCanvas
*result
;
30969 PyObject
* obj0
= 0 ;
30970 char *kwnames
[] = {
30971 (char *) "self", NULL
30974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCanvas",kwnames
,&obj0
)) goto fail
;
30975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
30976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30979 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
30981 wxPyEndAllowThreads(__tstate
);
30982 if (PyErr_Occurred()) SWIG_fail
;
30985 resultobj
= wxPyMake_wxObject(result
);
30993 static PyObject
*_wrap_Diagram_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30994 PyObject
*resultobj
;
30995 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30997 PyObject
* obj0
= 0 ;
30998 char *kwnames
[] = {
30999 (char *) "self", NULL
31002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCount",kwnames
,&obj0
)) goto fail
;
31003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31007 result
= (int)(arg1
)->GetCount();
31009 wxPyEndAllowThreads(__tstate
);
31010 if (PyErr_Occurred()) SWIG_fail
;
31012 resultobj
= SWIG_FromInt((int)result
);
31019 static PyObject
*_wrap_Diagram_GetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31020 PyObject
*resultobj
;
31021 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31023 PyObject
* obj0
= 0 ;
31024 char *kwnames
[] = {
31025 (char *) "self", NULL
31028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetGridSpacing",kwnames
,&obj0
)) goto fail
;
31029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31033 result
= (double)(arg1
)->GetGridSpacing();
31035 wxPyEndAllowThreads(__tstate
);
31036 if (PyErr_Occurred()) SWIG_fail
;
31038 resultobj
= SWIG_FromDouble((double)result
);
31045 static PyObject
*_wrap_Diagram_GetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31046 PyObject
*resultobj
;
31047 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31049 PyObject
* obj0
= 0 ;
31050 char *kwnames
[] = {
31051 (char *) "self", NULL
31054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetMouseTolerance",kwnames
,&obj0
)) goto fail
;
31055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31059 result
= (int)(arg1
)->GetMouseTolerance();
31061 wxPyEndAllowThreads(__tstate
);
31062 if (PyErr_Occurred()) SWIG_fail
;
31064 resultobj
= SWIG_FromInt((int)result
);
31071 static PyObject
*_wrap_Diagram_GetShapeList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31072 PyObject
*resultobj
;
31073 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31075 PyObject
* obj0
= 0 ;
31076 char *kwnames
[] = {
31077 (char *) "self", NULL
31080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetShapeList",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
= (PyObject
*)wxDiagram_GetShapeList(arg1
);
31087 wxPyEndAllowThreads(__tstate
);
31088 if (PyErr_Occurred()) SWIG_fail
;
31090 resultobj
= result
;
31097 static PyObject
*_wrap_Diagram_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31098 PyObject
*resultobj
;
31099 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31101 PyObject
* obj0
= 0 ;
31102 char *kwnames
[] = {
31103 (char *) "self", NULL
31106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
31107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31111 result
= (bool)(arg1
)->GetQuickEditMode();
31113 wxPyEndAllowThreads(__tstate
);
31114 if (PyErr_Occurred()) SWIG_fail
;
31116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31123 static PyObject
*_wrap_Diagram_GetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31124 PyObject
*resultobj
;
31125 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31127 PyObject
* obj0
= 0 ;
31128 char *kwnames
[] = {
31129 (char *) "self", NULL
31132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetSnapToGrid",kwnames
,&obj0
)) goto fail
;
31133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31137 result
= (bool)(arg1
)->GetSnapToGrid();
31139 wxPyEndAllowThreads(__tstate
);
31140 if (PyErr_Occurred()) SWIG_fail
;
31142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31149 static PyObject
*_wrap_Diagram_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31150 PyObject
*resultobj
;
31151 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31152 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31153 PyObject
* obj0
= 0 ;
31154 PyObject
* obj1
= 0 ;
31155 char *kwnames
[] = {
31156 (char *) "self",(char *) "shape", NULL
31159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31166 (arg1
)->InsertShape(arg2
);
31168 wxPyEndAllowThreads(__tstate
);
31169 if (PyErr_Occurred()) SWIG_fail
;
31171 Py_INCREF(Py_None
); resultobj
= Py_None
;
31178 static PyObject
*_wrap_Diagram_RecentreAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31179 PyObject
*resultobj
;
31180 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31182 PyObject
* obj0
= 0 ;
31183 PyObject
* obj1
= 0 ;
31184 char *kwnames
[] = {
31185 (char *) "self",(char *) "dc", NULL
31188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RecentreAll",kwnames
,&obj0
,&obj1
)) goto fail
;
31189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31192 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31194 if (arg2
== NULL
) {
31195 PyErr_SetString(PyExc_TypeError
,"null reference");
31199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31200 (arg1
)->RecentreAll(*arg2
);
31202 wxPyEndAllowThreads(__tstate
);
31203 if (PyErr_Occurred()) SWIG_fail
;
31205 Py_INCREF(Py_None
); resultobj
= Py_None
;
31212 static PyObject
*_wrap_Diagram_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31213 PyObject
*resultobj
;
31214 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31216 PyObject
* obj0
= 0 ;
31217 PyObject
* obj1
= 0 ;
31218 char *kwnames
[] = {
31219 (char *) "self",(char *) "dc", NULL
31222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
31223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31228 if (arg2
== NULL
) {
31229 PyErr_SetString(PyExc_TypeError
,"null reference");
31233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31234 (arg1
)->Redraw(*arg2
);
31236 wxPyEndAllowThreads(__tstate
);
31237 if (PyErr_Occurred()) SWIG_fail
;
31239 Py_INCREF(Py_None
); resultobj
= Py_None
;
31246 static PyObject
*_wrap_Diagram_RemoveAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31247 PyObject
*resultobj
;
31248 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31249 PyObject
* obj0
= 0 ;
31250 char *kwnames
[] = {
31251 (char *) "self", NULL
31254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_RemoveAllShapes",kwnames
,&obj0
)) goto fail
;
31255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31259 (arg1
)->RemoveAllShapes();
31261 wxPyEndAllowThreads(__tstate
);
31262 if (PyErr_Occurred()) SWIG_fail
;
31264 Py_INCREF(Py_None
); resultobj
= Py_None
;
31271 static PyObject
*_wrap_Diagram_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31272 PyObject
*resultobj
;
31273 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31274 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31275 PyObject
* obj0
= 0 ;
31276 PyObject
* obj1
= 0 ;
31277 char *kwnames
[] = {
31278 (char *) "self",(char *) "shape", NULL
31281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31288 (arg1
)->RemoveShape(arg2
);
31290 wxPyEndAllowThreads(__tstate
);
31291 if (PyErr_Occurred()) SWIG_fail
;
31293 Py_INCREF(Py_None
); resultobj
= Py_None
;
31300 static PyObject
*_wrap_Diagram_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31301 PyObject
*resultobj
;
31302 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31303 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
31304 PyObject
* obj0
= 0 ;
31305 PyObject
* obj1
= 0 ;
31306 char *kwnames
[] = {
31307 (char *) "self",(char *) "canvas", NULL
31310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
31311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
31314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31317 (arg1
)->SetCanvas(arg2
);
31319 wxPyEndAllowThreads(__tstate
);
31320 if (PyErr_Occurred()) SWIG_fail
;
31322 Py_INCREF(Py_None
); resultobj
= Py_None
;
31329 static PyObject
*_wrap_Diagram_SetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31330 PyObject
*resultobj
;
31331 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31333 PyObject
* obj0
= 0 ;
31334 PyObject
* obj1
= 0 ;
31335 char *kwnames
[] = {
31336 (char *) "self",(char *) "spacing", NULL
31339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetGridSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
31340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31342 arg2
= (double) SWIG_AsDouble(obj1
);
31343 if (PyErr_Occurred()) SWIG_fail
;
31345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31346 (arg1
)->SetGridSpacing(arg2
);
31348 wxPyEndAllowThreads(__tstate
);
31349 if (PyErr_Occurred()) SWIG_fail
;
31351 Py_INCREF(Py_None
); resultobj
= Py_None
;
31358 static PyObject
*_wrap_Diagram_SetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31359 PyObject
*resultobj
;
31360 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31362 PyObject
* obj0
= 0 ;
31363 PyObject
* obj1
= 0 ;
31364 char *kwnames
[] = {
31365 (char *) "self",(char *) "tolerance", NULL
31368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetMouseTolerance",kwnames
,&obj0
,&obj1
)) goto fail
;
31369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31371 arg2
= (int) SWIG_AsInt(obj1
);
31372 if (PyErr_Occurred()) SWIG_fail
;
31374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31375 (arg1
)->SetMouseTolerance(arg2
);
31377 wxPyEndAllowThreads(__tstate
);
31378 if (PyErr_Occurred()) SWIG_fail
;
31380 Py_INCREF(Py_None
); resultobj
= Py_None
;
31387 static PyObject
*_wrap_Diagram_SetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31388 PyObject
*resultobj
;
31389 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31391 PyObject
* obj0
= 0 ;
31392 PyObject
* obj1
= 0 ;
31393 char *kwnames
[] = {
31394 (char *) "self",(char *) "mode", NULL
31397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetQuickEditMode",kwnames
,&obj0
,&obj1
)) goto fail
;
31398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31400 arg2
= (bool) SWIG_AsBool(obj1
);
31401 if (PyErr_Occurred()) SWIG_fail
;
31403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31404 (arg1
)->SetQuickEditMode(arg2
);
31406 wxPyEndAllowThreads(__tstate
);
31407 if (PyErr_Occurred()) SWIG_fail
;
31409 Py_INCREF(Py_None
); resultobj
= Py_None
;
31416 static PyObject
*_wrap_Diagram_SetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31417 PyObject
*resultobj
;
31418 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31420 PyObject
* obj0
= 0 ;
31421 PyObject
* obj1
= 0 ;
31422 char *kwnames
[] = {
31423 (char *) "self",(char *) "snap", NULL
31426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetSnapToGrid",kwnames
,&obj0
,&obj1
)) goto fail
;
31427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31429 arg2
= (bool) SWIG_AsBool(obj1
);
31430 if (PyErr_Occurred()) SWIG_fail
;
31432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31433 (arg1
)->SetSnapToGrid(arg2
);
31435 wxPyEndAllowThreads(__tstate
);
31436 if (PyErr_Occurred()) SWIG_fail
;
31438 Py_INCREF(Py_None
); resultobj
= Py_None
;
31445 static PyObject
*_wrap_Diagram_ShowAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31446 PyObject
*resultobj
;
31447 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31449 PyObject
* obj0
= 0 ;
31450 PyObject
* obj1
= 0 ;
31451 char *kwnames
[] = {
31452 (char *) "self",(char *) "show", NULL
31455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_ShowAll",kwnames
,&obj0
,&obj1
)) goto fail
;
31456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31458 arg2
= (bool) SWIG_AsBool(obj1
);
31459 if (PyErr_Occurred()) SWIG_fail
;
31461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31462 (arg1
)->ShowAll(arg2
);
31464 wxPyEndAllowThreads(__tstate
);
31465 if (PyErr_Occurred()) SWIG_fail
;
31467 Py_INCREF(Py_None
); resultobj
= Py_None
;
31474 static PyObject
*_wrap_Diagram_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31475 PyObject
*resultobj
;
31476 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31477 double *arg2
= (double *) 0 ;
31478 double *arg3
= (double *) 0 ;
31481 PyObject
* obj0
= 0 ;
31482 PyObject
* obj1
= 0 ;
31483 PyObject
* obj2
= 0 ;
31484 char *kwnames
[] = {
31485 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
31488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Diagram_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31492 temp2
= PyFloat_AsDouble(obj1
);
31493 if (PyErr_Occurred()) SWIG_fail
;
31497 temp3
= PyFloat_AsDouble(obj2
);
31498 if (PyErr_Occurred()) SWIG_fail
;
31502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31503 (arg1
)->Snap(arg2
,arg3
);
31505 wxPyEndAllowThreads(__tstate
);
31506 if (PyErr_Occurred()) SWIG_fail
;
31508 Py_INCREF(Py_None
); resultobj
= Py_None
;
31510 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
31511 resultobj
= t_output_helper(resultobj
,o
);
31514 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
31515 resultobj
= t_output_helper(resultobj
,o
);
31523 static PyObject
* Diagram_swigregister(PyObject
*self
, PyObject
*args
) {
31525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31526 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram
, obj
);
31528 return Py_BuildValue((char *)"");
31530 static PyObject
*_wrap_new_PyShapeCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31531 PyObject
*resultobj
;
31532 wxWindow
*arg1
= (wxWindow
*) NULL
;
31533 int arg2
= (int) -1 ;
31534 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31535 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31536 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31537 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31538 long arg5
= (long) wxBORDER
;
31539 wxString
const &arg6_defvalue
= wxPyShapeCanvasNameStr
;
31540 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
31541 wxPyShapeCanvas
*result
;
31544 bool temp6
= False
;
31545 PyObject
* obj0
= 0 ;
31546 PyObject
* obj1
= 0 ;
31547 PyObject
* obj2
= 0 ;
31548 PyObject
* obj3
= 0 ;
31549 PyObject
* obj4
= 0 ;
31550 PyObject
* obj5
= 0 ;
31551 char *kwnames
[] = {
31552 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_PyShapeCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
31558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31561 arg2
= (int) SWIG_AsInt(obj1
);
31562 if (PyErr_Occurred()) SWIG_fail
;
31567 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31573 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31577 arg5
= (long) SWIG_AsLong(obj4
);
31578 if (PyErr_Occurred()) SWIG_fail
;
31582 arg6
= wxString_in_helper(obj5
);
31583 if (arg6
== NULL
) SWIG_fail
;
31588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31589 result
= (wxPyShapeCanvas
*)new wxPyShapeCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
31591 wxPyEndAllowThreads(__tstate
);
31592 if (PyErr_Occurred()) SWIG_fail
;
31595 resultobj
= wxPyMake_wxObject(result
);
31611 static PyObject
*_wrap_PyShapeCanvas__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31612 PyObject
*resultobj
;
31613 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31614 PyObject
*arg2
= (PyObject
*) 0 ;
31615 PyObject
*arg3
= (PyObject
*) 0 ;
31616 PyObject
* obj0
= 0 ;
31617 PyObject
* obj1
= 0 ;
31618 PyObject
* obj2
= 0 ;
31619 char *kwnames
[] = {
31620 (char *) "self",(char *) "self",(char *) "_class", NULL
31623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31630 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31632 wxPyEndAllowThreads(__tstate
);
31633 if (PyErr_Occurred()) SWIG_fail
;
31635 Py_INCREF(Py_None
); resultobj
= Py_None
;
31642 static PyObject
*_wrap_PyShapeCanvas_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31643 PyObject
*resultobj
;
31644 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31645 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31646 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
31647 PyObject
* obj0
= 0 ;
31648 PyObject
* obj1
= 0 ;
31649 PyObject
* obj2
= 0 ;
31650 char *kwnames
[] = {
31651 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
31654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31660 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
31661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31665 (arg1
)->AddShape(arg2
,arg3
);
31667 wxPyEndAllowThreads(__tstate
);
31668 if (PyErr_Occurred()) SWIG_fail
;
31670 Py_INCREF(Py_None
); resultobj
= Py_None
;
31677 static PyObject
*_wrap_PyShapeCanvas_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31678 PyObject
*resultobj
;
31679 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31682 int *arg4
= (int *) 0 ;
31683 wxClassInfo
*arg5
= (wxClassInfo
*) NULL
;
31684 wxPyShape
*arg6
= (wxPyShape
*) NULL
;
31687 PyObject
* obj0
= 0 ;
31688 PyObject
* obj1
= 0 ;
31689 PyObject
* obj2
= 0 ;
31690 PyObject
* obj3
= 0 ;
31691 PyObject
* obj4
= 0 ;
31692 char *kwnames
[] = {
31693 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
31697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeCanvas_FindShape",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31700 arg2
= (double) SWIG_AsDouble(obj1
);
31701 if (PyErr_Occurred()) SWIG_fail
;
31702 arg3
= (double) SWIG_AsDouble(obj2
);
31703 if (PyErr_Occurred()) SWIG_fail
;
31705 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxClassInfo
,
31706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31709 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg6
),SWIGTYPE_p_wxPyShape
,
31710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31714 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
,arg3
,arg4
,arg5
,arg6
);
31716 wxPyEndAllowThreads(__tstate
);
31717 if (PyErr_Occurred()) SWIG_fail
;
31720 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
31723 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
31724 resultobj
= t_output_helper(resultobj
,o
);
31732 static PyObject
*_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31733 PyObject
*resultobj
;
31734 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31737 int *arg4
= (int *) 0 ;
31741 PyObject
* obj0
= 0 ;
31742 PyObject
* obj1
= 0 ;
31743 PyObject
* obj2
= 0 ;
31744 PyObject
* obj3
= 0 ;
31745 char *kwnames
[] = {
31746 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
31750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShapeCanvas_FindFirstSensitiveShape",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31753 arg2
= (double) SWIG_AsDouble(obj1
);
31754 if (PyErr_Occurred()) SWIG_fail
;
31755 arg3
= (double) SWIG_AsDouble(obj2
);
31756 if (PyErr_Occurred()) SWIG_fail
;
31757 arg5
= (int) SWIG_AsInt(obj3
);
31758 if (PyErr_Occurred()) SWIG_fail
;
31760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31761 result
= (wxPyShape
*)(arg1
)->FindFirstSensitiveShape(arg2
,arg3
,arg4
,arg5
);
31763 wxPyEndAllowThreads(__tstate
);
31764 if (PyErr_Occurred()) SWIG_fail
;
31767 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
31770 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
31771 resultobj
= t_output_helper(resultobj
,o
);
31779 static PyObject
*_wrap_PyShapeCanvas_GetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31780 PyObject
*resultobj
;
31781 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31783 PyObject
* obj0
= 0 ;
31784 char *kwnames
[] = {
31785 (char *) "self", NULL
31788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetDiagram",kwnames
,&obj0
)) goto fail
;
31789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31793 result
= (wxDiagram
*)(arg1
)->GetDiagram();
31795 wxPyEndAllowThreads(__tstate
);
31796 if (PyErr_Occurred()) SWIG_fail
;
31799 resultobj
= wxPyMake_wxObject(result
);
31807 static PyObject
*_wrap_PyShapeCanvas_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31808 PyObject
*resultobj
;
31809 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31811 PyObject
* obj0
= 0 ;
31812 char *kwnames
[] = {
31813 (char *) "self", NULL
31816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
31817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31821 result
= (bool)(arg1
)->GetQuickEditMode();
31823 wxPyEndAllowThreads(__tstate
);
31824 if (PyErr_Occurred()) SWIG_fail
;
31826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31833 static PyObject
*_wrap_PyShapeCanvas_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31834 PyObject
*resultobj
;
31835 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31836 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31837 PyObject
* obj0
= 0 ;
31838 PyObject
* obj1
= 0 ;
31839 char *kwnames
[] = {
31840 (char *) "self",(char *) "shape", NULL
31843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31850 (arg1
)->InsertShape(arg2
);
31852 wxPyEndAllowThreads(__tstate
);
31853 if (PyErr_Occurred()) SWIG_fail
;
31855 Py_INCREF(Py_None
); resultobj
= Py_None
;
31862 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31863 PyObject
*resultobj
;
31864 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31867 int arg4
= (int) 0 ;
31868 PyObject
* obj0
= 0 ;
31869 PyObject
* obj1
= 0 ;
31870 PyObject
* obj2
= 0 ;
31871 PyObject
* obj3
= 0 ;
31872 char *kwnames
[] = {
31873 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
31876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31879 arg2
= (double) SWIG_AsDouble(obj1
);
31880 if (PyErr_Occurred()) SWIG_fail
;
31881 arg3
= (double) SWIG_AsDouble(obj2
);
31882 if (PyErr_Occurred()) SWIG_fail
;
31884 arg4
= (int) SWIG_AsInt(obj3
);
31885 if (PyErr_Occurred()) SWIG_fail
;
31888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31889 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
);
31891 wxPyEndAllowThreads(__tstate
);
31892 if (PyErr_Occurred()) SWIG_fail
;
31894 Py_INCREF(Py_None
); resultobj
= Py_None
;
31901 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31902 PyObject
*resultobj
;
31903 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31906 int arg4
= (int) 0 ;
31907 PyObject
* obj0
= 0 ;
31908 PyObject
* obj1
= 0 ;
31909 PyObject
* obj2
= 0 ;
31910 PyObject
* obj3
= 0 ;
31911 char *kwnames
[] = {
31912 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
31915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31918 arg2
= (double) SWIG_AsDouble(obj1
);
31919 if (PyErr_Occurred()) SWIG_fail
;
31920 arg3
= (double) SWIG_AsDouble(obj2
);
31921 if (PyErr_Occurred()) SWIG_fail
;
31923 arg4
= (int) SWIG_AsInt(obj3
);
31924 if (PyErr_Occurred()) SWIG_fail
;
31927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31928 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
);
31930 wxPyEndAllowThreads(__tstate
);
31931 if (PyErr_Occurred()) SWIG_fail
;
31933 Py_INCREF(Py_None
); resultobj
= Py_None
;
31940 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31941 PyObject
*resultobj
;
31942 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31945 int arg4
= (int) 0 ;
31946 PyObject
* obj0
= 0 ;
31947 PyObject
* obj1
= 0 ;
31948 PyObject
* obj2
= 0 ;
31949 PyObject
* obj3
= 0 ;
31950 char *kwnames
[] = {
31951 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
31954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31957 arg2
= (double) SWIG_AsDouble(obj1
);
31958 if (PyErr_Occurred()) SWIG_fail
;
31959 arg3
= (double) SWIG_AsDouble(obj2
);
31960 if (PyErr_Occurred()) SWIG_fail
;
31962 arg4
= (int) SWIG_AsInt(obj3
);
31963 if (PyErr_Occurred()) SWIG_fail
;
31966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31967 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
);
31969 wxPyEndAllowThreads(__tstate
);
31970 if (PyErr_Occurred()) SWIG_fail
;
31972 Py_INCREF(Py_None
); resultobj
= Py_None
;
31979 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31980 PyObject
*resultobj
;
31981 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31984 int arg4
= (int) 0 ;
31985 PyObject
* obj0
= 0 ;
31986 PyObject
* obj1
= 0 ;
31987 PyObject
* obj2
= 0 ;
31988 PyObject
* obj3
= 0 ;
31989 char *kwnames
[] = {
31990 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
31993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31996 arg2
= (double) SWIG_AsDouble(obj1
);
31997 if (PyErr_Occurred()) SWIG_fail
;
31998 arg3
= (double) SWIG_AsDouble(obj2
);
31999 if (PyErr_Occurred()) SWIG_fail
;
32001 arg4
= (int) SWIG_AsInt(obj3
);
32002 if (PyErr_Occurred()) SWIG_fail
;
32005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32006 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
);
32008 wxPyEndAllowThreads(__tstate
);
32009 if (PyErr_Occurred()) SWIG_fail
;
32011 Py_INCREF(Py_None
); resultobj
= Py_None
;
32018 static PyObject
*_wrap_PyShapeCanvas_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32019 PyObject
*resultobj
;
32020 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32024 int arg5
= (int) 0 ;
32025 PyObject
* obj0
= 0 ;
32026 PyObject
* obj1
= 0 ;
32027 PyObject
* obj2
= 0 ;
32028 PyObject
* obj3
= 0 ;
32029 PyObject
* obj4
= 0 ;
32030 char *kwnames
[] = {
32031 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShapeCanvas_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32037 arg2
= (bool) SWIG_AsBool(obj1
);
32038 if (PyErr_Occurred()) SWIG_fail
;
32039 arg3
= (double) SWIG_AsDouble(obj2
);
32040 if (PyErr_Occurred()) SWIG_fail
;
32041 arg4
= (double) SWIG_AsDouble(obj3
);
32042 if (PyErr_Occurred()) SWIG_fail
;
32044 arg5
= (int) SWIG_AsInt(obj4
);
32045 if (PyErr_Occurred()) SWIG_fail
;
32048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32049 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
);
32051 wxPyEndAllowThreads(__tstate
);
32052 if (PyErr_Occurred()) SWIG_fail
;
32054 Py_INCREF(Py_None
); resultobj
= Py_None
;
32061 static PyObject
*_wrap_PyShapeCanvas_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32062 PyObject
*resultobj
;
32063 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32067 int arg5
= (int) 0 ;
32068 PyObject
* obj0
= 0 ;
32069 PyObject
* obj1
= 0 ;
32070 PyObject
* obj2
= 0 ;
32071 PyObject
* obj3
= 0 ;
32072 PyObject
* obj4
= 0 ;
32073 char *kwnames
[] = {
32074 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShapeCanvas_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32080 arg2
= (bool) SWIG_AsBool(obj1
);
32081 if (PyErr_Occurred()) SWIG_fail
;
32082 arg3
= (double) SWIG_AsDouble(obj2
);
32083 if (PyErr_Occurred()) SWIG_fail
;
32084 arg4
= (double) SWIG_AsDouble(obj3
);
32085 if (PyErr_Occurred()) SWIG_fail
;
32087 arg5
= (int) SWIG_AsInt(obj4
);
32088 if (PyErr_Occurred()) SWIG_fail
;
32091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32092 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
);
32094 wxPyEndAllowThreads(__tstate
);
32095 if (PyErr_Occurred()) SWIG_fail
;
32097 Py_INCREF(Py_None
); resultobj
= Py_None
;
32104 static PyObject
*_wrap_PyShapeCanvas_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32105 PyObject
*resultobj
;
32106 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32109 int arg4
= (int) 0 ;
32110 PyObject
* obj0
= 0 ;
32111 PyObject
* obj1
= 0 ;
32112 PyObject
* obj2
= 0 ;
32113 PyObject
* obj3
= 0 ;
32114 char *kwnames
[] = {
32115 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32121 arg2
= (double) SWIG_AsDouble(obj1
);
32122 if (PyErr_Occurred()) SWIG_fail
;
32123 arg3
= (double) SWIG_AsDouble(obj2
);
32124 if (PyErr_Occurred()) SWIG_fail
;
32126 arg4
= (int) SWIG_AsInt(obj3
);
32127 if (PyErr_Occurred()) SWIG_fail
;
32130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32131 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
);
32133 wxPyEndAllowThreads(__tstate
);
32134 if (PyErr_Occurred()) SWIG_fail
;
32136 Py_INCREF(Py_None
); resultobj
= Py_None
;
32143 static PyObject
*_wrap_PyShapeCanvas_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32144 PyObject
*resultobj
;
32145 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32148 int arg4
= (int) 0 ;
32149 PyObject
* obj0
= 0 ;
32150 PyObject
* obj1
= 0 ;
32151 PyObject
* obj2
= 0 ;
32152 PyObject
* obj3
= 0 ;
32153 char *kwnames
[] = {
32154 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32160 arg2
= (double) SWIG_AsDouble(obj1
);
32161 if (PyErr_Occurred()) SWIG_fail
;
32162 arg3
= (double) SWIG_AsDouble(obj2
);
32163 if (PyErr_Occurred()) SWIG_fail
;
32165 arg4
= (int) SWIG_AsInt(obj3
);
32166 if (PyErr_Occurred()) SWIG_fail
;
32169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32170 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
);
32172 wxPyEndAllowThreads(__tstate
);
32173 if (PyErr_Occurred()) SWIG_fail
;
32175 Py_INCREF(Py_None
); resultobj
= Py_None
;
32182 static PyObject
*_wrap_PyShapeCanvas_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32183 PyObject
*resultobj
;
32184 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32186 PyObject
* obj0
= 0 ;
32187 PyObject
* obj1
= 0 ;
32188 char *kwnames
[] = {
32189 (char *) "self",(char *) "dc", NULL
32192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
32193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
32196 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32198 if (arg2
== NULL
) {
32199 PyErr_SetString(PyExc_TypeError
,"null reference");
32203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32204 (arg1
)->Redraw(*arg2
);
32206 wxPyEndAllowThreads(__tstate
);
32207 if (PyErr_Occurred()) SWIG_fail
;
32209 Py_INCREF(Py_None
); resultobj
= Py_None
;
32216 static PyObject
*_wrap_PyShapeCanvas_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32217 PyObject
*resultobj
;
32218 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32219 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
32220 PyObject
* obj0
= 0 ;
32221 PyObject
* obj1
= 0 ;
32222 char *kwnames
[] = {
32223 (char *) "self",(char *) "shape", NULL
32226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
32227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
32230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32233 (arg1
)->RemoveShape(arg2
);
32235 wxPyEndAllowThreads(__tstate
);
32236 if (PyErr_Occurred()) SWIG_fail
;
32238 Py_INCREF(Py_None
); resultobj
= Py_None
;
32245 static PyObject
*_wrap_PyShapeCanvas_SetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32246 PyObject
*resultobj
;
32247 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32248 wxDiagram
*arg2
= (wxDiagram
*) 0 ;
32249 PyObject
* obj0
= 0 ;
32250 PyObject
* obj1
= 0 ;
32251 char *kwnames
[] = {
32252 (char *) "self",(char *) "diagram", NULL
32255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames
,&obj0
,&obj1
)) goto fail
;
32256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDiagram
,
32259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32262 (arg1
)->SetDiagram(arg2
);
32264 wxPyEndAllowThreads(__tstate
);
32265 if (PyErr_Occurred()) SWIG_fail
;
32267 Py_INCREF(Py_None
); resultobj
= Py_None
;
32274 static PyObject
*_wrap_PyShapeCanvas_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32275 PyObject
*resultobj
;
32276 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32277 double *arg2
= (double *) 0 ;
32278 double *arg3
= (double *) 0 ;
32281 PyObject
* obj0
= 0 ;
32282 PyObject
* obj1
= 0 ;
32283 PyObject
* obj2
= 0 ;
32284 char *kwnames
[] = {
32285 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
32288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32292 temp2
= PyFloat_AsDouble(obj1
);
32293 if (PyErr_Occurred()) SWIG_fail
;
32297 temp3
= PyFloat_AsDouble(obj2
);
32298 if (PyErr_Occurred()) SWIG_fail
;
32302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32303 (arg1
)->Snap(arg2
,arg3
);
32305 wxPyEndAllowThreads(__tstate
);
32306 if (PyErr_Occurred()) SWIG_fail
;
32308 Py_INCREF(Py_None
); resultobj
= Py_None
;
32310 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
32311 resultobj
= t_output_helper(resultobj
,o
);
32314 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
32315 resultobj
= t_output_helper(resultobj
,o
);
32323 static PyObject
* PyShapeCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
32325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32326 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas
, obj
);
32328 return Py_BuildValue((char *)"");
32330 static PyObject
*_wrap_OGLInitialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32331 PyObject
*resultobj
;
32332 char *kwnames
[] = {
32336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLInitialize",kwnames
)) goto fail
;
32338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32341 wxPyEndAllowThreads(__tstate
);
32342 if (PyErr_Occurred()) SWIG_fail
;
32344 Py_INCREF(Py_None
); resultobj
= Py_None
;
32351 static PyObject
*_wrap_OGLCleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32352 PyObject
*resultobj
;
32353 char *kwnames
[] = {
32357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLCleanUp",kwnames
)) goto fail
;
32359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32362 wxPyEndAllowThreads(__tstate
);
32363 if (PyErr_Occurred()) SWIG_fail
;
32365 Py_INCREF(Py_None
); resultobj
= Py_None
;
32372 static PyMethodDef SwigMethods
[] = {
32373 { (char *)"new_ShapeRegion", (PyCFunction
) _wrap_new_ShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
32374 { (char *)"ShapeRegion_SetText", (PyCFunction
) _wrap_ShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
32375 { (char *)"ShapeRegion_SetFont", (PyCFunction
) _wrap_ShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
32376 { (char *)"ShapeRegion_SetMinSize", (PyCFunction
) _wrap_ShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
32377 { (char *)"ShapeRegion_SetSize", (PyCFunction
) _wrap_ShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
32378 { (char *)"ShapeRegion_SetPosition", (PyCFunction
) _wrap_ShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32379 { (char *)"ShapeRegion_SetProportions", (PyCFunction
) _wrap_ShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
32380 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction
) _wrap_ShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
32381 { (char *)"ShapeRegion_SetName", (PyCFunction
) _wrap_ShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
32382 { (char *)"ShapeRegion_SetColour", (PyCFunction
) _wrap_ShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
32383 { (char *)"ShapeRegion_GetText", (PyCFunction
) _wrap_ShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
32384 { (char *)"ShapeRegion_GetFont", (PyCFunction
) _wrap_ShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
32385 { (char *)"ShapeRegion_GetMinSize", (PyCFunction
) _wrap_ShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
32386 { (char *)"ShapeRegion_GetProportion", (PyCFunction
) _wrap_ShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
32387 { (char *)"ShapeRegion_GetSize", (PyCFunction
) _wrap_ShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
32388 { (char *)"ShapeRegion_GetPosition", (PyCFunction
) _wrap_ShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32389 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction
) _wrap_ShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
32390 { (char *)"ShapeRegion_GetName", (PyCFunction
) _wrap_ShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
32391 { (char *)"ShapeRegion_GetColour", (PyCFunction
) _wrap_ShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
32392 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_ShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
32393 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction
) _wrap_ShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
32394 { (char *)"ShapeRegion_GetPenColour", (PyCFunction
) _wrap_ShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
32395 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction
) _wrap_ShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
32396 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction
) _wrap_ShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
32397 { (char *)"ShapeRegion_SetPenColour", (PyCFunction
) _wrap_ShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
32398 { (char *)"ShapeRegion_GetActualPen", (PyCFunction
) _wrap_ShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
32399 { (char *)"ShapeRegion_GetWidth", (PyCFunction
) _wrap_ShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
32400 { (char *)"ShapeRegion_GetHeight", (PyCFunction
) _wrap_ShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
32401 { (char *)"ShapeRegion_ClearText", (PyCFunction
) _wrap_ShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
32402 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister
, METH_VARARGS
},
32403 { (char *)"new_AttachmentPoint", (PyCFunction
) _wrap_new_AttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
32404 { (char *)"AttachmentPoint_m_id_set", (PyCFunction
) _wrap_AttachmentPoint_m_id_set
, METH_VARARGS
| METH_KEYWORDS
},
32405 { (char *)"AttachmentPoint_m_id_get", (PyCFunction
) _wrap_AttachmentPoint_m_id_get
, METH_VARARGS
| METH_KEYWORDS
},
32406 { (char *)"AttachmentPoint_m_x_set", (PyCFunction
) _wrap_AttachmentPoint_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
32407 { (char *)"AttachmentPoint_m_x_get", (PyCFunction
) _wrap_AttachmentPoint_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
32408 { (char *)"AttachmentPoint_m_y_set", (PyCFunction
) _wrap_AttachmentPoint_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
32409 { (char *)"AttachmentPoint_m_y_get", (PyCFunction
) _wrap_AttachmentPoint_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
32410 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister
, METH_VARARGS
},
32411 { (char *)"new_PyShapeEvtHandler", (PyCFunction
) _wrap_new_PyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
32412 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32413 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
32414 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
32415 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
32416 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
32417 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
32418 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_PyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
32419 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32420 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32421 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32422 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32423 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32424 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32425 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32426 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32427 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32428 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32429 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32430 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32431 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32432 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32433 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32434 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32435 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32436 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32437 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32438 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32439 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32440 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32441 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32442 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32443 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32444 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32445 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32446 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32447 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32448 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister
, METH_VARARGS
},
32449 { (char *)"new_PyShape", (PyCFunction
) _wrap_new_PyShape
, METH_VARARGS
| METH_KEYWORDS
},
32450 { (char *)"PyShape__setCallbackInfo", (PyCFunction
) _wrap_PyShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32451 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
32452 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
32453 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction
) _wrap_PyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
32454 { (char *)"PyShape_GetCanvas", (PyCFunction
) _wrap_PyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32455 { (char *)"PyShape_SetCanvas", (PyCFunction
) _wrap_PyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32456 { (char *)"PyShape_AddToCanvas", (PyCFunction
) _wrap_PyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32457 { (char *)"PyShape_InsertInCanvas", (PyCFunction
) _wrap_PyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32458 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction
) _wrap_PyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32459 { (char *)"PyShape_GetX", (PyCFunction
) _wrap_PyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
32460 { (char *)"PyShape_GetY", (PyCFunction
) _wrap_PyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
32461 { (char *)"PyShape_SetX", (PyCFunction
) _wrap_PyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
32462 { (char *)"PyShape_SetY", (PyCFunction
) _wrap_PyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
32463 { (char *)"PyShape_GetParent", (PyCFunction
) _wrap_PyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
32464 { (char *)"PyShape_SetParent", (PyCFunction
) _wrap_PyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
32465 { (char *)"PyShape_GetTopAncestor", (PyCFunction
) _wrap_PyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
32466 { (char *)"PyShape_GetChildren", (PyCFunction
) _wrap_PyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
32467 { (char *)"PyShape_Unlink", (PyCFunction
) _wrap_PyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
32468 { (char *)"PyShape_SetDrawHandles", (PyCFunction
) _wrap_PyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
32469 { (char *)"PyShape_GetDrawHandles", (PyCFunction
) _wrap_PyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
32470 { (char *)"PyShape_MakeControlPoints", (PyCFunction
) _wrap_PyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32471 { (char *)"PyShape_DeleteControlPoints", (PyCFunction
) _wrap_PyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32472 { (char *)"PyShape_ResetControlPoints", (PyCFunction
) _wrap_PyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32473 { (char *)"PyShape_GetEventHandler", (PyCFunction
) _wrap_PyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
32474 { (char *)"PyShape_SetEventHandler", (PyCFunction
) _wrap_PyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
32475 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32476 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32477 { (char *)"PyShape_Recompute", (PyCFunction
) _wrap_PyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
32478 { (char *)"PyShape_CalculateSize", (PyCFunction
) _wrap_PyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
32479 { (char *)"PyShape_Select", (PyCFunction
) _wrap_PyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
32480 { (char *)"PyShape_SetHighlight", (PyCFunction
) _wrap_PyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32481 { (char *)"PyShape_IsHighlighted", (PyCFunction
) _wrap_PyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
32482 { (char *)"PyShape_Selected", (PyCFunction
) _wrap_PyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
32483 { (char *)"PyShape_AncestorSelected", (PyCFunction
) _wrap_PyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
32484 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction
) _wrap_PyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
32485 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction
) _wrap_PyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
32486 { (char *)"PyShape_SetDraggable", (PyCFunction
) _wrap_PyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
32487 { (char *)"PyShape_SetFixedSize", (PyCFunction
) _wrap_PyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
32488 { (char *)"PyShape_GetFixedSize", (PyCFunction
) _wrap_PyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
32489 { (char *)"PyShape_GetFixedWidth", (PyCFunction
) _wrap_PyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
32490 { (char *)"PyShape_GetFixedHeight", (PyCFunction
) _wrap_PyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
32491 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction
) _wrap_PyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32492 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction
) _wrap_PyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32493 { (char *)"PyShape_SetShadowMode", (PyCFunction
) _wrap_PyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
32494 { (char *)"PyShape_GetShadowMode", (PyCFunction
) _wrap_PyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
32495 { (char *)"PyShape_HitTest", (PyCFunction
) _wrap_PyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
32496 { (char *)"PyShape_SetCentreResize", (PyCFunction
) _wrap_PyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
32497 { (char *)"PyShape_GetCentreResize", (PyCFunction
) _wrap_PyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
32498 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
32499 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
32500 { (char *)"PyShape_GetLines", (PyCFunction
) _wrap_PyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
32501 { (char *)"PyShape_SetDisableLabel", (PyCFunction
) _wrap_PyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
32502 { (char *)"PyShape_GetDisableLabel", (PyCFunction
) _wrap_PyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
32503 { (char *)"PyShape_SetAttachmentMode", (PyCFunction
) _wrap_PyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
32504 { (char *)"PyShape_GetAttachmentMode", (PyCFunction
) _wrap_PyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
32505 { (char *)"PyShape_SetId", (PyCFunction
) _wrap_PyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
32506 { (char *)"PyShape_GetId", (PyCFunction
) _wrap_PyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
32507 { (char *)"PyShape_SetPen", (PyCFunction
) _wrap_PyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
32508 { (char *)"PyShape_SetBrush", (PyCFunction
) _wrap_PyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
32509 { (char *)"PyShape_Show", (PyCFunction
) _wrap_PyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
32510 { (char *)"PyShape_IsShown", (PyCFunction
) _wrap_PyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
32511 { (char *)"PyShape_Move", (PyCFunction
) _wrap_PyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
32512 { (char *)"PyShape_Erase", (PyCFunction
) _wrap_PyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
32513 { (char *)"PyShape_EraseContents", (PyCFunction
) _wrap_PyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32514 { (char *)"PyShape_Draw", (PyCFunction
) _wrap_PyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
32515 { (char *)"PyShape_Flash", (PyCFunction
) _wrap_PyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
32516 { (char *)"PyShape_MoveLinks", (PyCFunction
) _wrap_PyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32517 { (char *)"PyShape_DrawContents", (PyCFunction
) _wrap_PyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32518 { (char *)"PyShape_SetSize", (PyCFunction
) _wrap_PyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
32519 { (char *)"PyShape_SetAttachmentSize", (PyCFunction
) _wrap_PyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
32520 { (char *)"PyShape_Attach", (PyCFunction
) _wrap_PyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
32521 { (char *)"PyShape_Detach", (PyCFunction
) _wrap_PyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
32522 { (char *)"PyShape_Constrain", (PyCFunction
) _wrap_PyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
32523 { (char *)"PyShape_AddLine", (PyCFunction
) _wrap_PyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
32524 { (char *)"PyShape_GetLinePosition", (PyCFunction
) _wrap_PyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
32525 { (char *)"PyShape_AddText", (PyCFunction
) _wrap_PyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
32526 { (char *)"PyShape_GetPen", (PyCFunction
) _wrap_PyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
32527 { (char *)"PyShape_GetBrush", (PyCFunction
) _wrap_PyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
32528 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_PyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
32529 { (char *)"PyShape_FormatText", (PyCFunction
) _wrap_PyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
32530 { (char *)"PyShape_SetFormatMode", (PyCFunction
) _wrap_PyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
32531 { (char *)"PyShape_GetFormatMode", (PyCFunction
) _wrap_PyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
32532 { (char *)"PyShape_SetFont", (PyCFunction
) _wrap_PyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
32533 { (char *)"PyShape_GetFont", (PyCFunction
) _wrap_PyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
32534 { (char *)"PyShape_SetTextColour", (PyCFunction
) _wrap_PyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32535 { (char *)"PyShape_GetTextColour", (PyCFunction
) _wrap_PyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32536 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_PyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
32537 { (char *)"PyShape_SetRegionName", (PyCFunction
) _wrap_PyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
32538 { (char *)"PyShape_GetRegionName", (PyCFunction
) _wrap_PyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
32539 { (char *)"PyShape_GetRegionId", (PyCFunction
) _wrap_PyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
32540 { (char *)"PyShape_NameRegions", (PyCFunction
) _wrap_PyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
32541 { (char *)"PyShape_GetRegions", (PyCFunction
) _wrap_PyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
32542 { (char *)"PyShape_AddRegion", (PyCFunction
) _wrap_PyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
32543 { (char *)"PyShape_ClearRegions", (PyCFunction
) _wrap_PyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
32544 { (char *)"PyShape_AssignNewIds", (PyCFunction
) _wrap_PyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
32545 { (char *)"PyShape_FindRegion", (PyCFunction
) _wrap_PyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
32546 { (char *)"PyShape_FindRegionNames", (PyCFunction
) _wrap_PyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
32547 { (char *)"PyShape_ClearText", (PyCFunction
) _wrap_PyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
32548 { (char *)"PyShape_RemoveLine", (PyCFunction
) _wrap_PyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
32549 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction
) _wrap_PyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
32550 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_PyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32551 { (char *)"PyShape_AttachmentIsValid", (PyCFunction
) _wrap_PyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
32552 { (char *)"PyShape_GetAttachments", (PyCFunction
) _wrap_PyShape_GetAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32553 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_PyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
32554 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_PyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
32555 { (char *)"PyShape_AttachmentSortTest", (PyCFunction
) _wrap_PyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
32556 { (char *)"PyShape_EraseLinks", (PyCFunction
) _wrap_PyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
32557 { (char *)"PyShape_DrawLinks", (PyCFunction
) _wrap_PyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
32558 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_PyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
32559 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_PyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
32560 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
32561 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
32562 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
32563 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_PyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
32564 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction
) _wrap_PyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
32565 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction
) _wrap_PyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
32566 { (char *)"PyShape_SetBranchStemLength", (PyCFunction
) _wrap_PyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
32567 { (char *)"PyShape_GetBranchStemLength", (PyCFunction
) _wrap_PyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
32568 { (char *)"PyShape_SetBranchSpacing", (PyCFunction
) _wrap_PyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
32569 { (char *)"PyShape_GetBranchSpacing", (PyCFunction
) _wrap_PyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
32570 { (char *)"PyShape_SetBranchStyle", (PyCFunction
) _wrap_PyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
32571 { (char *)"PyShape_GetBranchStyle", (PyCFunction
) _wrap_PyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
32572 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_PyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
32573 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_PyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
32574 { (char *)"PyShape_Draggable", (PyCFunction
) _wrap_PyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
32575 { (char *)"PyShape_HasDescendant", (PyCFunction
) _wrap_PyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
32576 { (char *)"PyShape_CreateNewCopy", (PyCFunction
) _wrap_PyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
32577 { (char *)"PyShape_Copy", (PyCFunction
) _wrap_PyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
32578 { (char *)"PyShape_CopyWithHandler", (PyCFunction
) _wrap_PyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
32579 { (char *)"PyShape_Rotate", (PyCFunction
) _wrap_PyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
32580 { (char *)"PyShape_GetRotation", (PyCFunction
) _wrap_PyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
32581 { (char *)"PyShape_SetRotation", (PyCFunction
) _wrap_PyShape_SetRotation
, METH_VARARGS
| METH_KEYWORDS
},
32582 { (char *)"PyShape_ClearAttachments", (PyCFunction
) _wrap_PyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32583 { (char *)"PyShape_Recentre", (PyCFunction
) _wrap_PyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
32584 { (char *)"PyShape_ClearPointList", (PyCFunction
) _wrap_PyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
32585 { (char *)"PyShape_GetBackgroundPen", (PyCFunction
) _wrap_PyShape_GetBackgroundPen
, METH_VARARGS
| METH_KEYWORDS
},
32586 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction
) _wrap_PyShape_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
},
32587 { (char *)"PyShape_base_OnDelete", (PyCFunction
) _wrap_PyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32588 { (char *)"PyShape_base_OnDraw", (PyCFunction
) _wrap_PyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32589 { (char *)"PyShape_base_OnDrawContents", (PyCFunction
) _wrap_PyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32590 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32591 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32592 { (char *)"PyShape_base_OnErase", (PyCFunction
) _wrap_PyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32593 { (char *)"PyShape_base_OnEraseContents", (PyCFunction
) _wrap_PyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32594 { (char *)"PyShape_base_OnHighlight", (PyCFunction
) _wrap_PyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32595 { (char *)"PyShape_base_OnLeftClick", (PyCFunction
) _wrap_PyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32596 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32597 { (char *)"PyShape_base_OnRightClick", (PyCFunction
) _wrap_PyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32598 { (char *)"PyShape_base_OnSize", (PyCFunction
) _wrap_PyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32599 { (char *)"PyShape_base_OnMovePre", (PyCFunction
) _wrap_PyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32600 { (char *)"PyShape_base_OnMovePost", (PyCFunction
) _wrap_PyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32601 { (char *)"PyShape_base_OnDragLeft", (PyCFunction
) _wrap_PyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32602 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32603 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32604 { (char *)"PyShape_base_OnDragRight", (PyCFunction
) _wrap_PyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32605 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32606 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32607 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32608 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32609 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32610 { (char *)"PyShape_base_OnMoveLink", (PyCFunction
) _wrap_PyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32611 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32612 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32613 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32614 { (char *)"PyShape_base_OnBeginSize", (PyCFunction
) _wrap_PyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32615 { (char *)"PyShape_base_OnEndSize", (PyCFunction
) _wrap_PyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32616 { (char *)"PyShape_swigregister", PyShape_swigregister
, METH_VARARGS
},
32617 { (char *)"new_PseudoMetaFile", (PyCFunction
) _wrap_new_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32618 { (char *)"delete_PseudoMetaFile", (PyCFunction
) _wrap_delete_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32619 { (char *)"PseudoMetaFile_Draw", (PyCFunction
) _wrap_PseudoMetaFile_Draw
, METH_VARARGS
| METH_KEYWORDS
},
32620 { (char *)"PseudoMetaFile_Clear", (PyCFunction
) _wrap_PseudoMetaFile_Clear
, METH_VARARGS
| METH_KEYWORDS
},
32621 { (char *)"PseudoMetaFile_Copy", (PyCFunction
) _wrap_PseudoMetaFile_Copy
, METH_VARARGS
| METH_KEYWORDS
},
32622 { (char *)"PseudoMetaFile_Scale", (PyCFunction
) _wrap_PseudoMetaFile_Scale
, METH_VARARGS
| METH_KEYWORDS
},
32623 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction
) _wrap_PseudoMetaFile_ScaleTo
, METH_VARARGS
| METH_KEYWORDS
},
32624 { (char *)"PseudoMetaFile_Translate", (PyCFunction
) _wrap_PseudoMetaFile_Translate
, METH_VARARGS
| METH_KEYWORDS
},
32625 { (char *)"PseudoMetaFile_Rotate", (PyCFunction
) _wrap_PseudoMetaFile_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
32626 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction
) _wrap_PseudoMetaFile_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32627 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction
) _wrap_PseudoMetaFile_GetBounds
, METH_VARARGS
| METH_KEYWORDS
},
32628 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction
) _wrap_PseudoMetaFile_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
32629 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_SetRotateable
, METH_VARARGS
| METH_KEYWORDS
},
32630 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_GetRotateable
, METH_VARARGS
| METH_KEYWORDS
},
32631 { (char *)"PseudoMetaFile_SetSize", (PyCFunction
) _wrap_PseudoMetaFile_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
32632 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetFillBrush
, METH_VARARGS
| METH_KEYWORDS
},
32633 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_GetFillBrush
, METH_VARARGS
| METH_KEYWORDS
},
32634 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
},
32635 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
},
32636 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
},
32637 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
},
32638 { (char *)"PseudoMetaFile_IsValid", (PyCFunction
) _wrap_PseudoMetaFile_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
32639 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction
) _wrap_PseudoMetaFile_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
32640 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
32641 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
32642 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
32643 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
32644 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
32645 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction
) _wrap_PseudoMetaFile_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
32646 { (char *)"PseudoMetaFile_DrawText", (PyCFunction
) _wrap_PseudoMetaFile_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
32647 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction
) _wrap_PseudoMetaFile_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
32648 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction
) _wrap_PseudoMetaFile_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
32649 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction
) _wrap_PseudoMetaFile_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
32650 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
32651 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
32652 { (char *)"PseudoMetaFile_SetPen", (PyCFunction
) _wrap_PseudoMetaFile_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
32653 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
32654 { (char *)"PseudoMetaFile_SetFont", (PyCFunction
) _wrap_PseudoMetaFile_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
32655 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction
) _wrap_PseudoMetaFile_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32656 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32657 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
32658 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister
, METH_VARARGS
},
32659 { (char *)"new_PyRectangleShape", (PyCFunction
) _wrap_new_PyRectangleShape
, METH_VARARGS
| METH_KEYWORDS
},
32660 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction
) _wrap_PyRectangleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32661 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
32662 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_GetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
32663 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction
) _wrap_PyRectangleShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32664 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction
) _wrap_PyRectangleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32665 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32666 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32667 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32668 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction
) _wrap_PyRectangleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32669 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32670 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction
) _wrap_PyRectangleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32671 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32672 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32673 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32674 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32675 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32676 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32677 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32678 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32679 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32680 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32681 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32682 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32683 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32684 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32685 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32686 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32687 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32688 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32689 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32690 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32691 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32692 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister
, METH_VARARGS
},
32693 { (char *)"new_PyControlPoint", (PyCFunction
) _wrap_new_PyControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
32694 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction
) _wrap_PyControlPoint__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32695 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction
) _wrap_PyControlPoint_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
32696 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction
) _wrap_PyControlPoint_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32697 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction
) _wrap_PyControlPoint_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32698 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32699 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32700 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32701 { (char *)"PyControlPoint_base_OnErase", (PyCFunction
) _wrap_PyControlPoint_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32702 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32703 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction
) _wrap_PyControlPoint_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32704 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32705 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32706 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction
) _wrap_PyControlPoint_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32707 { (char *)"PyControlPoint_base_OnSize", (PyCFunction
) _wrap_PyControlPoint_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32708 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32709 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32710 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32711 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32712 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32713 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32714 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32715 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32716 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32717 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32718 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32719 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32720 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32721 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32722 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32723 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32724 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction
) _wrap_PyControlPoint_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32725 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister
, METH_VARARGS
},
32726 { (char *)"new_PyBitmapShape", (PyCFunction
) _wrap_new_PyBitmapShape
, METH_VARARGS
| METH_KEYWORDS
},
32727 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32728 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction
) _wrap_PyBitmapShape_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
32729 { (char *)"PyBitmapShape_GetFilename", (PyCFunction
) _wrap_PyBitmapShape_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
32730 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction
) _wrap_PyBitmapShape_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
32731 { (char *)"PyBitmapShape_SetFilename", (PyCFunction
) _wrap_PyBitmapShape_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
32732 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction
) _wrap_PyBitmapShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32733 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction
) _wrap_PyBitmapShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32734 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32735 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32736 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32737 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction
) _wrap_PyBitmapShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32738 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32739 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction
) _wrap_PyBitmapShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32740 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32741 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32742 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32743 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32744 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32745 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32746 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32747 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32748 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32749 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32750 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32751 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32752 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32753 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32754 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32755 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32756 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32757 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32758 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32759 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32760 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32761 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister
, METH_VARARGS
},
32762 { (char *)"new_PyDrawnShape", (PyCFunction
) _wrap_new_PyDrawnShape
, METH_VARARGS
| METH_KEYWORDS
},
32763 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction
) _wrap_PyDrawnShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32764 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction
) _wrap_PyDrawnShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
32765 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction
) _wrap_PyDrawnShape_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
32766 { (char *)"PyDrawnShape_DrawArc", (PyCFunction
) _wrap_PyDrawnShape_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
32767 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction
) _wrap_PyDrawnShape_DrawAtAngle
, METH_VARARGS
| METH_KEYWORDS
},
32768 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction
) _wrap_PyDrawnShape_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
32769 { (char *)"PyDrawnShape_DrawLine", (PyCFunction
) _wrap_PyDrawnShape_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
32770 { (char *)"PyDrawnShape_DrawLines", (PyCFunction
) _wrap_PyDrawnShape_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
32771 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction
) _wrap_PyDrawnShape_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
32772 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction
) _wrap_PyDrawnShape_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
32773 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
32774 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
32775 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction
) _wrap_PyDrawnShape_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
32776 { (char *)"PyDrawnShape_DrawText", (PyCFunction
) _wrap_PyDrawnShape_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
32777 { (char *)"PyDrawnShape_GetAngle", (PyCFunction
) _wrap_PyDrawnShape_GetAngle
, METH_VARARGS
| METH_KEYWORDS
},
32778 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction
) _wrap_PyDrawnShape_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32779 { (char *)"PyDrawnShape_GetRotation", (PyCFunction
) _wrap_PyDrawnShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
32780 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction
) _wrap_PyDrawnShape_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32781 { (char *)"PyDrawnShape_Rotate", (PyCFunction
) _wrap_PyDrawnShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
32782 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction
) _wrap_PyDrawnShape_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
32783 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32784 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
32785 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBrush
, METH_VARARGS
| METH_KEYWORDS
},
32786 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnFont
, METH_VARARGS
| METH_KEYWORDS
},
32787 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnPen
, METH_VARARGS
| METH_KEYWORDS
},
32788 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32789 { (char *)"PyDrawnShape_Scale", (PyCFunction
) _wrap_PyDrawnShape_Scale
, METH_VARARGS
| METH_KEYWORDS
},
32790 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction
) _wrap_PyDrawnShape_SetSaveToFile
, METH_VARARGS
| METH_KEYWORDS
},
32791 { (char *)"PyDrawnShape_Translate", (PyCFunction
) _wrap_PyDrawnShape_Translate
, METH_VARARGS
| METH_KEYWORDS
},
32792 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction
) _wrap_PyDrawnShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32793 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction
) _wrap_PyDrawnShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32794 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32795 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32796 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32797 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction
) _wrap_PyDrawnShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32798 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32799 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction
) _wrap_PyDrawnShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32800 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32801 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32802 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32803 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32804 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32805 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32806 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32807 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32808 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32809 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32810 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32811 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32812 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32813 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32814 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32815 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32816 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32817 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32818 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32819 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32820 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32821 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister
, METH_VARARGS
},
32822 { (char *)"new_OGLConstraint", (PyCFunction
) _wrap_new_OGLConstraint
, METH_VARARGS
| METH_KEYWORDS
},
32823 { (char *)"OGLConstraint_Evaluate", (PyCFunction
) _wrap_OGLConstraint_Evaluate
, METH_VARARGS
| METH_KEYWORDS
},
32824 { (char *)"OGLConstraint_SetSpacing", (PyCFunction
) _wrap_OGLConstraint_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
32825 { (char *)"OGLConstraint_Equals", (PyCFunction
) _wrap_OGLConstraint_Equals
, METH_VARARGS
| METH_KEYWORDS
},
32826 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister
, METH_VARARGS
},
32827 { (char *)"new_PyCompositeShape", (PyCFunction
) _wrap_new_PyCompositeShape
, METH_VARARGS
| METH_KEYWORDS
},
32828 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction
) _wrap_PyCompositeShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32829 { (char *)"PyCompositeShape_AddChild", (PyCFunction
) _wrap_PyCompositeShape_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
32830 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddConstraint
, METH_VARARGS
| METH_KEYWORDS
},
32831 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction
) _wrap_PyCompositeShape_AddConstrainedShapes
, METH_VARARGS
| METH_KEYWORDS
},
32832 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddSimpleConstraint
, METH_VARARGS
| METH_KEYWORDS
},
32833 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction
) _wrap_PyCompositeShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
32834 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction
) _wrap_PyCompositeShape_ContainsDivision
, METH_VARARGS
| METH_KEYWORDS
},
32835 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraint
, METH_VARARGS
| METH_KEYWORDS
},
32836 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild
, METH_VARARGS
| METH_KEYWORDS
},
32837 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction
) _wrap_PyCompositeShape_FindContainerImage
, METH_VARARGS
| METH_KEYWORDS
},
32838 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction
) _wrap_PyCompositeShape_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
32839 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction
) _wrap_PyCompositeShape_GetDivisions
, METH_VARARGS
| METH_KEYWORDS
},
32840 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction
) _wrap_PyCompositeShape_MakeContainer
, METH_VARARGS
| METH_KEYWORDS
},
32841 { (char *)"PyCompositeShape_Recompute", (PyCFunction
) _wrap_PyCompositeShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
32842 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction
) _wrap_PyCompositeShape_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
32843 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction
) _wrap_PyCompositeShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32844 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction
) _wrap_PyCompositeShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32845 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32846 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32847 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32848 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction
) _wrap_PyCompositeShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32849 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32850 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction
) _wrap_PyCompositeShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32851 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32852 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32853 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32854 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32855 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32856 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32857 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32858 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32859 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32860 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32861 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32862 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32863 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32864 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32865 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32866 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32867 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32868 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32869 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32870 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32871 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32872 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister
, METH_VARARGS
},
32873 { (char *)"new_PyDividedShape", (PyCFunction
) _wrap_new_PyDividedShape
, METH_VARARGS
| METH_KEYWORDS
},
32874 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction
) _wrap_PyDividedShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32875 { (char *)"PyDividedShape_EditRegions", (PyCFunction
) _wrap_PyDividedShape_EditRegions
, METH_VARARGS
| METH_KEYWORDS
},
32876 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction
) _wrap_PyDividedShape_SetRegionSizes
, METH_VARARGS
| METH_KEYWORDS
},
32877 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction
) _wrap_PyDividedShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32878 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction
) _wrap_PyDividedShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32879 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32880 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32881 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32882 { (char *)"PyDividedShape_base_OnErase", (PyCFunction
) _wrap_PyDividedShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32883 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32884 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction
) _wrap_PyDividedShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32885 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32886 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32887 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction
) _wrap_PyDividedShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32888 { (char *)"PyDividedShape_base_OnSize", (PyCFunction
) _wrap_PyDividedShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32889 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32890 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32891 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32892 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32893 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32894 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32895 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32896 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32897 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32898 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32899 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32900 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32901 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32902 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32903 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32904 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32905 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction
) _wrap_PyDividedShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32906 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister
, METH_VARARGS
},
32907 { (char *)"new_PyDivisionShape", (PyCFunction
) _wrap_new_PyDivisionShape
, METH_VARARGS
| METH_KEYWORDS
},
32908 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction
) _wrap_PyDivisionShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32909 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction
) _wrap_PyDivisionShape_AdjustBottom
, METH_VARARGS
| METH_KEYWORDS
},
32910 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction
) _wrap_PyDivisionShape_AdjustLeft
, METH_VARARGS
| METH_KEYWORDS
},
32911 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction
) _wrap_PyDivisionShape_AdjustRight
, METH_VARARGS
| METH_KEYWORDS
},
32912 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction
) _wrap_PyDivisionShape_AdjustTop
, METH_VARARGS
| METH_KEYWORDS
},
32913 { (char *)"PyDivisionShape_Divide", (PyCFunction
) _wrap_PyDivisionShape_Divide
, METH_VARARGS
| METH_KEYWORDS
},
32914 { (char *)"PyDivisionShape_EditEdge", (PyCFunction
) _wrap_PyDivisionShape_EditEdge
, METH_VARARGS
| METH_KEYWORDS
},
32915 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_GetBottomSide
, METH_VARARGS
| METH_KEYWORDS
},
32916 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_GetHandleSide
, METH_VARARGS
| METH_KEYWORDS
},
32917 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSide
, METH_VARARGS
| METH_KEYWORDS
},
32918 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
},
32919 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
},
32920 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction
) _wrap_PyDivisionShape_GetRightSide
, METH_VARARGS
| METH_KEYWORDS
},
32921 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction
) _wrap_PyDivisionShape_GetTopSide
, METH_VARARGS
| METH_KEYWORDS
},
32922 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
},
32923 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction
) _wrap_PyDivisionShape_ResizeAdjoining
, METH_VARARGS
| METH_KEYWORDS
},
32924 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction
) _wrap_PyDivisionShape_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
32925 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_SetBottomSide
, METH_VARARGS
| METH_KEYWORDS
},
32926 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_SetHandleSide
, METH_VARARGS
| METH_KEYWORDS
},
32927 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSide
, METH_VARARGS
| METH_KEYWORDS
},
32928 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
},
32929 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
},
32930 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction
) _wrap_PyDivisionShape_SetRightSide
, METH_VARARGS
| METH_KEYWORDS
},
32931 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction
) _wrap_PyDivisionShape_SetTopSide
, METH_VARARGS
| METH_KEYWORDS
},
32932 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetTopSideColour
, METH_VARARGS
| METH_KEYWORDS
},
32933 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
},
32934 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction
) _wrap_PyDivisionShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32935 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction
) _wrap_PyDivisionShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32936 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32937 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32938 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32939 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction
) _wrap_PyDivisionShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32940 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32941 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction
) _wrap_PyDivisionShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32942 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32943 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32944 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32945 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32946 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32947 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32948 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32949 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32950 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32951 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32952 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32953 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32954 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32955 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32956 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32957 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32958 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32959 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32960 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32961 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32962 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32963 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister
, METH_VARARGS
},
32964 { (char *)"new_PyEllipseShape", (PyCFunction
) _wrap_new_PyEllipseShape
, METH_VARARGS
| METH_KEYWORDS
},
32965 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction
) _wrap_PyEllipseShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32966 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction
) _wrap_PyEllipseShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32967 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32968 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32969 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32970 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction
) _wrap_PyEllipseShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32971 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32972 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction
) _wrap_PyEllipseShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32973 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32974 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32975 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32976 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32977 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32978 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32979 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32980 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32981 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32982 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32983 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32984 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32985 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32986 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32987 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32988 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32989 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32990 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32991 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32992 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32993 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32994 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister
, METH_VARARGS
},
32995 { (char *)"new_PyCircleShape", (PyCFunction
) _wrap_new_PyCircleShape
, METH_VARARGS
| METH_KEYWORDS
},
32996 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction
) _wrap_PyCircleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32997 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction
) _wrap_PyCircleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32998 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32999 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33000 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33001 { (char *)"PyCircleShape_base_OnErase", (PyCFunction
) _wrap_PyCircleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33002 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33003 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction
) _wrap_PyCircleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33004 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33005 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33006 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction
) _wrap_PyCircleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33007 { (char *)"PyCircleShape_base_OnSize", (PyCFunction
) _wrap_PyCircleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33008 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33009 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33010 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33011 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33012 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33013 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33014 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33015 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33016 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33017 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33018 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33019 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33020 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33021 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33022 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33023 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33024 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction
) _wrap_PyCircleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33025 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister
, METH_VARARGS
},
33026 { (char *)"new_ArrowHead", (PyCFunction
) _wrap_new_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
33027 { (char *)"delete_ArrowHead", (PyCFunction
) _wrap_delete_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
33028 { (char *)"ArrowHead__GetType", (PyCFunction
) _wrap_ArrowHead__GetType
, METH_VARARGS
| METH_KEYWORDS
},
33029 { (char *)"ArrowHead_GetPosition", (PyCFunction
) _wrap_ArrowHead_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
33030 { (char *)"ArrowHead_SetPosition", (PyCFunction
) _wrap_ArrowHead_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
33031 { (char *)"ArrowHead_GetXOffset", (PyCFunction
) _wrap_ArrowHead_GetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
33032 { (char *)"ArrowHead_GetYOffset", (PyCFunction
) _wrap_ArrowHead_GetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
33033 { (char *)"ArrowHead_GetSpacing", (PyCFunction
) _wrap_ArrowHead_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33034 { (char *)"ArrowHead_GetSize", (PyCFunction
) _wrap_ArrowHead_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
33035 { (char *)"ArrowHead_GetName", (PyCFunction
) _wrap_ArrowHead_GetName
, METH_VARARGS
| METH_KEYWORDS
},
33036 { (char *)"ArrowHead_SetXOffset", (PyCFunction
) _wrap_ArrowHead_SetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
33037 { (char *)"ArrowHead_SetYOffset", (PyCFunction
) _wrap_ArrowHead_SetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
33038 { (char *)"ArrowHead_GetMetaFile", (PyCFunction
) _wrap_ArrowHead_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
33039 { (char *)"ArrowHead_GetId", (PyCFunction
) _wrap_ArrowHead_GetId
, METH_VARARGS
| METH_KEYWORDS
},
33040 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction
) _wrap_ArrowHead_GetArrowEnd
, METH_VARARGS
| METH_KEYWORDS
},
33041 { (char *)"ArrowHead_GetArrowSize", (PyCFunction
) _wrap_ArrowHead_GetArrowSize
, METH_VARARGS
| METH_KEYWORDS
},
33042 { (char *)"ArrowHead_SetSize", (PyCFunction
) _wrap_ArrowHead_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
33043 { (char *)"ArrowHead_SetSpacing", (PyCFunction
) _wrap_ArrowHead_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33044 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister
, METH_VARARGS
},
33045 { (char *)"new_PyLineShape", (PyCFunction
) _wrap_new_PyLineShape
, METH_VARARGS
| METH_KEYWORDS
},
33046 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction
) _wrap_PyLineShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33047 { (char *)"PyLineShape_AddArrow", (PyCFunction
) _wrap_PyLineShape_AddArrow
, METH_VARARGS
| METH_KEYWORDS
},
33048 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction
) _wrap_PyLineShape_AddArrowOrdered
, METH_VARARGS
| METH_KEYWORDS
},
33049 { (char *)"PyLineShape_ClearArrow", (PyCFunction
) _wrap_PyLineShape_ClearArrow
, METH_VARARGS
| METH_KEYWORDS
},
33050 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction
) _wrap_PyLineShape_ClearArrowsAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
33051 { (char *)"PyLineShape_DrawArrow", (PyCFunction
) _wrap_PyLineShape_DrawArrow
, METH_VARARGS
| METH_KEYWORDS
},
33052 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
33053 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
33054 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction
) _wrap_PyLineShape_DeleteLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
33055 { (char *)"PyLineShape_DrawArrows", (PyCFunction
) _wrap_PyLineShape_DrawArrows
, METH_VARARGS
| METH_KEYWORDS
},
33056 { (char *)"PyLineShape_DrawRegion", (PyCFunction
) _wrap_PyLineShape_DrawRegion
, METH_VARARGS
| METH_KEYWORDS
},
33057 { (char *)"PyLineShape_EraseRegion", (PyCFunction
) _wrap_PyLineShape_EraseRegion
, METH_VARARGS
| METH_KEYWORDS
},
33058 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction
) _wrap_PyLineShape_FindArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
33059 { (char *)"PyLineShape_FindArrowHead", (PyCFunction
) _wrap_PyLineShape_FindArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
33060 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction
) _wrap_PyLineShape_FindLineEndPoints
, METH_VARARGS
| METH_KEYWORDS
},
33061 { (char *)"PyLineShape_FindLinePosition", (PyCFunction
) _wrap_PyLineShape_FindLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
33062 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction
) _wrap_PyLineShape_FindMinimumWidth
, METH_VARARGS
| METH_KEYWORDS
},
33063 { (char *)"PyLineShape_FindNth", (PyCFunction
) _wrap_PyLineShape_FindNth
, METH_VARARGS
| METH_KEYWORDS
},
33064 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_GetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
33065 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_GetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
33066 { (char *)"PyLineShape_GetEnds", (PyCFunction
) _wrap_PyLineShape_GetEnds
, METH_VARARGS
| METH_KEYWORDS
},
33067 { (char *)"PyLineShape_GetFrom", (PyCFunction
) _wrap_PyLineShape_GetFrom
, METH_VARARGS
| METH_KEYWORDS
},
33068 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction
) _wrap_PyLineShape_GetLabelPosition
, METH_VARARGS
| METH_KEYWORDS
},
33069 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction
) _wrap_PyLineShape_GetNextControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
33070 { (char *)"PyLineShape_GetTo", (PyCFunction
) _wrap_PyLineShape_GetTo
, METH_VARARGS
| METH_KEYWORDS
},
33071 { (char *)"PyLineShape_Initialise", (PyCFunction
) _wrap_PyLineShape_Initialise
, METH_VARARGS
| METH_KEYWORDS
},
33072 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction
) _wrap_PyLineShape_InsertLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
33073 { (char *)"PyLineShape_IsEnd", (PyCFunction
) _wrap_PyLineShape_IsEnd
, METH_VARARGS
| METH_KEYWORDS
},
33074 { (char *)"PyLineShape_IsSpline", (PyCFunction
) _wrap_PyLineShape_IsSpline
, METH_VARARGS
| METH_KEYWORDS
},
33075 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction
) _wrap_PyLineShape_MakeLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33076 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction
) _wrap_PyLineShape_GetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33077 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_SetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
33078 { (char *)"PyLineShape_SetAttachments", (PyCFunction
) _wrap_PyLineShape_SetAttachments
, METH_VARARGS
| METH_KEYWORDS
},
33079 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_SetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
33080 { (char *)"PyLineShape_SetEnds", (PyCFunction
) _wrap_PyLineShape_SetEnds
, METH_VARARGS
| METH_KEYWORDS
},
33081 { (char *)"PyLineShape_SetFrom", (PyCFunction
) _wrap_PyLineShape_SetFrom
, METH_VARARGS
| METH_KEYWORDS
},
33082 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction
) _wrap_PyLineShape_SetIgnoreOffsets
, METH_VARARGS
| METH_KEYWORDS
},
33083 { (char *)"PyLineShape_SetSpline", (PyCFunction
) _wrap_PyLineShape_SetSpline
, METH_VARARGS
| METH_KEYWORDS
},
33084 { (char *)"PyLineShape_SetTo", (PyCFunction
) _wrap_PyLineShape_SetTo
, METH_VARARGS
| METH_KEYWORDS
},
33085 { (char *)"PyLineShape_Straighten", (PyCFunction
) _wrap_PyLineShape_Straighten
, METH_VARARGS
| METH_KEYWORDS
},
33086 { (char *)"PyLineShape_Unlink", (PyCFunction
) _wrap_PyLineShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
33087 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_SetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
},
33088 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction
) _wrap_PyLineShape_SetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
},
33089 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_GetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
},
33090 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction
) _wrap_PyLineShape_GetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
},
33091 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction
) _wrap_PyLineShape_GetAlignmentStart
, METH_VARARGS
| METH_KEYWORDS
},
33092 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction
) _wrap_PyLineShape_GetAlignmentEnd
, METH_VARARGS
| METH_KEYWORDS
},
33093 { (char *)"PyLineShape_base_OnDraw", (PyCFunction
) _wrap_PyLineShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33094 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction
) _wrap_PyLineShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33095 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyLineShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33096 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33097 { (char *)"PyLineShape_base_OnErase", (PyCFunction
) _wrap_PyLineShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33098 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction
) _wrap_PyLineShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33099 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction
) _wrap_PyLineShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33100 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33101 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33102 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction
) _wrap_PyLineShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33103 { (char *)"PyLineShape_base_OnSize", (PyCFunction
) _wrap_PyLineShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33104 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction
) _wrap_PyLineShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33105 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction
) _wrap_PyLineShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33106 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33107 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33108 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33109 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33110 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33111 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33112 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyLineShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33113 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33114 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33115 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33116 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33117 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33118 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33119 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction
) _wrap_PyLineShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33120 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction
) _wrap_PyLineShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33121 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister
, METH_VARARGS
},
33122 { (char *)"new_PyPolygonShape", (PyCFunction
) _wrap_new_PyPolygonShape
, METH_VARARGS
| METH_KEYWORDS
},
33123 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction
) _wrap_PyPolygonShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33124 { (char *)"PyPolygonShape_Create", (PyCFunction
) _wrap_PyPolygonShape_Create
, METH_VARARGS
| METH_KEYWORDS
},
33125 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_AddPolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
33126 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction
) _wrap_PyPolygonShape_CalculatePolygonCentre
, METH_VARARGS
| METH_KEYWORDS
},
33127 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_DeletePolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
33128 { (char *)"PyPolygonShape_GetPoints", (PyCFunction
) _wrap_PyPolygonShape_GetPoints
, METH_VARARGS
| METH_KEYWORDS
},
33129 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
},
33130 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
},
33131 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
},
33132 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
},
33133 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
},
33134 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_UpdateOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
},
33135 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction
) _wrap_PyPolygonShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33136 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33137 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33138 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33139 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction
) _wrap_PyPolygonShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33140 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33141 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction
) _wrap_PyPolygonShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33142 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33143 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33144 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33145 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33146 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33147 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33148 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33149 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33150 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33151 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33152 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33153 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33154 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33155 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33156 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33157 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33158 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33159 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33160 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33161 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33162 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33163 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister
, METH_VARARGS
},
33164 { (char *)"new_PyTextShape", (PyCFunction
) _wrap_new_PyTextShape
, METH_VARARGS
| METH_KEYWORDS
},
33165 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction
) _wrap_PyTextShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33166 { (char *)"PyTextShape_base_OnDelete", (PyCFunction
) _wrap_PyTextShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33167 { (char *)"PyTextShape_base_OnDraw", (PyCFunction
) _wrap_PyTextShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33168 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction
) _wrap_PyTextShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33169 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyTextShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33170 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33171 { (char *)"PyTextShape_base_OnErase", (PyCFunction
) _wrap_PyTextShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33172 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction
) _wrap_PyTextShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33173 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction
) _wrap_PyTextShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33174 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33175 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33176 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction
) _wrap_PyTextShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33177 { (char *)"PyTextShape_base_OnSize", (PyCFunction
) _wrap_PyTextShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33178 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction
) _wrap_PyTextShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33179 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction
) _wrap_PyTextShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33180 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33181 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33182 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33183 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33184 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33185 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33186 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyTextShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33187 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33188 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33189 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33190 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33191 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33192 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33193 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction
) _wrap_PyTextShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33194 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction
) _wrap_PyTextShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33195 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister
, METH_VARARGS
},
33196 { (char *)"new_Diagram", (PyCFunction
) _wrap_new_Diagram
, METH_VARARGS
| METH_KEYWORDS
},
33197 { (char *)"Diagram_AddShape", (PyCFunction
) _wrap_Diagram_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
33198 { (char *)"Diagram_Clear", (PyCFunction
) _wrap_Diagram_Clear
, METH_VARARGS
| METH_KEYWORDS
},
33199 { (char *)"Diagram_DeleteAllShapes", (PyCFunction
) _wrap_Diagram_DeleteAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
33200 { (char *)"Diagram_DrawOutline", (PyCFunction
) _wrap_Diagram_DrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33201 { (char *)"Diagram_FindShape", (PyCFunction
) _wrap_Diagram_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
33202 { (char *)"Diagram_GetCanvas", (PyCFunction
) _wrap_Diagram_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33203 { (char *)"Diagram_GetCount", (PyCFunction
) _wrap_Diagram_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
33204 { (char *)"Diagram_GetGridSpacing", (PyCFunction
) _wrap_Diagram_GetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33205 { (char *)"Diagram_GetMouseTolerance", (PyCFunction
) _wrap_Diagram_GetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
33206 { (char *)"Diagram_GetShapeList", (PyCFunction
) _wrap_Diagram_GetShapeList
, METH_VARARGS
| METH_KEYWORDS
},
33207 { (char *)"Diagram_GetQuickEditMode", (PyCFunction
) _wrap_Diagram_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
33208 { (char *)"Diagram_GetSnapToGrid", (PyCFunction
) _wrap_Diagram_GetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
33209 { (char *)"Diagram_InsertShape", (PyCFunction
) _wrap_Diagram_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
33210 { (char *)"Diagram_RecentreAll", (PyCFunction
) _wrap_Diagram_RecentreAll
, METH_VARARGS
| METH_KEYWORDS
},
33211 { (char *)"Diagram_Redraw", (PyCFunction
) _wrap_Diagram_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
33212 { (char *)"Diagram_RemoveAllShapes", (PyCFunction
) _wrap_Diagram_RemoveAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
33213 { (char *)"Diagram_RemoveShape", (PyCFunction
) _wrap_Diagram_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
33214 { (char *)"Diagram_SetCanvas", (PyCFunction
) _wrap_Diagram_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33215 { (char *)"Diagram_SetGridSpacing", (PyCFunction
) _wrap_Diagram_SetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33216 { (char *)"Diagram_SetMouseTolerance", (PyCFunction
) _wrap_Diagram_SetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
33217 { (char *)"Diagram_SetQuickEditMode", (PyCFunction
) _wrap_Diagram_SetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
33218 { (char *)"Diagram_SetSnapToGrid", (PyCFunction
) _wrap_Diagram_SetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
33219 { (char *)"Diagram_ShowAll", (PyCFunction
) _wrap_Diagram_ShowAll
, METH_VARARGS
| METH_KEYWORDS
},
33220 { (char *)"Diagram_Snap", (PyCFunction
) _wrap_Diagram_Snap
, METH_VARARGS
| METH_KEYWORDS
},
33221 { (char *)"Diagram_swigregister", Diagram_swigregister
, METH_VARARGS
},
33222 { (char *)"new_PyShapeCanvas", (PyCFunction
) _wrap_new_PyShapeCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33223 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction
) _wrap_PyShapeCanvas__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33224 { (char *)"PyShapeCanvas_AddShape", (PyCFunction
) _wrap_PyShapeCanvas_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
33225 { (char *)"PyShapeCanvas_FindShape", (PyCFunction
) _wrap_PyShapeCanvas_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
33226 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction
) _wrap_PyShapeCanvas_FindFirstSensitiveShape
, METH_VARARGS
| METH_KEYWORDS
},
33227 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_GetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
33228 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction
) _wrap_PyShapeCanvas_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
33229 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction
) _wrap_PyShapeCanvas_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
33230 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33231 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33232 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33233 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33234 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33235 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33236 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33237 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33238 { (char *)"PyShapeCanvas_Redraw", (PyCFunction
) _wrap_PyShapeCanvas_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
33239 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction
) _wrap_PyShapeCanvas_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
33240 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_SetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
33241 { (char *)"PyShapeCanvas_Snap", (PyCFunction
) _wrap_PyShapeCanvas_Snap
, METH_VARARGS
| METH_KEYWORDS
},
33242 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister
, METH_VARARGS
},
33243 { (char *)"OGLInitialize", (PyCFunction
) _wrap_OGLInitialize
, METH_VARARGS
| METH_KEYWORDS
},
33244 { (char *)"OGLCleanUp", (PyCFunction
) _wrap_OGLCleanUp
, METH_VARARGS
| METH_KEYWORDS
},
33249 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33251 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33252 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33254 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33255 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33257 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33258 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33260 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33261 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33263 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33264 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33266 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33267 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33269 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33270 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33272 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33273 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33275 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x
) {
33276 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33278 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33279 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33281 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x
) {
33282 return (void *)((wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33284 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33285 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33287 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33288 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33290 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33291 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33293 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33294 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33296 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33297 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33299 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33300 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33302 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33303 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33305 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33306 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33308 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33309 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33311 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33312 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33314 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33315 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33317 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33318 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33320 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33321 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33323 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33324 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33326 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33327 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33329 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33330 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33332 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33333 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33335 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33336 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33338 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33339 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33341 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33342 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33344 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33345 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33347 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33348 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33350 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33351 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33353 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33354 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33356 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33357 return (void *)((wxWindow
*) ((wxControl
*) x
));
33359 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33360 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33362 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33363 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33365 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33366 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33368 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33369 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33371 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33372 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33374 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33375 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33377 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x
) {
33378 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33380 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33381 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33383 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33384 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33386 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33387 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33389 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33390 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33392 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33393 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33395 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33396 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33398 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33399 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33401 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33402 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33404 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33405 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33407 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
33408 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
33410 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
33411 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
33413 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33414 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33416 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33417 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33419 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
33420 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
33422 static void *_p_wxPyControlPointTo_p_wxObject(void *x
) {
33423 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
33425 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
33426 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33428 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
33429 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33431 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33432 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33434 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33435 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33437 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33438 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33440 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33441 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33443 static void *_p_wxOGLConstraintTo_p_wxObject(void *x
) {
33444 return (void *)((wxObject
*) ((wxOGLConstraint
*) x
));
33446 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33447 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33449 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33450 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33452 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33453 return (void *)((wxObject
*) ((wxSizer
*) x
));
33455 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x
) {
33456 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
33458 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x
) {
33459 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
33461 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x
) {
33462 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyPolygonShape
*) x
));
33464 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33465 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33467 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33468 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33470 static void *_p_wxArrowHeadTo_p_wxObject(void *x
) {
33471 return (void *)((wxObject
*) ((wxArrowHead
*) x
));
33473 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
33474 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
33476 static void *_p_wxEventTo_p_wxObject(void *x
) {
33477 return (void *)((wxObject
*) ((wxEvent
*) x
));
33479 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
33480 return (void *)((wxObject
*) ((wxFontData
*) x
));
33482 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
33483 return (void *)((wxObject
*) ((wxPrintData
*) x
));
33485 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33486 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33488 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33489 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33491 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33492 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33494 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
33495 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
33497 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
33498 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
33500 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
33501 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33503 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33504 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33506 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33507 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33509 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33510 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33512 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33513 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33515 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33516 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33518 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33519 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33521 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
33522 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33524 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x
) {
33525 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33527 static void *_p_wxControlTo_p_wxObject(void *x
) {
33528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33530 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x
) {
33531 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyEllipseShape
*) x
));
33533 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33534 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33536 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
33537 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33539 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33540 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33542 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
33543 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
33545 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x
) {
33546 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
33548 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33549 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33551 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
33552 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33554 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
33555 return (void *)((wxObject
*) ((wxColourData
*) x
));
33557 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33558 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33560 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33561 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33563 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
33564 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
33566 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
33567 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33569 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
33570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33572 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
33573 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33575 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
33576 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33578 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
33579 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33581 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
33582 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33584 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
33585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33587 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
33588 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33590 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33591 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33593 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
33594 return (void *)((wxObject
*) ((wxPrinter
*) x
));
33596 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33597 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33599 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33600 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33602 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33603 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33605 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33606 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33608 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33609 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33611 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33612 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33614 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33615 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33617 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33618 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33620 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33621 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33623 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33624 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33626 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33627 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33629 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33630 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33632 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33633 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33635 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33636 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33638 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33639 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33641 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33642 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33644 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33645 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33647 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33648 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33650 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33651 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33653 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33654 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33656 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33657 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33659 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33660 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33662 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
33663 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
33665 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x
) {
33666 return (void *)((wxObject
*) ((wxPyShapeEvtHandler
*) x
));
33668 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
33669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33671 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
33672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33674 static void *_p_wxPyTextShapeTo_p_wxObject(void *x
) {
33675 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
33677 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33678 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33680 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x
) {
33681 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
33683 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
33684 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33686 static void *_p_wxImageTo_p_wxObject(void *x
) {
33687 return (void *)((wxObject
*) ((wxImage
*) x
));
33689 static void *_p_wxFrameTo_p_wxObject(void *x
) {
33690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
33692 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
33693 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
33695 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33696 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33698 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
33699 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
33701 static void *_p_wxDiagramTo_p_wxObject(void *x
) {
33702 return (void *)((wxObject
*) ((wxDiagram
*) x
));
33704 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
33705 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
33707 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
33708 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33710 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33711 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33713 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33714 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33716 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33717 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33719 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33720 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33722 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33723 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33725 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33728 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
33729 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
33731 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
33732 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
33734 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
33735 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
33737 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
33738 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
33740 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
33741 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
33743 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
33744 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33746 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
33747 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
33749 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
33750 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33752 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
33753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33755 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
33756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33758 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
33759 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
33761 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
33762 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
33764 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
33765 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
33767 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
33768 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33770 static void *_p_wxPanelTo_p_wxObject(void *x
) {
33771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
33773 static void *_p_wxDialogTo_p_wxObject(void *x
) {
33774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
33776 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
33777 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33779 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
33780 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33782 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
33783 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33785 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
33786 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
33788 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
33789 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
33791 static void *_p_wxAttachmentPointTo_p_wxObject(void *x
) {
33792 return (void *)((wxObject
*) ((wxAttachmentPoint
*) x
));
33794 static void *_p_wxPyShapeTo_p_wxObject(void *x
) {
33795 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
33797 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33798 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33800 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33801 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33803 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33804 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33806 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33807 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33809 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33810 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33812 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33813 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33815 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33816 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33818 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33819 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33821 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33822 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33824 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
33825 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
33827 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
33828 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33830 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33831 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33833 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33834 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33836 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33837 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33839 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x
) {
33840 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyRectangleShape
*) x
));
33842 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x
) {
33843 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
33845 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x
) {
33846 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
33848 static void *_p_wxPyLineShapeTo_p_wxObject(void *x
) {
33849 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyLineShape
*) x
));
33851 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x
) {
33852 return (void *)((wxObject
*) ((wxPseudoMetaFile
*) x
));
33854 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33855 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33857 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
33858 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
33860 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
33861 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
33863 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33864 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33866 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33867 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33869 static void *_p_wxShapeRegionTo_p_wxObject(void *x
) {
33870 return (void *)((wxObject
*) ((wxShapeRegion
*) x
));
33872 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33873 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyRectangleShape
*) x
));
33875 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33876 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
33878 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33879 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
33881 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33882 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
33884 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33885 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyLineShape
*) x
));
33887 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33888 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
33890 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x
) {
33891 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
33893 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33894 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
33896 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33897 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
33899 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33900 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyPolygonShape
*) x
));
33902 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33903 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
33905 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33906 return (void *)((wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
33908 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x
) {
33909 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyEllipseShape
*) x
));
33911 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
33912 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33914 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
33915 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33917 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
33918 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
33920 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
33921 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
33923 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
33924 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
33926 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
33927 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
33929 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
33930 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
33932 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
33933 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33935 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
33936 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33938 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
33939 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33941 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
33942 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33944 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
33945 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33947 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
33948 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33950 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
33951 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33953 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
33954 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
33956 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
33957 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
33959 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
33960 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33962 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
33963 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33965 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
33966 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33968 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
33969 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
33971 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
33972 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33974 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
33975 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
33977 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
33978 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
33980 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
33981 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
33983 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
33984 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
33986 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
33987 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
33989 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
33990 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
33992 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
33993 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
33995 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
33996 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
33998 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
33999 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
34001 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
34002 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
34004 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
34005 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
34007 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
34008 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
34010 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
34011 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34013 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
34014 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
34016 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
34017 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
34019 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x
) {
34020 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
34022 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
34023 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
34025 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
34026 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
34028 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34029 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
34031 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34032 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
34034 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
34035 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
34037 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
34038 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
34040 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
34041 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
34043 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
34044 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
34046 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
34047 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
34049 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
34050 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
34052 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
34053 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
34055 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
34056 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
34058 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
34059 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
34061 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x
) {
34062 return (void *)((wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34064 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x
) {
34065 return (void *)((wxPyShape
*) ((wxPyRectangleShape
*) x
));
34067 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x
) {
34068 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34070 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x
) {
34071 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34073 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x
) {
34074 return (void *)((wxPyShape
*) (wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34076 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x
) {
34077 return (void *)((wxPyShape
*) ((wxPyLineShape
*) x
));
34079 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x
) {
34080 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34082 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x
) {
34083 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34085 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x
) {
34086 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34088 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x
) {
34089 return (void *)((wxPyShape
*) (wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34091 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x
) {
34092 return (void *)((wxPyShape
*) ((wxPyPolygonShape
*) x
));
34094 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x
) {
34095 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34097 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x
) {
34098 return (void *)((wxPyShape
*) ((wxPyEllipseShape
*) x
));
34100 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x
) {
34101 return (void *)((wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34103 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x
) {
34104 return (void *)((wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34106 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x
) {
34107 return (void *)((wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34109 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x
) {
34110 return (void *)((wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34112 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x
) {
34113 return (void *)((wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34115 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x
) {
34116 return (void *)((wxPyRectangleShape
*) (wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34118 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x
) {
34119 return (void *)((wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34121 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x
) {
34122 return (void *)((wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34124 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}};
34125 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}};
34126 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}};
34127 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}};
34128 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}};
34129 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}};
34130 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}};
34131 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}};
34132 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}};
34133 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}};
34134 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}};
34135 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}};
34136 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}};
34137 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}};
34138 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}};
34139 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}};
34140 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}};
34141 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}};
34142 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}};
34143 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}};
34144 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}};
34145 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}};
34146 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}};
34147 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}};
34148 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}};
34149 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}};
34150 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}};
34151 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}};
34152 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}};
34153 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}};
34154 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}};
34155 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}};
34156 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}};
34157 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}};
34158 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}};
34159 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}};
34160 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}};
34161 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}};
34162 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}};
34163 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}};
34164 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}};
34166 static swig_type_info
*swig_types_initial
[] = {
34167 _swigt__p_wxOGLConstraint
,
34169 _swigt__p_wxColour
,
34170 _swigt__p_wxShapeRegion
,
34172 _swigt__p_wxRealPoint
,
34173 _swigt__p_wxPyControlPoint
,
34174 _swigt__p_wxArrowHead
,
34176 _swigt__p_wxStringList
,
34181 _swigt__p_wxScrolledWindow
,
34182 _swigt__p_wxWindow
,
34184 _swigt__p_wxPyDivisionShape
,
34185 _swigt__p_wxPyDrawnShape
,
34186 _swigt__p_wxPyPolygonShape
,
34187 _swigt__p_wxBitmap
,
34188 _swigt__p_wxObject
,
34189 _swigt__p_wxPyBitmapShape
,
34190 _swigt__p_wxPyShapeEvtHandler
,
34191 _swigt__p_wxEvtHandler
,
34192 _swigt__p_wxPyEllipseShape
,
34193 _swigt__p_wxPyShapeCanvas
,
34195 _swigt__p_wxDiagram
,
34196 _swigt__p_wxPyShape
,
34197 _swigt__p_wxAttachmentPoint
,
34198 _swigt__p_wxClassInfo
,
34199 _swigt__p_wxPyLineShape
,
34200 _swigt__p_wxPyRectangleShape
,
34201 _swigt__p_wxPyCompositeShape
,
34202 _swigt__p_wxPyCircleShape
,
34205 _swigt__p_wxPseudoMetaFile
,
34206 _swigt__p_wxPyTextShape
,
34207 _swigt__p_wxPyDividedShape
,
34212 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34214 static swig_const_info swig_const_table
[] = {
34224 SWIGEXPORT(void) SWIG_init(void) {
34225 static PyObject
*SWIG_globals
= 0;
34226 static int typeinit
= 0;
34229 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
34230 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34231 d
= PyModule_GetDict(m
);
34234 for (i
= 0; swig_types_initial
[i
]; i
++) {
34235 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
34239 SWIG_InstallConstants(d
,swig_const_table
);
34241 PyDict_SetItemString(d
,"oglMETAFLAGS_OUTLINE", SWIG_FromInt((int)oglMETAFLAGS_OUTLINE
));
34242 PyDict_SetItemString(d
,"oglMETAFLAGS_ATTACHMENTS", SWIG_FromInt((int)oglMETAFLAGS_ATTACHMENTS
));
34243 PyDict_SetItemString(d
,"KEY_SHIFT", SWIG_FromInt((int)KEY_SHIFT
));
34244 PyDict_SetItemString(d
,"KEY_CTRL", SWIG_FromInt((int)KEY_CTRL
));
34245 PyDict_SetItemString(d
,"ARROW_NONE", SWIG_FromInt((int)ARROW_NONE
));
34246 PyDict_SetItemString(d
,"ARROW_END", SWIG_FromInt((int)ARROW_END
));
34247 PyDict_SetItemString(d
,"ARROW_BOTH", SWIG_FromInt((int)ARROW_BOTH
));
34248 PyDict_SetItemString(d
,"ARROW_MIDDLE", SWIG_FromInt((int)ARROW_MIDDLE
));
34249 PyDict_SetItemString(d
,"ARROW_START", SWIG_FromInt((int)ARROW_START
));
34250 PyDict_SetItemString(d
,"ARROW_HOLLOW_CIRCLE", SWIG_FromInt((int)ARROW_HOLLOW_CIRCLE
));
34251 PyDict_SetItemString(d
,"ARROW_FILLED_CIRCLE", SWIG_FromInt((int)ARROW_FILLED_CIRCLE
));
34252 PyDict_SetItemString(d
,"ARROW_ARROW", SWIG_FromInt((int)ARROW_ARROW
));
34253 PyDict_SetItemString(d
,"ARROW_SINGLE_OBLIQUE", SWIG_FromInt((int)ARROW_SINGLE_OBLIQUE
));
34254 PyDict_SetItemString(d
,"ARROW_DOUBLE_OBLIQUE", SWIG_FromInt((int)ARROW_DOUBLE_OBLIQUE
));
34255 PyDict_SetItemString(d
,"ARROW_METAFILE", SWIG_FromInt((int)ARROW_METAFILE
));
34256 PyDict_SetItemString(d
,"ARROW_POSITION_END", SWIG_FromInt((int)ARROW_POSITION_END
));
34257 PyDict_SetItemString(d
,"ARROW_POSITION_START", SWIG_FromInt((int)ARROW_POSITION_START
));
34258 PyDict_SetItemString(d
,"CONTROL_POINT_VERTICAL", SWIG_FromInt((int)CONTROL_POINT_VERTICAL
));
34259 PyDict_SetItemString(d
,"CONTROL_POINT_HORIZONTAL", SWIG_FromInt((int)CONTROL_POINT_HORIZONTAL
));
34260 PyDict_SetItemString(d
,"CONTROL_POINT_DIAGONAL", SWIG_FromInt((int)CONTROL_POINT_DIAGONAL
));
34261 PyDict_SetItemString(d
,"CONTROL_POINT_ENDPOINT_TO", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_TO
));
34262 PyDict_SetItemString(d
,"CONTROL_POINT_ENDPOINT_FROM", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_FROM
));
34263 PyDict_SetItemString(d
,"CONTROL_POINT_LINE", SWIG_FromInt((int)CONTROL_POINT_LINE
));
34264 PyDict_SetItemString(d
,"FORMAT_NONE", SWIG_FromInt((int)FORMAT_NONE
));
34265 PyDict_SetItemString(d
,"FORMAT_CENTRE_HORIZ", SWIG_FromInt((int)FORMAT_CENTRE_HORIZ
));
34266 PyDict_SetItemString(d
,"FORMAT_CENTRE_VERT", SWIG_FromInt((int)FORMAT_CENTRE_VERT
));
34267 PyDict_SetItemString(d
,"FORMAT_SIZE_TO_CONTENTS", SWIG_FromInt((int)FORMAT_SIZE_TO_CONTENTS
));
34268 PyDict_SetItemString(d
,"LINE_ALIGNMENT_HORIZ", SWIG_FromInt((int)LINE_ALIGNMENT_HORIZ
));
34269 PyDict_SetItemString(d
,"LINE_ALIGNMENT_VERT", SWIG_FromInt((int)LINE_ALIGNMENT_VERT
));
34270 PyDict_SetItemString(d
,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_FromInt((int)LINE_ALIGNMENT_TO_NEXT_HANDLE
));
34271 PyDict_SetItemString(d
,"LINE_ALIGNMENT_NONE", SWIG_FromInt((int)LINE_ALIGNMENT_NONE
));
34272 PyDict_SetItemString(d
,"SHADOW_NONE", SWIG_FromInt((int)SHADOW_NONE
));
34273 PyDict_SetItemString(d
,"SHADOW_LEFT", SWIG_FromInt((int)SHADOW_LEFT
));
34274 PyDict_SetItemString(d
,"SHADOW_RIGHT", SWIG_FromInt((int)SHADOW_RIGHT
));
34275 PyDict_SetItemString(d
,"OP_CLICK_LEFT", SWIG_FromInt((int)OP_CLICK_LEFT
));
34276 PyDict_SetItemString(d
,"OP_CLICK_RIGHT", SWIG_FromInt((int)OP_CLICK_RIGHT
));
34277 PyDict_SetItemString(d
,"OP_DRAG_LEFT", SWIG_FromInt((int)OP_DRAG_LEFT
));
34278 PyDict_SetItemString(d
,"OP_DRAG_RIGHT", SWIG_FromInt((int)OP_DRAG_RIGHT
));
34279 PyDict_SetItemString(d
,"OP_ALL", SWIG_FromInt((int)OP_ALL
));
34280 PyDict_SetItemString(d
,"ATTACHMENT_MODE_NONE", SWIG_FromInt((int)ATTACHMENT_MODE_NONE
));
34281 PyDict_SetItemString(d
,"ATTACHMENT_MODE_EDGE", SWIG_FromInt((int)ATTACHMENT_MODE_EDGE
));
34282 PyDict_SetItemString(d
,"ATTACHMENT_MODE_BRANCHING", SWIG_FromInt((int)ATTACHMENT_MODE_BRANCHING
));
34283 PyDict_SetItemString(d
,"BRANCHING_ATTACHMENT_NORMAL", SWIG_FromInt((int)BRANCHING_ATTACHMENT_NORMAL
));
34284 PyDict_SetItemString(d
,"BRANCHING_ATTACHMENT_BLOB", SWIG_FromInt((int)BRANCHING_ATTACHMENT_BLOB
));
34285 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_VERTICALLY
));
34286 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_HORIZONTALLY
));
34287 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_BOTH", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_BOTH
));
34288 PyDict_SetItemString(d
,"gyCONSTRAINT_LEFT_OF", SWIG_FromInt((int)gyCONSTRAINT_LEFT_OF
));
34289 PyDict_SetItemString(d
,"gyCONSTRAINT_RIGHT_OF", SWIG_FromInt((int)gyCONSTRAINT_RIGHT_OF
));
34290 PyDict_SetItemString(d
,"gyCONSTRAINT_ABOVE", SWIG_FromInt((int)gyCONSTRAINT_ABOVE
));
34291 PyDict_SetItemString(d
,"gyCONSTRAINT_BELOW", SWIG_FromInt((int)gyCONSTRAINT_BELOW
));
34292 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_TOP
));
34293 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_BOTTOM
));
34294 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_LEFT
));
34295 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_RIGHT
));
34296 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_TOP
));
34297 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_BOTTOM
));
34298 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_LEFT
));
34299 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_RIGHT
));
34300 PyDict_SetItemString(d
,"DIVISION_SIDE_NONE", SWIG_FromInt((int)DIVISION_SIDE_NONE
));
34301 PyDict_SetItemString(d
,"DIVISION_SIDE_LEFT", SWIG_FromInt((int)DIVISION_SIDE_LEFT
));
34302 PyDict_SetItemString(d
,"DIVISION_SIDE_TOP", SWIG_FromInt((int)DIVISION_SIDE_TOP
));
34303 PyDict_SetItemString(d
,"DIVISION_SIDE_RIGHT", SWIG_FromInt((int)DIVISION_SIDE_RIGHT
));
34304 PyDict_SetItemString(d
,"DIVISION_SIDE_BOTTOM", SWIG_FromInt((int)DIVISION_SIDE_BOTTOM
));
34307 // initoglbasicc();
34308 // initoglshapesc();
34309 // initoglshapes2c();
34310 // initoglcanvasc();
34313 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
34314 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
34315 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
34316 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
34317 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
34318 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
34319 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
34320 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
34321 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
34322 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
34323 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
34324 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
34325 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
34326 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");