1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxOGLConstraint swig_types[0]
210 #define SWIGTYPE_p_wxBrush swig_types[1]
211 #define SWIGTYPE_p_wxColour swig_types[2]
212 #define SWIGTYPE_p_wxShapeRegion swig_types[3]
213 #define SWIGTYPE_p_wxDC swig_types[4]
214 #define SWIGTYPE_p_wxRealPoint swig_types[5]
215 #define SWIGTYPE_p_wxPyControlPoint swig_types[6]
216 #define SWIGTYPE_p_wxArrowHead swig_types[7]
217 #define SWIGTYPE_p_char swig_types[8]
218 #define SWIGTYPE_p_wxStringList swig_types[9]
219 #define SWIGTYPE_p_wxPanel swig_types[10]
220 #define SWIGTYPE_p_bool swig_types[11]
221 #define SWIGTYPE_p_wxList swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxScrolledWindow swig_types[14]
224 #define SWIGTYPE_p_wxWindow swig_types[15]
225 #define SWIGTYPE_p_double swig_types[16]
226 #define SWIGTYPE_p_wxPyDivisionShape swig_types[17]
227 #define SWIGTYPE_p_wxPyDrawnShape swig_types[18]
228 #define SWIGTYPE_p_wxPyPolygonShape swig_types[19]
229 #define SWIGTYPE_p_wxBitmap swig_types[20]
230 #define SWIGTYPE_p_wxObject swig_types[21]
231 #define SWIGTYPE_p_wxPyBitmapShape swig_types[22]
232 #define SWIGTYPE_p_wxPyShapeEvtHandler swig_types[23]
233 #define SWIGTYPE_p_wxEvtHandler swig_types[24]
234 #define SWIGTYPE_p_wxPyEllipseShape swig_types[25]
235 #define SWIGTYPE_p_wxPyShapeCanvas swig_types[26]
236 #define SWIGTYPE_p_wxPoint swig_types[27]
237 #define SWIGTYPE_p_wxDiagram swig_types[28]
238 #define SWIGTYPE_p_wxPyShape swig_types[29]
239 #define SWIGTYPE_p_wxAttachmentPoint swig_types[30]
240 #define SWIGTYPE_p_wxClassInfo swig_types[31]
241 #define SWIGTYPE_p_wxPyLineShape swig_types[32]
242 #define SWIGTYPE_p_wxPyRectangleShape swig_types[33]
243 #define SWIGTYPE_p_wxPyCompositeShape swig_types[34]
244 #define SWIGTYPE_p_wxPyCircleShape swig_types[35]
245 #define SWIGTYPE_p_wxPen swig_types[36]
246 #define SWIGTYPE_p_int swig_types[37]
247 #define SWIGTYPE_p_wxPseudoMetaFile swig_types[38]
248 #define SWIGTYPE_p_wxPyTextShape swig_types[39]
249 #define SWIGTYPE_p_wxPyDividedShape swig_types[40]
250 static swig_type_info
*swig_types
[42];
252 /* -------- TYPES TABLE (END) -------- */
255 /*-----------------------------------------------
257 ------------------------------------------------*/
258 #define SWIG_init init_ogl
260 #define SWIG_name "_ogl"
262 /* Auxiliar swig macros */
265 #define SWIGSTATICINLINE(a) static inline a
266 #define SWIGSTATIC(a) static a
267 #define swig_new_array(type, size) (new type[(size)])
268 #define swig_delete_array(cptr) delete[] cptr
269 #define swig_const_cast(type,a) const_cast<type>(a)
270 #define swig_static_cast(type,a) static_cast<type>(a)
271 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
273 #ifdef HAVE_NUMERIC_CAST
274 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
276 #define swig_numeric_cast(type,a) static_cast<type>(a)
281 #define SWIGSTATICINLINE(a) static a
282 #define SWIGSTATIC(a) static a
283 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
284 #define swig_delete_array(cptr) free((char*)cptr)
285 #define swig_const_cast(type,a) (type)(a)
286 #define swig_static_cast(type,a) (type)(a)
287 #define swig_reinterpret_cast(type,a) (type)(a)
288 #define swig_numeric_cast(type,a) (type)(a)
290 #endif /* __cplusplus */
293 #define SWIG_FromSignedChar PyInt_FromLong
294 #define SWIG_FromUnsignedChar PyInt_FromLong
295 #define SWIG_FromShort PyInt_FromLong
296 #define SWIG_FromUnsignedShort PyInt_FromLong
297 #define SWIG_FromInt PyInt_FromLong
298 #define SWIG_FromLong PyInt_FromLong
299 #define SWIG_FromFloat PyFloat_FromDouble
300 #define SWIG_FromDouble PyFloat_FromDouble
301 #define SWIG_FromFloat PyFloat_FromDouble
302 #define SWIG_FromDouble PyFloat_FromDouble
305 #include "wx/wxPython/wxPython.h"
306 #include "wx/wxPython/pyclasses.h"
307 #include "oglhelpers.h"
310 static const wxString
wxPyEmptyString(wxEmptyString
);
312 SWIGSTATICINLINE(double)
313 SWIG_AsDouble(PyObject
*obj
)
315 if (PyNumber_Check(obj
))
316 return PyFloat_AsDouble(obj
);
318 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
319 obj
->ob_type
->tp_name
);
320 PyErr_SetObject(PyExc_TypeError
, errmsg
);
327 SWIGSTATICINLINE(int)
328 SWIG_CheckDouble(PyObject
* obj
)
331 if (PyErr_Occurred()) {
343 SWIGSTATICINLINE(long)
344 SWIG_CheckLongInRange(long value
, const char* type
,
345 long min_value
, long max_value
)
347 if (!PyErr_Occurred()) {
348 if (value
< min_value
) {
350 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
351 value
, type
, min_value
);
353 PyErr_SetObject(PyExc_OverflowError
, err
);
355 } else if (value
> max_value
) {
357 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
358 value
, type
, max_value
);
359 PyErr_SetObject(PyExc_OverflowError
, err
);
367 SWIGSTATICINLINE(long)
368 SWIG_AsLong(PyObject
* obj
)
370 if (PyNumber_Check(obj
))
371 return PyInt_AsLong(obj
);
373 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
374 obj
->ob_type
->tp_name
);
375 PyErr_SetObject(PyExc_TypeError
, errmsg
);
382 #if INT_MAX != LONG_MAX
383 SWIGSTATICINLINE(int)
384 SWIG_AsInt(PyObject
*obj
)
386 return swig_numeric_cast(int,
387 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
388 "int", INT_MIN
, INT_MAX
));
391 #define SWIG_AsInt SWIG_AsLong
395 SWIGSTATICINLINE(int)
396 SWIG_CheckInt(PyObject
* obj
)
399 if (PyErr_Occurred()) {
408 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
414 } else if (target
== Py_None
) {
418 if (!PyTuple_Check(target
)) {
420 target
= PyTuple_New(1);
421 PyTuple_SetItem(target
, 0, o2
);
424 PyTuple_SetItem(o3
, 0, o
);
427 target
= PySequence_Concat(o2
, o3
);
435 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler
,wxShapeEvtHandler
);
437 void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler
*self
,PyObject
*_self
){
438 self
->SetClientObject(new wxPyOORClientData(_self
));
441 SWIGSTATICINLINE(bool)
442 SWIG_AsBool(PyObject
*obj
)
444 return PyObject_IsTrue(obj
) ? true : false;
448 SWIGSTATICINLINE(int)
449 SWIG_CheckBool(PyObject
* obj
)
452 if (PyErr_Occurred()) {
461 WXSHAPE_IMP_CALLBACKS(wxPyShape
, wxShape
);
463 PyObject
*wxPyShape_GetChildren(wxPyShape
*self
){
464 wxList
& list
= self
->GetChildren();
465 return wxPy_ConvertShapeList(&list
);
467 PyObject
*wxPyShape_GetLines(wxPyShape
*self
){
468 wxList
& list
= self
->GetLines();
469 return wxPy_ConvertShapeList(&list
);
472 SWIGSTATICINLINE(int)
473 SWIG_CheckLong(PyObject
* obj
)
476 if (PyErr_Occurred()) {
484 PyObject
*wxPyShape_GetRegions(wxPyShape
*self
){
485 wxList
& list
= self
->GetRegions();
486 return wxPy_ConvertList(&list
);
488 PyObject
*wxPyShape_GetAttachments(wxPyShape
*self
){
489 wxList
& list
= self
->GetAttachments();
490 return wxPy_ConvertList(&list
);
492 void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
*linesToSort
){
493 wxList
* list
= wxPy_wxListHelper(linesToSort
, wxT("wxPyLineShape"));
494 self
->ApplyAttachmentOrdering(*list
);
498 // Using this macro can sometimes provoke an Internal Compiler Error in MSVC
499 // 6, so instead I'l just expand it out by hand...
500 // WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
502 IMP_PYCALLBACK__ (wxPyRectangleShape
, wxRectangleShape
, OnDelete
);
503 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDraw
);
504 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawContents
);
505 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnDrawBranches
);
506 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnMoveLinks
);
507 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnErase
);
508 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseContents
);
509 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnHighlight
);
510 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftClick
);
511 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftDoubleClick
);
512 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnRightClick
);
513 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnSize
);
514 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePre
);
515 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePost
);
516 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragLeft
);
517 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragLeft
);
518 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragLeft
);
519 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragRight
);
520 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragRight
);
521 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragRight
);
522 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape
, wxRectangleShape
, OnDrawOutline
);
523 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawControlPoints
);
524 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseControlPoints
);
525 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMoveLink
);
526 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape
, wxRectangleShape
, OnSizingDragLeft
);
527 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingBeginDragLeft
);
528 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingEndDragLeft
);
529 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnBeginSize
);
530 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnEndSize
)
534 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint
, wxControlPoint
);
537 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape
, wxBitmapShape
);
540 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape
, wxDrawnShape
);
542 wxOGLConstraint
*new_wxOGLConstraint(int type
,wxPyShape
*constraining
,PyObject
*constrained
){
543 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
544 wxOGLConstraint
* rv
= new wxOGLConstraint(type
, constraining
, *list
);
549 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape
, wxCompositeShape
);
551 wxOGLConstraint
*wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape
*self
,int type
,wxPyShape
*constraining
,PyObject
*constrained
){
552 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
553 wxOGLConstraint
* rv
= self
->AddConstraint(type
, constraining
, *list
);
557 PyObject
*wxPyCompositeShape_GetConstraints(wxPyCompositeShape
*self
){
558 wxList
& list
= self
->GetConstraints();
559 return wxPy_ConvertList(&list
);
561 PyObject
*wxPyCompositeShape_GetDivisions(wxPyCompositeShape
*self
){
562 wxList
& list
= self
->GetDivisions();
563 return wxPy_ConvertShapeList(&list
);
566 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape
, wxDividedShape
);
569 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape
, wxDivisionShape
);
572 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape
, wxEllipseShape
);
575 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape
, wxCircleShape
);
578 WXSHAPE_IMP_CALLBACKS(wxPyLineShape
, wxLineShape
);
580 void wxPyLineShape_AddArrowOrdered(wxPyLineShape
*self
,wxArrowHead
*arrow
,PyObject
*referenceList
,int end
){
581 wxList
* list
= wxPy_wxListHelper(referenceList
, wxT("wxArrowHead"));
582 self
->AddArrowOrdered(arrow
, *list
, end
);
585 PyObject
*wxPyLineShape_GetLineControlPoints(wxPyLineShape
*self
){
586 wxList
* list
= self
->GetLineControlPoints();
587 return wxPy_ConvertRealPointList(list
);
589 void wxPyLineShape_SetLineControlPoints(wxPyLineShape
*self
,PyObject
*list
){
590 wxList
* real_point_list
= wxPy_wxRealPoint_ListHelper(list
);
591 self
->MakeLineControlPoints((int)(real_point_list
->GetCount()));
592 wxList
* old_control_points
= self
->GetLineControlPoints();
593 wxNode
* old_node
= old_control_points
->GetFirst();
594 wxNode
* real_node
= real_point_list
->GetFirst();
597 wxRealPoint
* old_point
= (wxRealPoint
*)old_node
->GetData();
598 wxRealPoint
* new_point
= (wxRealPoint
*)real_node
->GetData();
599 old_point
->x
= new_point
->x
;
600 old_point
->y
= new_point
->y
;
601 old_node
= old_node
->GetNext();
602 real_node
= real_node
->GetNext();
604 self
->ClearPointList(*real_point_list
);
605 delete real_point_list
;
608 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape
, wxPolygonShape
);
610 PyObject
*wxPyPolygonShape_Create(wxPyPolygonShape
*self
,PyObject
*points
){
611 wxList
* list
= wxPy_wxRealPoint_ListHelper(points
);
619 PyObject
*wxPyPolygonShape_GetPoints(wxPyPolygonShape
*self
){
620 wxList
* list
= self
->GetPoints();
621 return wxPy_ConvertRealPointList(list
);
623 PyObject
*wxPyPolygonShape_GetOriginalPoints(wxPyPolygonShape
*self
){
624 wxList
* list
= self
->GetOriginalPoints();
628 wxNode
* node
= list
->GetFirst();
630 bool blocked
= wxPyBeginBlockThreads();
631 pyList
= PyList_New(0);
633 wxObj
= node
->GetData();
634 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
635 PyList_Append(pyList
, pyObj
);
636 node
= node
->GetNext();
638 wxPyEndBlockThreads(blocked
);
642 WXSHAPE_IMP_CALLBACKS(wxPyTextShape
, wxTextShape
);
645 // Put some wx default wxChar* values into wxStrings.
646 DECLARE_DEF_STRING(ShapeCanvasNameStr
);
648 PyObject
*wxDiagram_GetShapeList(wxDiagram
*self
){
649 wxList
* list
= self
->GetShapeList();
650 return wxPy_ConvertShapeList(list
);
653 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragLeft
);
654 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragRight
);
655 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragLeft
);
656 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragRight
);
657 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragLeft
);
658 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragRight
);
659 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnLeftClick
);
660 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnRightClick
);
663 //---------------------------------------------------------------------------
665 // Convert from a Python list to a list of className objects. This one will
666 // work for any class for the VERY generic cases, but beyond that the helper
667 // needs to know more about the type.
668 wxList
* wxPy_wxListHelper(PyObject
* pyList
, const wxChar
* className
) {
669 bool blocked
= wxPyBeginBlockThreads();
670 if (!PyList_Check(pyList
)) {
671 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
672 wxPyEndBlockThreads(blocked
);
675 int count
= PyList_Size(pyList
);
676 wxList
* list
= new wxList
;
678 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
679 wxPyEndBlockThreads(blocked
);
682 for (int x
=0; x
<count
; x
++) {
683 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
684 wxObject
* wxo
= NULL
;
686 if ( !wxPyConvertSwigPtr(pyo
, (void **)&wxo
, className
) ) {
688 errmsg
.Printf(wxT("Type error, expected list of %s objects"), className
);
689 PyErr_SetString(PyExc_TypeError
, errmsg
.mb_str());
690 wxPyEndBlockThreads(blocked
);
695 wxPyEndBlockThreads(blocked
);
699 //---------------------------------------------------------------------------
701 wxList
* wxPy_wxRealPoint_ListHelper(PyObject
* pyList
) {
702 bool blocked
= wxPyBeginBlockThreads();
703 if (!PyList_Check(pyList
)) {
704 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
705 wxPyEndBlockThreads(blocked
);
708 int count
= PyList_Size(pyList
);
709 wxList
* list
= new wxList
;
711 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
712 wxPyEndBlockThreads(blocked
);
715 for (int x
=0; x
<count
; x
++) {
716 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
718 if (PyTuple_Check(pyo
)) {
719 PyObject
* o1
= PyNumber_Float(PyTuple_GetItem(pyo
, 0));
720 PyObject
* o2
= PyNumber_Float(PyTuple_GetItem(pyo
, 1));
722 double val1
= (o1
? PyFloat_AsDouble(o1
) : 0.0);
723 double val2
= (o2
? PyFloat_AsDouble(o2
) : 0.0);
725 list
->Append((wxObject
*) new wxRealPoint(val1
, val2
));
728 wxRealPoint
* wxo
= NULL
;
729 if (wxPyConvertSwigPtr(pyo
, (void **)&wxo
, wxT("wxRealPoint"))) {
730 PyErr_SetString(PyExc_TypeError
, "Type error, expected list of wxRealPoint objects or 2-tuples");
731 wxPyEndBlockThreads(blocked
);
734 list
->Append((wxObject
*) new wxRealPoint(*wxo
));
737 wxPyEndBlockThreads(blocked
);
741 //---------------------------------------------------------------------------
743 PyObject
* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler
* source
, bool setThisOwn
) {
744 PyObject
* target
= NULL
;
746 if (source
&& wxIsKindOf(source
, wxShapeEvtHandler
)) {
747 // If it's derived from wxShapeEvtHandler then there may
748 // already be a pointer to a Python object that we can use
750 wxShapeEvtHandler
* seh
= (wxShapeEvtHandler
*)source
;
751 wxPyOORClientData
* data
= (wxPyOORClientData
*)seh
->GetClientObject();
753 target
= data
->m_obj
;
758 target
= wxPyMake_wxObject2(source
, setThisOwn
, false);
759 if (target
!= Py_None
)
760 ((wxShapeEvtHandler
*)source
)->SetClientObject(new wxPyOORClientData(target
));
765 //---------------------------------------------------------------------------
767 PyObject
* wxPy_ConvertRealPointList(wxListBase
* listbase
) {
768 wxList
* list
= (wxList
*)listbase
;
772 wxNode
* node
= list
->GetFirst();
774 bool blocked
= wxPyBeginBlockThreads();
775 pyList
= PyList_New(0);
777 wxObj
= node
->GetData();
778 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
779 PyList_Append(pyList
, pyObj
);
780 node
= node
->GetNext();
782 wxPyEndBlockThreads(blocked
);
786 //---------------------------------------------------------------------------
788 PyObject
* wxPy_ConvertShapeList(wxListBase
* listbase
) {
789 wxList
* list
= (wxList
*)listbase
;
793 wxNode
* node
= list
->GetFirst();
795 bool blocked
= wxPyBeginBlockThreads();
796 pyList
= PyList_New(0);
798 wxObj
= node
->GetData();
799 pyObj
= wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler
*)wxObj
, false);
800 PyList_Append(pyList
, pyObj
);
801 node
= node
->GetNext();
803 wxPyEndBlockThreads(blocked
);
808 //---------------------------------------------------------------------------
810 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas
, wxShapeCanvas
);
811 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler
, wxShapeEvtHandler
);
812 IMPLEMENT_ABSTRACT_CLASS(wxPyShape
, wxShape
);
813 IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape
, wxRectangleShape
);
814 IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint
, wxControlPoint
);
815 IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape
, wxBitmapShape
);
816 IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape
, wxDrawnShape
);
817 IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape
, wxCompositeShape
);
818 IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape
, wxDividedShape
);
819 IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape
, wxDivisionShape
);
820 IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape
, wxEllipseShape
);
821 IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape
, wxCircleShape
);
822 IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape
, wxLineShape
);
823 IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape
, wxPolygonShape
);
824 IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape
, wxTextShape
);
826 //---------------------------------------------------------------------------
828 // extern "C" SWIGEXPORT(void) initoglbasicc();
829 // extern "C" SWIGEXPORT(void) initoglshapesc();
830 // extern "C" SWIGEXPORT(void) initoglshapes2c();
831 // extern "C" SWIGEXPORT(void) initoglcanvasc();
836 static PyObject
*_wrap_new_ShapeRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
838 wxShapeRegion
*result
;
843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ShapeRegion",kwnames
)) goto fail
;
845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
846 result
= (wxShapeRegion
*)new wxShapeRegion();
848 wxPyEndAllowThreads(__tstate
);
849 if (PyErr_Occurred()) SWIG_fail
;
851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShapeRegion
, 1);
858 static PyObject
*_wrap_ShapeRegion_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
860 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
863 PyObject
* obj0
= 0 ;
864 PyObject
* obj1
= 0 ;
866 (char *) "self",(char *) "s", NULL
869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
873 arg2
= wxString_in_helper(obj1
);
874 if (arg2
== NULL
) SWIG_fail
;
878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
879 (arg1
)->SetText((wxString
const &)*arg2
);
881 wxPyEndAllowThreads(__tstate
);
882 if (PyErr_Occurred()) SWIG_fail
;
884 Py_INCREF(Py_None
); resultobj
= Py_None
;
899 static PyObject
*_wrap_ShapeRegion_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
901 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
902 wxFont
*arg2
= (wxFont
*) 0 ;
903 PyObject
* obj0
= 0 ;
904 PyObject
* obj1
= 0 ;
906 (char *) "self",(char *) "f", NULL
909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
915 if (obj1
== Py_None
) {
918 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
919 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
924 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
928 temp
->GetUnderlined(),
930 temp
->GetEncoding());
935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
936 (arg1
)->SetFont(arg2
);
938 wxPyEndAllowThreads(__tstate
);
939 if (PyErr_Occurred()) SWIG_fail
;
941 Py_INCREF(Py_None
); resultobj
= Py_None
;
948 static PyObject
*_wrap_ShapeRegion_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
950 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
953 PyObject
* obj0
= 0 ;
954 PyObject
* obj1
= 0 ;
955 PyObject
* obj2
= 0 ;
957 (char *) "self",(char *) "w",(char *) "h", NULL
960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
963 arg2
= (double) SWIG_AsDouble(obj1
);
964 if (PyErr_Occurred()) SWIG_fail
;
965 arg3
= (double) SWIG_AsDouble(obj2
);
966 if (PyErr_Occurred()) SWIG_fail
;
968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
969 (arg1
)->SetMinSize(arg2
,arg3
);
971 wxPyEndAllowThreads(__tstate
);
972 if (PyErr_Occurred()) SWIG_fail
;
974 Py_INCREF(Py_None
); resultobj
= Py_None
;
981 static PyObject
*_wrap_ShapeRegion_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
983 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
986 PyObject
* obj0
= 0 ;
987 PyObject
* obj1
= 0 ;
988 PyObject
* obj2
= 0 ;
990 (char *) "self",(char *) "w",(char *) "h", NULL
993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
996 arg2
= (double) SWIG_AsDouble(obj1
);
997 if (PyErr_Occurred()) SWIG_fail
;
998 arg3
= (double) SWIG_AsDouble(obj2
);
999 if (PyErr_Occurred()) SWIG_fail
;
1001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1002 (arg1
)->SetSize(arg2
,arg3
);
1004 wxPyEndAllowThreads(__tstate
);
1005 if (PyErr_Occurred()) SWIG_fail
;
1007 Py_INCREF(Py_None
); resultobj
= Py_None
;
1014 static PyObject
*_wrap_ShapeRegion_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1015 PyObject
*resultobj
;
1016 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1019 PyObject
* obj0
= 0 ;
1020 PyObject
* obj1
= 0 ;
1021 PyObject
* obj2
= 0 ;
1023 (char *) "self",(char *) "x",(char *) "y", NULL
1026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1029 arg2
= (double) SWIG_AsDouble(obj1
);
1030 if (PyErr_Occurred()) SWIG_fail
;
1031 arg3
= (double) SWIG_AsDouble(obj2
);
1032 if (PyErr_Occurred()) SWIG_fail
;
1034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1035 (arg1
)->SetPosition(arg2
,arg3
);
1037 wxPyEndAllowThreads(__tstate
);
1038 if (PyErr_Occurred()) SWIG_fail
;
1040 Py_INCREF(Py_None
); resultobj
= Py_None
;
1047 static PyObject
*_wrap_ShapeRegion_SetProportions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1048 PyObject
*resultobj
;
1049 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1052 PyObject
* obj0
= 0 ;
1053 PyObject
* obj1
= 0 ;
1054 PyObject
* obj2
= 0 ;
1056 (char *) "self",(char *) "x",(char *) "y", NULL
1059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetProportions",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1062 arg2
= (double) SWIG_AsDouble(obj1
);
1063 if (PyErr_Occurred()) SWIG_fail
;
1064 arg3
= (double) SWIG_AsDouble(obj2
);
1065 if (PyErr_Occurred()) SWIG_fail
;
1067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1068 (arg1
)->SetProportions(arg2
,arg3
);
1070 wxPyEndAllowThreads(__tstate
);
1071 if (PyErr_Occurred()) SWIG_fail
;
1073 Py_INCREF(Py_None
); resultobj
= Py_None
;
1080 static PyObject
*_wrap_ShapeRegion_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1081 PyObject
*resultobj
;
1082 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1084 PyObject
* obj0
= 0 ;
1085 PyObject
* obj1
= 0 ;
1087 (char *) "self",(char *) "mode", NULL
1090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetFormatMode",kwnames
,&obj0
,&obj1
)) goto fail
;
1091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1093 arg2
= (int) SWIG_AsInt(obj1
);
1094 if (PyErr_Occurred()) SWIG_fail
;
1096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1097 (arg1
)->SetFormatMode(arg2
);
1099 wxPyEndAllowThreads(__tstate
);
1100 if (PyErr_Occurred()) SWIG_fail
;
1102 Py_INCREF(Py_None
); resultobj
= Py_None
;
1109 static PyObject
*_wrap_ShapeRegion_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1110 PyObject
*resultobj
;
1111 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1112 wxString
*arg2
= 0 ;
1113 bool temp2
= False
;
1114 PyObject
* obj0
= 0 ;
1115 PyObject
* obj1
= 0 ;
1117 (char *) "self",(char *) "s", NULL
1120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
1121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1124 arg2
= wxString_in_helper(obj1
);
1125 if (arg2
== NULL
) SWIG_fail
;
1129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1130 (arg1
)->SetName((wxString
const &)*arg2
);
1132 wxPyEndAllowThreads(__tstate
);
1133 if (PyErr_Occurred()) SWIG_fail
;
1135 Py_INCREF(Py_None
); resultobj
= Py_None
;
1150 static PyObject
*_wrap_ShapeRegion_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1151 PyObject
*resultobj
;
1152 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1153 wxString
*arg2
= 0 ;
1154 bool temp2
= False
;
1155 PyObject
* obj0
= 0 ;
1156 PyObject
* obj1
= 0 ;
1158 (char *) "self",(char *) "col", NULL
1161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1165 arg2
= wxString_in_helper(obj1
);
1166 if (arg2
== NULL
) SWIG_fail
;
1170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1171 (arg1
)->SetColour((wxString
const &)*arg2
);
1173 wxPyEndAllowThreads(__tstate
);
1174 if (PyErr_Occurred()) SWIG_fail
;
1176 Py_INCREF(Py_None
); resultobj
= Py_None
;
1191 static PyObject
*_wrap_ShapeRegion_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1192 PyObject
*resultobj
;
1193 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1195 PyObject
* obj0
= 0 ;
1197 (char *) "self", NULL
1200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetText",kwnames
,&obj0
)) goto fail
;
1201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1205 result
= (arg1
)->GetText();
1207 wxPyEndAllowThreads(__tstate
);
1208 if (PyErr_Occurred()) SWIG_fail
;
1212 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1214 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1223 static PyObject
*_wrap_ShapeRegion_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1224 PyObject
*resultobj
;
1225 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1227 PyObject
* obj0
= 0 ;
1229 (char *) "self", NULL
1232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFont",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 result
= (wxFont
*)(arg1
)->GetFont();
1239 wxPyEndAllowThreads(__tstate
);
1240 if (PyErr_Occurred()) SWIG_fail
;
1242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
1249 static PyObject
*_wrap_ShapeRegion_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1250 PyObject
*resultobj
;
1251 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1252 double *arg2
= (double *) 0 ;
1253 double *arg3
= (double *) 0 ;
1256 PyObject
* obj0
= 0 ;
1258 (char *) "self", NULL
1263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetMinSize",kwnames
,&obj0
)) goto fail
;
1264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1268 (arg1
)->GetMinSize(arg2
,arg3
);
1270 wxPyEndAllowThreads(__tstate
);
1271 if (PyErr_Occurred()) SWIG_fail
;
1273 Py_INCREF(Py_None
); resultobj
= Py_None
;
1275 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1276 resultobj
= t_output_helper(resultobj
,o
);
1279 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1280 resultobj
= t_output_helper(resultobj
,o
);
1288 static PyObject
*_wrap_ShapeRegion_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1289 PyObject
*resultobj
;
1290 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1291 double *arg2
= (double *) 0 ;
1292 double *arg3
= (double *) 0 ;
1295 PyObject
* obj0
= 0 ;
1297 (char *) "self", NULL
1302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetProportion",kwnames
,&obj0
)) goto fail
;
1303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1307 (arg1
)->GetProportion(arg2
,arg3
);
1309 wxPyEndAllowThreads(__tstate
);
1310 if (PyErr_Occurred()) SWIG_fail
;
1312 Py_INCREF(Py_None
); resultobj
= Py_None
;
1314 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1315 resultobj
= t_output_helper(resultobj
,o
);
1318 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1319 resultobj
= t_output_helper(resultobj
,o
);
1327 static PyObject
*_wrap_ShapeRegion_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1328 PyObject
*resultobj
;
1329 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1330 double *arg2
= (double *) 0 ;
1331 double *arg3
= (double *) 0 ;
1334 PyObject
* obj0
= 0 ;
1336 (char *) "self", NULL
1341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetSize",kwnames
,&obj0
)) goto fail
;
1342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1346 (arg1
)->GetSize(arg2
,arg3
);
1348 wxPyEndAllowThreads(__tstate
);
1349 if (PyErr_Occurred()) SWIG_fail
;
1351 Py_INCREF(Py_None
); resultobj
= Py_None
;
1353 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1354 resultobj
= t_output_helper(resultobj
,o
);
1357 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1358 resultobj
= t_output_helper(resultobj
,o
);
1366 static PyObject
*_wrap_ShapeRegion_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
*resultobj
;
1368 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1369 double *arg2
= (double *) 0 ;
1370 double *arg3
= (double *) 0 ;
1373 PyObject
* obj0
= 0 ;
1375 (char *) "self", NULL
1380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPosition",kwnames
,&obj0
)) goto fail
;
1381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1385 (arg1
)->GetPosition(arg2
,arg3
);
1387 wxPyEndAllowThreads(__tstate
);
1388 if (PyErr_Occurred()) SWIG_fail
;
1390 Py_INCREF(Py_None
); resultobj
= Py_None
;
1392 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1393 resultobj
= t_output_helper(resultobj
,o
);
1396 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1397 resultobj
= t_output_helper(resultobj
,o
);
1405 static PyObject
*_wrap_ShapeRegion_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1406 PyObject
*resultobj
;
1407 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1409 PyObject
* obj0
= 0 ;
1411 (char *) "self", NULL
1414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormatMode",kwnames
,&obj0
)) goto fail
;
1415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1419 result
= (int)(arg1
)->GetFormatMode();
1421 wxPyEndAllowThreads(__tstate
);
1422 if (PyErr_Occurred()) SWIG_fail
;
1424 resultobj
= SWIG_FromInt((int)result
);
1431 static PyObject
*_wrap_ShapeRegion_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1432 PyObject
*resultobj
;
1433 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1435 PyObject
* obj0
= 0 ;
1437 (char *) "self", NULL
1440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetName",kwnames
,&obj0
)) goto fail
;
1441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1445 result
= (arg1
)->GetName();
1447 wxPyEndAllowThreads(__tstate
);
1448 if (PyErr_Occurred()) SWIG_fail
;
1452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1463 static PyObject
*_wrap_ShapeRegion_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
*resultobj
;
1465 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1467 PyObject
* obj0
= 0 ;
1469 (char *) "self", NULL
1472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetColour",kwnames
,&obj0
)) goto fail
;
1473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1477 result
= (arg1
)->GetColour();
1479 wxPyEndAllowThreads(__tstate
);
1480 if (PyErr_Occurred()) SWIG_fail
;
1484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1495 static PyObject
*_wrap_ShapeRegion_GetActualColourObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1496 PyObject
*resultobj
;
1497 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1499 PyObject
* obj0
= 0 ;
1501 (char *) "self", NULL
1504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualColourObject",kwnames
,&obj0
)) goto fail
;
1505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1509 result
= (arg1
)->GetActualColourObject();
1511 wxPyEndAllowThreads(__tstate
);
1512 if (PyErr_Occurred()) SWIG_fail
;
1515 wxColour
* resultptr
;
1516 resultptr
= new wxColour((wxColour
&) result
);
1517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1525 static PyObject
*_wrap_ShapeRegion_GetFormattedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1526 PyObject
*resultobj
;
1527 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1529 PyObject
* obj0
= 0 ;
1531 (char *) "self", NULL
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormattedText",kwnames
,&obj0
)) goto fail
;
1535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1540 wxList
&_result_ref
= (arg1
)->GetFormattedText();
1541 result
= (wxList
*) &_result_ref
;
1544 wxPyEndAllowThreads(__tstate
);
1545 if (PyErr_Occurred()) SWIG_fail
;
1547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxList
, 0);
1554 static PyObject
*_wrap_ShapeRegion_GetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1555 PyObject
*resultobj
;
1556 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1558 PyObject
* obj0
= 0 ;
1560 (char *) "self", NULL
1563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenColour",kwnames
,&obj0
)) goto fail
;
1564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1568 result
= (arg1
)->GetPenColour();
1570 wxPyEndAllowThreads(__tstate
);
1571 if (PyErr_Occurred()) SWIG_fail
;
1575 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1577 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1586 static PyObject
*_wrap_ShapeRegion_GetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1587 PyObject
*resultobj
;
1588 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1590 PyObject
* obj0
= 0 ;
1592 (char *) "self", NULL
1595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenStyle",kwnames
,&obj0
)) goto fail
;
1596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1600 result
= (int)(arg1
)->GetPenStyle();
1602 wxPyEndAllowThreads(__tstate
);
1603 if (PyErr_Occurred()) SWIG_fail
;
1605 resultobj
= SWIG_FromInt((int)result
);
1612 static PyObject
*_wrap_ShapeRegion_SetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1613 PyObject
*resultobj
;
1614 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1616 PyObject
* obj0
= 0 ;
1617 PyObject
* obj1
= 0 ;
1619 (char *) "self",(char *) "style", NULL
1622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetPenStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
1623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1625 arg2
= (int) SWIG_AsInt(obj1
);
1626 if (PyErr_Occurred()) SWIG_fail
;
1628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1629 (arg1
)->SetPenStyle(arg2
);
1631 wxPyEndAllowThreads(__tstate
);
1632 if (PyErr_Occurred()) SWIG_fail
;
1634 Py_INCREF(Py_None
); resultobj
= Py_None
;
1641 static PyObject
*_wrap_ShapeRegion_SetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
*resultobj
;
1643 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1644 wxString
*arg2
= 0 ;
1645 bool temp2
= False
;
1646 PyObject
* obj0
= 0 ;
1647 PyObject
* obj1
= 0 ;
1649 (char *) "self",(char *) "col", NULL
1652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetPenColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1656 arg2
= wxString_in_helper(obj1
);
1657 if (arg2
== NULL
) SWIG_fail
;
1661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1662 (arg1
)->SetPenColour((wxString
const &)*arg2
);
1664 wxPyEndAllowThreads(__tstate
);
1665 if (PyErr_Occurred()) SWIG_fail
;
1667 Py_INCREF(Py_None
); resultobj
= Py_None
;
1682 static PyObject
*_wrap_ShapeRegion_GetActualPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1683 PyObject
*resultobj
;
1684 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1686 PyObject
* obj0
= 0 ;
1688 (char *) "self", NULL
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualPen",kwnames
,&obj0
)) goto fail
;
1692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1696 result
= (wxPen
*)(arg1
)->GetActualPen();
1698 wxPyEndAllowThreads(__tstate
);
1699 if (PyErr_Occurred()) SWIG_fail
;
1701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
1708 static PyObject
*_wrap_ShapeRegion_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
*resultobj
;
1710 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1712 PyObject
* obj0
= 0 ;
1714 (char *) "self", NULL
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetWidth",kwnames
,&obj0
)) goto fail
;
1718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1722 result
= (double)(arg1
)->GetWidth();
1724 wxPyEndAllowThreads(__tstate
);
1725 if (PyErr_Occurred()) SWIG_fail
;
1727 resultobj
= SWIG_FromDouble((double)result
);
1734 static PyObject
*_wrap_ShapeRegion_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1735 PyObject
*resultobj
;
1736 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1738 PyObject
* obj0
= 0 ;
1740 (char *) "self", NULL
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetHeight",kwnames
,&obj0
)) goto fail
;
1744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1748 result
= (double)(arg1
)->GetHeight();
1750 wxPyEndAllowThreads(__tstate
);
1751 if (PyErr_Occurred()) SWIG_fail
;
1753 resultobj
= SWIG_FromDouble((double)result
);
1760 static PyObject
*_wrap_ShapeRegion_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
*resultobj
;
1762 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1763 PyObject
* obj0
= 0 ;
1765 (char *) "self", NULL
1768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_ClearText",kwnames
,&obj0
)) goto fail
;
1769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1773 (arg1
)->ClearText();
1775 wxPyEndAllowThreads(__tstate
);
1776 if (PyErr_Occurred()) SWIG_fail
;
1778 Py_INCREF(Py_None
); resultobj
= Py_None
;
1785 static PyObject
* ShapeRegion_swigregister(PyObject
*self
, PyObject
*args
) {
1787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1788 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion
, obj
);
1790 return Py_BuildValue((char *)"");
1792 static PyObject
*_wrap_new_AttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
*resultobj
;
1794 int arg1
= (int) 0 ;
1795 double arg2
= (double) 0.0 ;
1796 double arg3
= (double) 0.0 ;
1797 wxAttachmentPoint
*result
;
1798 PyObject
* obj0
= 0 ;
1799 PyObject
* obj1
= 0 ;
1800 PyObject
* obj2
= 0 ;
1802 (char *) "id",(char *) "x",(char *) "y", NULL
1805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AttachmentPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1807 arg1
= (int) SWIG_AsInt(obj0
);
1808 if (PyErr_Occurred()) SWIG_fail
;
1811 arg2
= (double) SWIG_AsDouble(obj1
);
1812 if (PyErr_Occurred()) SWIG_fail
;
1815 arg3
= (double) SWIG_AsDouble(obj2
);
1816 if (PyErr_Occurred()) SWIG_fail
;
1819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1820 result
= (wxAttachmentPoint
*)new wxAttachmentPoint(arg1
,arg2
,arg3
);
1822 wxPyEndAllowThreads(__tstate
);
1823 if (PyErr_Occurred()) SWIG_fail
;
1825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAttachmentPoint
, 1);
1832 static PyObject
*_wrap_AttachmentPoint_m_id_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
*resultobj
;
1834 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1836 PyObject
* obj0
= 0 ;
1837 PyObject
* obj1
= 0 ;
1839 (char *) "self",(char *) "m_id", NULL
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AttachmentPoint_m_id_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
1844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1845 arg2
= (int) SWIG_AsInt(obj1
);
1846 if (PyErr_Occurred()) SWIG_fail
;
1847 if (arg1
) (arg1
)->m_id
= arg2
;
1849 Py_INCREF(Py_None
); resultobj
= Py_None
;
1856 static PyObject
*_wrap_AttachmentPoint_m_id_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1857 PyObject
*resultobj
;
1858 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1860 PyObject
* obj0
= 0 ;
1862 (char *) "self", NULL
1865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_id_get",kwnames
,&obj0
)) goto fail
;
1866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
1867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1868 result
= (int) ((arg1
)->m_id
);
1870 resultobj
= SWIG_FromInt((int)result
);
1877 static PyObject
*_wrap_AttachmentPoint_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1878 PyObject
*resultobj
;
1879 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1881 PyObject
* obj0
= 0 ;
1882 PyObject
* obj1
= 0 ;
1884 (char *) "self",(char *) "m_x", NULL
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AttachmentPoint_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
1889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1890 arg2
= (double) SWIG_AsDouble(obj1
);
1891 if (PyErr_Occurred()) SWIG_fail
;
1892 if (arg1
) (arg1
)->m_x
= arg2
;
1894 Py_INCREF(Py_None
); resultobj
= Py_None
;
1901 static PyObject
*_wrap_AttachmentPoint_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
*resultobj
;
1903 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1905 PyObject
* obj0
= 0 ;
1907 (char *) "self", NULL
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_x_get",kwnames
,&obj0
)) goto fail
;
1911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
1912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1913 result
= (double) ((arg1
)->m_x
);
1915 resultobj
= SWIG_FromDouble((double)result
);
1922 static PyObject
*_wrap_AttachmentPoint_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
*resultobj
;
1924 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1926 PyObject
* obj0
= 0 ;
1927 PyObject
* obj1
= 0 ;
1929 (char *) "self",(char *) "m_y", NULL
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AttachmentPoint_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
1934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1935 arg2
= (double) SWIG_AsDouble(obj1
);
1936 if (PyErr_Occurred()) SWIG_fail
;
1937 if (arg1
) (arg1
)->m_y
= arg2
;
1939 Py_INCREF(Py_None
); resultobj
= Py_None
;
1946 static PyObject
*_wrap_AttachmentPoint_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
*resultobj
;
1948 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1950 PyObject
* obj0
= 0 ;
1952 (char *) "self", NULL
1955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_y_get",kwnames
,&obj0
)) goto fail
;
1956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
1957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1958 result
= (double) ((arg1
)->m_y
);
1960 resultobj
= SWIG_FromDouble((double)result
);
1967 static PyObject
* AttachmentPoint_swigregister(PyObject
*self
, PyObject
*args
) {
1969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1970 SWIG_TypeClientData(SWIGTYPE_p_wxAttachmentPoint
, obj
);
1972 return Py_BuildValue((char *)"");
1974 static PyObject
*_wrap_new_PyShapeEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
*resultobj
;
1976 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) NULL
;
1977 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
1978 wxPyShapeEvtHandler
*result
;
1979 PyObject
* obj0
= 0 ;
1980 PyObject
* obj1
= 0 ;
1982 (char *) "prev",(char *) "shape", NULL
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyShapeEvtHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
1987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
1988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
1992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1996 result
= (wxPyShapeEvtHandler
*)new wxPyShapeEvtHandler(arg1
,arg2
);
1998 wxPyEndAllowThreads(__tstate
);
1999 if (PyErr_Occurred()) SWIG_fail
;
2001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyShapeEvtHandler
, 1);
2008 static PyObject
*_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
*resultobj
;
2010 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2011 PyObject
*arg2
= (PyObject
*) 0 ;
2012 PyObject
*arg3
= (PyObject
*) 0 ;
2013 PyObject
* obj0
= 0 ;
2014 PyObject
* obj1
= 0 ;
2015 PyObject
* obj2
= 0 ;
2017 (char *) "self",(char *) "self",(char *) "_class", NULL
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2027 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2029 wxPyEndAllowThreads(__tstate
);
2030 if (PyErr_Occurred()) SWIG_fail
;
2032 Py_INCREF(Py_None
); resultobj
= Py_None
;
2039 static PyObject
*_wrap_PyShapeEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
*resultobj
;
2041 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2042 PyObject
*arg2
= (PyObject
*) 0 ;
2043 PyObject
* obj0
= 0 ;
2044 PyObject
* obj1
= 0 ;
2046 (char *) "self",(char *) "_self", NULL
2049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2055 wxPyShapeEvtHandler__setOORInfo(arg1
,arg2
);
2057 wxPyEndAllowThreads(__tstate
);
2058 if (PyErr_Occurred()) SWIG_fail
;
2060 Py_INCREF(Py_None
); resultobj
= Py_None
;
2067 static PyObject
*_wrap_PyShapeEvtHandler_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
*resultobj
;
2069 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2070 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
2071 PyObject
* obj0
= 0 ;
2072 PyObject
* obj1
= 0 ;
2074 (char *) "self",(char *) "sh", NULL
2077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
2081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2084 (arg1
)->SetShape(arg2
);
2086 wxPyEndAllowThreads(__tstate
);
2087 if (PyErr_Occurred()) SWIG_fail
;
2089 Py_INCREF(Py_None
); resultobj
= Py_None
;
2096 static PyObject
*_wrap_PyShapeEvtHandler_GetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
*resultobj
;
2098 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2100 PyObject
* obj0
= 0 ;
2102 (char *) "self", NULL
2105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetShape",kwnames
,&obj0
)) goto fail
;
2106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2110 result
= (wxPyShape
*)(arg1
)->GetShape();
2112 wxPyEndAllowThreads(__tstate
);
2113 if (PyErr_Occurred()) SWIG_fail
;
2116 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
2124 static PyObject
*_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2125 PyObject
*resultobj
;
2126 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2127 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
2128 PyObject
* obj0
= 0 ;
2129 PyObject
* obj1
= 0 ;
2131 (char *) "self",(char *) "handler", NULL
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
2135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2141 (arg1
)->SetPreviousHandler(arg2
);
2143 wxPyEndAllowThreads(__tstate
);
2144 if (PyErr_Occurred()) SWIG_fail
;
2146 Py_INCREF(Py_None
); resultobj
= Py_None
;
2153 static PyObject
*_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
*resultobj
;
2155 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2156 wxPyShapeEvtHandler
*result
;
2157 PyObject
* obj0
= 0 ;
2159 (char *) "self", NULL
2162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
2163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2167 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetPreviousHandler();
2169 wxPyEndAllowThreads(__tstate
);
2170 if (PyErr_Occurred()) SWIG_fail
;
2173 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
2181 static PyObject
*_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
*resultobj
;
2183 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2184 wxPyShapeEvtHandler
*result
;
2185 PyObject
* obj0
= 0 ;
2187 (char *) "self", NULL
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames
,&obj0
)) goto fail
;
2191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2195 result
= (wxPyShapeEvtHandler
*)(arg1
)->CreateNewCopy();
2197 wxPyEndAllowThreads(__tstate
);
2198 if (PyErr_Occurred()) SWIG_fail
;
2201 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
2209 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2211 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2212 PyObject
* obj0
= 0 ;
2214 (char *) "self", NULL
2217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames
,&obj0
)) goto fail
;
2218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2222 (arg1
)->base_OnDelete();
2224 wxPyEndAllowThreads(__tstate
);
2225 if (PyErr_Occurred()) SWIG_fail
;
2227 Py_INCREF(Py_None
); resultobj
= Py_None
;
2234 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
*resultobj
;
2236 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2238 PyObject
* obj0
= 0 ;
2239 PyObject
* obj1
= 0 ;
2241 (char *) "self",(char *) "dc", NULL
2244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
2245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2248 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2251 PyErr_SetString(PyExc_TypeError
,"null reference");
2255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2256 (arg1
)->base_OnDraw(*arg2
);
2258 wxPyEndAllowThreads(__tstate
);
2259 if (PyErr_Occurred()) SWIG_fail
;
2261 Py_INCREF(Py_None
); resultobj
= Py_None
;
2268 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2269 PyObject
*resultobj
;
2270 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2272 PyObject
* obj0
= 0 ;
2273 PyObject
* obj1
= 0 ;
2275 (char *) "self",(char *) "dc", NULL
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
2279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2282 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2285 PyErr_SetString(PyExc_TypeError
,"null reference");
2289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2290 (arg1
)->base_OnDrawContents(*arg2
);
2292 wxPyEndAllowThreads(__tstate
);
2293 if (PyErr_Occurred()) SWIG_fail
;
2295 Py_INCREF(Py_None
); resultobj
= Py_None
;
2302 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
*resultobj
;
2304 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2306 bool arg3
= (bool) False
;
2307 PyObject
* obj0
= 0 ;
2308 PyObject
* obj1
= 0 ;
2309 PyObject
* obj2
= 0 ;
2311 (char *) "self",(char *) "dc",(char *) "erase", NULL
2314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2318 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2321 PyErr_SetString(PyExc_TypeError
,"null reference");
2325 arg3
= (bool) SWIG_AsBool(obj2
);
2326 if (PyErr_Occurred()) SWIG_fail
;
2329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
2332 wxPyEndAllowThreads(__tstate
);
2333 if (PyErr_Occurred()) SWIG_fail
;
2335 Py_INCREF(Py_None
); resultobj
= Py_None
;
2342 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2343 PyObject
*resultobj
;
2344 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2346 PyObject
* obj0
= 0 ;
2347 PyObject
* obj1
= 0 ;
2349 (char *) "self",(char *) "dc", NULL
2352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
2353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2356 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2359 PyErr_SetString(PyExc_TypeError
,"null reference");
2363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2364 (arg1
)->base_OnMoveLinks(*arg2
);
2366 wxPyEndAllowThreads(__tstate
);
2367 if (PyErr_Occurred()) SWIG_fail
;
2369 Py_INCREF(Py_None
); resultobj
= Py_None
;
2376 static PyObject
*_wrap_PyShapeEvtHandler_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
*resultobj
;
2378 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2380 PyObject
* obj0
= 0 ;
2381 PyObject
* obj1
= 0 ;
2383 (char *) "self",(char *) "dc", NULL
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
2387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2390 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2393 PyErr_SetString(PyExc_TypeError
,"null reference");
2397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2398 (arg1
)->base_OnErase(*arg2
);
2400 wxPyEndAllowThreads(__tstate
);
2401 if (PyErr_Occurred()) SWIG_fail
;
2403 Py_INCREF(Py_None
); resultobj
= Py_None
;
2410 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2411 PyObject
*resultobj
;
2412 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2414 PyObject
* obj0
= 0 ;
2415 PyObject
* obj1
= 0 ;
2417 (char *) "self",(char *) "dc", NULL
2420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
2421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2424 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2427 PyErr_SetString(PyExc_TypeError
,"null reference");
2431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2432 (arg1
)->base_OnEraseContents(*arg2
);
2434 wxPyEndAllowThreads(__tstate
);
2435 if (PyErr_Occurred()) SWIG_fail
;
2437 Py_INCREF(Py_None
); resultobj
= Py_None
;
2444 static PyObject
*_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
*resultobj
;
2446 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2448 PyObject
* obj0
= 0 ;
2449 PyObject
* obj1
= 0 ;
2451 (char *) "self",(char *) "dc", NULL
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
2455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2458 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2461 PyErr_SetString(PyExc_TypeError
,"null reference");
2465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2466 (arg1
)->base_OnHighlight(*arg2
);
2468 wxPyEndAllowThreads(__tstate
);
2469 if (PyErr_Occurred()) SWIG_fail
;
2471 Py_INCREF(Py_None
); resultobj
= Py_None
;
2478 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
*resultobj
;
2480 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2483 int arg4
= (int) 0 ;
2484 int arg5
= (int) 0 ;
2485 PyObject
* obj0
= 0 ;
2486 PyObject
* obj1
= 0 ;
2487 PyObject
* obj2
= 0 ;
2488 PyObject
* obj3
= 0 ;
2489 PyObject
* obj4
= 0 ;
2491 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2497 arg2
= (double) SWIG_AsDouble(obj1
);
2498 if (PyErr_Occurred()) SWIG_fail
;
2499 arg3
= (double) SWIG_AsDouble(obj2
);
2500 if (PyErr_Occurred()) SWIG_fail
;
2502 arg4
= (int) SWIG_AsInt(obj3
);
2503 if (PyErr_Occurred()) SWIG_fail
;
2506 arg5
= (int) SWIG_AsInt(obj4
);
2507 if (PyErr_Occurred()) SWIG_fail
;
2510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2511 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
2513 wxPyEndAllowThreads(__tstate
);
2514 if (PyErr_Occurred()) SWIG_fail
;
2516 Py_INCREF(Py_None
); resultobj
= Py_None
;
2523 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2524 PyObject
*resultobj
;
2525 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2528 int arg4
= (int) 0 ;
2529 int arg5
= (int) 0 ;
2530 PyObject
* obj0
= 0 ;
2531 PyObject
* obj1
= 0 ;
2532 PyObject
* obj2
= 0 ;
2533 PyObject
* obj3
= 0 ;
2534 PyObject
* obj4
= 0 ;
2536 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2542 arg2
= (double) SWIG_AsDouble(obj1
);
2543 if (PyErr_Occurred()) SWIG_fail
;
2544 arg3
= (double) SWIG_AsDouble(obj2
);
2545 if (PyErr_Occurred()) SWIG_fail
;
2547 arg4
= (int) SWIG_AsInt(obj3
);
2548 if (PyErr_Occurred()) SWIG_fail
;
2551 arg5
= (int) SWIG_AsInt(obj4
);
2552 if (PyErr_Occurred()) SWIG_fail
;
2555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2556 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
2558 wxPyEndAllowThreads(__tstate
);
2559 if (PyErr_Occurred()) SWIG_fail
;
2561 Py_INCREF(Py_None
); resultobj
= Py_None
;
2568 static PyObject
*_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2569 PyObject
*resultobj
;
2570 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2573 int arg4
= (int) 0 ;
2574 int arg5
= (int) 0 ;
2575 PyObject
* obj0
= 0 ;
2576 PyObject
* obj1
= 0 ;
2577 PyObject
* obj2
= 0 ;
2578 PyObject
* obj3
= 0 ;
2579 PyObject
* obj4
= 0 ;
2581 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2587 arg2
= (double) SWIG_AsDouble(obj1
);
2588 if (PyErr_Occurred()) SWIG_fail
;
2589 arg3
= (double) SWIG_AsDouble(obj2
);
2590 if (PyErr_Occurred()) SWIG_fail
;
2592 arg4
= (int) SWIG_AsInt(obj3
);
2593 if (PyErr_Occurred()) SWIG_fail
;
2596 arg5
= (int) SWIG_AsInt(obj4
);
2597 if (PyErr_Occurred()) SWIG_fail
;
2600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2601 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
2603 wxPyEndAllowThreads(__tstate
);
2604 if (PyErr_Occurred()) SWIG_fail
;
2606 Py_INCREF(Py_None
); resultobj
= Py_None
;
2613 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2614 PyObject
*resultobj
;
2615 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2618 PyObject
* obj0
= 0 ;
2619 PyObject
* obj1
= 0 ;
2620 PyObject
* obj2
= 0 ;
2622 (char *) "self",(char *) "x",(char *) "y", NULL
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2628 arg2
= (double) SWIG_AsDouble(obj1
);
2629 if (PyErr_Occurred()) SWIG_fail
;
2630 arg3
= (double) SWIG_AsDouble(obj2
);
2631 if (PyErr_Occurred()) SWIG_fail
;
2633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2634 (arg1
)->base_OnSize(arg2
,arg3
);
2636 wxPyEndAllowThreads(__tstate
);
2637 if (PyErr_Occurred()) SWIG_fail
;
2639 Py_INCREF(Py_None
); resultobj
= Py_None
;
2646 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
*resultobj
;
2648 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2654 bool arg7
= (bool) True
;
2656 PyObject
* obj0
= 0 ;
2657 PyObject
* obj1
= 0 ;
2658 PyObject
* obj2
= 0 ;
2659 PyObject
* obj3
= 0 ;
2660 PyObject
* obj4
= 0 ;
2661 PyObject
* obj5
= 0 ;
2662 PyObject
* obj6
= 0 ;
2664 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2671 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2674 PyErr_SetString(PyExc_TypeError
,"null reference");
2677 arg3
= (double) SWIG_AsDouble(obj2
);
2678 if (PyErr_Occurred()) SWIG_fail
;
2679 arg4
= (double) SWIG_AsDouble(obj3
);
2680 if (PyErr_Occurred()) SWIG_fail
;
2681 arg5
= (double) SWIG_AsDouble(obj4
);
2682 if (PyErr_Occurred()) SWIG_fail
;
2683 arg6
= (double) SWIG_AsDouble(obj5
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2686 arg7
= (bool) SWIG_AsBool(obj6
);
2687 if (PyErr_Occurred()) SWIG_fail
;
2690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2691 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2693 wxPyEndAllowThreads(__tstate
);
2694 if (PyErr_Occurred()) SWIG_fail
;
2697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2705 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2706 PyObject
*resultobj
;
2707 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2713 bool arg7
= (bool) True
;
2714 PyObject
* obj0
= 0 ;
2715 PyObject
* obj1
= 0 ;
2716 PyObject
* obj2
= 0 ;
2717 PyObject
* obj3
= 0 ;
2718 PyObject
* obj4
= 0 ;
2719 PyObject
* obj5
= 0 ;
2720 PyObject
* obj6
= 0 ;
2722 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2732 PyErr_SetString(PyExc_TypeError
,"null reference");
2735 arg3
= (double) SWIG_AsDouble(obj2
);
2736 if (PyErr_Occurred()) SWIG_fail
;
2737 arg4
= (double) SWIG_AsDouble(obj3
);
2738 if (PyErr_Occurred()) SWIG_fail
;
2739 arg5
= (double) SWIG_AsDouble(obj4
);
2740 if (PyErr_Occurred()) SWIG_fail
;
2741 arg6
= (double) SWIG_AsDouble(obj5
);
2742 if (PyErr_Occurred()) SWIG_fail
;
2744 arg7
= (bool) SWIG_AsBool(obj6
);
2745 if (PyErr_Occurred()) SWIG_fail
;
2748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2749 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2751 wxPyEndAllowThreads(__tstate
);
2752 if (PyErr_Occurred()) SWIG_fail
;
2754 Py_INCREF(Py_None
); resultobj
= Py_None
;
2761 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
*resultobj
;
2763 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2767 int arg5
= (int) 0 ;
2768 int arg6
= (int) 0 ;
2769 PyObject
* obj0
= 0 ;
2770 PyObject
* obj1
= 0 ;
2771 PyObject
* obj2
= 0 ;
2772 PyObject
* obj3
= 0 ;
2773 PyObject
* obj4
= 0 ;
2774 PyObject
* obj5
= 0 ;
2776 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2782 arg2
= (bool) SWIG_AsBool(obj1
);
2783 if (PyErr_Occurred()) SWIG_fail
;
2784 arg3
= (double) SWIG_AsDouble(obj2
);
2785 if (PyErr_Occurred()) SWIG_fail
;
2786 arg4
= (double) SWIG_AsDouble(obj3
);
2787 if (PyErr_Occurred()) SWIG_fail
;
2789 arg5
= (int) SWIG_AsInt(obj4
);
2790 if (PyErr_Occurred()) SWIG_fail
;
2793 arg6
= (int) SWIG_AsInt(obj5
);
2794 if (PyErr_Occurred()) SWIG_fail
;
2797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2798 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
2800 wxPyEndAllowThreads(__tstate
);
2801 if (PyErr_Occurred()) SWIG_fail
;
2803 Py_INCREF(Py_None
); resultobj
= Py_None
;
2810 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
*resultobj
;
2812 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2815 int arg4
= (int) 0 ;
2816 int arg5
= (int) 0 ;
2817 PyObject
* obj0
= 0 ;
2818 PyObject
* obj1
= 0 ;
2819 PyObject
* obj2
= 0 ;
2820 PyObject
* obj3
= 0 ;
2821 PyObject
* obj4
= 0 ;
2823 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2829 arg2
= (double) SWIG_AsDouble(obj1
);
2830 if (PyErr_Occurred()) SWIG_fail
;
2831 arg3
= (double) SWIG_AsDouble(obj2
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2834 arg4
= (int) SWIG_AsInt(obj3
);
2835 if (PyErr_Occurred()) SWIG_fail
;
2838 arg5
= (int) SWIG_AsInt(obj4
);
2839 if (PyErr_Occurred()) SWIG_fail
;
2842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2843 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
2845 wxPyEndAllowThreads(__tstate
);
2846 if (PyErr_Occurred()) SWIG_fail
;
2848 Py_INCREF(Py_None
); resultobj
= Py_None
;
2855 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2856 PyObject
*resultobj
;
2857 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2860 int arg4
= (int) 0 ;
2861 int arg5
= (int) 0 ;
2862 PyObject
* obj0
= 0 ;
2863 PyObject
* obj1
= 0 ;
2864 PyObject
* obj2
= 0 ;
2865 PyObject
* obj3
= 0 ;
2866 PyObject
* obj4
= 0 ;
2868 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2874 arg2
= (double) SWIG_AsDouble(obj1
);
2875 if (PyErr_Occurred()) SWIG_fail
;
2876 arg3
= (double) SWIG_AsDouble(obj2
);
2877 if (PyErr_Occurred()) SWIG_fail
;
2879 arg4
= (int) SWIG_AsInt(obj3
);
2880 if (PyErr_Occurred()) SWIG_fail
;
2883 arg5
= (int) SWIG_AsInt(obj4
);
2884 if (PyErr_Occurred()) SWIG_fail
;
2887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2888 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
2890 wxPyEndAllowThreads(__tstate
);
2891 if (PyErr_Occurred()) SWIG_fail
;
2893 Py_INCREF(Py_None
); resultobj
= Py_None
;
2900 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2901 PyObject
*resultobj
;
2902 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2906 int arg5
= (int) 0 ;
2907 int arg6
= (int) 0 ;
2908 PyObject
* obj0
= 0 ;
2909 PyObject
* obj1
= 0 ;
2910 PyObject
* obj2
= 0 ;
2911 PyObject
* obj3
= 0 ;
2912 PyObject
* obj4
= 0 ;
2913 PyObject
* obj5
= 0 ;
2915 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2921 arg2
= (bool) SWIG_AsBool(obj1
);
2922 if (PyErr_Occurred()) SWIG_fail
;
2923 arg3
= (double) SWIG_AsDouble(obj2
);
2924 if (PyErr_Occurred()) SWIG_fail
;
2925 arg4
= (double) SWIG_AsDouble(obj3
);
2926 if (PyErr_Occurred()) SWIG_fail
;
2928 arg5
= (int) SWIG_AsInt(obj4
);
2929 if (PyErr_Occurred()) SWIG_fail
;
2932 arg6
= (int) SWIG_AsInt(obj5
);
2933 if (PyErr_Occurred()) SWIG_fail
;
2936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2937 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
2939 wxPyEndAllowThreads(__tstate
);
2940 if (PyErr_Occurred()) SWIG_fail
;
2942 Py_INCREF(Py_None
); resultobj
= Py_None
;
2949 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2950 PyObject
*resultobj
;
2951 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2954 int arg4
= (int) 0 ;
2955 int arg5
= (int) 0 ;
2956 PyObject
* obj0
= 0 ;
2957 PyObject
* obj1
= 0 ;
2958 PyObject
* obj2
= 0 ;
2959 PyObject
* obj3
= 0 ;
2960 PyObject
* obj4
= 0 ;
2962 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2968 arg2
= (double) SWIG_AsDouble(obj1
);
2969 if (PyErr_Occurred()) SWIG_fail
;
2970 arg3
= (double) SWIG_AsDouble(obj2
);
2971 if (PyErr_Occurred()) SWIG_fail
;
2973 arg4
= (int) SWIG_AsInt(obj3
);
2974 if (PyErr_Occurred()) SWIG_fail
;
2977 arg5
= (int) SWIG_AsInt(obj4
);
2978 if (PyErr_Occurred()) SWIG_fail
;
2981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2982 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
2984 wxPyEndAllowThreads(__tstate
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2987 Py_INCREF(Py_None
); resultobj
= Py_None
;
2994 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
*resultobj
;
2996 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2999 int arg4
= (int) 0 ;
3000 int arg5
= (int) 0 ;
3001 PyObject
* obj0
= 0 ;
3002 PyObject
* obj1
= 0 ;
3003 PyObject
* obj2
= 0 ;
3004 PyObject
* obj3
= 0 ;
3005 PyObject
* obj4
= 0 ;
3007 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3013 arg2
= (double) SWIG_AsDouble(obj1
);
3014 if (PyErr_Occurred()) SWIG_fail
;
3015 arg3
= (double) SWIG_AsDouble(obj2
);
3016 if (PyErr_Occurred()) SWIG_fail
;
3018 arg4
= (int) SWIG_AsInt(obj3
);
3019 if (PyErr_Occurred()) SWIG_fail
;
3022 arg5
= (int) SWIG_AsInt(obj4
);
3023 if (PyErr_Occurred()) SWIG_fail
;
3026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3027 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
3029 wxPyEndAllowThreads(__tstate
);
3030 if (PyErr_Occurred()) SWIG_fail
;
3032 Py_INCREF(Py_None
); resultobj
= Py_None
;
3039 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
*resultobj
;
3041 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3047 PyObject
* obj0
= 0 ;
3048 PyObject
* obj1
= 0 ;
3049 PyObject
* obj2
= 0 ;
3050 PyObject
* obj3
= 0 ;
3051 PyObject
* obj4
= 0 ;
3052 PyObject
* obj5
= 0 ;
3054 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
3057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShapeEvtHandler_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3061 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3064 PyErr_SetString(PyExc_TypeError
,"null reference");
3067 arg3
= (double) SWIG_AsDouble(obj2
);
3068 if (PyErr_Occurred()) SWIG_fail
;
3069 arg4
= (double) SWIG_AsDouble(obj3
);
3070 if (PyErr_Occurred()) SWIG_fail
;
3071 arg5
= (double) SWIG_AsDouble(obj4
);
3072 if (PyErr_Occurred()) SWIG_fail
;
3073 arg6
= (double) SWIG_AsDouble(obj5
);
3074 if (PyErr_Occurred()) SWIG_fail
;
3076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3077 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
3079 wxPyEndAllowThreads(__tstate
);
3080 if (PyErr_Occurred()) SWIG_fail
;
3082 Py_INCREF(Py_None
); resultobj
= Py_None
;
3089 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3090 PyObject
*resultobj
;
3091 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3093 PyObject
* obj0
= 0 ;
3094 PyObject
* obj1
= 0 ;
3096 (char *) "self",(char *) "dc", NULL
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3103 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3106 PyErr_SetString(PyExc_TypeError
,"null reference");
3110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3111 (arg1
)->base_OnDrawControlPoints(*arg2
);
3113 wxPyEndAllowThreads(__tstate
);
3114 if (PyErr_Occurred()) SWIG_fail
;
3116 Py_INCREF(Py_None
); resultobj
= Py_None
;
3123 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3124 PyObject
*resultobj
;
3125 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3127 PyObject
* obj0
= 0 ;
3128 PyObject
* obj1
= 0 ;
3130 (char *) "self",(char *) "dc", NULL
3133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3137 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3140 PyErr_SetString(PyExc_TypeError
,"null reference");
3144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3145 (arg1
)->base_OnEraseControlPoints(*arg2
);
3147 wxPyEndAllowThreads(__tstate
);
3148 if (PyErr_Occurred()) SWIG_fail
;
3150 Py_INCREF(Py_None
); resultobj
= Py_None
;
3157 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3158 PyObject
*resultobj
;
3159 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3161 bool arg3
= (bool) True
;
3162 PyObject
* obj0
= 0 ;
3163 PyObject
* obj1
= 0 ;
3164 PyObject
* obj2
= 0 ;
3166 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
3169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3173 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3176 PyErr_SetString(PyExc_TypeError
,"null reference");
3180 arg3
= (bool) SWIG_AsBool(obj2
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3185 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
3187 wxPyEndAllowThreads(__tstate
);
3188 if (PyErr_Occurred()) SWIG_fail
;
3190 Py_INCREF(Py_None
); resultobj
= Py_None
;
3197 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3198 PyObject
*resultobj
;
3199 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3200 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3204 int arg6
= (int) 0 ;
3205 int arg7
= (int) 0 ;
3206 PyObject
* obj0
= 0 ;
3207 PyObject
* obj1
= 0 ;
3208 PyObject
* obj2
= 0 ;
3209 PyObject
* obj3
= 0 ;
3210 PyObject
* obj4
= 0 ;
3211 PyObject
* obj5
= 0 ;
3212 PyObject
* obj6
= 0 ;
3214 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
3221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3222 arg3
= (bool) SWIG_AsBool(obj2
);
3223 if (PyErr_Occurred()) SWIG_fail
;
3224 arg4
= (double) SWIG_AsDouble(obj3
);
3225 if (PyErr_Occurred()) SWIG_fail
;
3226 arg5
= (double) SWIG_AsDouble(obj4
);
3227 if (PyErr_Occurred()) SWIG_fail
;
3229 arg6
= (int) SWIG_AsInt(obj5
);
3230 if (PyErr_Occurred()) SWIG_fail
;
3233 arg7
= (int) SWIG_AsInt(obj6
);
3234 if (PyErr_Occurred()) SWIG_fail
;
3237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3238 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
3240 wxPyEndAllowThreads(__tstate
);
3241 if (PyErr_Occurred()) SWIG_fail
;
3243 Py_INCREF(Py_None
); resultobj
= Py_None
;
3250 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
*resultobj
;
3252 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3253 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3256 int arg5
= (int) 0 ;
3257 int arg6
= (int) 0 ;
3258 PyObject
* obj0
= 0 ;
3259 PyObject
* obj1
= 0 ;
3260 PyObject
* obj2
= 0 ;
3261 PyObject
* obj3
= 0 ;
3262 PyObject
* obj4
= 0 ;
3263 PyObject
* obj5
= 0 ;
3265 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
3272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3273 arg3
= (double) SWIG_AsDouble(obj2
);
3274 if (PyErr_Occurred()) SWIG_fail
;
3275 arg4
= (double) SWIG_AsDouble(obj3
);
3276 if (PyErr_Occurred()) SWIG_fail
;
3278 arg5
= (int) SWIG_AsInt(obj4
);
3279 if (PyErr_Occurred()) SWIG_fail
;
3282 arg6
= (int) SWIG_AsInt(obj5
);
3283 if (PyErr_Occurred()) SWIG_fail
;
3286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3287 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
3289 wxPyEndAllowThreads(__tstate
);
3290 if (PyErr_Occurred()) SWIG_fail
;
3292 Py_INCREF(Py_None
); resultobj
= Py_None
;
3299 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3300 PyObject
*resultobj
;
3301 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3302 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3305 int arg5
= (int) 0 ;
3306 int arg6
= (int) 0 ;
3307 PyObject
* obj0
= 0 ;
3308 PyObject
* obj1
= 0 ;
3309 PyObject
* obj2
= 0 ;
3310 PyObject
* obj3
= 0 ;
3311 PyObject
* obj4
= 0 ;
3312 PyObject
* obj5
= 0 ;
3314 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
3321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3322 arg3
= (double) SWIG_AsDouble(obj2
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3324 arg4
= (double) SWIG_AsDouble(obj3
);
3325 if (PyErr_Occurred()) SWIG_fail
;
3327 arg5
= (int) SWIG_AsInt(obj4
);
3328 if (PyErr_Occurred()) SWIG_fail
;
3331 arg6
= (int) SWIG_AsInt(obj5
);
3332 if (PyErr_Occurred()) SWIG_fail
;
3335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3336 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
3338 wxPyEndAllowThreads(__tstate
);
3339 if (PyErr_Occurred()) SWIG_fail
;
3341 Py_INCREF(Py_None
); resultobj
= Py_None
;
3348 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
*resultobj
;
3350 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3353 PyObject
* obj0
= 0 ;
3354 PyObject
* obj1
= 0 ;
3355 PyObject
* obj2
= 0 ;
3357 (char *) "self",(char *) "w",(char *) "h", NULL
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3363 arg2
= (double) SWIG_AsDouble(obj1
);
3364 if (PyErr_Occurred()) SWIG_fail
;
3365 arg3
= (double) SWIG_AsDouble(obj2
);
3366 if (PyErr_Occurred()) SWIG_fail
;
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 (arg1
)->base_OnBeginSize(arg2
,arg3
);
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) SWIG_fail
;
3374 Py_INCREF(Py_None
); resultobj
= Py_None
;
3381 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3382 PyObject
*resultobj
;
3383 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3386 PyObject
* obj0
= 0 ;
3387 PyObject
* obj1
= 0 ;
3388 PyObject
* obj2
= 0 ;
3390 (char *) "self",(char *) "w",(char *) "h", NULL
3393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3396 arg2
= (double) SWIG_AsDouble(obj1
);
3397 if (PyErr_Occurred()) SWIG_fail
;
3398 arg3
= (double) SWIG_AsDouble(obj2
);
3399 if (PyErr_Occurred()) SWIG_fail
;
3401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3402 (arg1
)->base_OnEndSize(arg2
,arg3
);
3404 wxPyEndAllowThreads(__tstate
);
3405 if (PyErr_Occurred()) SWIG_fail
;
3407 Py_INCREF(Py_None
); resultobj
= Py_None
;
3414 static PyObject
* PyShapeEvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
3416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3417 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler
, obj
);
3419 return Py_BuildValue((char *)"");
3421 static PyObject
*_wrap_new_PyShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
*resultobj
;
3423 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
3425 PyObject
* obj0
= 0 ;
3427 (char *) "can", NULL
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyShape",kwnames
,&obj0
)) goto fail
;
3432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
3433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 result
= (wxPyShape
*)new wxPyShape(arg1
);
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyShape
, 1);
3449 static PyObject
*_wrap_PyShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
*resultobj
;
3451 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3452 PyObject
*arg2
= (PyObject
*) 0 ;
3453 PyObject
*arg3
= (PyObject
*) 0 ;
3454 PyObject
* obj0
= 0 ;
3455 PyObject
* obj1
= 0 ;
3456 PyObject
* obj2
= 0 ;
3458 (char *) "self",(char *) "self",(char *) "_class", NULL
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3468 (arg1
)->_setCallbackInfo(arg2
,arg3
);
3470 wxPyEndAllowThreads(__tstate
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3473 Py_INCREF(Py_None
); resultobj
= Py_None
;
3480 static PyObject
*_wrap_PyShape_GetBoundingBoxMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
*resultobj
;
3482 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3483 double *arg2
= (double *) 0 ;
3484 double *arg3
= (double *) 0 ;
3487 PyObject
* obj0
= 0 ;
3489 (char *) "self", NULL
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMax",kwnames
,&obj0
)) goto fail
;
3495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3499 (arg1
)->GetBoundingBoxMax(arg2
,arg3
);
3501 wxPyEndAllowThreads(__tstate
);
3502 if (PyErr_Occurred()) SWIG_fail
;
3504 Py_INCREF(Py_None
); resultobj
= Py_None
;
3506 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
3507 resultobj
= t_output_helper(resultobj
,o
);
3510 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
3511 resultobj
= t_output_helper(resultobj
,o
);
3519 static PyObject
*_wrap_PyShape_GetBoundingBoxMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
*resultobj
;
3521 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3522 double *arg2
= (double *) 0 ;
3523 double *arg3
= (double *) 0 ;
3526 PyObject
* obj0
= 0 ;
3528 (char *) "self", NULL
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMin",kwnames
,&obj0
)) goto fail
;
3534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3538 (arg1
)->GetBoundingBoxMin(arg2
,arg3
);
3540 wxPyEndAllowThreads(__tstate
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3543 Py_INCREF(Py_None
); resultobj
= Py_None
;
3545 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
3546 resultobj
= t_output_helper(resultobj
,o
);
3549 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
3550 resultobj
= t_output_helper(resultobj
,o
);
3558 static PyObject
*_wrap_PyShape_GetPerimeterPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
*resultobj
;
3560 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3565 double *arg6
= (double *) 0 ;
3566 double *arg7
= (double *) 0 ;
3570 PyObject
* obj0
= 0 ;
3571 PyObject
* obj1
= 0 ;
3572 PyObject
* obj2
= 0 ;
3573 PyObject
* obj3
= 0 ;
3574 PyObject
* obj4
= 0 ;
3576 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
3581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_GetPerimeterPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3584 arg2
= (double) SWIG_AsDouble(obj1
);
3585 if (PyErr_Occurred()) SWIG_fail
;
3586 arg3
= (double) SWIG_AsDouble(obj2
);
3587 if (PyErr_Occurred()) SWIG_fail
;
3588 arg4
= (double) SWIG_AsDouble(obj3
);
3589 if (PyErr_Occurred()) SWIG_fail
;
3590 arg5
= (double) SWIG_AsDouble(obj4
);
3591 if (PyErr_Occurred()) SWIG_fail
;
3593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3594 result
= (bool)(arg1
)->GetPerimeterPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
3596 wxPyEndAllowThreads(__tstate
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3603 PyObject
*o
= PyFloat_FromDouble((double) (*arg6
));
3604 resultobj
= t_output_helper(resultobj
,o
);
3607 PyObject
*o
= PyFloat_FromDouble((double) (*arg7
));
3608 resultobj
= t_output_helper(resultobj
,o
);
3616 static PyObject
*_wrap_PyShape_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
*resultobj
;
3618 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3619 wxPyShapeCanvas
*result
;
3620 PyObject
* obj0
= 0 ;
3622 (char *) "self", NULL
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCanvas",kwnames
,&obj0
)) goto fail
;
3626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3630 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
3632 wxPyEndAllowThreads(__tstate
);
3633 if (PyErr_Occurred()) SWIG_fail
;
3636 resultobj
= wxPyMake_wxObject(result
, 0);
3644 static PyObject
*_wrap_PyShape_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
*resultobj
;
3646 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3647 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3648 PyObject
* obj0
= 0 ;
3649 PyObject
* obj1
= 0 ;
3651 (char *) "self",(char *) "the_canvas", NULL
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCanvas",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 (arg1
)->SetCanvas(arg2
);
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) SWIG_fail
;
3666 Py_INCREF(Py_None
); resultobj
= Py_None
;
3673 static PyObject
*_wrap_PyShape_AddToCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
*resultobj
;
3675 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3676 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3677 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
3678 PyObject
* obj0
= 0 ;
3679 PyObject
* obj1
= 0 ;
3680 PyObject
* obj2
= 0 ;
3682 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_AddToCanvas",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3691 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
3692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3696 (arg1
)->AddToCanvas(arg2
,arg3
);
3698 wxPyEndAllowThreads(__tstate
);
3699 if (PyErr_Occurred()) SWIG_fail
;
3701 Py_INCREF(Py_None
); resultobj
= Py_None
;
3708 static PyObject
*_wrap_PyShape_InsertInCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3709 PyObject
*resultobj
;
3710 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3711 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3712 PyObject
* obj0
= 0 ;
3713 PyObject
* obj1
= 0 ;
3715 (char *) "self",(char *) "the_canvas", NULL
3718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_InsertInCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3725 (arg1
)->InsertInCanvas(arg2
);
3727 wxPyEndAllowThreads(__tstate
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3730 Py_INCREF(Py_None
); resultobj
= Py_None
;
3737 static PyObject
*_wrap_PyShape_RemoveFromCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
*resultobj
;
3739 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3740 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3741 PyObject
* obj0
= 0 ;
3742 PyObject
* obj1
= 0 ;
3744 (char *) "self",(char *) "the_canvas", NULL
3747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveFromCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 (arg1
)->RemoveFromCanvas(arg2
);
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3759 Py_INCREF(Py_None
); resultobj
= Py_None
;
3766 static PyObject
*_wrap_PyShape_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
*resultobj
;
3768 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3770 PyObject
* obj0
= 0 ;
3772 (char *) "self", NULL
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetX",kwnames
,&obj0
)) goto fail
;
3776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 result
= (double)(arg1
)->GetX();
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3785 resultobj
= SWIG_FromDouble((double)result
);
3792 static PyObject
*_wrap_PyShape_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
*resultobj
;
3794 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3796 PyObject
* obj0
= 0 ;
3798 (char *) "self", NULL
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetY",kwnames
,&obj0
)) goto fail
;
3802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3806 result
= (double)(arg1
)->GetY();
3808 wxPyEndAllowThreads(__tstate
);
3809 if (PyErr_Occurred()) SWIG_fail
;
3811 resultobj
= SWIG_FromDouble((double)result
);
3818 static PyObject
*_wrap_PyShape_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3819 PyObject
*resultobj
;
3820 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3822 PyObject
* obj0
= 0 ;
3823 PyObject
* obj1
= 0 ;
3825 (char *) "self",(char *) "x", NULL
3828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3831 arg2
= (double) SWIG_AsDouble(obj1
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3837 wxPyEndAllowThreads(__tstate
);
3838 if (PyErr_Occurred()) SWIG_fail
;
3840 Py_INCREF(Py_None
); resultobj
= Py_None
;
3847 static PyObject
*_wrap_PyShape_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3848 PyObject
*resultobj
;
3849 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3851 PyObject
* obj0
= 0 ;
3852 PyObject
* obj1
= 0 ;
3854 (char *) "self",(char *) "y", NULL
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3860 arg2
= (double) SWIG_AsDouble(obj1
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3866 wxPyEndAllowThreads(__tstate
);
3867 if (PyErr_Occurred()) SWIG_fail
;
3869 Py_INCREF(Py_None
); resultobj
= Py_None
;
3876 static PyObject
*_wrap_PyShape_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
*resultobj
;
3878 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3880 PyObject
* obj0
= 0 ;
3882 (char *) "self", NULL
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetParent",kwnames
,&obj0
)) goto fail
;
3886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3890 result
= (wxPyShape
*)(arg1
)->GetParent();
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) SWIG_fail
;
3896 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
3904 static PyObject
*_wrap_PyShape_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3905 PyObject
*resultobj
;
3906 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3907 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
3908 PyObject
* obj0
= 0 ;
3909 PyObject
* obj1
= 0 ;
3911 (char *) "self",(char *) "p", NULL
3914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
3915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
3918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3921 (arg1
)->SetParent(arg2
);
3923 wxPyEndAllowThreads(__tstate
);
3924 if (PyErr_Occurred()) SWIG_fail
;
3926 Py_INCREF(Py_None
); resultobj
= Py_None
;
3933 static PyObject
*_wrap_PyShape_GetTopAncestor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3934 PyObject
*resultobj
;
3935 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3937 PyObject
* obj0
= 0 ;
3939 (char *) "self", NULL
3942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetTopAncestor",kwnames
,&obj0
)) goto fail
;
3943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3947 result
= (wxPyShape
*)(arg1
)->GetTopAncestor();
3949 wxPyEndAllowThreads(__tstate
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3953 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
3961 static PyObject
*_wrap_PyShape_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3962 PyObject
*resultobj
;
3963 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3965 PyObject
* obj0
= 0 ;
3967 (char *) "self", NULL
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetChildren",kwnames
,&obj0
)) goto fail
;
3971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3975 result
= (PyObject
*)wxPyShape_GetChildren(arg1
);
3977 wxPyEndAllowThreads(__tstate
);
3978 if (PyErr_Occurred()) SWIG_fail
;
3987 static PyObject
*_wrap_PyShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
*resultobj
;
3989 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3990 PyObject
* obj0
= 0 ;
3992 (char *) "self", NULL
3995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Unlink",kwnames
,&obj0
)) goto fail
;
3996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 wxPyEndAllowThreads(__tstate
);
4003 if (PyErr_Occurred()) SWIG_fail
;
4005 Py_INCREF(Py_None
); resultobj
= Py_None
;
4012 static PyObject
*_wrap_PyShape_SetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
*resultobj
;
4014 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4016 PyObject
* obj0
= 0 ;
4017 PyObject
* obj1
= 0 ;
4019 (char *) "self",(char *) "drawH", NULL
4022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDrawHandles",kwnames
,&obj0
,&obj1
)) goto fail
;
4023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4025 arg2
= (bool) SWIG_AsBool(obj1
);
4026 if (PyErr_Occurred()) SWIG_fail
;
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 (arg1
)->SetDrawHandles(arg2
);
4031 wxPyEndAllowThreads(__tstate
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4034 Py_INCREF(Py_None
); resultobj
= Py_None
;
4041 static PyObject
*_wrap_PyShape_GetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4042 PyObject
*resultobj
;
4043 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4045 PyObject
* obj0
= 0 ;
4047 (char *) "self", NULL
4050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDrawHandles",kwnames
,&obj0
)) goto fail
;
4051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 result
= (bool)(arg1
)->GetDrawHandles();
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4069 static PyObject
*_wrap_PyShape_MakeControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
*resultobj
;
4071 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4072 PyObject
* obj0
= 0 ;
4074 (char *) "self", NULL
4077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeControlPoints",kwnames
,&obj0
)) goto fail
;
4078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4082 (arg1
)->MakeControlPoints();
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4087 Py_INCREF(Py_None
); resultobj
= Py_None
;
4094 static PyObject
*_wrap_PyShape_DeleteControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
*resultobj
;
4096 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4097 wxDC
*arg2
= (wxDC
*) NULL
;
4098 PyObject
* obj0
= 0 ;
4099 PyObject
* obj1
= 0 ;
4101 (char *) "self",(char *) "dc", NULL
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_DeleteControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4108 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
4109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 (arg1
)->DeleteControlPoints(arg2
);
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 Py_INCREF(Py_None
); resultobj
= Py_None
;
4125 static PyObject
*_wrap_PyShape_ResetControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
*resultobj
;
4127 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4128 PyObject
* obj0
= 0 ;
4130 (char *) "self", NULL
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetControlPoints",kwnames
,&obj0
)) goto fail
;
4134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4138 (arg1
)->ResetControlPoints();
4140 wxPyEndAllowThreads(__tstate
);
4141 if (PyErr_Occurred()) SWIG_fail
;
4143 Py_INCREF(Py_None
); resultobj
= Py_None
;
4150 static PyObject
*_wrap_PyShape_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
*resultobj
;
4152 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4153 wxPyShapeEvtHandler
*result
;
4154 PyObject
* obj0
= 0 ;
4156 (char *) "self", NULL
4159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetEventHandler",kwnames
,&obj0
)) goto fail
;
4160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4164 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetEventHandler();
4166 wxPyEndAllowThreads(__tstate
);
4167 if (PyErr_Occurred()) SWIG_fail
;
4170 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
4178 static PyObject
*_wrap_PyShape_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4179 PyObject
*resultobj
;
4180 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4181 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
4182 PyObject
* obj0
= 0 ;
4183 PyObject
* obj1
= 0 ;
4185 (char *) "self",(char *) "handler", NULL
4188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
4189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeEvtHandler
,
4192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4195 (arg1
)->SetEventHandler(arg2
);
4197 wxPyEndAllowThreads(__tstate
);
4198 if (PyErr_Occurred()) SWIG_fail
;
4200 Py_INCREF(Py_None
); resultobj
= Py_None
;
4207 static PyObject
*_wrap_PyShape_MakeMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4208 PyObject
*resultobj
;
4209 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4210 PyObject
* obj0
= 0 ;
4212 (char *) "self", NULL
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
4216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 (arg1
)->MakeMandatoryControlPoints();
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 Py_INCREF(Py_None
); resultobj
= Py_None
;
4232 static PyObject
*_wrap_PyShape_ResetMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
;
4234 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4235 PyObject
* obj0
= 0 ;
4237 (char *) "self", NULL
4240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
4241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4245 (arg1
)->ResetMandatoryControlPoints();
4247 wxPyEndAllowThreads(__tstate
);
4248 if (PyErr_Occurred()) SWIG_fail
;
4250 Py_INCREF(Py_None
); resultobj
= Py_None
;
4257 static PyObject
*_wrap_PyShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
*resultobj
;
4259 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4261 PyObject
* obj0
= 0 ;
4263 (char *) "self", NULL
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Recompute",kwnames
,&obj0
)) goto fail
;
4267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4271 result
= (bool)(arg1
)->Recompute();
4273 wxPyEndAllowThreads(__tstate
);
4274 if (PyErr_Occurred()) SWIG_fail
;
4277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4285 static PyObject
*_wrap_PyShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
*resultobj
;
4287 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4288 PyObject
* obj0
= 0 ;
4290 (char *) "self", NULL
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
4294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 (arg1
)->CalculateSize();
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4303 Py_INCREF(Py_None
); resultobj
= Py_None
;
4310 static PyObject
*_wrap_PyShape_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
;
4312 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4313 bool arg2
= (bool) True
;
4314 wxDC
*arg3
= (wxDC
*) NULL
;
4315 PyObject
* obj0
= 0 ;
4316 PyObject
* obj1
= 0 ;
4317 PyObject
* obj2
= 0 ;
4319 (char *) "self",(char *) "select",(char *) "dc", NULL
4322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4326 arg2
= (bool) SWIG_AsBool(obj1
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4330 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
4331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 (arg1
)->Select(arg2
,arg3
);
4337 wxPyEndAllowThreads(__tstate
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4340 Py_INCREF(Py_None
); resultobj
= Py_None
;
4347 static PyObject
*_wrap_PyShape_SetHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
*resultobj
;
4349 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4350 bool arg2
= (bool) True
;
4351 bool arg3
= (bool) False
;
4352 PyObject
* obj0
= 0 ;
4353 PyObject
* obj1
= 0 ;
4354 PyObject
* obj2
= 0 ;
4356 (char *) "self",(char *) "hi",(char *) "recurse", NULL
4359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4363 arg2
= (bool) SWIG_AsBool(obj1
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4367 arg3
= (bool) SWIG_AsBool(obj2
);
4368 if (PyErr_Occurred()) SWIG_fail
;
4371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 (arg1
)->SetHighlight(arg2
,arg3
);
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4377 Py_INCREF(Py_None
); resultobj
= Py_None
;
4384 static PyObject
*_wrap_PyShape_IsHighlighted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
*resultobj
;
4386 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4388 PyObject
* obj0
= 0 ;
4390 (char *) "self", NULL
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsHighlighted",kwnames
,&obj0
)) goto fail
;
4394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 result
= (bool)(arg1
)->IsHighlighted();
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4412 static PyObject
*_wrap_PyShape_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
*resultobj
;
4414 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4416 PyObject
* obj0
= 0 ;
4418 (char *) "self", NULL
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Selected",kwnames
,&obj0
)) goto fail
;
4422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4426 result
= (bool)(arg1
)->Selected();
4428 wxPyEndAllowThreads(__tstate
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4440 static PyObject
*_wrap_PyShape_AncestorSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
*resultobj
;
4442 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4444 PyObject
* obj0
= 0 ;
4446 (char *) "self", NULL
4449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AncestorSelected",kwnames
,&obj0
)) goto fail
;
4450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 result
= (bool)(arg1
)->AncestorSelected();
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4468 static PyObject
*_wrap_PyShape_SetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
*resultobj
;
4470 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4471 int arg2
= (int) OP_ALL
;
4472 bool arg3
= (bool) False
;
4473 PyObject
* obj0
= 0 ;
4474 PyObject
* obj1
= 0 ;
4475 PyObject
* obj2
= 0 ;
4477 (char *) "self",(char *) "sens",(char *) "recursive", NULL
4480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetSensitivityFilter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4484 arg2
= (int) SWIG_AsInt(obj1
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4488 arg3
= (bool) SWIG_AsBool(obj2
);
4489 if (PyErr_Occurred()) SWIG_fail
;
4492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4493 (arg1
)->SetSensitivityFilter(arg2
,arg3
);
4495 wxPyEndAllowThreads(__tstate
);
4496 if (PyErr_Occurred()) SWIG_fail
;
4498 Py_INCREF(Py_None
); resultobj
= Py_None
;
4505 static PyObject
*_wrap_PyShape_GetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
*resultobj
;
4507 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4509 PyObject
* obj0
= 0 ;
4511 (char *) "self", NULL
4514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSensitivityFilter",kwnames
,&obj0
)) goto fail
;
4515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 result
= (int)(arg1
)->GetSensitivityFilter();
4521 wxPyEndAllowThreads(__tstate
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 resultobj
= SWIG_FromInt((int)result
);
4531 static PyObject
*_wrap_PyShape_SetDraggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
;
4533 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4535 bool arg3
= (bool) False
;
4536 PyObject
* obj0
= 0 ;
4537 PyObject
* obj1
= 0 ;
4538 PyObject
* obj2
= 0 ;
4540 (char *) "self",(char *) "drag",(char *) "recursive", NULL
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetDraggable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4546 arg2
= (bool) SWIG_AsBool(obj1
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4549 arg3
= (bool) SWIG_AsBool(obj2
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4554 (arg1
)->SetDraggable(arg2
,arg3
);
4556 wxPyEndAllowThreads(__tstate
);
4557 if (PyErr_Occurred()) SWIG_fail
;
4559 Py_INCREF(Py_None
); resultobj
= Py_None
;
4566 static PyObject
*_wrap_PyShape_SetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4567 PyObject
*resultobj
;
4568 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4571 PyObject
* obj0
= 0 ;
4572 PyObject
* obj1
= 0 ;
4573 PyObject
* obj2
= 0 ;
4575 (char *) "self",(char *) "x",(char *) "y", NULL
4578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetFixedSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4581 arg2
= (bool) SWIG_AsBool(obj1
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4583 arg3
= (bool) SWIG_AsBool(obj2
);
4584 if (PyErr_Occurred()) SWIG_fail
;
4586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4587 (arg1
)->SetFixedSize(arg2
,arg3
);
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4592 Py_INCREF(Py_None
); resultobj
= Py_None
;
4599 static PyObject
*_wrap_PyShape_GetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4600 PyObject
*resultobj
;
4601 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4602 bool *arg2
= (bool *) 0 ;
4603 bool *arg3
= (bool *) 0 ;
4606 PyObject
* obj0
= 0 ;
4608 (char *) "self", NULL
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedSize",kwnames
,&obj0
)) goto fail
;
4614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 (arg1
)->GetFixedSize(arg2
,arg3
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4623 Py_INCREF(Py_None
); resultobj
= Py_None
;
4625 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4626 resultobj
= t_output_helper(resultobj
,o
);
4629 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4630 resultobj
= t_output_helper(resultobj
,o
);
4638 static PyObject
*_wrap_PyShape_GetFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4642 PyObject
* obj0
= 0 ;
4644 (char *) "self", NULL
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedWidth",kwnames
,&obj0
)) goto fail
;
4648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 result
= (bool)(arg1
)->GetFixedWidth();
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4666 static PyObject
*_wrap_PyShape_GetFixedHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
;
4668 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4670 PyObject
* obj0
= 0 ;
4672 (char *) "self", NULL
4675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedHeight",kwnames
,&obj0
)) goto fail
;
4676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4680 result
= (bool)(arg1
)->GetFixedHeight();
4682 wxPyEndAllowThreads(__tstate
);
4683 if (PyErr_Occurred()) SWIG_fail
;
4686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4694 static PyObject
*_wrap_PyShape_SetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
*resultobj
;
4696 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4698 PyObject
* obj0
= 0 ;
4699 PyObject
* obj1
= 0 ;
4701 (char *) "self",(char *) "sp", NULL
4704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetSpaceAttachments",kwnames
,&obj0
,&obj1
)) goto fail
;
4705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4707 arg2
= (bool) SWIG_AsBool(obj1
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 (arg1
)->SetSpaceAttachments(arg2
);
4713 wxPyEndAllowThreads(__tstate
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4716 Py_INCREF(Py_None
); resultobj
= Py_None
;
4723 static PyObject
*_wrap_PyShape_GetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4724 PyObject
*resultobj
;
4725 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4727 PyObject
* obj0
= 0 ;
4729 (char *) "self", NULL
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSpaceAttachments",kwnames
,&obj0
)) goto fail
;
4733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4737 result
= (bool)(arg1
)->GetSpaceAttachments();
4739 wxPyEndAllowThreads(__tstate
);
4740 if (PyErr_Occurred()) SWIG_fail
;
4743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4751 static PyObject
*_wrap_PyShape_SetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
*resultobj
;
4753 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4755 bool arg3
= (bool) False
;
4756 PyObject
* obj0
= 0 ;
4757 PyObject
* obj1
= 0 ;
4758 PyObject
* obj2
= 0 ;
4760 (char *) "self",(char *) "mode",(char *) "redraw", NULL
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetShadowMode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4766 arg2
= (int) SWIG_AsInt(obj1
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4769 arg3
= (bool) SWIG_AsBool(obj2
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4774 (arg1
)->SetShadowMode(arg2
,arg3
);
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4779 Py_INCREF(Py_None
); resultobj
= Py_None
;
4786 static PyObject
*_wrap_PyShape_GetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
*resultobj
;
4788 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4790 PyObject
* obj0
= 0 ;
4792 (char *) "self", NULL
4795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetShadowMode",kwnames
,&obj0
)) goto fail
;
4796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 result
= (int)(arg1
)->GetShadowMode();
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4805 resultobj
= SWIG_FromInt((int)result
);
4812 static PyObject
*_wrap_PyShape_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
*resultobj
;
4814 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4817 int *arg4
= (int *) 0 ;
4818 double *arg5
= (double *) 0 ;
4822 PyObject
* obj0
= 0 ;
4823 PyObject
* obj1
= 0 ;
4824 PyObject
* obj2
= 0 ;
4826 (char *) "self",(char *) "x",(char *) "y", NULL
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_HitTest",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4834 arg2
= (double) SWIG_AsDouble(obj1
);
4835 if (PyErr_Occurred()) SWIG_fail
;
4836 arg3
= (double) SWIG_AsDouble(obj2
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 result
= (bool)(arg1
)->HitTest(arg2
,arg3
,arg4
,arg5
);
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4849 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4850 resultobj
= t_output_helper(resultobj
,o
);
4853 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
4854 resultobj
= t_output_helper(resultobj
,o
);
4862 static PyObject
*_wrap_PyShape_SetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4863 PyObject
*resultobj
;
4864 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4866 PyObject
* obj0
= 0 ;
4867 PyObject
* obj1
= 0 ;
4869 (char *) "self",(char *) "cr", NULL
4872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCentreResize",kwnames
,&obj0
,&obj1
)) goto fail
;
4873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4875 arg2
= (bool) SWIG_AsBool(obj1
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4879 (arg1
)->SetCentreResize(arg2
);
4881 wxPyEndAllowThreads(__tstate
);
4882 if (PyErr_Occurred()) SWIG_fail
;
4884 Py_INCREF(Py_None
); resultobj
= Py_None
;
4891 static PyObject
*_wrap_PyShape_GetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
*resultobj
;
4893 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4895 PyObject
* obj0
= 0 ;
4897 (char *) "self", NULL
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCentreResize",kwnames
,&obj0
)) goto fail
;
4901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 result
= (bool)(arg1
)->GetCentreResize();
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4919 static PyObject
*_wrap_PyShape_SetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
*resultobj
;
4921 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4923 PyObject
* obj0
= 0 ;
4924 PyObject
* obj1
= 0 ;
4926 (char *) "self",(char *) "ar", NULL
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
4930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4932 arg2
= (bool) SWIG_AsBool(obj1
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4936 (arg1
)->SetMaintainAspectRatio(arg2
);
4938 wxPyEndAllowThreads(__tstate
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4941 Py_INCREF(Py_None
); resultobj
= Py_None
;
4948 static PyObject
*_wrap_PyShape_GetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4949 PyObject
*resultobj
;
4950 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4952 PyObject
* obj0
= 0 ;
4954 (char *) "self", NULL
4957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames
,&obj0
)) goto fail
;
4958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4962 result
= (bool)(arg1
)->GetMaintainAspectRatio();
4964 wxPyEndAllowThreads(__tstate
);
4965 if (PyErr_Occurred()) SWIG_fail
;
4968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4976 static PyObject
*_wrap_PyShape_GetLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4977 PyObject
*resultobj
;
4978 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4980 PyObject
* obj0
= 0 ;
4982 (char *) "self", NULL
4985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetLines",kwnames
,&obj0
)) goto fail
;
4986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4990 result
= (PyObject
*)wxPyShape_GetLines(arg1
);
4992 wxPyEndAllowThreads(__tstate
);
4993 if (PyErr_Occurred()) SWIG_fail
;
5002 static PyObject
*_wrap_PyShape_SetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
*resultobj
;
5004 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5006 PyObject
* obj0
= 0 ;
5007 PyObject
* obj1
= 0 ;
5009 (char *) "self",(char *) "flag", NULL
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDisableLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
5013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5015 arg2
= (bool) SWIG_AsBool(obj1
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5019 (arg1
)->SetDisableLabel(arg2
);
5021 wxPyEndAllowThreads(__tstate
);
5022 if (PyErr_Occurred()) SWIG_fail
;
5024 Py_INCREF(Py_None
); resultobj
= Py_None
;
5031 static PyObject
*_wrap_PyShape_GetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
*resultobj
;
5033 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5035 PyObject
* obj0
= 0 ;
5037 (char *) "self", NULL
5040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDisableLabel",kwnames
,&obj0
)) goto fail
;
5041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 result
= (bool)(arg1
)->GetDisableLabel();
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5059 static PyObject
*_wrap_PyShape_SetAttachmentMode(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 *) "mode", NULL
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetAttachmentMode",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
= (int) SWIG_AsInt(obj1
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 (arg1
)->SetAttachmentMode(arg2
);
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5081 Py_INCREF(Py_None
); resultobj
= Py_None
;
5088 static PyObject
*_wrap_PyShape_GetAttachmentMode(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_GetAttachmentMode",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
= (int)(arg1
)->GetAttachmentMode();
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5107 resultobj
= SWIG_FromInt((int)result
);
5114 static PyObject
*_wrap_PyShape_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
*resultobj
;
5116 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5118 PyObject
* obj0
= 0 ;
5119 PyObject
* obj1
= 0 ;
5121 (char *) "self",(char *) "i", NULL
5124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
5125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5127 arg2
= (long) SWIG_AsLong(obj1
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 (arg1
)->SetId(arg2
);
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5136 Py_INCREF(Py_None
); resultobj
= Py_None
;
5143 static PyObject
*_wrap_PyShape_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
;
5145 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5147 PyObject
* obj0
= 0 ;
5149 (char *) "self", NULL
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetId",kwnames
,&obj0
)) goto fail
;
5153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 result
= (long)(arg1
)->GetId();
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5162 resultobj
= SWIG_FromLong((long)result
);
5169 static PyObject
*_wrap_PyShape_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
*resultobj
;
5171 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5172 wxPen
*arg2
= (wxPen
*) 0 ;
5173 PyObject
* obj0
= 0 ;
5174 PyObject
* obj1
= 0 ;
5176 (char *) "self",(char *) "pen", NULL
5179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
5180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5185 if (obj1
== Py_None
) {
5188 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
5189 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
5194 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
5201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5202 (arg1
)->SetPen(arg2
);
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5207 Py_INCREF(Py_None
); resultobj
= Py_None
;
5214 static PyObject
*_wrap_PyShape_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5215 PyObject
*resultobj
;
5216 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5217 wxBrush
*arg2
= (wxBrush
*) 0 ;
5218 PyObject
* obj0
= 0 ;
5219 PyObject
* obj1
= 0 ;
5221 (char *) "self",(char *) "brush", NULL
5224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
5225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5230 if (obj1
== Py_None
) {
5233 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
5234 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
5239 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 (arg1
)->SetBrush(arg2
);
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 Py_INCREF(Py_None
); resultobj
= Py_None
;
5257 static PyObject
*_wrap_PyShape_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
*resultobj
;
5259 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5261 PyObject
* obj0
= 0 ;
5262 PyObject
* obj1
= 0 ;
5264 (char *) "self",(char *) "show", NULL
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5270 arg2
= (bool) SWIG_AsBool(obj1
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 wxPyEndAllowThreads(__tstate
);
5277 if (PyErr_Occurred()) SWIG_fail
;
5279 Py_INCREF(Py_None
); resultobj
= Py_None
;
5286 static PyObject
*_wrap_PyShape_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
*resultobj
;
5288 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5290 PyObject
* obj0
= 0 ;
5292 (char *) "self", NULL
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsShown",kwnames
,&obj0
)) goto fail
;
5296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 result
= (bool)(arg1
)->IsShown();
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5314 static PyObject
*_wrap_PyShape_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
*resultobj
;
5316 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5320 bool arg5
= (bool) True
;
5321 PyObject
* obj0
= 0 ;
5322 PyObject
* obj1
= 0 ;
5323 PyObject
* obj2
= 0 ;
5324 PyObject
* obj3
= 0 ;
5325 PyObject
* obj4
= 0 ;
5327 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
5330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShape_Move",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5333 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5334 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5337 PyErr_SetString(PyExc_TypeError
,"null reference");
5340 arg3
= (double) SWIG_AsDouble(obj2
);
5341 if (PyErr_Occurred()) SWIG_fail
;
5342 arg4
= (double) SWIG_AsDouble(obj3
);
5343 if (PyErr_Occurred()) SWIG_fail
;
5345 arg5
= (bool) SWIG_AsBool(obj4
);
5346 if (PyErr_Occurred()) SWIG_fail
;
5349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5350 (arg1
)->Move(*arg2
,arg3
,arg4
,arg5
);
5352 wxPyEndAllowThreads(__tstate
);
5353 if (PyErr_Occurred()) SWIG_fail
;
5355 Py_INCREF(Py_None
); resultobj
= Py_None
;
5362 static PyObject
*_wrap_PyShape_Erase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
*resultobj
;
5364 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5366 PyObject
* obj0
= 0 ;
5367 PyObject
* obj1
= 0 ;
5369 (char *) "self",(char *) "dc", NULL
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Erase",kwnames
,&obj0
,&obj1
)) goto fail
;
5373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5376 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5379 PyErr_SetString(PyExc_TypeError
,"null reference");
5383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5384 (arg1
)->Erase(*arg2
);
5386 wxPyEndAllowThreads(__tstate
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5389 Py_INCREF(Py_None
); resultobj
= Py_None
;
5396 static PyObject
*_wrap_PyShape_EraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
*resultobj
;
5398 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5400 PyObject
* obj0
= 0 ;
5401 PyObject
* obj1
= 0 ;
5403 (char *) "self",(char *) "dc", NULL
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_EraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
5407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5410 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5413 PyErr_SetString(PyExc_TypeError
,"null reference");
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 (arg1
)->EraseContents(*arg2
);
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5423 Py_INCREF(Py_None
); resultobj
= Py_None
;
5430 static PyObject
*_wrap_PyShape_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5431 PyObject
*resultobj
;
5432 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5434 PyObject
* obj0
= 0 ;
5435 PyObject
* obj1
= 0 ;
5437 (char *) "self",(char *) "dc", NULL
5440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Draw",kwnames
,&obj0
,&obj1
)) goto fail
;
5441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5444 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5447 PyErr_SetString(PyExc_TypeError
,"null reference");
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 (arg1
)->Draw(*arg2
);
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5457 Py_INCREF(Py_None
); resultobj
= Py_None
;
5464 static PyObject
*_wrap_PyShape_Flash(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
*resultobj
;
5466 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5467 PyObject
* obj0
= 0 ;
5469 (char *) "self", NULL
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Flash",kwnames
,&obj0
)) goto fail
;
5473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5479 wxPyEndAllowThreads(__tstate
);
5480 if (PyErr_Occurred()) SWIG_fail
;
5482 Py_INCREF(Py_None
); resultobj
= Py_None
;
5489 static PyObject
*_wrap_PyShape_MoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
*resultobj
;
5491 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5493 PyObject
* obj0
= 0 ;
5494 PyObject
* obj1
= 0 ;
5496 (char *) "self",(char *) "dc", NULL
5499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_MoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
5500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5503 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5506 PyErr_SetString(PyExc_TypeError
,"null reference");
5510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5511 (arg1
)->MoveLinks(*arg2
);
5513 wxPyEndAllowThreads(__tstate
);
5514 if (PyErr_Occurred()) SWIG_fail
;
5516 Py_INCREF(Py_None
); resultobj
= Py_None
;
5523 static PyObject
*_wrap_PyShape_DrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5524 PyObject
*resultobj
;
5525 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5527 PyObject
* obj0
= 0 ;
5528 PyObject
* obj1
= 0 ;
5530 (char *) "self",(char *) "dc", NULL
5533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_DrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
5534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5536 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5537 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5540 PyErr_SetString(PyExc_TypeError
,"null reference");
5544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5545 (arg1
)->DrawContents(*arg2
);
5547 wxPyEndAllowThreads(__tstate
);
5548 if (PyErr_Occurred()) SWIG_fail
;
5550 Py_INCREF(Py_None
); resultobj
= Py_None
;
5557 static PyObject
*_wrap_PyShape_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5558 PyObject
*resultobj
;
5559 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5562 bool arg4
= (bool) True
;
5563 PyObject
* obj0
= 0 ;
5564 PyObject
* obj1
= 0 ;
5565 PyObject
* obj2
= 0 ;
5566 PyObject
* obj3
= 0 ;
5568 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
5571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShape_SetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5574 arg2
= (double) SWIG_AsDouble(obj1
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5576 arg3
= (double) SWIG_AsDouble(obj2
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5579 arg4
= (bool) SWIG_AsBool(obj3
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5584 (arg1
)->SetSize(arg2
,arg3
,arg4
);
5586 wxPyEndAllowThreads(__tstate
);
5587 if (PyErr_Occurred()) SWIG_fail
;
5589 Py_INCREF(Py_None
); resultobj
= Py_None
;
5596 static PyObject
*_wrap_PyShape_SetAttachmentSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
*resultobj
;
5598 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5601 PyObject
* obj0
= 0 ;
5602 PyObject
* obj1
= 0 ;
5603 PyObject
* obj2
= 0 ;
5605 (char *) "self",(char *) "x",(char *) "y", NULL
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetAttachmentSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5611 arg2
= (double) SWIG_AsDouble(obj1
);
5612 if (PyErr_Occurred()) SWIG_fail
;
5613 arg3
= (double) SWIG_AsDouble(obj2
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 (arg1
)->SetAttachmentSize(arg2
,arg3
);
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5622 Py_INCREF(Py_None
); resultobj
= Py_None
;
5629 static PyObject
*_wrap_PyShape_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
;
5631 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5632 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
5633 PyObject
* obj0
= 0 ;
5634 PyObject
* obj1
= 0 ;
5636 (char *) "self",(char *) "can", NULL
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
5640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
5643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 (arg1
)->Attach(arg2
);
5648 wxPyEndAllowThreads(__tstate
);
5649 if (PyErr_Occurred()) SWIG_fail
;
5651 Py_INCREF(Py_None
); resultobj
= Py_None
;
5658 static PyObject
*_wrap_PyShape_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5659 PyObject
*resultobj
;
5660 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5661 PyObject
* obj0
= 0 ;
5663 (char *) "self", NULL
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Detach",kwnames
,&obj0
)) goto fail
;
5667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5676 Py_INCREF(Py_None
); resultobj
= Py_None
;
5683 static PyObject
*_wrap_PyShape_Constrain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
*resultobj
;
5685 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5687 PyObject
* obj0
= 0 ;
5689 (char *) "self", NULL
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Constrain",kwnames
,&obj0
)) goto fail
;
5693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 result
= (bool)(arg1
)->Constrain();
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5711 static PyObject
*_wrap_PyShape_AddLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
*resultobj
;
5713 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5714 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5715 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
5716 int arg4
= (int) 0 ;
5717 int arg5
= (int) 0 ;
5718 int arg6
= (int) -1 ;
5719 int arg7
= (int) -1 ;
5720 PyObject
* obj0
= 0 ;
5721 PyObject
* obj1
= 0 ;
5722 PyObject
* obj2
= 0 ;
5723 PyObject
* obj3
= 0 ;
5724 PyObject
* obj4
= 0 ;
5725 PyObject
* obj5
= 0 ;
5726 PyObject
* obj6
= 0 ;
5728 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:PyShape_AddLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyLineShape
,
5735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5736 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
5737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5739 arg4
= (int) SWIG_AsInt(obj3
);
5740 if (PyErr_Occurred()) SWIG_fail
;
5743 arg5
= (int) SWIG_AsInt(obj4
);
5744 if (PyErr_Occurred()) SWIG_fail
;
5747 arg6
= (int) SWIG_AsInt(obj5
);
5748 if (PyErr_Occurred()) SWIG_fail
;
5751 arg7
= (int) SWIG_AsInt(obj6
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5756 (arg1
)->AddLine(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5761 Py_INCREF(Py_None
); resultobj
= Py_None
;
5768 static PyObject
*_wrap_PyShape_GetLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5769 PyObject
*resultobj
;
5770 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5771 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5773 PyObject
* obj0
= 0 ;
5774 PyObject
* obj1
= 0 ;
5776 (char *) "self",(char *) "line", NULL
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetLinePosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyLineShape
,
5783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 result
= (int)(arg1
)->GetLinePosition(arg2
);
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= SWIG_FromInt((int)result
);
5798 static PyObject
*_wrap_PyShape_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5799 PyObject
*resultobj
;
5800 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5801 wxString
*arg2
= 0 ;
5802 bool temp2
= False
;
5803 PyObject
* obj0
= 0 ;
5804 PyObject
* obj1
= 0 ;
5806 (char *) "self",(char *) "string", NULL
5809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddText",kwnames
,&obj0
,&obj1
)) goto fail
;
5810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5813 arg2
= wxString_in_helper(obj1
);
5814 if (arg2
== NULL
) SWIG_fail
;
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 (arg1
)->AddText((wxString
const &)*arg2
);
5821 wxPyEndAllowThreads(__tstate
);
5822 if (PyErr_Occurred()) SWIG_fail
;
5824 Py_INCREF(Py_None
); resultobj
= Py_None
;
5839 static PyObject
*_wrap_PyShape_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
*resultobj
;
5841 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5843 PyObject
* obj0
= 0 ;
5845 (char *) "self", NULL
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetPen",kwnames
,&obj0
)) goto fail
;
5849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5853 result
= (wxPen
*)(arg1
)->GetPen();
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
5865 static PyObject
*_wrap_PyShape_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
*resultobj
;
5867 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5869 PyObject
* obj0
= 0 ;
5871 (char *) "self", NULL
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBrush",kwnames
,&obj0
)) goto fail
;
5875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5879 result
= (wxBrush
*)(arg1
)->GetBrush();
5881 wxPyEndAllowThreads(__tstate
);
5882 if (PyErr_Occurred()) SWIG_fail
;
5884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
5891 static PyObject
*_wrap_PyShape_SetDefaultRegionSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5892 PyObject
*resultobj
;
5893 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5894 PyObject
* obj0
= 0 ;
5896 (char *) "self", NULL
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_SetDefaultRegionSize",kwnames
,&obj0
)) goto fail
;
5900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 (arg1
)->SetDefaultRegionSize();
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5909 Py_INCREF(Py_None
); resultobj
= Py_None
;
5916 static PyObject
*_wrap_PyShape_FormatText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
*resultobj
;
5918 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5920 wxString
*arg3
= 0 ;
5921 int arg4
= (int) 0 ;
5922 bool temp3
= False
;
5923 PyObject
* obj0
= 0 ;
5924 PyObject
* obj1
= 0 ;
5925 PyObject
* obj2
= 0 ;
5926 PyObject
* obj3
= 0 ;
5928 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
5931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShape_FormatText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5935 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5938 PyErr_SetString(PyExc_TypeError
,"null reference");
5942 arg3
= wxString_in_helper(obj2
);
5943 if (arg3
== NULL
) SWIG_fail
;
5947 arg4
= (int) SWIG_AsInt(obj3
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5952 (arg1
)->FormatText(*arg2
,(wxString
const &)*arg3
,arg4
);
5954 wxPyEndAllowThreads(__tstate
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5957 Py_INCREF(Py_None
); resultobj
= Py_None
;
5972 static PyObject
*_wrap_PyShape_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
*resultobj
;
5974 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5976 int arg3
= (int) 0 ;
5977 PyObject
* obj0
= 0 ;
5978 PyObject
* obj1
= 0 ;
5979 PyObject
* obj2
= 0 ;
5981 (char *) "self",(char *) "mode",(char *) "regionId", NULL
5984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetFormatMode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5987 arg2
= (int) SWIG_AsInt(obj1
);
5988 if (PyErr_Occurred()) SWIG_fail
;
5990 arg3
= (int) SWIG_AsInt(obj2
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 (arg1
)->SetFormatMode(arg2
,arg3
);
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6000 Py_INCREF(Py_None
); resultobj
= Py_None
;
6007 static PyObject
*_wrap_PyShape_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
*resultobj
;
6009 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6010 int arg2
= (int) 0 ;
6012 PyObject
* obj0
= 0 ;
6013 PyObject
* obj1
= 0 ;
6015 (char *) "self",(char *) "regionId", NULL
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetFormatMode",kwnames
,&obj0
,&obj1
)) goto fail
;
6019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6022 arg2
= (int) SWIG_AsInt(obj1
);
6023 if (PyErr_Occurred()) SWIG_fail
;
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 result
= (int)(arg1
)->GetFormatMode(arg2
);
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) SWIG_fail
;
6032 resultobj
= SWIG_FromInt((int)result
);
6039 static PyObject
*_wrap_PyShape_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6040 PyObject
*resultobj
;
6041 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6042 wxFont
*arg2
= (wxFont
*) 0 ;
6043 int arg3
= (int) 0 ;
6044 PyObject
* obj0
= 0 ;
6045 PyObject
* obj1
= 0 ;
6046 PyObject
* obj2
= 0 ;
6048 (char *) "self",(char *) "font",(char *) "regionId", NULL
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6057 if (obj1
== Py_None
) {
6060 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
6061 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
6066 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
6070 temp
->GetUnderlined(),
6071 temp
->GetFaceName(),
6072 temp
->GetEncoding());
6077 arg3
= (int) SWIG_AsInt(obj2
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6082 (arg1
)->SetFont(arg2
,arg3
);
6084 wxPyEndAllowThreads(__tstate
);
6085 if (PyErr_Occurred()) SWIG_fail
;
6087 Py_INCREF(Py_None
); resultobj
= Py_None
;
6094 static PyObject
*_wrap_PyShape_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
*resultobj
;
6096 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6097 int arg2
= (int) 0 ;
6099 PyObject
* obj0
= 0 ;
6100 PyObject
* obj1
= 0 ;
6102 (char *) "self",(char *) "regionId", NULL
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6109 arg2
= (int) SWIG_AsInt(obj1
);
6110 if (PyErr_Occurred()) SWIG_fail
;
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
6126 static PyObject
*_wrap_PyShape_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
*resultobj
;
6128 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6129 wxString
*arg2
= 0 ;
6130 int arg3
= (int) 0 ;
6131 bool temp2
= False
;
6132 PyObject
* obj0
= 0 ;
6133 PyObject
* obj1
= 0 ;
6134 PyObject
* obj2
= 0 ;
6136 (char *) "self",(char *) "colour",(char *) "regionId", NULL
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6143 arg2
= wxString_in_helper(obj1
);
6144 if (arg2
== NULL
) SWIG_fail
;
6148 arg3
= (int) SWIG_AsInt(obj2
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 (arg1
)->SetTextColour((wxString
const &)*arg2
,arg3
);
6155 wxPyEndAllowThreads(__tstate
);
6156 if (PyErr_Occurred()) SWIG_fail
;
6158 Py_INCREF(Py_None
); resultobj
= Py_None
;
6173 static PyObject
*_wrap_PyShape_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
*resultobj
;
6175 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6176 int arg2
= (int) 0 ;
6178 PyObject
* obj0
= 0 ;
6179 PyObject
* obj1
= 0 ;
6181 (char *) "self",(char *) "regionId", NULL
6184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6188 arg2
= (int) SWIG_AsInt(obj1
);
6189 if (PyErr_Occurred()) SWIG_fail
;
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 result
= (arg1
)->GetTextColour(arg2
);
6195 wxPyEndAllowThreads(__tstate
);
6196 if (PyErr_Occurred()) SWIG_fail
;
6200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6211 static PyObject
*_wrap_PyShape_GetNumberOfTextRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
*resultobj
;
6213 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6215 PyObject
* obj0
= 0 ;
6217 (char *) "self", NULL
6220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames
,&obj0
)) goto fail
;
6221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6225 result
= (int)(arg1
)->GetNumberOfTextRegions();
6227 wxPyEndAllowThreads(__tstate
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6230 resultobj
= SWIG_FromInt((int)result
);
6237 static PyObject
*_wrap_PyShape_SetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6238 PyObject
*resultobj
;
6239 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6240 wxString
*arg2
= 0 ;
6241 int arg3
= (int) 0 ;
6242 bool temp2
= False
;
6243 PyObject
* obj0
= 0 ;
6244 PyObject
* obj1
= 0 ;
6245 PyObject
* obj2
= 0 ;
6247 (char *) "self",(char *) "name",(char *) "regionId", NULL
6250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetRegionName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6254 arg2
= wxString_in_helper(obj1
);
6255 if (arg2
== NULL
) SWIG_fail
;
6259 arg3
= (int) SWIG_AsInt(obj2
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6264 (arg1
)->SetRegionName((wxString
const &)*arg2
,arg3
);
6266 wxPyEndAllowThreads(__tstate
);
6267 if (PyErr_Occurred()) SWIG_fail
;
6269 Py_INCREF(Py_None
); resultobj
= Py_None
;
6284 static PyObject
*_wrap_PyShape_GetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6285 PyObject
*resultobj
;
6286 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6289 PyObject
* obj0
= 0 ;
6290 PyObject
* obj1
= 0 ;
6292 (char *) "self",(char *) "regionId", NULL
6295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionName",kwnames
,&obj0
,&obj1
)) goto fail
;
6296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6298 arg2
= (int) SWIG_AsInt(obj1
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6302 result
= (arg1
)->GetRegionName(arg2
);
6304 wxPyEndAllowThreads(__tstate
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6320 static PyObject
*_wrap_PyShape_GetRegionId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
;
6322 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6323 wxString
*arg2
= 0 ;
6325 bool temp2
= False
;
6326 PyObject
* obj0
= 0 ;
6327 PyObject
* obj1
= 0 ;
6329 (char *) "self",(char *) "name", NULL
6332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionId",kwnames
,&obj0
,&obj1
)) goto fail
;
6333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6336 arg2
= wxString_in_helper(obj1
);
6337 if (arg2
== NULL
) SWIG_fail
;
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 result
= (int)(arg1
)->GetRegionId((wxString
const &)*arg2
);
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 resultobj
= SWIG_FromInt((int)result
);
6362 static PyObject
*_wrap_PyShape_NameRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
;
6364 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6365 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6366 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6367 bool temp2
= False
;
6368 PyObject
* obj0
= 0 ;
6369 PyObject
* obj1
= 0 ;
6371 (char *) "self",(char *) "parentName", NULL
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_NameRegions",kwnames
,&obj0
,&obj1
)) goto fail
;
6375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6379 arg2
= wxString_in_helper(obj1
);
6380 if (arg2
== NULL
) SWIG_fail
;
6385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6386 (arg1
)->NameRegions((wxString
const &)*arg2
);
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6391 Py_INCREF(Py_None
); resultobj
= Py_None
;
6406 static PyObject
*_wrap_PyShape_GetRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6407 PyObject
*resultobj
;
6408 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6410 PyObject
* obj0
= 0 ;
6412 (char *) "self", NULL
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRegions",kwnames
,&obj0
)) goto fail
;
6416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6420 result
= (PyObject
*)wxPyShape_GetRegions(arg1
);
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6432 static PyObject
*_wrap_PyShape_AddRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
*resultobj
;
6434 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6435 wxShapeRegion
*arg2
= (wxShapeRegion
*) 0 ;
6436 PyObject
* obj0
= 0 ;
6437 PyObject
* obj1
= 0 ;
6439 (char *) "self",(char *) "region", NULL
6442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxShapeRegion
,
6446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6449 (arg1
)->AddRegion(arg2
);
6451 wxPyEndAllowThreads(__tstate
);
6452 if (PyErr_Occurred()) SWIG_fail
;
6454 Py_INCREF(Py_None
); resultobj
= Py_None
;
6461 static PyObject
*_wrap_PyShape_ClearRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6462 PyObject
*resultobj
;
6463 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6464 PyObject
* obj0
= 0 ;
6466 (char *) "self", NULL
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearRegions",kwnames
,&obj0
)) goto fail
;
6470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 (arg1
)->ClearRegions();
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6479 Py_INCREF(Py_None
); resultobj
= Py_None
;
6486 static PyObject
*_wrap_PyShape_AssignNewIds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
*resultobj
;
6488 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6489 PyObject
* obj0
= 0 ;
6491 (char *) "self", NULL
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AssignNewIds",kwnames
,&obj0
)) goto fail
;
6495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6499 (arg1
)->AssignNewIds();
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 Py_INCREF(Py_None
); resultobj
= Py_None
;
6511 static PyObject
*_wrap_PyShape_FindRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6512 PyObject
*resultobj
;
6513 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6514 wxString
*arg2
= 0 ;
6515 int *arg3
= (int *) 0 ;
6517 bool temp2
= False
;
6519 PyObject
* obj0
= 0 ;
6520 PyObject
* obj1
= 0 ;
6522 (char *) "self",(char *) "regionName", NULL
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6530 arg2
= wxString_in_helper(obj1
);
6531 if (arg2
== NULL
) SWIG_fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 result
= (wxPyShape
*)(arg1
)->FindRegion((wxString
const &)*arg2
,arg3
);
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6542 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
6545 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
6546 resultobj
= t_output_helper(resultobj
,o
);
6562 static PyObject
*_wrap_PyShape_FindRegionNames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
*resultobj
;
6564 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6565 wxStringList
*arg2
= 0 ;
6566 PyObject
* obj0
= 0 ;
6567 PyObject
* obj1
= 0 ;
6569 (char *) "self",(char *) "list", NULL
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegionNames",kwnames
,&obj0
,&obj1
)) goto fail
;
6573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStringList
,
6576 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6579 PyErr_SetString(PyExc_TypeError
,"null reference");
6583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6584 (arg1
)->FindRegionNames(*arg2
);
6586 wxPyEndAllowThreads(__tstate
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6589 Py_INCREF(Py_None
); resultobj
= Py_None
;
6596 static PyObject
*_wrap_PyShape_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
*resultobj
;
6598 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6599 int arg2
= (int) 0 ;
6600 PyObject
* obj0
= 0 ;
6601 PyObject
* obj1
= 0 ;
6603 (char *) "self",(char *) "regionId", NULL
6606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_ClearText",kwnames
,&obj0
,&obj1
)) goto fail
;
6607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6610 arg2
= (int) SWIG_AsInt(obj1
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6615 (arg1
)->ClearText(arg2
);
6617 wxPyEndAllowThreads(__tstate
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6620 Py_INCREF(Py_None
); resultobj
= Py_None
;
6627 static PyObject
*_wrap_PyShape_RemoveLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
*resultobj
;
6629 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6630 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
6631 PyObject
* obj0
= 0 ;
6632 PyObject
* obj1
= 0 ;
6634 (char *) "self",(char *) "line", NULL
6637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveLine",kwnames
,&obj0
,&obj1
)) goto fail
;
6638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyLineShape
,
6641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6644 (arg1
)->RemoveLine(arg2
);
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6649 Py_INCREF(Py_None
); resultobj
= Py_None
;
6656 static PyObject
*_wrap_PyShape_GetAttachmentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
*resultobj
;
6658 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6660 double *arg3
= (double *) 0 ;
6661 double *arg4
= (double *) 0 ;
6662 int arg5
= (int) 0 ;
6663 int arg6
= (int) 1 ;
6664 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
6668 PyObject
* obj0
= 0 ;
6669 PyObject
* obj1
= 0 ;
6670 PyObject
* obj2
= 0 ;
6671 PyObject
* obj3
= 0 ;
6672 PyObject
* obj4
= 0 ;
6674 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PyShape_GetAttachmentPosition",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6682 arg2
= (int) SWIG_AsInt(obj1
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6685 arg5
= (int) SWIG_AsInt(obj2
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6689 arg6
= (int) SWIG_AsInt(obj3
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6693 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg7
),SWIGTYPE_p_wxPyLineShape
,
6694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 result
= (bool)(arg1
)->GetAttachmentPosition(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6707 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
6708 resultobj
= t_output_helper(resultobj
,o
);
6711 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
6712 resultobj
= t_output_helper(resultobj
,o
);
6720 static PyObject
*_wrap_PyShape_GetNumberOfAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6721 PyObject
*resultobj
;
6722 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6724 PyObject
* obj0
= 0 ;
6726 (char *) "self", NULL
6729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfAttachments",kwnames
,&obj0
)) goto fail
;
6730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 result
= (int)(arg1
)->GetNumberOfAttachments();
6736 wxPyEndAllowThreads(__tstate
);
6737 if (PyErr_Occurred()) SWIG_fail
;
6739 resultobj
= SWIG_FromInt((int)result
);
6746 static PyObject
*_wrap_PyShape_AttachmentIsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6747 PyObject
*resultobj
;
6748 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6751 PyObject
* obj0
= 0 ;
6752 PyObject
* obj1
= 0 ;
6754 (char *) "self",(char *) "attachment", NULL
6757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AttachmentIsValid",kwnames
,&obj0
,&obj1
)) goto fail
;
6758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6760 arg2
= (int) SWIG_AsInt(obj1
);
6761 if (PyErr_Occurred()) SWIG_fail
;
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 result
= (bool)(arg1
)->AttachmentIsValid(arg2
);
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6778 static PyObject
*_wrap_PyShape_GetAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
;
6780 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6782 PyObject
* obj0
= 0 ;
6784 (char *) "self", NULL
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachments",kwnames
,&obj0
)) goto fail
;
6788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 result
= (PyObject
*)wxPyShape_GetAttachments(arg1
);
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6804 static PyObject
*_wrap_PyShape_GetAttachmentPositionEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
*resultobj
;
6806 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6808 double *arg3
= (double *) 0 ;
6809 double *arg4
= (double *) 0 ;
6810 int arg5
= (int) 0 ;
6811 int arg6
= (int) 1 ;
6812 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
6816 PyObject
* obj0
= 0 ;
6817 PyObject
* obj1
= 0 ;
6818 PyObject
* obj2
= 0 ;
6819 PyObject
* obj3
= 0 ;
6820 PyObject
* obj4
= 0 ;
6822 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PyShape_GetAttachmentPositionEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6830 arg2
= (int) SWIG_AsInt(obj1
);
6831 if (PyErr_Occurred()) SWIG_fail
;
6833 arg5
= (int) SWIG_AsInt(obj2
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6837 arg6
= (int) SWIG_AsInt(obj3
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6841 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg7
),SWIGTYPE_p_wxPyLineShape
,
6842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 result
= (bool)(arg1
)->GetAttachmentPositionEdge(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6855 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
6856 resultobj
= t_output_helper(resultobj
,o
);
6859 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
6860 resultobj
= t_output_helper(resultobj
,o
);
6868 static PyObject
*_wrap_PyShape_CalcSimpleAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6869 PyObject
*resultobj
;
6870 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6871 wxRealPoint
*arg2
= 0 ;
6872 wxRealPoint
*arg3
= 0 ;
6875 wxPyLineShape
*arg6
= (wxPyLineShape
*) 0 ;
6879 PyObject
* obj0
= 0 ;
6880 PyObject
* obj1
= 0 ;
6881 PyObject
* obj2
= 0 ;
6882 PyObject
* obj3
= 0 ;
6883 PyObject
* obj4
= 0 ;
6884 PyObject
* obj5
= 0 ;
6886 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_CalcSimpleAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6894 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6898 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6900 arg4
= (int) SWIG_AsInt(obj3
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6902 arg5
= (int) SWIG_AsInt(obj4
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6904 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyLineShape
,
6905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6908 result
= (arg1
)->CalcSimpleAttachment((wxRealPoint
const &)*arg2
,(wxRealPoint
const &)*arg3
,arg4
,arg5
,arg6
);
6910 wxPyEndAllowThreads(__tstate
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6914 wxRealPoint
* resultptr
;
6915 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
6916 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
6924 static PyObject
*_wrap_PyShape_AttachmentSortTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6925 PyObject
*resultobj
;
6926 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6928 wxRealPoint
*arg3
= 0 ;
6929 wxRealPoint
*arg4
= 0 ;
6933 PyObject
* obj0
= 0 ;
6934 PyObject
* obj1
= 0 ;
6935 PyObject
* obj2
= 0 ;
6936 PyObject
* obj3
= 0 ;
6938 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShape_AttachmentSortTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6944 arg2
= (int) SWIG_AsInt(obj1
);
6945 if (PyErr_Occurred()) SWIG_fail
;
6948 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6952 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 result
= (bool)(arg1
)->AttachmentSortTest(arg2
,(wxRealPoint
const &)*arg3
,(wxRealPoint
const &)*arg4
);
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6970 static PyObject
*_wrap_PyShape_EraseLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6972 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6974 int arg3
= (int) -1 ;
6975 bool arg4
= (bool) False
;
6976 PyObject
* obj0
= 0 ;
6977 PyObject
* obj1
= 0 ;
6978 PyObject
* obj2
= 0 ;
6979 PyObject
* obj3
= 0 ;
6981 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PyShape_EraseLinks",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6988 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6991 PyErr_SetString(PyExc_TypeError
,"null reference");
6995 arg3
= (int) SWIG_AsInt(obj2
);
6996 if (PyErr_Occurred()) SWIG_fail
;
6999 arg4
= (bool) SWIG_AsBool(obj3
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 (arg1
)->EraseLinks(*arg2
,arg3
,arg4
);
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 Py_INCREF(Py_None
); resultobj
= Py_None
;
7016 static PyObject
*_wrap_PyShape_DrawLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
;
7018 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7020 int arg3
= (int) -1 ;
7021 bool arg4
= (bool) False
;
7022 PyObject
* obj0
= 0 ;
7023 PyObject
* obj1
= 0 ;
7024 PyObject
* obj2
= 0 ;
7025 PyObject
* obj3
= 0 ;
7027 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
7030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PyShape_DrawLinks",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7033 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7034 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7037 PyErr_SetString(PyExc_TypeError
,"null reference");
7041 arg3
= (int) SWIG_AsInt(obj2
);
7042 if (PyErr_Occurred()) SWIG_fail
;
7045 arg4
= (bool) SWIG_AsBool(obj3
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7050 (arg1
)->DrawLinks(*arg2
,arg3
,arg4
);
7052 wxPyEndAllowThreads(__tstate
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7055 Py_INCREF(Py_None
); resultobj
= Py_None
;
7062 static PyObject
*_wrap_PyShape_MoveLineToNewAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
*resultobj
;
7064 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7066 wxPyLineShape
*arg3
= (wxPyLineShape
*) 0 ;
7070 PyObject
* obj0
= 0 ;
7071 PyObject
* obj1
= 0 ;
7072 PyObject
* obj2
= 0 ;
7073 PyObject
* obj3
= 0 ;
7074 PyObject
* obj4
= 0 ;
7076 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_MoveLineToNewAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7083 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7086 PyErr_SetString(PyExc_TypeError
,"null reference");
7089 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyLineShape
,
7090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7091 arg4
= (double) SWIG_AsDouble(obj3
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7093 arg5
= (double) SWIG_AsDouble(obj4
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 result
= (bool)(arg1
)->MoveLineToNewAttachment(*arg2
,arg3
,arg4
,arg5
);
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7111 static PyObject
*_wrap_PyShape_ApplyAttachmentOrdering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
*resultobj
;
7113 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7114 PyObject
*arg2
= (PyObject
*) 0 ;
7115 PyObject
* obj0
= 0 ;
7116 PyObject
* obj1
= 0 ;
7118 (char *) "self",(char *) "linesToSort", NULL
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames
,&obj0
,&obj1
)) goto fail
;
7122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7127 wxPyShape_ApplyAttachmentOrdering(arg1
,arg2
);
7129 wxPyEndAllowThreads(__tstate
);
7130 if (PyErr_Occurred()) SWIG_fail
;
7132 Py_INCREF(Py_None
); resultobj
= Py_None
;
7139 static PyObject
*_wrap_PyShape_GetBranchingAttachmentRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
*resultobj
;
7141 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7144 PyObject
* obj0
= 0 ;
7145 PyObject
* obj1
= 0 ;
7147 (char *) "self",(char *) "attachment", NULL
7150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetBranchingAttachmentRoot",kwnames
,&obj0
,&obj1
)) goto fail
;
7151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7153 arg2
= (int) SWIG_AsInt(obj1
);
7154 if (PyErr_Occurred()) SWIG_fail
;
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7157 result
= (arg1
)->GetBranchingAttachmentRoot(arg2
);
7159 wxPyEndAllowThreads(__tstate
);
7160 if (PyErr_Occurred()) SWIG_fail
;
7163 wxRealPoint
* resultptr
;
7164 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
7165 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
7173 static PyObject
*_wrap_PyShape_GetBranchingAttachmentInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7174 PyObject
*resultobj
;
7175 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7177 wxRealPoint
*arg3
= 0 ;
7178 wxRealPoint
*arg4
= 0 ;
7179 wxRealPoint
*arg5
= 0 ;
7180 wxRealPoint
*arg6
= 0 ;
7186 PyObject
* obj0
= 0 ;
7187 PyObject
* obj1
= 0 ;
7188 PyObject
* obj2
= 0 ;
7189 PyObject
* obj3
= 0 ;
7190 PyObject
* obj4
= 0 ;
7191 PyObject
* obj5
= 0 ;
7193 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
7196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_GetBranchingAttachmentInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7199 arg2
= (int) SWIG_AsInt(obj1
);
7200 if (PyErr_Occurred()) SWIG_fail
;
7203 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7207 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7211 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7215 if ( ! wxRealPoint_helper(obj5
, &arg6
)) SWIG_fail
;
7218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7219 result
= (bool)(arg1
)->GetBranchingAttachmentInfo(arg2
,*arg3
,*arg4
,*arg5
,*arg6
);
7221 wxPyEndAllowThreads(__tstate
);
7222 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7233 static PyObject
*_wrap_PyShape_GetBranchingAttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
*resultobj
;
7235 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7238 wxRealPoint
*arg4
= 0 ;
7239 wxRealPoint
*arg5
= 0 ;
7243 PyObject
* obj0
= 0 ;
7244 PyObject
* obj1
= 0 ;
7245 PyObject
* obj2
= 0 ;
7246 PyObject
* obj3
= 0 ;
7247 PyObject
* obj4
= 0 ;
7249 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_GetBranchingAttachmentPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7255 arg2
= (int) SWIG_AsInt(obj1
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7257 arg3
= (int) SWIG_AsInt(obj2
);
7258 if (PyErr_Occurred()) SWIG_fail
;
7261 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7265 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 result
= (bool)(arg1
)->GetBranchingAttachmentPoint(arg2
,arg3
,*arg4
,*arg5
);
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7283 static PyObject
*_wrap_PyShape_GetAttachmentLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
*resultobj
;
7285 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7288 PyObject
* obj0
= 0 ;
7289 PyObject
* obj1
= 0 ;
7291 (char *) "self",(char *) "attachment", NULL
7294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetAttachmentLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7297 arg2
= (int) SWIG_AsInt(obj1
);
7298 if (PyErr_Occurred()) SWIG_fail
;
7300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7301 result
= (int)(arg1
)->GetAttachmentLineCount(arg2
);
7303 wxPyEndAllowThreads(__tstate
);
7304 if (PyErr_Occurred()) SWIG_fail
;
7306 resultobj
= SWIG_FromInt((int)result
);
7313 static PyObject
*_wrap_PyShape_SetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7314 PyObject
*resultobj
;
7315 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7317 PyObject
* obj0
= 0 ;
7318 PyObject
* obj1
= 0 ;
7320 (char *) "self",(char *) "len", NULL
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchNeckLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7326 arg2
= (int) SWIG_AsInt(obj1
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 (arg1
)->SetBranchNeckLength(arg2
);
7332 wxPyEndAllowThreads(__tstate
);
7333 if (PyErr_Occurred()) SWIG_fail
;
7335 Py_INCREF(Py_None
); resultobj
= Py_None
;
7342 static PyObject
*_wrap_PyShape_GetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7343 PyObject
*resultobj
;
7344 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7346 PyObject
* obj0
= 0 ;
7348 (char *) "self", NULL
7351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchNeckLength",kwnames
,&obj0
)) goto fail
;
7352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 result
= (int)(arg1
)->GetBranchNeckLength();
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7361 resultobj
= SWIG_FromInt((int)result
);
7368 static PyObject
*_wrap_PyShape_SetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7369 PyObject
*resultobj
;
7370 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7372 PyObject
* obj0
= 0 ;
7373 PyObject
* obj1
= 0 ;
7375 (char *) "self",(char *) "len", NULL
7378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchStemLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7381 arg2
= (int) SWIG_AsInt(obj1
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7385 (arg1
)->SetBranchStemLength(arg2
);
7387 wxPyEndAllowThreads(__tstate
);
7388 if (PyErr_Occurred()) SWIG_fail
;
7390 Py_INCREF(Py_None
); resultobj
= Py_None
;
7397 static PyObject
*_wrap_PyShape_GetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
*resultobj
;
7399 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7401 PyObject
* obj0
= 0 ;
7403 (char *) "self", NULL
7406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStemLength",kwnames
,&obj0
)) goto fail
;
7407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 result
= (int)(arg1
)->GetBranchStemLength();
7413 wxPyEndAllowThreads(__tstate
);
7414 if (PyErr_Occurred()) SWIG_fail
;
7416 resultobj
= SWIG_FromInt((int)result
);
7423 static PyObject
*_wrap_PyShape_SetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7424 PyObject
*resultobj
;
7425 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7427 PyObject
* obj0
= 0 ;
7428 PyObject
* obj1
= 0 ;
7430 (char *) "self",(char *) "len", NULL
7433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
7434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7436 arg2
= (int) SWIG_AsInt(obj1
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7440 (arg1
)->SetBranchSpacing(arg2
);
7442 wxPyEndAllowThreads(__tstate
);
7443 if (PyErr_Occurred()) SWIG_fail
;
7445 Py_INCREF(Py_None
); resultobj
= Py_None
;
7452 static PyObject
*_wrap_PyShape_GetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
*resultobj
;
7454 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7456 PyObject
* obj0
= 0 ;
7458 (char *) "self", NULL
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchSpacing",kwnames
,&obj0
)) goto fail
;
7462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7466 result
= (int)(arg1
)->GetBranchSpacing();
7468 wxPyEndAllowThreads(__tstate
);
7469 if (PyErr_Occurred()) SWIG_fail
;
7471 resultobj
= SWIG_FromInt((int)result
);
7478 static PyObject
*_wrap_PyShape_SetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7479 PyObject
*resultobj
;
7480 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7482 PyObject
* obj0
= 0 ;
7483 PyObject
* obj1
= 0 ;
7485 (char *) "self",(char *) "style", NULL
7488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7491 arg2
= (long) SWIG_AsLong(obj1
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7495 (arg1
)->SetBranchStyle(arg2
);
7497 wxPyEndAllowThreads(__tstate
);
7498 if (PyErr_Occurred()) SWIG_fail
;
7500 Py_INCREF(Py_None
); resultobj
= Py_None
;
7507 static PyObject
*_wrap_PyShape_GetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7508 PyObject
*resultobj
;
7509 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7511 PyObject
* obj0
= 0 ;
7513 (char *) "self", NULL
7516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStyle",kwnames
,&obj0
)) goto fail
;
7517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7521 result
= (long)(arg1
)->GetBranchStyle();
7523 wxPyEndAllowThreads(__tstate
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7526 resultobj
= SWIG_FromLong((long)result
);
7533 static PyObject
*_wrap_PyShape_PhysicalToLogicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
*resultobj
;
7535 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7538 PyObject
* obj0
= 0 ;
7539 PyObject
* obj1
= 0 ;
7541 (char *) "self",(char *) "physicalAttachment", NULL
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_PhysicalToLogicalAttachment",kwnames
,&obj0
,&obj1
)) goto fail
;
7545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7547 arg2
= (int) SWIG_AsInt(obj1
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7551 result
= (int)(arg1
)->PhysicalToLogicalAttachment(arg2
);
7553 wxPyEndAllowThreads(__tstate
);
7554 if (PyErr_Occurred()) SWIG_fail
;
7556 resultobj
= SWIG_FromInt((int)result
);
7563 static PyObject
*_wrap_PyShape_LogicalToPhysicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7564 PyObject
*resultobj
;
7565 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7568 PyObject
* obj0
= 0 ;
7569 PyObject
* obj1
= 0 ;
7571 (char *) "self",(char *) "logicalAttachment", NULL
7574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_LogicalToPhysicalAttachment",kwnames
,&obj0
,&obj1
)) goto fail
;
7575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7577 arg2
= (int) SWIG_AsInt(obj1
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 result
= (int)(arg1
)->LogicalToPhysicalAttachment(arg2
);
7583 wxPyEndAllowThreads(__tstate
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7586 resultobj
= SWIG_FromInt((int)result
);
7593 static PyObject
*_wrap_PyShape_Draggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
*resultobj
;
7595 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7597 PyObject
* obj0
= 0 ;
7599 (char *) "self", NULL
7602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Draggable",kwnames
,&obj0
)) goto fail
;
7603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 result
= (bool)(arg1
)->Draggable();
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7621 static PyObject
*_wrap_PyShape_HasDescendant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
;
7623 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7624 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
7626 PyObject
* obj0
= 0 ;
7627 PyObject
* obj1
= 0 ;
7629 (char *) "self",(char *) "image", NULL
7632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_HasDescendant",kwnames
,&obj0
,&obj1
)) goto fail
;
7633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
7636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7639 result
= (bool)(arg1
)->HasDescendant(arg2
);
7641 wxPyEndAllowThreads(__tstate
);
7642 if (PyErr_Occurred()) SWIG_fail
;
7645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7653 static PyObject
*_wrap_PyShape_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7654 PyObject
*resultobj
;
7655 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7656 bool arg2
= (bool) True
;
7657 bool arg3
= (bool) True
;
7659 PyObject
* obj0
= 0 ;
7660 PyObject
* obj1
= 0 ;
7661 PyObject
* obj2
= 0 ;
7663 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
7666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_CreateNewCopy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7670 arg2
= (bool) SWIG_AsBool(obj1
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7674 arg3
= (bool) SWIG_AsBool(obj2
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7679 result
= (wxPyShape
*)(arg1
)->CreateNewCopy(arg2
,arg3
);
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7685 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
7693 static PyObject
*_wrap_PyShape_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
;
7695 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7696 wxPyShape
*arg2
= 0 ;
7697 PyObject
* obj0
= 0 ;
7698 PyObject
* obj1
= 0 ;
7700 (char *) "self",(char *) "copy", NULL
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
7704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
7707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7710 PyErr_SetString(PyExc_TypeError
,"null reference");
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 (arg1
)->Copy(*arg2
);
7717 wxPyEndAllowThreads(__tstate
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7720 Py_INCREF(Py_None
); resultobj
= Py_None
;
7727 static PyObject
*_wrap_PyShape_CopyWithHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
;
7729 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7730 wxPyShape
*arg2
= 0 ;
7731 PyObject
* obj0
= 0 ;
7732 PyObject
* obj1
= 0 ;
7734 (char *) "self",(char *) "copy", NULL
7737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_CopyWithHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
7738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
7741 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7744 PyErr_SetString(PyExc_TypeError
,"null reference");
7748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7749 (arg1
)->CopyWithHandler(*arg2
);
7751 wxPyEndAllowThreads(__tstate
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7754 Py_INCREF(Py_None
); resultobj
= Py_None
;
7761 static PyObject
*_wrap_PyShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7762 PyObject
*resultobj
;
7763 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7767 PyObject
* obj0
= 0 ;
7768 PyObject
* obj1
= 0 ;
7769 PyObject
* obj2
= 0 ;
7770 PyObject
* obj3
= 0 ;
7772 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShape_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7778 arg2
= (double) SWIG_AsDouble(obj1
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7780 arg3
= (double) SWIG_AsDouble(obj2
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7782 arg4
= (double) SWIG_AsDouble(obj3
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 (arg1
)->Rotate(arg2
,arg3
,arg4
);
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7791 Py_INCREF(Py_None
); resultobj
= Py_None
;
7798 static PyObject
*_wrap_PyShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7799 PyObject
*resultobj
;
7800 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7802 PyObject
* obj0
= 0 ;
7804 (char *) "self", NULL
7807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRotation",kwnames
,&obj0
)) goto fail
;
7808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 result
= (double)(arg1
)->GetRotation();
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7817 resultobj
= SWIG_FromDouble((double)result
);
7824 static PyObject
*_wrap_PyShape_SetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
*resultobj
;
7826 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7828 PyObject
* obj0
= 0 ;
7829 PyObject
* obj1
= 0 ;
7831 (char *) "self",(char *) "rotation", NULL
7834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetRotation",kwnames
,&obj0
,&obj1
)) goto fail
;
7835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7837 arg2
= (double) SWIG_AsDouble(obj1
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 (arg1
)->SetRotation(arg2
);
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7846 Py_INCREF(Py_None
); resultobj
= Py_None
;
7853 static PyObject
*_wrap_PyShape_ClearAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7854 PyObject
*resultobj
;
7855 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7856 PyObject
* obj0
= 0 ;
7858 (char *) "self", NULL
7861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearAttachments",kwnames
,&obj0
)) goto fail
;
7862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 (arg1
)->ClearAttachments();
7868 wxPyEndAllowThreads(__tstate
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7871 Py_INCREF(Py_None
); resultobj
= Py_None
;
7878 static PyObject
*_wrap_PyShape_Recentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7879 PyObject
*resultobj
;
7880 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7882 PyObject
* obj0
= 0 ;
7883 PyObject
* obj1
= 0 ;
7885 (char *) "self",(char *) "dc", NULL
7888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Recentre",kwnames
,&obj0
,&obj1
)) goto fail
;
7889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7892 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7895 PyErr_SetString(PyExc_TypeError
,"null reference");
7899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7900 (arg1
)->Recentre(*arg2
);
7902 wxPyEndAllowThreads(__tstate
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7905 Py_INCREF(Py_None
); resultobj
= Py_None
;
7912 static PyObject
*_wrap_PyShape_ClearPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7913 PyObject
*resultobj
;
7914 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7916 PyObject
* obj0
= 0 ;
7917 PyObject
* obj1
= 0 ;
7919 (char *) "self",(char *) "list", NULL
7922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ClearPointList",kwnames
,&obj0
,&obj1
)) goto fail
;
7923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxList
,
7926 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7929 PyErr_SetString(PyExc_TypeError
,"null reference");
7933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7934 (arg1
)->ClearPointList(*arg2
);
7936 wxPyEndAllowThreads(__tstate
);
7937 if (PyErr_Occurred()) SWIG_fail
;
7939 Py_INCREF(Py_None
); resultobj
= Py_None
;
7946 static PyObject
*_wrap_PyShape_GetBackgroundPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
*resultobj
;
7948 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7950 PyObject
* obj0
= 0 ;
7952 (char *) "self", NULL
7955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundPen",kwnames
,&obj0
)) goto fail
;
7956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 result
= (arg1
)->GetBackgroundPen();
7962 wxPyEndAllowThreads(__tstate
);
7963 if (PyErr_Occurred()) SWIG_fail
;
7967 resultptr
= new wxPen((wxPen
&) result
);
7968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPen
, 1);
7976 static PyObject
*_wrap_PyShape_GetBackgroundBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7977 PyObject
*resultobj
;
7978 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7980 PyObject
* obj0
= 0 ;
7982 (char *) "self", NULL
7985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundBrush",kwnames
,&obj0
)) goto fail
;
7986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7990 result
= (arg1
)->GetBackgroundBrush();
7992 wxPyEndAllowThreads(__tstate
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7996 wxBrush
* resultptr
;
7997 resultptr
= new wxBrush((wxBrush
&) result
);
7998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
8006 static PyObject
*_wrap_PyShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8007 PyObject
*resultobj
;
8008 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8009 PyObject
* obj0
= 0 ;
8011 (char *) "self", NULL
8014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
8015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 (arg1
)->base_OnDelete();
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8024 Py_INCREF(Py_None
); resultobj
= Py_None
;
8031 static PyObject
*_wrap_PyShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8032 PyObject
*resultobj
;
8033 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8035 PyObject
* obj0
= 0 ;
8036 PyObject
* obj1
= 0 ;
8038 (char *) "self",(char *) "dc", NULL
8041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
8042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8045 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8048 PyErr_SetString(PyExc_TypeError
,"null reference");
8052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8053 (arg1
)->base_OnDraw(*arg2
);
8055 wxPyEndAllowThreads(__tstate
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8058 Py_INCREF(Py_None
); resultobj
= Py_None
;
8065 static PyObject
*_wrap_PyShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8066 PyObject
*resultobj
;
8067 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8069 PyObject
* obj0
= 0 ;
8070 PyObject
* obj1
= 0 ;
8072 (char *) "self",(char *) "dc", NULL
8075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
8076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8079 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8082 PyErr_SetString(PyExc_TypeError
,"null reference");
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 (arg1
)->base_OnDrawContents(*arg2
);
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) SWIG_fail
;
8092 Py_INCREF(Py_None
); resultobj
= Py_None
;
8099 static PyObject
*_wrap_PyShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
*resultobj
;
8101 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8103 bool arg3
= (bool) False
;
8104 PyObject
* obj0
= 0 ;
8105 PyObject
* obj1
= 0 ;
8106 PyObject
* obj2
= 0 ;
8108 (char *) "self",(char *) "dc",(char *) "erase", NULL
8111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8115 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8118 PyErr_SetString(PyExc_TypeError
,"null reference");
8122 arg3
= (bool) SWIG_AsBool(obj2
);
8123 if (PyErr_Occurred()) SWIG_fail
;
8126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8127 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
8129 wxPyEndAllowThreads(__tstate
);
8130 if (PyErr_Occurred()) SWIG_fail
;
8132 Py_INCREF(Py_None
); resultobj
= Py_None
;
8139 static PyObject
*_wrap_PyShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8140 PyObject
*resultobj
;
8141 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8143 PyObject
* obj0
= 0 ;
8144 PyObject
* obj1
= 0 ;
8146 (char *) "self",(char *) "dc", NULL
8149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
8150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8153 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8156 PyErr_SetString(PyExc_TypeError
,"null reference");
8160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 (arg1
)->base_OnMoveLinks(*arg2
);
8163 wxPyEndAllowThreads(__tstate
);
8164 if (PyErr_Occurred()) SWIG_fail
;
8166 Py_INCREF(Py_None
); resultobj
= Py_None
;
8173 static PyObject
*_wrap_PyShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8174 PyObject
*resultobj
;
8175 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8177 PyObject
* obj0
= 0 ;
8178 PyObject
* obj1
= 0 ;
8180 (char *) "self",(char *) "dc", NULL
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
8184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8187 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8190 PyErr_SetString(PyExc_TypeError
,"null reference");
8194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8195 (arg1
)->base_OnErase(*arg2
);
8197 wxPyEndAllowThreads(__tstate
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8200 Py_INCREF(Py_None
); resultobj
= Py_None
;
8207 static PyObject
*_wrap_PyShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
;
8209 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8211 PyObject
* obj0
= 0 ;
8212 PyObject
* obj1
= 0 ;
8214 (char *) "self",(char *) "dc", NULL
8217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
8218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8221 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8224 PyErr_SetString(PyExc_TypeError
,"null reference");
8228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8229 (arg1
)->base_OnEraseContents(*arg2
);
8231 wxPyEndAllowThreads(__tstate
);
8232 if (PyErr_Occurred()) SWIG_fail
;
8234 Py_INCREF(Py_None
); resultobj
= Py_None
;
8241 static PyObject
*_wrap_PyShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
*resultobj
;
8243 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8245 PyObject
* obj0
= 0 ;
8246 PyObject
* obj1
= 0 ;
8248 (char *) "self",(char *) "dc", NULL
8251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
8252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8254 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8255 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8258 PyErr_SetString(PyExc_TypeError
,"null reference");
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 (arg1
)->base_OnHighlight(*arg2
);
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8268 Py_INCREF(Py_None
); resultobj
= Py_None
;
8275 static PyObject
*_wrap_PyShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8276 PyObject
*resultobj
;
8277 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8280 int arg4
= (int) 0 ;
8281 int arg5
= (int) 0 ;
8282 PyObject
* obj0
= 0 ;
8283 PyObject
* obj1
= 0 ;
8284 PyObject
* obj2
= 0 ;
8285 PyObject
* obj3
= 0 ;
8286 PyObject
* obj4
= 0 ;
8288 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8294 arg2
= (double) SWIG_AsDouble(obj1
);
8295 if (PyErr_Occurred()) SWIG_fail
;
8296 arg3
= (double) SWIG_AsDouble(obj2
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8299 arg4
= (int) SWIG_AsInt(obj3
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8303 arg5
= (int) SWIG_AsInt(obj4
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8313 Py_INCREF(Py_None
); resultobj
= Py_None
;
8320 static PyObject
*_wrap_PyShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
*resultobj
;
8322 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8325 int arg4
= (int) 0 ;
8326 int arg5
= (int) 0 ;
8327 PyObject
* obj0
= 0 ;
8328 PyObject
* obj1
= 0 ;
8329 PyObject
* obj2
= 0 ;
8330 PyObject
* obj3
= 0 ;
8331 PyObject
* obj4
= 0 ;
8333 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8339 arg2
= (double) SWIG_AsDouble(obj1
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8341 arg3
= (double) SWIG_AsDouble(obj2
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8344 arg4
= (int) SWIG_AsInt(obj3
);
8345 if (PyErr_Occurred()) SWIG_fail
;
8348 arg5
= (int) SWIG_AsInt(obj4
);
8349 if (PyErr_Occurred()) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
8355 wxPyEndAllowThreads(__tstate
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8358 Py_INCREF(Py_None
); resultobj
= Py_None
;
8365 static PyObject
*_wrap_PyShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8366 PyObject
*resultobj
;
8367 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8370 int arg4
= (int) 0 ;
8371 int arg5
= (int) 0 ;
8372 PyObject
* obj0
= 0 ;
8373 PyObject
* obj1
= 0 ;
8374 PyObject
* obj2
= 0 ;
8375 PyObject
* obj3
= 0 ;
8376 PyObject
* obj4
= 0 ;
8378 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8384 arg2
= (double) SWIG_AsDouble(obj1
);
8385 if (PyErr_Occurred()) SWIG_fail
;
8386 arg3
= (double) SWIG_AsDouble(obj2
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8389 arg4
= (int) SWIG_AsInt(obj3
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8393 arg5
= (int) SWIG_AsInt(obj4
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8398 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
8400 wxPyEndAllowThreads(__tstate
);
8401 if (PyErr_Occurred()) SWIG_fail
;
8403 Py_INCREF(Py_None
); resultobj
= Py_None
;
8410 static PyObject
*_wrap_PyShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8411 PyObject
*resultobj
;
8412 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8415 PyObject
* obj0
= 0 ;
8416 PyObject
* obj1
= 0 ;
8417 PyObject
* obj2
= 0 ;
8419 (char *) "self",(char *) "x",(char *) "y", NULL
8422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8425 arg2
= (double) SWIG_AsDouble(obj1
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8427 arg3
= (double) SWIG_AsDouble(obj2
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8431 (arg1
)->base_OnSize(arg2
,arg3
);
8433 wxPyEndAllowThreads(__tstate
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8436 Py_INCREF(Py_None
); resultobj
= Py_None
;
8443 static PyObject
*_wrap_PyShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8444 PyObject
*resultobj
;
8445 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8451 bool arg7
= (bool) True
;
8453 PyObject
* obj0
= 0 ;
8454 PyObject
* obj1
= 0 ;
8455 PyObject
* obj2
= 0 ;
8456 PyObject
* obj3
= 0 ;
8457 PyObject
* obj4
= 0 ;
8458 PyObject
* obj5
= 0 ;
8459 PyObject
* obj6
= 0 ;
8461 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8468 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8471 PyErr_SetString(PyExc_TypeError
,"null reference");
8474 arg3
= (double) SWIG_AsDouble(obj2
);
8475 if (PyErr_Occurred()) SWIG_fail
;
8476 arg4
= (double) SWIG_AsDouble(obj3
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8478 arg5
= (double) SWIG_AsDouble(obj4
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8480 arg6
= (double) SWIG_AsDouble(obj5
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8483 arg7
= (bool) SWIG_AsBool(obj6
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8488 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8490 wxPyEndAllowThreads(__tstate
);
8491 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8502 static PyObject
*_wrap_PyShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8503 PyObject
*resultobj
;
8504 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8510 bool arg7
= (bool) True
;
8511 PyObject
* obj0
= 0 ;
8512 PyObject
* obj1
= 0 ;
8513 PyObject
* obj2
= 0 ;
8514 PyObject
* obj3
= 0 ;
8515 PyObject
* obj4
= 0 ;
8516 PyObject
* obj5
= 0 ;
8517 PyObject
* obj6
= 0 ;
8519 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8529 PyErr_SetString(PyExc_TypeError
,"null reference");
8532 arg3
= (double) SWIG_AsDouble(obj2
);
8533 if (PyErr_Occurred()) SWIG_fail
;
8534 arg4
= (double) SWIG_AsDouble(obj3
);
8535 if (PyErr_Occurred()) SWIG_fail
;
8536 arg5
= (double) SWIG_AsDouble(obj4
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8538 arg6
= (double) SWIG_AsDouble(obj5
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 arg7
= (bool) SWIG_AsBool(obj6
);
8542 if (PyErr_Occurred()) SWIG_fail
;
8545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) SWIG_fail
;
8551 Py_INCREF(Py_None
); resultobj
= Py_None
;
8558 static PyObject
*_wrap_PyShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8559 PyObject
*resultobj
;
8560 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8564 int arg5
= (int) 0 ;
8565 int arg6
= (int) 0 ;
8566 PyObject
* obj0
= 0 ;
8567 PyObject
* obj1
= 0 ;
8568 PyObject
* obj2
= 0 ;
8569 PyObject
* obj3
= 0 ;
8570 PyObject
* obj4
= 0 ;
8571 PyObject
* obj5
= 0 ;
8573 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8579 arg2
= (bool) SWIG_AsBool(obj1
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8581 arg3
= (double) SWIG_AsDouble(obj2
);
8582 if (PyErr_Occurred()) SWIG_fail
;
8583 arg4
= (double) SWIG_AsDouble(obj3
);
8584 if (PyErr_Occurred()) SWIG_fail
;
8586 arg5
= (int) SWIG_AsInt(obj4
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8590 arg6
= (int) SWIG_AsInt(obj5
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8595 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
8597 wxPyEndAllowThreads(__tstate
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8600 Py_INCREF(Py_None
); resultobj
= Py_None
;
8607 static PyObject
*_wrap_PyShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8608 PyObject
*resultobj
;
8609 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8612 int arg4
= (int) 0 ;
8613 int arg5
= (int) 0 ;
8614 PyObject
* obj0
= 0 ;
8615 PyObject
* obj1
= 0 ;
8616 PyObject
* obj2
= 0 ;
8617 PyObject
* obj3
= 0 ;
8618 PyObject
* obj4
= 0 ;
8620 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8626 arg2
= (double) SWIG_AsDouble(obj1
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8628 arg3
= (double) SWIG_AsDouble(obj2
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8631 arg4
= (int) SWIG_AsInt(obj3
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8635 arg5
= (int) SWIG_AsInt(obj4
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8640 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
8642 wxPyEndAllowThreads(__tstate
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8645 Py_INCREF(Py_None
); resultobj
= Py_None
;
8652 static PyObject
*_wrap_PyShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
*resultobj
;
8654 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8657 int arg4
= (int) 0 ;
8658 int arg5
= (int) 0 ;
8659 PyObject
* obj0
= 0 ;
8660 PyObject
* obj1
= 0 ;
8661 PyObject
* obj2
= 0 ;
8662 PyObject
* obj3
= 0 ;
8663 PyObject
* obj4
= 0 ;
8665 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8671 arg2
= (double) SWIG_AsDouble(obj1
);
8672 if (PyErr_Occurred()) SWIG_fail
;
8673 arg3
= (double) SWIG_AsDouble(obj2
);
8674 if (PyErr_Occurred()) SWIG_fail
;
8676 arg4
= (int) SWIG_AsInt(obj3
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8680 arg5
= (int) SWIG_AsInt(obj4
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
8687 wxPyEndAllowThreads(__tstate
);
8688 if (PyErr_Occurred()) SWIG_fail
;
8690 Py_INCREF(Py_None
); resultobj
= Py_None
;
8697 static PyObject
*_wrap_PyShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8698 PyObject
*resultobj
;
8699 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8703 int arg5
= (int) 0 ;
8704 int arg6
= (int) 0 ;
8705 PyObject
* obj0
= 0 ;
8706 PyObject
* obj1
= 0 ;
8707 PyObject
* obj2
= 0 ;
8708 PyObject
* obj3
= 0 ;
8709 PyObject
* obj4
= 0 ;
8710 PyObject
* obj5
= 0 ;
8712 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8718 arg2
= (bool) SWIG_AsBool(obj1
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8720 arg3
= (double) SWIG_AsDouble(obj2
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8722 arg4
= (double) SWIG_AsDouble(obj3
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 arg5
= (int) SWIG_AsInt(obj4
);
8726 if (PyErr_Occurred()) SWIG_fail
;
8729 arg6
= (int) SWIG_AsInt(obj5
);
8730 if (PyErr_Occurred()) SWIG_fail
;
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8734 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8739 Py_INCREF(Py_None
); resultobj
= Py_None
;
8746 static PyObject
*_wrap_PyShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
*resultobj
;
8748 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8751 int arg4
= (int) 0 ;
8752 int arg5
= (int) 0 ;
8753 PyObject
* obj0
= 0 ;
8754 PyObject
* obj1
= 0 ;
8755 PyObject
* obj2
= 0 ;
8756 PyObject
* obj3
= 0 ;
8757 PyObject
* obj4
= 0 ;
8759 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8765 arg2
= (double) SWIG_AsDouble(obj1
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8767 arg3
= (double) SWIG_AsDouble(obj2
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8770 arg4
= (int) SWIG_AsInt(obj3
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8774 arg5
= (int) SWIG_AsInt(obj4
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8784 Py_INCREF(Py_None
); resultobj
= Py_None
;
8791 static PyObject
*_wrap_PyShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
*resultobj
;
8793 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8796 int arg4
= (int) 0 ;
8797 int arg5
= (int) 0 ;
8798 PyObject
* obj0
= 0 ;
8799 PyObject
* obj1
= 0 ;
8800 PyObject
* obj2
= 0 ;
8801 PyObject
* obj3
= 0 ;
8802 PyObject
* obj4
= 0 ;
8804 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8810 arg2
= (double) SWIG_AsDouble(obj1
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8812 arg3
= (double) SWIG_AsDouble(obj2
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 arg4
= (int) SWIG_AsInt(obj3
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8819 arg5
= (int) SWIG_AsInt(obj4
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8829 Py_INCREF(Py_None
); resultobj
= Py_None
;
8836 static PyObject
*_wrap_PyShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
*resultobj
;
8838 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8844 PyObject
* obj0
= 0 ;
8845 PyObject
* obj1
= 0 ;
8846 PyObject
* obj2
= 0 ;
8847 PyObject
* obj3
= 0 ;
8848 PyObject
* obj4
= 0 ;
8849 PyObject
* obj5
= 0 ;
8851 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8857 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8858 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8861 PyErr_SetString(PyExc_TypeError
,"null reference");
8864 arg3
= (double) SWIG_AsDouble(obj2
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8866 arg4
= (double) SWIG_AsDouble(obj3
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8868 arg5
= (double) SWIG_AsDouble(obj4
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8870 arg6
= (double) SWIG_AsDouble(obj5
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8874 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
8876 wxPyEndAllowThreads(__tstate
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8879 Py_INCREF(Py_None
); resultobj
= Py_None
;
8886 static PyObject
*_wrap_PyShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8887 PyObject
*resultobj
;
8888 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8890 PyObject
* obj0
= 0 ;
8891 PyObject
* obj1
= 0 ;
8893 (char *) "self",(char *) "dc", NULL
8896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
8897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8900 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8903 PyErr_SetString(PyExc_TypeError
,"null reference");
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 (arg1
)->base_OnDrawControlPoints(*arg2
);
8910 wxPyEndAllowThreads(__tstate
);
8911 if (PyErr_Occurred()) SWIG_fail
;
8913 Py_INCREF(Py_None
); resultobj
= Py_None
;
8920 static PyObject
*_wrap_PyShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8921 PyObject
*resultobj
;
8922 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8924 PyObject
* obj0
= 0 ;
8925 PyObject
* obj1
= 0 ;
8927 (char *) "self",(char *) "dc", NULL
8930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
8931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8933 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8934 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8937 PyErr_SetString(PyExc_TypeError
,"null reference");
8941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8942 (arg1
)->base_OnEraseControlPoints(*arg2
);
8944 wxPyEndAllowThreads(__tstate
);
8945 if (PyErr_Occurred()) SWIG_fail
;
8947 Py_INCREF(Py_None
); resultobj
= Py_None
;
8954 static PyObject
*_wrap_PyShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8955 PyObject
*resultobj
;
8956 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8958 bool arg3
= (bool) True
;
8959 PyObject
* obj0
= 0 ;
8960 PyObject
* obj1
= 0 ;
8961 PyObject
* obj2
= 0 ;
8963 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
8966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8970 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8973 PyErr_SetString(PyExc_TypeError
,"null reference");
8977 arg3
= (bool) SWIG_AsBool(obj2
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 Py_INCREF(Py_None
); resultobj
= Py_None
;
8994 static PyObject
*_wrap_PyShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
*resultobj
;
8996 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8997 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9001 int arg6
= (int) 0 ;
9002 int arg7
= (int) 0 ;
9003 PyObject
* obj0
= 0 ;
9004 PyObject
* obj1
= 0 ;
9005 PyObject
* obj2
= 0 ;
9006 PyObject
* obj3
= 0 ;
9007 PyObject
* obj4
= 0 ;
9008 PyObject
* obj5
= 0 ;
9009 PyObject
* obj6
= 0 ;
9011 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
9018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9019 arg3
= (bool) SWIG_AsBool(obj2
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9021 arg4
= (double) SWIG_AsDouble(obj3
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9023 arg5
= (double) SWIG_AsDouble(obj4
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9026 arg6
= (int) SWIG_AsInt(obj5
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9030 arg7
= (int) SWIG_AsInt(obj6
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9040 Py_INCREF(Py_None
); resultobj
= Py_None
;
9047 static PyObject
*_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
*resultobj
;
9049 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9050 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9053 int arg5
= (int) 0 ;
9054 int arg6
= (int) 0 ;
9055 PyObject
* obj0
= 0 ;
9056 PyObject
* obj1
= 0 ;
9057 PyObject
* obj2
= 0 ;
9058 PyObject
* obj3
= 0 ;
9059 PyObject
* obj4
= 0 ;
9060 PyObject
* obj5
= 0 ;
9062 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
9069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9070 arg3
= (double) SWIG_AsDouble(obj2
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9072 arg4
= (double) SWIG_AsDouble(obj3
);
9073 if (PyErr_Occurred()) SWIG_fail
;
9075 arg5
= (int) SWIG_AsInt(obj4
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9079 arg6
= (int) SWIG_AsInt(obj5
);
9080 if (PyErr_Occurred()) SWIG_fail
;
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9089 Py_INCREF(Py_None
); resultobj
= Py_None
;
9096 static PyObject
*_wrap_PyShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
;
9098 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9099 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9102 int arg5
= (int) 0 ;
9103 int arg6
= (int) 0 ;
9104 PyObject
* obj0
= 0 ;
9105 PyObject
* obj1
= 0 ;
9106 PyObject
* obj2
= 0 ;
9107 PyObject
* obj3
= 0 ;
9108 PyObject
* obj4
= 0 ;
9109 PyObject
* obj5
= 0 ;
9111 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
9118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9119 arg3
= (double) SWIG_AsDouble(obj2
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9121 arg4
= (double) SWIG_AsDouble(obj3
);
9122 if (PyErr_Occurred()) SWIG_fail
;
9124 arg5
= (int) SWIG_AsInt(obj4
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9128 arg6
= (int) SWIG_AsInt(obj5
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9135 wxPyEndAllowThreads(__tstate
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9138 Py_INCREF(Py_None
); resultobj
= Py_None
;
9145 static PyObject
*_wrap_PyShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
;
9147 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9150 PyObject
* obj0
= 0 ;
9151 PyObject
* obj1
= 0 ;
9152 PyObject
* obj2
= 0 ;
9154 (char *) "self",(char *) "w",(char *) "h", NULL
9157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9160 arg2
= (double) SWIG_AsDouble(obj1
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9162 arg3
= (double) SWIG_AsDouble(obj2
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9166 (arg1
)->base_OnBeginSize(arg2
,arg3
);
9168 wxPyEndAllowThreads(__tstate
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9171 Py_INCREF(Py_None
); resultobj
= Py_None
;
9178 static PyObject
*_wrap_PyShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9179 PyObject
*resultobj
;
9180 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9183 PyObject
* obj0
= 0 ;
9184 PyObject
* obj1
= 0 ;
9185 PyObject
* obj2
= 0 ;
9187 (char *) "self",(char *) "w",(char *) "h", NULL
9190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9193 arg2
= (double) SWIG_AsDouble(obj1
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9195 arg3
= (double) SWIG_AsDouble(obj2
);
9196 if (PyErr_Occurred()) SWIG_fail
;
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 (arg1
)->base_OnEndSize(arg2
,arg3
);
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9204 Py_INCREF(Py_None
); resultobj
= Py_None
;
9211 static PyObject
* PyShape_swigregister(PyObject
*self
, PyObject
*args
) {
9213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9214 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape
, obj
);
9216 return Py_BuildValue((char *)"");
9218 static PyObject
*_wrap_new_PseudoMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
;
9220 wxPseudoMetaFile
*result
;
9225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PseudoMetaFile",kwnames
)) goto fail
;
9227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9228 result
= (wxPseudoMetaFile
*)new wxPseudoMetaFile();
9230 wxPyEndAllowThreads(__tstate
);
9231 if (PyErr_Occurred()) SWIG_fail
;
9234 resultobj
= wxPyMake_wxObject(result
, 1);
9242 static PyObject
*_wrap_delete_PseudoMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
*resultobj
;
9244 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9245 PyObject
* obj0
= 0 ;
9247 (char *) "self", NULL
9250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PseudoMetaFile",kwnames
,&obj0
)) goto fail
;
9251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9260 Py_INCREF(Py_None
); resultobj
= Py_None
;
9267 static PyObject
*_wrap_PseudoMetaFile_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
*resultobj
;
9269 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9273 PyObject
* obj0
= 0 ;
9274 PyObject
* obj1
= 0 ;
9275 PyObject
* obj2
= 0 ;
9276 PyObject
* obj3
= 0 ;
9278 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
9281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
9285 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9288 PyErr_SetString(PyExc_TypeError
,"null reference");
9291 arg3
= (double) SWIG_AsDouble(obj2
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9293 arg4
= (double) SWIG_AsDouble(obj3
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 (arg1
)->Draw(*arg2
,arg3
,arg4
);
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9302 Py_INCREF(Py_None
); resultobj
= Py_None
;
9309 static PyObject
*_wrap_PseudoMetaFile_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9310 PyObject
*resultobj
;
9311 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9312 PyObject
* obj0
= 0 ;
9314 (char *) "self", NULL
9317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_Clear",kwnames
,&obj0
)) goto fail
;
9318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 Py_INCREF(Py_None
); resultobj
= Py_None
;
9334 static PyObject
*_wrap_PseudoMetaFile_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
;
9336 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9337 wxPseudoMetaFile
*arg2
= 0 ;
9338 PyObject
* obj0
= 0 ;
9339 PyObject
* obj1
= 0 ;
9341 (char *) "self",(char *) "copy", NULL
9344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
9345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPseudoMetaFile
,
9348 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9351 PyErr_SetString(PyExc_TypeError
,"null reference");
9355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9356 (arg1
)->Copy(*arg2
);
9358 wxPyEndAllowThreads(__tstate
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9361 Py_INCREF(Py_None
); resultobj
= Py_None
;
9368 static PyObject
*_wrap_PseudoMetaFile_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9369 PyObject
*resultobj
;
9370 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9373 PyObject
* obj0
= 0 ;
9374 PyObject
* obj1
= 0 ;
9375 PyObject
* obj2
= 0 ;
9377 (char *) "self",(char *) "sx",(char *) "sy", NULL
9380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9383 arg2
= (double) SWIG_AsDouble(obj1
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9385 arg3
= (double) SWIG_AsDouble(obj2
);
9386 if (PyErr_Occurred()) SWIG_fail
;
9388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9389 (arg1
)->Scale(arg2
,arg3
);
9391 wxPyEndAllowThreads(__tstate
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9394 Py_INCREF(Py_None
); resultobj
= Py_None
;
9401 static PyObject
*_wrap_PseudoMetaFile_ScaleTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9402 PyObject
*resultobj
;
9403 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9406 PyObject
* obj0
= 0 ;
9407 PyObject
* obj1
= 0 ;
9408 PyObject
* obj2
= 0 ;
9410 (char *) "self",(char *) "w",(char *) "h", NULL
9413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_ScaleTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9416 arg2
= (double) SWIG_AsDouble(obj1
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9418 arg3
= (double) SWIG_AsDouble(obj2
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 (arg1
)->ScaleTo(arg2
,arg3
);
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9427 Py_INCREF(Py_None
); resultobj
= Py_None
;
9434 static PyObject
*_wrap_PseudoMetaFile_Translate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
;
9436 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9439 PyObject
* obj0
= 0 ;
9440 PyObject
* obj1
= 0 ;
9441 PyObject
* obj2
= 0 ;
9443 (char *) "self",(char *) "x",(char *) "y", NULL
9446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9449 arg2
= (double) SWIG_AsDouble(obj1
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9451 arg3
= (double) SWIG_AsDouble(obj2
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 (arg1
)->Translate(arg2
,arg3
);
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9460 Py_INCREF(Py_None
); resultobj
= Py_None
;
9467 static PyObject
*_wrap_PseudoMetaFile_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
*resultobj
;
9469 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9473 PyObject
* obj0
= 0 ;
9474 PyObject
* obj1
= 0 ;
9475 PyObject
* obj2
= 0 ;
9476 PyObject
* obj3
= 0 ;
9478 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
9481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9484 arg2
= (double) SWIG_AsDouble(obj1
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9486 arg3
= (double) SWIG_AsDouble(obj2
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9488 arg4
= (double) SWIG_AsDouble(obj3
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9492 (arg1
)->Rotate(arg2
,arg3
,arg4
);
9494 wxPyEndAllowThreads(__tstate
);
9495 if (PyErr_Occurred()) SWIG_fail
;
9497 Py_INCREF(Py_None
); resultobj
= Py_None
;
9504 static PyObject
*_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9505 PyObject
*resultobj
;
9506 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9507 wxString
*arg2
= 0 ;
9508 double *arg3
= (double *) 0 ;
9509 double *arg4
= (double *) 0 ;
9511 bool temp2
= False
;
9512 PyObject
* obj0
= 0 ;
9513 PyObject
* obj1
= 0 ;
9514 PyObject
* obj2
= 0 ;
9515 PyObject
* obj3
= 0 ;
9517 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
9520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9524 arg2
= wxString_in_helper(obj1
);
9525 if (arg2
== NULL
) SWIG_fail
;
9528 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_double
,
9529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9530 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_double
,
9531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9534 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
,arg3
,arg4
);
9536 wxPyEndAllowThreads(__tstate
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9556 static PyObject
*_wrap_PseudoMetaFile_GetBounds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9557 PyObject
*resultobj
;
9558 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9559 double *arg2
= (double *) 0 ;
9560 double *arg3
= (double *) 0 ;
9561 double *arg4
= (double *) 0 ;
9562 double *arg5
= (double *) 0 ;
9563 PyObject
* obj0
= 0 ;
9564 PyObject
* obj1
= 0 ;
9565 PyObject
* obj2
= 0 ;
9566 PyObject
* obj3
= 0 ;
9567 PyObject
* obj4
= 0 ;
9569 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
9572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_double
,
9576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9577 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_double
,
9578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9579 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_double
,
9580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9581 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_double
,
9582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 (arg1
)->GetBounds(arg2
,arg3
,arg4
,arg5
);
9587 wxPyEndAllowThreads(__tstate
);
9588 if (PyErr_Occurred()) SWIG_fail
;
9590 Py_INCREF(Py_None
); resultobj
= Py_None
;
9597 static PyObject
*_wrap_PseudoMetaFile_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
*resultobj
;
9599 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9600 wxPyDrawnShape
*arg2
= (wxPyDrawnShape
*) 0 ;
9601 PyObject
* obj0
= 0 ;
9602 PyObject
* obj1
= 0 ;
9604 (char *) "self",(char *) "shape", NULL
9607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDrawnShape
,
9611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 (arg1
)->CalculateSize(arg2
);
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 Py_INCREF(Py_None
); resultobj
= Py_None
;
9626 static PyObject
*_wrap_PseudoMetaFile_SetRotateable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9627 PyObject
*resultobj
;
9628 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9630 PyObject
* obj0
= 0 ;
9631 PyObject
* obj1
= 0 ;
9633 (char *) "self",(char *) "rot", NULL
9636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames
,&obj0
,&obj1
)) goto fail
;
9637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9639 arg2
= (bool) SWIG_AsBool(obj1
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 (arg1
)->SetRotateable(arg2
);
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9648 Py_INCREF(Py_None
); resultobj
= Py_None
;
9655 static PyObject
*_wrap_PseudoMetaFile_GetRotateable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
*resultobj
;
9657 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9659 PyObject
* obj0
= 0 ;
9661 (char *) "self", NULL
9664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetRotateable",kwnames
,&obj0
)) goto fail
;
9665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 result
= (bool)(arg1
)->GetRotateable();
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9683 static PyObject
*_wrap_PseudoMetaFile_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
*resultobj
;
9685 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9688 PyObject
* obj0
= 0 ;
9689 PyObject
* obj1
= 0 ;
9690 PyObject
* obj2
= 0 ;
9692 (char *) "self",(char *) "w",(char *) "h", NULL
9695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9698 arg2
= (double) SWIG_AsDouble(obj1
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9700 arg3
= (double) SWIG_AsDouble(obj2
);
9701 if (PyErr_Occurred()) SWIG_fail
;
9703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9704 (arg1
)->SetSize(arg2
,arg3
);
9706 wxPyEndAllowThreads(__tstate
);
9707 if (PyErr_Occurred()) SWIG_fail
;
9709 Py_INCREF(Py_None
); resultobj
= Py_None
;
9716 static PyObject
*_wrap_PseudoMetaFile_SetFillBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9717 PyObject
*resultobj
;
9718 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9719 wxBrush
*arg2
= (wxBrush
*) 0 ;
9720 PyObject
* obj0
= 0 ;
9721 PyObject
* obj1
= 0 ;
9723 (char *) "self",(char *) "brush", NULL
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
9727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9732 if (obj1
== Py_None
) {
9735 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
9736 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
9741 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 (arg1
)->SetFillBrush(arg2
);
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9752 Py_INCREF(Py_None
); resultobj
= Py_None
;
9759 static PyObject
*_wrap_PseudoMetaFile_GetFillBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
*resultobj
;
9761 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9763 PyObject
* obj0
= 0 ;
9765 (char *) "self", NULL
9768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames
,&obj0
)) goto fail
;
9769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 result
= (wxBrush
*)(arg1
)->GetFillBrush();
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) SWIG_fail
;
9778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
9785 static PyObject
*_wrap_PseudoMetaFile_SetOutlinePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
*resultobj
;
9787 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9788 wxPen
*arg2
= (wxPen
*) 0 ;
9789 PyObject
* obj0
= 0 ;
9790 PyObject
* obj1
= 0 ;
9792 (char *) "self",(char *) "pen", NULL
9795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames
,&obj0
,&obj1
)) goto fail
;
9796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9801 if (obj1
== Py_None
) {
9804 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
9805 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
9810 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
9817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9818 (arg1
)->SetOutlinePen(arg2
);
9820 wxPyEndAllowThreads(__tstate
);
9821 if (PyErr_Occurred()) SWIG_fail
;
9823 Py_INCREF(Py_None
); resultobj
= Py_None
;
9830 static PyObject
*_wrap_PseudoMetaFile_GetOutlinePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9831 PyObject
*resultobj
;
9832 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9834 PyObject
* obj0
= 0 ;
9836 (char *) "self", NULL
9839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames
,&obj0
)) goto fail
;
9840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9844 result
= (wxPen
*)(arg1
)->GetOutlinePen();
9846 wxPyEndAllowThreads(__tstate
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
9856 static PyObject
*_wrap_PseudoMetaFile_SetOutlineOp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9857 PyObject
*resultobj
;
9858 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9860 PyObject
* obj0
= 0 ;
9861 PyObject
* obj1
= 0 ;
9863 (char *) "self",(char *) "op", NULL
9866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlineOp",kwnames
,&obj0
,&obj1
)) goto fail
;
9867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9869 arg2
= (int) SWIG_AsInt(obj1
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 (arg1
)->SetOutlineOp(arg2
);
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9878 Py_INCREF(Py_None
); resultobj
= Py_None
;
9885 static PyObject
*_wrap_PseudoMetaFile_GetOutlineOp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
*resultobj
;
9887 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9889 PyObject
* obj0
= 0 ;
9891 (char *) "self", NULL
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames
,&obj0
)) goto fail
;
9895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9899 result
= (int)(arg1
)->GetOutlineOp();
9901 wxPyEndAllowThreads(__tstate
);
9902 if (PyErr_Occurred()) SWIG_fail
;
9904 resultobj
= SWIG_FromInt((int)result
);
9911 static PyObject
*_wrap_PseudoMetaFile_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9912 PyObject
*resultobj
;
9913 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9915 PyObject
* obj0
= 0 ;
9917 (char *) "self", NULL
9920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_IsValid",kwnames
,&obj0
)) goto fail
;
9921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9925 result
= (bool)(arg1
)->IsValid();
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9939 static PyObject
*_wrap_PseudoMetaFile_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9940 PyObject
*resultobj
;
9941 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9946 PyObject
* obj0
= 0 ;
9947 PyObject
* obj1
= 0 ;
9948 PyObject
* obj2
= 0 ;
9950 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
9953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9958 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9962 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9966 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
9968 wxPyEndAllowThreads(__tstate
);
9969 if (PyErr_Occurred()) SWIG_fail
;
9971 Py_INCREF(Py_None
); resultobj
= Py_None
;
9978 static PyObject
*_wrap_PseudoMetaFile_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9979 PyObject
*resultobj
;
9980 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9983 PyObject
* obj0
= 0 ;
9984 PyObject
* obj1
= 0 ;
9986 (char *) "self",(char *) "rect", NULL
9989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
9990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9994 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9998 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
10000 wxPyEndAllowThreads(__tstate
);
10001 if (PyErr_Occurred()) SWIG_fail
;
10003 Py_INCREF(Py_None
); resultobj
= Py_None
;
10010 static PyObject
*_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10011 PyObject
*resultobj
;
10012 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10016 PyObject
* obj0
= 0 ;
10017 PyObject
* obj1
= 0 ;
10018 PyObject
* obj2
= 0 ;
10019 char *kwnames
[] = {
10020 (char *) "self",(char *) "rect",(char *) "radius", NULL
10023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10028 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10030 arg3
= (double) SWIG_AsDouble(obj2
);
10031 if (PyErr_Occurred()) SWIG_fail
;
10033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10034 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
10036 wxPyEndAllowThreads(__tstate
);
10037 if (PyErr_Occurred()) SWIG_fail
;
10039 Py_INCREF(Py_None
); resultobj
= Py_None
;
10046 static PyObject
*_wrap_PseudoMetaFile_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10047 PyObject
*resultobj
;
10048 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10049 wxPoint
*arg2
= 0 ;
10050 wxPoint
*arg3
= 0 ;
10051 wxPoint
*arg4
= 0 ;
10055 PyObject
* obj0
= 0 ;
10056 PyObject
* obj1
= 0 ;
10057 PyObject
* obj2
= 0 ;
10058 PyObject
* obj3
= 0 ;
10059 char *kwnames
[] = {
10060 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
10063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10068 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10072 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10076 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10080 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10082 wxPyEndAllowThreads(__tstate
);
10083 if (PyErr_Occurred()) SWIG_fail
;
10085 Py_INCREF(Py_None
); resultobj
= Py_None
;
10092 static PyObject
*_wrap_PseudoMetaFile_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10093 PyObject
*resultobj
;
10094 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10099 PyObject
* obj0
= 0 ;
10100 PyObject
* obj1
= 0 ;
10101 PyObject
* obj2
= 0 ;
10102 PyObject
* obj3
= 0 ;
10103 char *kwnames
[] = {
10104 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
10107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10112 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10114 arg3
= (double) SWIG_AsDouble(obj2
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10116 arg4
= (double) SWIG_AsDouble(obj3
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10120 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10125 Py_INCREF(Py_None
); resultobj
= Py_None
;
10132 static PyObject
*_wrap_PseudoMetaFile_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
*resultobj
;
10134 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10137 PyObject
* obj0
= 0 ;
10138 PyObject
* obj1
= 0 ;
10139 char *kwnames
[] = {
10140 (char *) "self",(char *) "rect", NULL
10143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames
,&obj0
,&obj1
)) goto fail
;
10144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10148 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10152 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
10154 wxPyEndAllowThreads(__tstate
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10157 Py_INCREF(Py_None
); resultobj
= Py_None
;
10164 static PyObject
*_wrap_PseudoMetaFile_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10165 PyObject
*resultobj
;
10166 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10167 wxPoint
*arg2
= 0 ;
10169 PyObject
* obj0
= 0 ;
10170 PyObject
* obj1
= 0 ;
10171 char *kwnames
[] = {
10172 (char *) "self",(char *) "pt", NULL
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10180 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10186 wxPyEndAllowThreads(__tstate
);
10187 if (PyErr_Occurred()) SWIG_fail
;
10189 Py_INCREF(Py_None
); resultobj
= Py_None
;
10196 static PyObject
*_wrap_PseudoMetaFile_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10197 PyObject
*resultobj
;
10198 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10199 wxString
*arg2
= 0 ;
10200 wxPoint
*arg3
= 0 ;
10201 bool temp2
= False
;
10203 PyObject
* obj0
= 0 ;
10204 PyObject
* obj1
= 0 ;
10205 PyObject
* obj2
= 0 ;
10206 char *kwnames
[] = {
10207 (char *) "self",(char *) "text",(char *) "pt", NULL
10210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10214 arg2
= wxString_in_helper(obj1
);
10215 if (arg2
== NULL
) SWIG_fail
;
10220 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10229 Py_INCREF(Py_None
); resultobj
= Py_None
;
10244 static PyObject
*_wrap_PseudoMetaFile_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
;
10246 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10248 wxPoint
*arg3
= (wxPoint
*) 0 ;
10249 PyObject
* obj0
= 0 ;
10250 PyObject
* obj1
= 0 ;
10251 char *kwnames
[] = {
10252 (char *) "self",(char *) "points", NULL
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawLines",kwnames
,&obj0
,&obj1
)) goto fail
;
10256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10259 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10260 if (arg3
== NULL
) SWIG_fail
;
10263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10264 (arg1
)->DrawLines(arg2
,arg3
);
10266 wxPyEndAllowThreads(__tstate
);
10267 if (PyErr_Occurred()) SWIG_fail
;
10269 Py_INCREF(Py_None
); resultobj
= Py_None
;
10271 if (arg3
) delete [] arg3
;
10276 if (arg3
) delete [] arg3
;
10282 static PyObject
*_wrap_PseudoMetaFile_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
;
10284 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10286 wxPoint
*arg3
= (wxPoint
*) 0 ;
10287 int arg4
= (int) 0 ;
10288 PyObject
* obj0
= 0 ;
10289 PyObject
* obj1
= 0 ;
10290 PyObject
* obj2
= 0 ;
10291 char *kwnames
[] = {
10292 (char *) "self",(char *) "points",(char *) "flags", NULL
10295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10299 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10300 if (arg3
== NULL
) SWIG_fail
;
10303 arg4
= (int) SWIG_AsInt(obj2
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10308 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
10310 wxPyEndAllowThreads(__tstate
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10313 Py_INCREF(Py_None
); resultobj
= Py_None
;
10315 if (arg3
) delete [] arg3
;
10320 if (arg3
) delete [] arg3
;
10326 static PyObject
*_wrap_PseudoMetaFile_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10327 PyObject
*resultobj
;
10328 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10330 wxPoint
*arg3
= (wxPoint
*) 0 ;
10331 PyObject
* obj0
= 0 ;
10332 PyObject
* obj1
= 0 ;
10333 char *kwnames
[] = {
10334 (char *) "self",(char *) "points", NULL
10337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
10338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10341 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10342 if (arg3
== NULL
) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 (arg1
)->DrawSpline(arg2
,arg3
);
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 Py_INCREF(Py_None
); resultobj
= Py_None
;
10353 if (arg3
) delete [] arg3
;
10358 if (arg3
) delete [] arg3
;
10364 static PyObject
*_wrap_PseudoMetaFile_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10365 PyObject
*resultobj
;
10366 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10369 PyObject
* obj0
= 0 ;
10370 PyObject
* obj1
= 0 ;
10371 char *kwnames
[] = {
10372 (char *) "self",(char *) "rect", NULL
10375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10380 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10384 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10389 Py_INCREF(Py_None
); resultobj
= Py_None
;
10396 static PyObject
*_wrap_PseudoMetaFile_DestroyClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10397 PyObject
*resultobj
;
10398 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10399 PyObject
* obj0
= 0 ;
10400 char *kwnames
[] = {
10401 (char *) "self", NULL
10404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
10405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 (arg1
)->DestroyClippingRect();
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10414 Py_INCREF(Py_None
); resultobj
= Py_None
;
10421 static PyObject
*_wrap_PseudoMetaFile_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
*resultobj
;
10423 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10424 wxPen
*arg2
= (wxPen
*) 0 ;
10425 bool arg3
= (bool) FALSE
;
10426 PyObject
* obj0
= 0 ;
10427 PyObject
* obj1
= 0 ;
10428 PyObject
* obj2
= 0 ;
10429 char *kwnames
[] = {
10430 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
10433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10439 if (obj1
== Py_None
) {
10442 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
10443 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
10448 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
10455 arg3
= (bool) SWIG_AsBool(obj2
);
10456 if (PyErr_Occurred()) SWIG_fail
;
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 (arg1
)->SetPen(arg2
,arg3
);
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10465 Py_INCREF(Py_None
); resultobj
= Py_None
;
10472 static PyObject
*_wrap_PseudoMetaFile_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
*resultobj
;
10474 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10475 wxBrush
*arg2
= (wxBrush
*) 0 ;
10476 bool arg3
= (bool) FALSE
;
10477 PyObject
* obj0
= 0 ;
10478 PyObject
* obj1
= 0 ;
10479 PyObject
* obj2
= 0 ;
10480 char *kwnames
[] = {
10481 (char *) "self",(char *) "brush",(char *) "isFill", NULL
10484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10490 if (obj1
== Py_None
) {
10493 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
10494 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
10499 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
10504 arg3
= (bool) SWIG_AsBool(obj2
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10509 (arg1
)->SetBrush(arg2
,arg3
);
10511 wxPyEndAllowThreads(__tstate
);
10512 if (PyErr_Occurred()) SWIG_fail
;
10514 Py_INCREF(Py_None
); resultobj
= Py_None
;
10521 static PyObject
*_wrap_PseudoMetaFile_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10522 PyObject
*resultobj
;
10523 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10524 wxFont
*arg2
= (wxFont
*) 0 ;
10525 PyObject
* obj0
= 0 ;
10526 PyObject
* obj1
= 0 ;
10527 char *kwnames
[] = {
10528 (char *) "self",(char *) "font", NULL
10531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10537 if (obj1
== Py_None
) {
10540 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
10541 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
10546 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
10550 temp
->GetUnderlined(),
10551 temp
->GetFaceName(),
10552 temp
->GetEncoding());
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 (arg1
)->SetFont(arg2
);
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10563 Py_INCREF(Py_None
); resultobj
= Py_None
;
10570 static PyObject
*_wrap_PseudoMetaFile_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
*resultobj
;
10572 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10573 wxColour
*arg2
= 0 ;
10575 PyObject
* obj0
= 0 ;
10576 PyObject
* obj1
= 0 ;
10577 char *kwnames
[] = {
10578 (char *) "self",(char *) "colour", NULL
10581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10586 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10595 Py_INCREF(Py_None
); resultobj
= Py_None
;
10602 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
*resultobj
;
10604 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10605 wxColour
*arg2
= 0 ;
10607 PyObject
* obj0
= 0 ;
10608 PyObject
* obj1
= 0 ;
10609 char *kwnames
[] = {
10610 (char *) "self",(char *) "colour", NULL
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10618 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10622 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10627 Py_INCREF(Py_None
); resultobj
= Py_None
;
10634 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
;
10636 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10638 PyObject
* obj0
= 0 ;
10639 PyObject
* obj1
= 0 ;
10640 char *kwnames
[] = {
10641 (char *) "self",(char *) "mode", NULL
10644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
10645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10647 arg2
= (int) SWIG_AsInt(obj1
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 (arg1
)->SetBackgroundMode(arg2
);
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10656 Py_INCREF(Py_None
); resultobj
= Py_None
;
10663 static PyObject
* PseudoMetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
10665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10666 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile
, obj
);
10668 return Py_BuildValue((char *)"");
10670 static PyObject
*_wrap_new_PyRectangleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10671 PyObject
*resultobj
;
10672 double arg1
= (double) 0.0 ;
10673 double arg2
= (double) 0.0 ;
10674 wxPyRectangleShape
*result
;
10675 PyObject
* obj0
= 0 ;
10676 PyObject
* obj1
= 0 ;
10677 char *kwnames
[] = {
10678 (char *) "width",(char *) "height", NULL
10681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyRectangleShape",kwnames
,&obj0
,&obj1
)) goto fail
;
10683 arg1
= (double) SWIG_AsDouble(obj0
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10687 arg2
= (double) SWIG_AsDouble(obj1
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10692 result
= (wxPyRectangleShape
*)new wxPyRectangleShape(arg1
,arg2
);
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyRectangleShape
, 1);
10704 static PyObject
*_wrap_PyRectangleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10705 PyObject
*resultobj
;
10706 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10707 PyObject
*arg2
= (PyObject
*) 0 ;
10708 PyObject
*arg3
= (PyObject
*) 0 ;
10709 PyObject
* obj0
= 0 ;
10710 PyObject
* obj1
= 0 ;
10711 PyObject
* obj2
= 0 ;
10712 char *kwnames
[] = {
10713 (char *) "self",(char *) "self",(char *) "_class", NULL
10716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10725 wxPyEndAllowThreads(__tstate
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10728 Py_INCREF(Py_None
); resultobj
= Py_None
;
10735 static PyObject
*_wrap_PyRectangleShape_SetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
*resultobj
;
10737 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10739 PyObject
* obj0
= 0 ;
10740 PyObject
* obj1
= 0 ;
10741 char *kwnames
[] = {
10742 (char *) "self",(char *) "radius", NULL
10745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_SetCornerRadius",kwnames
,&obj0
,&obj1
)) goto fail
;
10746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10748 arg2
= (double) SWIG_AsDouble(obj1
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10752 (arg1
)->SetCornerRadius(arg2
);
10754 wxPyEndAllowThreads(__tstate
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10757 Py_INCREF(Py_None
); resultobj
= Py_None
;
10764 static PyObject
*_wrap_PyRectangleShape_GetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
*resultobj
;
10766 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10768 PyObject
* obj0
= 0 ;
10769 char *kwnames
[] = {
10770 (char *) "self", NULL
10773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames
,&obj0
)) goto fail
;
10774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 result
= (double)(arg1
)->GetCornerRadius();
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10783 resultobj
= SWIG_FromDouble((double)result
);
10790 static PyObject
*_wrap_PyRectangleShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10791 PyObject
*resultobj
;
10792 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10793 PyObject
* obj0
= 0 ;
10794 char *kwnames
[] = {
10795 (char *) "self", NULL
10798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
10799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 (arg1
)->base_OnDelete();
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10808 Py_INCREF(Py_None
); resultobj
= Py_None
;
10815 static PyObject
*_wrap_PyRectangleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10816 PyObject
*resultobj
;
10817 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10819 PyObject
* obj0
= 0 ;
10820 PyObject
* obj1
= 0 ;
10821 char *kwnames
[] = {
10822 (char *) "self",(char *) "dc", NULL
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
10826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10829 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10831 if (arg2
== NULL
) {
10832 PyErr_SetString(PyExc_TypeError
,"null reference");
10836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10837 (arg1
)->base_OnDraw(*arg2
);
10839 wxPyEndAllowThreads(__tstate
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10842 Py_INCREF(Py_None
); resultobj
= Py_None
;
10849 static PyObject
*_wrap_PyRectangleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
;
10851 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10853 PyObject
* obj0
= 0 ;
10854 PyObject
* obj1
= 0 ;
10855 char *kwnames
[] = {
10856 (char *) "self",(char *) "dc", NULL
10859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10863 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10865 if (arg2
== NULL
) {
10866 PyErr_SetString(PyExc_TypeError
,"null reference");
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 (arg1
)->base_OnDrawContents(*arg2
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10876 Py_INCREF(Py_None
); resultobj
= Py_None
;
10883 static PyObject
*_wrap_PyRectangleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
;
10885 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10887 bool arg3
= (bool) FALSE
;
10888 PyObject
* obj0
= 0 ;
10889 PyObject
* obj1
= 0 ;
10890 PyObject
* obj2
= 0 ;
10891 char *kwnames
[] = {
10892 (char *) "self",(char *) "dc",(char *) "erase", NULL
10895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10899 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10901 if (arg2
== NULL
) {
10902 PyErr_SetString(PyExc_TypeError
,"null reference");
10906 arg3
= (bool) SWIG_AsBool(obj2
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
10913 wxPyEndAllowThreads(__tstate
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10916 Py_INCREF(Py_None
); resultobj
= Py_None
;
10923 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10924 PyObject
*resultobj
;
10925 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10927 PyObject
* obj0
= 0 ;
10928 PyObject
* obj1
= 0 ;
10929 char *kwnames
[] = {
10930 (char *) "self",(char *) "dc", NULL
10933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
10934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10936 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10937 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10939 if (arg2
== NULL
) {
10940 PyErr_SetString(PyExc_TypeError
,"null reference");
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 (arg1
)->base_OnMoveLinks(*arg2
);
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10950 Py_INCREF(Py_None
); resultobj
= Py_None
;
10957 static PyObject
*_wrap_PyRectangleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
;
10959 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10961 PyObject
* obj0
= 0 ;
10962 PyObject
* obj1
= 0 ;
10963 char *kwnames
[] = {
10964 (char *) "self",(char *) "dc", NULL
10967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
10968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10970 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10971 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10973 if (arg2
== NULL
) {
10974 PyErr_SetString(PyExc_TypeError
,"null reference");
10978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 (arg1
)->base_OnErase(*arg2
);
10981 wxPyEndAllowThreads(__tstate
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10984 Py_INCREF(Py_None
); resultobj
= Py_None
;
10991 static PyObject
*_wrap_PyRectangleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
*resultobj
;
10993 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10995 PyObject
* obj0
= 0 ;
10996 PyObject
* obj1
= 0 ;
10997 char *kwnames
[] = {
10998 (char *) "self",(char *) "dc", NULL
11001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
11002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11004 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11005 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11007 if (arg2
== NULL
) {
11008 PyErr_SetString(PyExc_TypeError
,"null reference");
11012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11013 (arg1
)->base_OnEraseContents(*arg2
);
11015 wxPyEndAllowThreads(__tstate
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11018 Py_INCREF(Py_None
); resultobj
= Py_None
;
11025 static PyObject
*_wrap_PyRectangleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11026 PyObject
*resultobj
;
11027 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11029 PyObject
* obj0
= 0 ;
11030 PyObject
* obj1
= 0 ;
11031 char *kwnames
[] = {
11032 (char *) "self",(char *) "dc", NULL
11035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
11036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11038 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11039 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11041 if (arg2
== NULL
) {
11042 PyErr_SetString(PyExc_TypeError
,"null reference");
11046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 (arg1
)->base_OnHighlight(*arg2
);
11049 wxPyEndAllowThreads(__tstate
);
11050 if (PyErr_Occurred()) SWIG_fail
;
11052 Py_INCREF(Py_None
); resultobj
= Py_None
;
11059 static PyObject
*_wrap_PyRectangleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11060 PyObject
*resultobj
;
11061 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11064 int arg4
= (int) 0 ;
11065 int arg5
= (int) 0 ;
11066 PyObject
* obj0
= 0 ;
11067 PyObject
* obj1
= 0 ;
11068 PyObject
* obj2
= 0 ;
11069 PyObject
* obj3
= 0 ;
11070 PyObject
* obj4
= 0 ;
11071 char *kwnames
[] = {
11072 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11078 arg2
= (double) SWIG_AsDouble(obj1
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11080 arg3
= (double) SWIG_AsDouble(obj2
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11083 arg4
= (int) SWIG_AsInt(obj3
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11087 arg5
= (int) SWIG_AsInt(obj4
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11092 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11097 Py_INCREF(Py_None
); resultobj
= Py_None
;
11104 static PyObject
*_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11105 PyObject
*resultobj
;
11106 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11109 int arg4
= (int) 0 ;
11110 int arg5
= (int) 0 ;
11111 PyObject
* obj0
= 0 ;
11112 PyObject
* obj1
= 0 ;
11113 PyObject
* obj2
= 0 ;
11114 PyObject
* obj3
= 0 ;
11115 PyObject
* obj4
= 0 ;
11116 char *kwnames
[] = {
11117 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11123 arg2
= (double) SWIG_AsDouble(obj1
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11125 arg3
= (double) SWIG_AsDouble(obj2
);
11126 if (PyErr_Occurred()) SWIG_fail
;
11128 arg4
= (int) SWIG_AsInt(obj3
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11132 arg5
= (int) SWIG_AsInt(obj4
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11137 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
11139 wxPyEndAllowThreads(__tstate
);
11140 if (PyErr_Occurred()) SWIG_fail
;
11142 Py_INCREF(Py_None
); resultobj
= Py_None
;
11149 static PyObject
*_wrap_PyRectangleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11150 PyObject
*resultobj
;
11151 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11154 int arg4
= (int) 0 ;
11155 int arg5
= (int) 0 ;
11156 PyObject
* obj0
= 0 ;
11157 PyObject
* obj1
= 0 ;
11158 PyObject
* obj2
= 0 ;
11159 PyObject
* obj3
= 0 ;
11160 PyObject
* obj4
= 0 ;
11161 char *kwnames
[] = {
11162 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11168 arg2
= (double) SWIG_AsDouble(obj1
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11170 arg3
= (double) SWIG_AsDouble(obj2
);
11171 if (PyErr_Occurred()) SWIG_fail
;
11173 arg4
= (int) SWIG_AsInt(obj3
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11177 arg5
= (int) SWIG_AsInt(obj4
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11182 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
11184 wxPyEndAllowThreads(__tstate
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11187 Py_INCREF(Py_None
); resultobj
= Py_None
;
11194 static PyObject
*_wrap_PyRectangleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11195 PyObject
*resultobj
;
11196 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11199 PyObject
* obj0
= 0 ;
11200 PyObject
* obj1
= 0 ;
11201 PyObject
* obj2
= 0 ;
11202 char *kwnames
[] = {
11203 (char *) "self",(char *) "x",(char *) "y", NULL
11206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11209 arg2
= (double) SWIG_AsDouble(obj1
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11211 arg3
= (double) SWIG_AsDouble(obj2
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 (arg1
)->base_OnSize(arg2
,arg3
);
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11220 Py_INCREF(Py_None
); resultobj
= Py_None
;
11227 static PyObject
*_wrap_PyRectangleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
*resultobj
;
11229 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11235 bool arg7
= (bool) True
;
11237 PyObject
* obj0
= 0 ;
11238 PyObject
* obj1
= 0 ;
11239 PyObject
* obj2
= 0 ;
11240 PyObject
* obj3
= 0 ;
11241 PyObject
* obj4
= 0 ;
11242 PyObject
* obj5
= 0 ;
11243 PyObject
* obj6
= 0 ;
11244 char *kwnames
[] = {
11245 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11251 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11252 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11254 if (arg2
== NULL
) {
11255 PyErr_SetString(PyExc_TypeError
,"null reference");
11258 arg3
= (double) SWIG_AsDouble(obj2
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11260 arg4
= (double) SWIG_AsDouble(obj3
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11262 arg5
= (double) SWIG_AsDouble(obj4
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11264 arg6
= (double) SWIG_AsDouble(obj5
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11267 arg7
= (bool) SWIG_AsBool(obj6
);
11268 if (PyErr_Occurred()) SWIG_fail
;
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11286 static PyObject
*_wrap_PyRectangleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11287 PyObject
*resultobj
;
11288 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11294 bool arg7
= (bool) True
;
11295 PyObject
* obj0
= 0 ;
11296 PyObject
* obj1
= 0 ;
11297 PyObject
* obj2
= 0 ;
11298 PyObject
* obj3
= 0 ;
11299 PyObject
* obj4
= 0 ;
11300 PyObject
* obj5
= 0 ;
11301 PyObject
* obj6
= 0 ;
11302 char *kwnames
[] = {
11303 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11310 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11312 if (arg2
== NULL
) {
11313 PyErr_SetString(PyExc_TypeError
,"null reference");
11316 arg3
= (double) SWIG_AsDouble(obj2
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11318 arg4
= (double) SWIG_AsDouble(obj3
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11320 arg5
= (double) SWIG_AsDouble(obj4
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11322 arg6
= (double) SWIG_AsDouble(obj5
);
11323 if (PyErr_Occurred()) SWIG_fail
;
11325 arg7
= (bool) SWIG_AsBool(obj6
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11330 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11332 wxPyEndAllowThreads(__tstate
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11335 Py_INCREF(Py_None
); resultobj
= Py_None
;
11342 static PyObject
*_wrap_PyRectangleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11343 PyObject
*resultobj
;
11344 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11348 int arg5
= (int) 0 ;
11349 int arg6
= (int) 0 ;
11350 PyObject
* obj0
= 0 ;
11351 PyObject
* obj1
= 0 ;
11352 PyObject
* obj2
= 0 ;
11353 PyObject
* obj3
= 0 ;
11354 PyObject
* obj4
= 0 ;
11355 PyObject
* obj5
= 0 ;
11356 char *kwnames
[] = {
11357 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11363 arg2
= (bool) SWIG_AsBool(obj1
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11365 arg3
= (double) SWIG_AsDouble(obj2
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11367 arg4
= (double) SWIG_AsDouble(obj3
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11370 arg5
= (int) SWIG_AsInt(obj4
);
11371 if (PyErr_Occurred()) SWIG_fail
;
11374 arg6
= (int) SWIG_AsInt(obj5
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11379 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11384 Py_INCREF(Py_None
); resultobj
= Py_None
;
11391 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11392 PyObject
*resultobj
;
11393 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11396 int arg4
= (int) 0 ;
11397 int arg5
= (int) 0 ;
11398 PyObject
* obj0
= 0 ;
11399 PyObject
* obj1
= 0 ;
11400 PyObject
* obj2
= 0 ;
11401 PyObject
* obj3
= 0 ;
11402 PyObject
* obj4
= 0 ;
11403 char *kwnames
[] = {
11404 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11410 arg2
= (double) SWIG_AsDouble(obj1
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11412 arg3
= (double) SWIG_AsDouble(obj2
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11415 arg4
= (int) SWIG_AsInt(obj3
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11419 arg5
= (int) SWIG_AsInt(obj4
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11424 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
11426 wxPyEndAllowThreads(__tstate
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11429 Py_INCREF(Py_None
); resultobj
= Py_None
;
11436 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11437 PyObject
*resultobj
;
11438 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11441 int arg4
= (int) 0 ;
11442 int arg5
= (int) 0 ;
11443 PyObject
* obj0
= 0 ;
11444 PyObject
* obj1
= 0 ;
11445 PyObject
* obj2
= 0 ;
11446 PyObject
* obj3
= 0 ;
11447 PyObject
* obj4
= 0 ;
11448 char *kwnames
[] = {
11449 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11455 arg2
= (double) SWIG_AsDouble(obj1
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11457 arg3
= (double) SWIG_AsDouble(obj2
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11460 arg4
= (int) SWIG_AsInt(obj3
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11464 arg5
= (int) SWIG_AsInt(obj4
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11469 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
11471 wxPyEndAllowThreads(__tstate
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11474 Py_INCREF(Py_None
); resultobj
= Py_None
;
11481 static PyObject
*_wrap_PyRectangleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11482 PyObject
*resultobj
;
11483 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11487 int arg5
= (int) 0 ;
11488 int arg6
= (int) 0 ;
11489 PyObject
* obj0
= 0 ;
11490 PyObject
* obj1
= 0 ;
11491 PyObject
* obj2
= 0 ;
11492 PyObject
* obj3
= 0 ;
11493 PyObject
* obj4
= 0 ;
11494 PyObject
* obj5
= 0 ;
11495 char *kwnames
[] = {
11496 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11502 arg2
= (bool) SWIG_AsBool(obj1
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11504 arg3
= (double) SWIG_AsDouble(obj2
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11506 arg4
= (double) SWIG_AsDouble(obj3
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11509 arg5
= (int) SWIG_AsInt(obj4
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11513 arg6
= (int) SWIG_AsInt(obj5
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 Py_INCREF(Py_None
); resultobj
= Py_None
;
11530 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11532 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11535 int arg4
= (int) 0 ;
11536 int arg5
= (int) 0 ;
11537 PyObject
* obj0
= 0 ;
11538 PyObject
* obj1
= 0 ;
11539 PyObject
* obj2
= 0 ;
11540 PyObject
* obj3
= 0 ;
11541 PyObject
* obj4
= 0 ;
11542 char *kwnames
[] = {
11543 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11549 arg2
= (double) SWIG_AsDouble(obj1
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11551 arg3
= (double) SWIG_AsDouble(obj2
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11554 arg4
= (int) SWIG_AsInt(obj3
);
11555 if (PyErr_Occurred()) SWIG_fail
;
11558 arg5
= (int) SWIG_AsInt(obj4
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11563 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
11565 wxPyEndAllowThreads(__tstate
);
11566 if (PyErr_Occurred()) SWIG_fail
;
11568 Py_INCREF(Py_None
); resultobj
= Py_None
;
11575 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11576 PyObject
*resultobj
;
11577 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11580 int arg4
= (int) 0 ;
11581 int arg5
= (int) 0 ;
11582 PyObject
* obj0
= 0 ;
11583 PyObject
* obj1
= 0 ;
11584 PyObject
* obj2
= 0 ;
11585 PyObject
* obj3
= 0 ;
11586 PyObject
* obj4
= 0 ;
11587 char *kwnames
[] = {
11588 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11594 arg2
= (double) SWIG_AsDouble(obj1
);
11595 if (PyErr_Occurred()) SWIG_fail
;
11596 arg3
= (double) SWIG_AsDouble(obj2
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11599 arg4
= (int) SWIG_AsInt(obj3
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11603 arg5
= (int) SWIG_AsInt(obj4
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11608 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
11610 wxPyEndAllowThreads(__tstate
);
11611 if (PyErr_Occurred()) SWIG_fail
;
11613 Py_INCREF(Py_None
); resultobj
= Py_None
;
11620 static PyObject
*_wrap_PyRectangleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11621 PyObject
*resultobj
;
11622 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11628 PyObject
* obj0
= 0 ;
11629 PyObject
* obj1
= 0 ;
11630 PyObject
* obj2
= 0 ;
11631 PyObject
* obj3
= 0 ;
11632 PyObject
* obj4
= 0 ;
11633 PyObject
* obj5
= 0 ;
11634 char *kwnames
[] = {
11635 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyRectangleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11642 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11644 if (arg2
== NULL
) {
11645 PyErr_SetString(PyExc_TypeError
,"null reference");
11648 arg3
= (double) SWIG_AsDouble(obj2
);
11649 if (PyErr_Occurred()) SWIG_fail
;
11650 arg4
= (double) SWIG_AsDouble(obj3
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11652 arg5
= (double) SWIG_AsDouble(obj4
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11654 arg6
= (double) SWIG_AsDouble(obj5
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11658 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 Py_INCREF(Py_None
); resultobj
= Py_None
;
11670 static PyObject
*_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11671 PyObject
*resultobj
;
11672 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11674 PyObject
* obj0
= 0 ;
11675 PyObject
* obj1
= 0 ;
11676 char *kwnames
[] = {
11677 (char *) "self",(char *) "dc", NULL
11680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11684 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11686 if (arg2
== NULL
) {
11687 PyErr_SetString(PyExc_TypeError
,"null reference");
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 (arg1
)->base_OnDrawControlPoints(*arg2
);
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11697 Py_INCREF(Py_None
); resultobj
= Py_None
;
11704 static PyObject
*_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11705 PyObject
*resultobj
;
11706 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11708 PyObject
* obj0
= 0 ;
11709 PyObject
* obj1
= 0 ;
11710 char *kwnames
[] = {
11711 (char *) "self",(char *) "dc", NULL
11714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11720 if (arg2
== NULL
) {
11721 PyErr_SetString(PyExc_TypeError
,"null reference");
11725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11726 (arg1
)->base_OnEraseControlPoints(*arg2
);
11728 wxPyEndAllowThreads(__tstate
);
11729 if (PyErr_Occurred()) SWIG_fail
;
11731 Py_INCREF(Py_None
); resultobj
= Py_None
;
11738 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11739 PyObject
*resultobj
;
11740 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11742 bool arg3
= (bool) True
;
11743 PyObject
* obj0
= 0 ;
11744 PyObject
* obj1
= 0 ;
11745 PyObject
* obj2
= 0 ;
11746 char *kwnames
[] = {
11747 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11756 if (arg2
== NULL
) {
11757 PyErr_SetString(PyExc_TypeError
,"null reference");
11761 arg3
= (bool) SWIG_AsBool(obj2
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11766 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
11768 wxPyEndAllowThreads(__tstate
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11771 Py_INCREF(Py_None
); resultobj
= Py_None
;
11778 static PyObject
*_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11779 PyObject
*resultobj
;
11780 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11781 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11785 int arg6
= (int) 0 ;
11786 int arg7
= (int) 0 ;
11787 PyObject
* obj0
= 0 ;
11788 PyObject
* obj1
= 0 ;
11789 PyObject
* obj2
= 0 ;
11790 PyObject
* obj3
= 0 ;
11791 PyObject
* obj4
= 0 ;
11792 PyObject
* obj5
= 0 ;
11793 PyObject
* obj6
= 0 ;
11794 char *kwnames
[] = {
11795 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyRectangleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11803 arg3
= (bool) SWIG_AsBool(obj2
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11805 arg4
= (double) SWIG_AsDouble(obj3
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11807 arg5
= (double) SWIG_AsDouble(obj4
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11810 arg6
= (int) SWIG_AsInt(obj5
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11814 arg7
= (int) SWIG_AsInt(obj6
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11819 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11821 wxPyEndAllowThreads(__tstate
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11824 Py_INCREF(Py_None
); resultobj
= Py_None
;
11831 static PyObject
*_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11832 PyObject
*resultobj
;
11833 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11834 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11837 int arg5
= (int) 0 ;
11838 int arg6
= (int) 0 ;
11839 PyObject
* obj0
= 0 ;
11840 PyObject
* obj1
= 0 ;
11841 PyObject
* obj2
= 0 ;
11842 PyObject
* obj3
= 0 ;
11843 PyObject
* obj4
= 0 ;
11844 PyObject
* obj5
= 0 ;
11845 char *kwnames
[] = {
11846 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11854 arg3
= (double) SWIG_AsDouble(obj2
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11856 arg4
= (double) SWIG_AsDouble(obj3
);
11857 if (PyErr_Occurred()) SWIG_fail
;
11859 arg5
= (int) SWIG_AsInt(obj4
);
11860 if (PyErr_Occurred()) SWIG_fail
;
11863 arg6
= (int) SWIG_AsInt(obj5
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11870 wxPyEndAllowThreads(__tstate
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11873 Py_INCREF(Py_None
); resultobj
= Py_None
;
11880 static PyObject
*_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11881 PyObject
*resultobj
;
11882 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11883 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11886 int arg5
= (int) 0 ;
11887 int arg6
= (int) 0 ;
11888 PyObject
* obj0
= 0 ;
11889 PyObject
* obj1
= 0 ;
11890 PyObject
* obj2
= 0 ;
11891 PyObject
* obj3
= 0 ;
11892 PyObject
* obj4
= 0 ;
11893 PyObject
* obj5
= 0 ;
11894 char *kwnames
[] = {
11895 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11901 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11903 arg3
= (double) SWIG_AsDouble(obj2
);
11904 if (PyErr_Occurred()) SWIG_fail
;
11905 arg4
= (double) SWIG_AsDouble(obj3
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11908 arg5
= (int) SWIG_AsInt(obj4
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11912 arg6
= (int) SWIG_AsInt(obj5
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11917 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11919 wxPyEndAllowThreads(__tstate
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11922 Py_INCREF(Py_None
); resultobj
= Py_None
;
11929 static PyObject
*_wrap_PyRectangleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11930 PyObject
*resultobj
;
11931 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11934 PyObject
* obj0
= 0 ;
11935 PyObject
* obj1
= 0 ;
11936 PyObject
* obj2
= 0 ;
11937 char *kwnames
[] = {
11938 (char *) "self",(char *) "w",(char *) "h", NULL
11941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11944 arg2
= (double) SWIG_AsDouble(obj1
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11946 arg3
= (double) SWIG_AsDouble(obj2
);
11947 if (PyErr_Occurred()) SWIG_fail
;
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 (arg1
)->base_OnBeginSize(arg2
,arg3
);
11952 wxPyEndAllowThreads(__tstate
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11955 Py_INCREF(Py_None
); resultobj
= Py_None
;
11962 static PyObject
*_wrap_PyRectangleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11963 PyObject
*resultobj
;
11964 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11967 PyObject
* obj0
= 0 ;
11968 PyObject
* obj1
= 0 ;
11969 PyObject
* obj2
= 0 ;
11970 char *kwnames
[] = {
11971 (char *) "self",(char *) "w",(char *) "h", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11977 arg2
= (double) SWIG_AsDouble(obj1
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11979 arg3
= (double) SWIG_AsDouble(obj2
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11983 (arg1
)->base_OnEndSize(arg2
,arg3
);
11985 wxPyEndAllowThreads(__tstate
);
11986 if (PyErr_Occurred()) SWIG_fail
;
11988 Py_INCREF(Py_None
); resultobj
= Py_None
;
11995 static PyObject
* PyRectangleShape_swigregister(PyObject
*self
, PyObject
*args
) {
11997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11998 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape
, obj
);
12000 return Py_BuildValue((char *)"");
12002 static PyObject
*_wrap_new_PyControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12003 PyObject
*resultobj
;
12004 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
12005 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
12006 double arg3
= (double) 0.0 ;
12007 double arg4
= (double) 0.0 ;
12008 double arg5
= (double) 0.0 ;
12009 int arg6
= (int) 0 ;
12010 wxPyControlPoint
*result
;
12011 PyObject
* obj0
= 0 ;
12012 PyObject
* obj1
= 0 ;
12013 PyObject
* obj2
= 0 ;
12014 PyObject
* obj3
= 0 ;
12015 PyObject
* obj4
= 0 ;
12016 PyObject
* obj5
= 0 ;
12017 char *kwnames
[] = {
12018 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
12021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_PyControlPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
12024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
12028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12031 arg3
= (double) SWIG_AsDouble(obj2
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12035 arg4
= (double) SWIG_AsDouble(obj3
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12039 arg5
= (double) SWIG_AsDouble(obj4
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12043 arg6
= (int) SWIG_AsInt(obj5
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 result
= (wxPyControlPoint
*)new wxPyControlPoint(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControlPoint
, 1);
12060 static PyObject
*_wrap_PyControlPoint__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
;
12062 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12063 PyObject
*arg2
= (PyObject
*) 0 ;
12064 PyObject
*arg3
= (PyObject
*) 0 ;
12065 PyObject
* obj0
= 0 ;
12066 PyObject
* obj1
= 0 ;
12067 PyObject
* obj2
= 0 ;
12068 char *kwnames
[] = {
12069 (char *) "self",(char *) "self",(char *) "_class", NULL
12072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12079 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12084 Py_INCREF(Py_None
); resultobj
= Py_None
;
12091 static PyObject
*_wrap_PyControlPoint_SetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12092 PyObject
*resultobj
;
12093 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12095 PyObject
* obj0
= 0 ;
12096 PyObject
* obj1
= 0 ;
12097 char *kwnames
[] = {
12098 (char *) "self",(char *) "radius", NULL
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_SetCornerRadius",kwnames
,&obj0
,&obj1
)) goto fail
;
12102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12104 arg2
= (double) SWIG_AsDouble(obj1
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 (arg1
)->SetCornerRadius(arg2
);
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12113 Py_INCREF(Py_None
); resultobj
= Py_None
;
12120 static PyObject
*_wrap_PyControlPoint_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12121 PyObject
*resultobj
;
12122 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12123 PyObject
* obj0
= 0 ;
12124 char *kwnames
[] = {
12125 (char *) "self", NULL
12128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControlPoint_base_OnDelete",kwnames
,&obj0
)) goto fail
;
12129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12133 (arg1
)->base_OnDelete();
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12138 Py_INCREF(Py_None
); resultobj
= Py_None
;
12145 static PyObject
*_wrap_PyControlPoint_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12146 PyObject
*resultobj
;
12147 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12149 PyObject
* obj0
= 0 ;
12150 PyObject
* obj1
= 0 ;
12151 char *kwnames
[] = {
12152 (char *) "self",(char *) "dc", NULL
12155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
12156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12159 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12161 if (arg2
== NULL
) {
12162 PyErr_SetString(PyExc_TypeError
,"null reference");
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 (arg1
)->base_OnDraw(*arg2
);
12169 wxPyEndAllowThreads(__tstate
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12172 Py_INCREF(Py_None
); resultobj
= Py_None
;
12179 static PyObject
*_wrap_PyControlPoint_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12180 PyObject
*resultobj
;
12181 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12183 PyObject
* obj0
= 0 ;
12184 PyObject
* obj1
= 0 ;
12185 char *kwnames
[] = {
12186 (char *) "self",(char *) "dc", NULL
12189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12193 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12195 if (arg2
== NULL
) {
12196 PyErr_SetString(PyExc_TypeError
,"null reference");
12200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12201 (arg1
)->base_OnDrawContents(*arg2
);
12203 wxPyEndAllowThreads(__tstate
);
12204 if (PyErr_Occurred()) SWIG_fail
;
12206 Py_INCREF(Py_None
); resultobj
= Py_None
;
12213 static PyObject
*_wrap_PyControlPoint_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12214 PyObject
*resultobj
;
12215 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12217 bool arg3
= (bool) FALSE
;
12218 PyObject
* obj0
= 0 ;
12219 PyObject
* obj1
= 0 ;
12220 PyObject
* obj2
= 0 ;
12221 char *kwnames
[] = {
12222 (char *) "self",(char *) "dc",(char *) "erase", NULL
12225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12228 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12231 if (arg2
== NULL
) {
12232 PyErr_SetString(PyExc_TypeError
,"null reference");
12236 arg3
= (bool) SWIG_AsBool(obj2
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12241 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
12243 wxPyEndAllowThreads(__tstate
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12246 Py_INCREF(Py_None
); resultobj
= Py_None
;
12253 static PyObject
*_wrap_PyControlPoint_base_OnMoveLinks(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_OnMoveLinks",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_OnMoveLinks(*arg2
);
12277 wxPyEndAllowThreads(__tstate
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12280 Py_INCREF(Py_None
); resultobj
= Py_None
;
12287 static PyObject
*_wrap_PyControlPoint_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12288 PyObject
*resultobj
;
12289 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12291 PyObject
* obj0
= 0 ;
12292 PyObject
* obj1
= 0 ;
12293 char *kwnames
[] = {
12294 (char *) "self",(char *) "dc", NULL
12297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
12298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12301 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12303 if (arg2
== NULL
) {
12304 PyErr_SetString(PyExc_TypeError
,"null reference");
12308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12309 (arg1
)->base_OnErase(*arg2
);
12311 wxPyEndAllowThreads(__tstate
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12314 Py_INCREF(Py_None
); resultobj
= Py_None
;
12321 static PyObject
*_wrap_PyControlPoint_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
;
12323 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12325 PyObject
* obj0
= 0 ;
12326 PyObject
* obj1
= 0 ;
12327 char *kwnames
[] = {
12328 (char *) "self",(char *) "dc", NULL
12331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12335 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12337 if (arg2
== NULL
) {
12338 PyErr_SetString(PyExc_TypeError
,"null reference");
12342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12343 (arg1
)->base_OnEraseContents(*arg2
);
12345 wxPyEndAllowThreads(__tstate
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12348 Py_INCREF(Py_None
); resultobj
= Py_None
;
12355 static PyObject
*_wrap_PyControlPoint_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12356 PyObject
*resultobj
;
12357 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12359 PyObject
* obj0
= 0 ;
12360 PyObject
* obj1
= 0 ;
12361 char *kwnames
[] = {
12362 (char *) "self",(char *) "dc", NULL
12365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
12366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12368 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12369 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12371 if (arg2
== NULL
) {
12372 PyErr_SetString(PyExc_TypeError
,"null reference");
12376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12377 (arg1
)->base_OnHighlight(*arg2
);
12379 wxPyEndAllowThreads(__tstate
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12382 Py_INCREF(Py_None
); resultobj
= Py_None
;
12389 static PyObject
*_wrap_PyControlPoint_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12390 PyObject
*resultobj
;
12391 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12394 int arg4
= (int) 0 ;
12395 int arg5
= (int) 0 ;
12396 PyObject
* obj0
= 0 ;
12397 PyObject
* obj1
= 0 ;
12398 PyObject
* obj2
= 0 ;
12399 PyObject
* obj3
= 0 ;
12400 PyObject
* obj4
= 0 ;
12401 char *kwnames
[] = {
12402 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12408 arg2
= (double) SWIG_AsDouble(obj1
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12410 arg3
= (double) SWIG_AsDouble(obj2
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12413 arg4
= (int) SWIG_AsInt(obj3
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12417 arg5
= (int) SWIG_AsInt(obj4
);
12418 if (PyErr_Occurred()) SWIG_fail
;
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
12424 wxPyEndAllowThreads(__tstate
);
12425 if (PyErr_Occurred()) SWIG_fail
;
12427 Py_INCREF(Py_None
); resultobj
= Py_None
;
12434 static PyObject
*_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12435 PyObject
*resultobj
;
12436 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12439 int arg4
= (int) 0 ;
12440 int arg5
= (int) 0 ;
12441 PyObject
* obj0
= 0 ;
12442 PyObject
* obj1
= 0 ;
12443 PyObject
* obj2
= 0 ;
12444 PyObject
* obj3
= 0 ;
12445 PyObject
* obj4
= 0 ;
12446 char *kwnames
[] = {
12447 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12453 arg2
= (double) SWIG_AsDouble(obj1
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12455 arg3
= (double) SWIG_AsDouble(obj2
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 arg4
= (int) SWIG_AsInt(obj3
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12462 arg5
= (int) SWIG_AsInt(obj4
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12467 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
12469 wxPyEndAllowThreads(__tstate
);
12470 if (PyErr_Occurred()) SWIG_fail
;
12472 Py_INCREF(Py_None
); resultobj
= Py_None
;
12479 static PyObject
*_wrap_PyControlPoint_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12480 PyObject
*resultobj
;
12481 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12484 int arg4
= (int) 0 ;
12485 int arg5
= (int) 0 ;
12486 PyObject
* obj0
= 0 ;
12487 PyObject
* obj1
= 0 ;
12488 PyObject
* obj2
= 0 ;
12489 PyObject
* obj3
= 0 ;
12490 PyObject
* obj4
= 0 ;
12491 char *kwnames
[] = {
12492 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12498 arg2
= (double) SWIG_AsDouble(obj1
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12500 arg3
= (double) SWIG_AsDouble(obj2
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 arg4
= (int) SWIG_AsInt(obj3
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12507 arg5
= (int) SWIG_AsInt(obj4
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
12514 wxPyEndAllowThreads(__tstate
);
12515 if (PyErr_Occurred()) SWIG_fail
;
12517 Py_INCREF(Py_None
); resultobj
= Py_None
;
12524 static PyObject
*_wrap_PyControlPoint_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12525 PyObject
*resultobj
;
12526 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12529 PyObject
* obj0
= 0 ;
12530 PyObject
* obj1
= 0 ;
12531 PyObject
* obj2
= 0 ;
12532 char *kwnames
[] = {
12533 (char *) "self",(char *) "x",(char *) "y", NULL
12536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12539 arg2
= (double) SWIG_AsDouble(obj1
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12541 arg3
= (double) SWIG_AsDouble(obj2
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12545 (arg1
)->base_OnSize(arg2
,arg3
);
12547 wxPyEndAllowThreads(__tstate
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12550 Py_INCREF(Py_None
); resultobj
= Py_None
;
12557 static PyObject
*_wrap_PyControlPoint_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12558 PyObject
*resultobj
;
12559 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12565 bool arg7
= (bool) True
;
12567 PyObject
* obj0
= 0 ;
12568 PyObject
* obj1
= 0 ;
12569 PyObject
* obj2
= 0 ;
12570 PyObject
* obj3
= 0 ;
12571 PyObject
* obj4
= 0 ;
12572 PyObject
* obj5
= 0 ;
12573 PyObject
* obj6
= 0 ;
12574 char *kwnames
[] = {
12575 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12584 if (arg2
== NULL
) {
12585 PyErr_SetString(PyExc_TypeError
,"null reference");
12588 arg3
= (double) SWIG_AsDouble(obj2
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12590 arg4
= (double) SWIG_AsDouble(obj3
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12592 arg5
= (double) SWIG_AsDouble(obj4
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12594 arg6
= (double) SWIG_AsDouble(obj5
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 arg7
= (bool) SWIG_AsBool(obj6
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12616 static PyObject
*_wrap_PyControlPoint_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12617 PyObject
*resultobj
;
12618 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12624 bool arg7
= (bool) True
;
12625 PyObject
* obj0
= 0 ;
12626 PyObject
* obj1
= 0 ;
12627 PyObject
* obj2
= 0 ;
12628 PyObject
* obj3
= 0 ;
12629 PyObject
* obj4
= 0 ;
12630 PyObject
* obj5
= 0 ;
12631 PyObject
* obj6
= 0 ;
12632 char *kwnames
[] = {
12633 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12640 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12642 if (arg2
== NULL
) {
12643 PyErr_SetString(PyExc_TypeError
,"null reference");
12646 arg3
= (double) SWIG_AsDouble(obj2
);
12647 if (PyErr_Occurred()) SWIG_fail
;
12648 arg4
= (double) SWIG_AsDouble(obj3
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12650 arg5
= (double) SWIG_AsDouble(obj4
);
12651 if (PyErr_Occurred()) SWIG_fail
;
12652 arg6
= (double) SWIG_AsDouble(obj5
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12655 arg7
= (bool) SWIG_AsBool(obj6
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12665 Py_INCREF(Py_None
); resultobj
= Py_None
;
12672 static PyObject
*_wrap_PyControlPoint_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
*resultobj
;
12674 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12678 int arg5
= (int) 0 ;
12679 int arg6
= (int) 0 ;
12680 PyObject
* obj0
= 0 ;
12681 PyObject
* obj1
= 0 ;
12682 PyObject
* obj2
= 0 ;
12683 PyObject
* obj3
= 0 ;
12684 PyObject
* obj4
= 0 ;
12685 PyObject
* obj5
= 0 ;
12686 char *kwnames
[] = {
12687 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12693 arg2
= (bool) SWIG_AsBool(obj1
);
12694 if (PyErr_Occurred()) SWIG_fail
;
12695 arg3
= (double) SWIG_AsDouble(obj2
);
12696 if (PyErr_Occurred()) SWIG_fail
;
12697 arg4
= (double) SWIG_AsDouble(obj3
);
12698 if (PyErr_Occurred()) SWIG_fail
;
12700 arg5
= (int) SWIG_AsInt(obj4
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12704 arg6
= (int) SWIG_AsInt(obj5
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12709 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
12711 wxPyEndAllowThreads(__tstate
);
12712 if (PyErr_Occurred()) SWIG_fail
;
12714 Py_INCREF(Py_None
); resultobj
= Py_None
;
12721 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12722 PyObject
*resultobj
;
12723 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12726 int arg4
= (int) 0 ;
12727 int arg5
= (int) 0 ;
12728 PyObject
* obj0
= 0 ;
12729 PyObject
* obj1
= 0 ;
12730 PyObject
* obj2
= 0 ;
12731 PyObject
* obj3
= 0 ;
12732 PyObject
* obj4
= 0 ;
12733 char *kwnames
[] = {
12734 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12740 arg2
= (double) SWIG_AsDouble(obj1
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12742 arg3
= (double) SWIG_AsDouble(obj2
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12745 arg4
= (int) SWIG_AsInt(obj3
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12749 arg5
= (int) SWIG_AsInt(obj4
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12754 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
12756 wxPyEndAllowThreads(__tstate
);
12757 if (PyErr_Occurred()) SWIG_fail
;
12759 Py_INCREF(Py_None
); resultobj
= Py_None
;
12766 static PyObject
*_wrap_PyControlPoint_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12767 PyObject
*resultobj
;
12768 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12771 int arg4
= (int) 0 ;
12772 int arg5
= (int) 0 ;
12773 PyObject
* obj0
= 0 ;
12774 PyObject
* obj1
= 0 ;
12775 PyObject
* obj2
= 0 ;
12776 PyObject
* obj3
= 0 ;
12777 PyObject
* obj4
= 0 ;
12778 char *kwnames
[] = {
12779 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12785 arg2
= (double) SWIG_AsDouble(obj1
);
12786 if (PyErr_Occurred()) SWIG_fail
;
12787 arg3
= (double) SWIG_AsDouble(obj2
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12790 arg4
= (int) SWIG_AsInt(obj3
);
12791 if (PyErr_Occurred()) SWIG_fail
;
12794 arg5
= (int) SWIG_AsInt(obj4
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12799 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
12801 wxPyEndAllowThreads(__tstate
);
12802 if (PyErr_Occurred()) SWIG_fail
;
12804 Py_INCREF(Py_None
); resultobj
= Py_None
;
12811 static PyObject
*_wrap_PyControlPoint_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12812 PyObject
*resultobj
;
12813 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12817 int arg5
= (int) 0 ;
12818 int arg6
= (int) 0 ;
12819 PyObject
* obj0
= 0 ;
12820 PyObject
* obj1
= 0 ;
12821 PyObject
* obj2
= 0 ;
12822 PyObject
* obj3
= 0 ;
12823 PyObject
* obj4
= 0 ;
12824 PyObject
* obj5
= 0 ;
12825 char *kwnames
[] = {
12826 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12832 arg2
= (bool) SWIG_AsBool(obj1
);
12833 if (PyErr_Occurred()) SWIG_fail
;
12834 arg3
= (double) SWIG_AsDouble(obj2
);
12835 if (PyErr_Occurred()) SWIG_fail
;
12836 arg4
= (double) SWIG_AsDouble(obj3
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12839 arg5
= (int) SWIG_AsInt(obj4
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12843 arg6
= (int) SWIG_AsInt(obj5
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12848 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
12850 wxPyEndAllowThreads(__tstate
);
12851 if (PyErr_Occurred()) SWIG_fail
;
12853 Py_INCREF(Py_None
); resultobj
= Py_None
;
12860 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
;
12862 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12865 int arg4
= (int) 0 ;
12866 int arg5
= (int) 0 ;
12867 PyObject
* obj0
= 0 ;
12868 PyObject
* obj1
= 0 ;
12869 PyObject
* obj2
= 0 ;
12870 PyObject
* obj3
= 0 ;
12871 PyObject
* obj4
= 0 ;
12872 char *kwnames
[] = {
12873 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12879 arg2
= (double) SWIG_AsDouble(obj1
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12881 arg3
= (double) SWIG_AsDouble(obj2
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 arg4
= (int) SWIG_AsInt(obj3
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12888 arg5
= (int) SWIG_AsInt(obj4
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12898 Py_INCREF(Py_None
); resultobj
= Py_None
;
12905 static PyObject
*_wrap_PyControlPoint_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12906 PyObject
*resultobj
;
12907 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12910 int arg4
= (int) 0 ;
12911 int arg5
= (int) 0 ;
12912 PyObject
* obj0
= 0 ;
12913 PyObject
* obj1
= 0 ;
12914 PyObject
* obj2
= 0 ;
12915 PyObject
* obj3
= 0 ;
12916 PyObject
* obj4
= 0 ;
12917 char *kwnames
[] = {
12918 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12924 arg2
= (double) SWIG_AsDouble(obj1
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12926 arg3
= (double) SWIG_AsDouble(obj2
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12929 arg4
= (int) SWIG_AsInt(obj3
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12933 arg5
= (int) SWIG_AsInt(obj4
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12938 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
12940 wxPyEndAllowThreads(__tstate
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12943 Py_INCREF(Py_None
); resultobj
= Py_None
;
12950 static PyObject
*_wrap_PyControlPoint_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12951 PyObject
*resultobj
;
12952 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12958 PyObject
* obj0
= 0 ;
12959 PyObject
* obj1
= 0 ;
12960 PyObject
* obj2
= 0 ;
12961 PyObject
* obj3
= 0 ;
12962 PyObject
* obj4
= 0 ;
12963 PyObject
* obj5
= 0 ;
12964 char *kwnames
[] = {
12965 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
12968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyControlPoint_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12971 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12972 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12974 if (arg2
== NULL
) {
12975 PyErr_SetString(PyExc_TypeError
,"null reference");
12978 arg3
= (double) SWIG_AsDouble(obj2
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12980 arg4
= (double) SWIG_AsDouble(obj3
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12982 arg5
= (double) SWIG_AsDouble(obj4
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12984 arg6
= (double) SWIG_AsDouble(obj5
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12988 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
12990 wxPyEndAllowThreads(__tstate
);
12991 if (PyErr_Occurred()) SWIG_fail
;
12993 Py_INCREF(Py_None
); resultobj
= Py_None
;
13000 static PyObject
*_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13001 PyObject
*resultobj
;
13002 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13004 PyObject
* obj0
= 0 ;
13005 PyObject
* obj1
= 0 ;
13006 char *kwnames
[] = {
13007 (char *) "self",(char *) "dc", NULL
13010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13016 if (arg2
== NULL
) {
13017 PyErr_SetString(PyExc_TypeError
,"null reference");
13021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13022 (arg1
)->base_OnDrawControlPoints(*arg2
);
13024 wxPyEndAllowThreads(__tstate
);
13025 if (PyErr_Occurred()) SWIG_fail
;
13027 Py_INCREF(Py_None
); resultobj
= Py_None
;
13034 static PyObject
*_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13035 PyObject
*resultobj
;
13036 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13038 PyObject
* obj0
= 0 ;
13039 PyObject
* obj1
= 0 ;
13040 char *kwnames
[] = {
13041 (char *) "self",(char *) "dc", NULL
13044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13048 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13050 if (arg2
== NULL
) {
13051 PyErr_SetString(PyExc_TypeError
,"null reference");
13055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13056 (arg1
)->base_OnEraseControlPoints(*arg2
);
13058 wxPyEndAllowThreads(__tstate
);
13059 if (PyErr_Occurred()) SWIG_fail
;
13061 Py_INCREF(Py_None
); resultobj
= Py_None
;
13068 static PyObject
*_wrap_PyControlPoint_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13069 PyObject
*resultobj
;
13070 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13072 bool arg3
= (bool) True
;
13073 PyObject
* obj0
= 0 ;
13074 PyObject
* obj1
= 0 ;
13075 PyObject
* obj2
= 0 ;
13076 char *kwnames
[] = {
13077 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13084 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13086 if (arg2
== NULL
) {
13087 PyErr_SetString(PyExc_TypeError
,"null reference");
13091 arg3
= (bool) SWIG_AsBool(obj2
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13101 Py_INCREF(Py_None
); resultobj
= Py_None
;
13108 static PyObject
*_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13109 PyObject
*resultobj
;
13110 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13111 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13115 int arg6
= (int) 0 ;
13116 int arg7
= (int) 0 ;
13117 PyObject
* obj0
= 0 ;
13118 PyObject
* obj1
= 0 ;
13119 PyObject
* obj2
= 0 ;
13120 PyObject
* obj3
= 0 ;
13121 PyObject
* obj4
= 0 ;
13122 PyObject
* obj5
= 0 ;
13123 PyObject
* obj6
= 0 ;
13124 char *kwnames
[] = {
13125 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyControlPoint_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13131 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13133 arg3
= (bool) SWIG_AsBool(obj2
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13135 arg4
= (double) SWIG_AsDouble(obj3
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13137 arg5
= (double) SWIG_AsDouble(obj4
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13140 arg6
= (int) SWIG_AsInt(obj5
);
13141 if (PyErr_Occurred()) SWIG_fail
;
13144 arg7
= (int) SWIG_AsInt(obj6
);
13145 if (PyErr_Occurred()) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13154 Py_INCREF(Py_None
); resultobj
= Py_None
;
13161 static PyObject
*_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13162 PyObject
*resultobj
;
13163 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13164 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13167 int arg5
= (int) 0 ;
13168 int arg6
= (int) 0 ;
13169 PyObject
* obj0
= 0 ;
13170 PyObject
* obj1
= 0 ;
13171 PyObject
* obj2
= 0 ;
13172 PyObject
* obj3
= 0 ;
13173 PyObject
* obj4
= 0 ;
13174 PyObject
* obj5
= 0 ;
13175 char *kwnames
[] = {
13176 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13184 arg3
= (double) SWIG_AsDouble(obj2
);
13185 if (PyErr_Occurred()) SWIG_fail
;
13186 arg4
= (double) SWIG_AsDouble(obj3
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13189 arg5
= (int) SWIG_AsInt(obj4
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13193 arg6
= (int) SWIG_AsInt(obj5
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13198 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13200 wxPyEndAllowThreads(__tstate
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13203 Py_INCREF(Py_None
); resultobj
= Py_None
;
13210 static PyObject
*_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13211 PyObject
*resultobj
;
13212 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13213 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13216 int arg5
= (int) 0 ;
13217 int arg6
= (int) 0 ;
13218 PyObject
* obj0
= 0 ;
13219 PyObject
* obj1
= 0 ;
13220 PyObject
* obj2
= 0 ;
13221 PyObject
* obj3
= 0 ;
13222 PyObject
* obj4
= 0 ;
13223 PyObject
* obj5
= 0 ;
13224 char *kwnames
[] = {
13225 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13233 arg3
= (double) SWIG_AsDouble(obj2
);
13234 if (PyErr_Occurred()) SWIG_fail
;
13235 arg4
= (double) SWIG_AsDouble(obj3
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13238 arg5
= (int) SWIG_AsInt(obj4
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13242 arg6
= (int) SWIG_AsInt(obj5
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13247 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13249 wxPyEndAllowThreads(__tstate
);
13250 if (PyErr_Occurred()) SWIG_fail
;
13252 Py_INCREF(Py_None
); resultobj
= Py_None
;
13259 static PyObject
*_wrap_PyControlPoint_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13260 PyObject
*resultobj
;
13261 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13264 PyObject
* obj0
= 0 ;
13265 PyObject
* obj1
= 0 ;
13266 PyObject
* obj2
= 0 ;
13267 char *kwnames
[] = {
13268 (char *) "self",(char *) "w",(char *) "h", NULL
13271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13274 arg2
= (double) SWIG_AsDouble(obj1
);
13275 if (PyErr_Occurred()) SWIG_fail
;
13276 arg3
= (double) SWIG_AsDouble(obj2
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13280 (arg1
)->base_OnBeginSize(arg2
,arg3
);
13282 wxPyEndAllowThreads(__tstate
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13285 Py_INCREF(Py_None
); resultobj
= Py_None
;
13292 static PyObject
*_wrap_PyControlPoint_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13293 PyObject
*resultobj
;
13294 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13297 PyObject
* obj0
= 0 ;
13298 PyObject
* obj1
= 0 ;
13299 PyObject
* obj2
= 0 ;
13300 char *kwnames
[] = {
13301 (char *) "self",(char *) "w",(char *) "h", NULL
13304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13307 arg2
= (double) SWIG_AsDouble(obj1
);
13308 if (PyErr_Occurred()) SWIG_fail
;
13309 arg3
= (double) SWIG_AsDouble(obj2
);
13310 if (PyErr_Occurred()) SWIG_fail
;
13312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 (arg1
)->base_OnEndSize(arg2
,arg3
);
13315 wxPyEndAllowThreads(__tstate
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13318 Py_INCREF(Py_None
); resultobj
= Py_None
;
13325 static PyObject
* PyControlPoint_swigregister(PyObject
*self
, PyObject
*args
) {
13327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13328 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint
, obj
);
13330 return Py_BuildValue((char *)"");
13332 static PyObject
*_wrap_new_PyBitmapShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13333 PyObject
*resultobj
;
13334 wxPyBitmapShape
*result
;
13335 char *kwnames
[] = {
13339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyBitmapShape",kwnames
)) goto fail
;
13341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13342 result
= (wxPyBitmapShape
*)new wxPyBitmapShape();
13344 wxPyEndAllowThreads(__tstate
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapShape
, 1);
13354 static PyObject
*_wrap_PyBitmapShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
;
13356 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13357 PyObject
*arg2
= (PyObject
*) 0 ;
13358 PyObject
*arg3
= (PyObject
*) 0 ;
13359 PyObject
* obj0
= 0 ;
13360 PyObject
* obj1
= 0 ;
13361 PyObject
* obj2
= 0 ;
13362 char *kwnames
[] = {
13363 (char *) "self",(char *) "self",(char *) "_class", NULL
13366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 Py_INCREF(Py_None
); resultobj
= Py_None
;
13385 static PyObject
*_wrap_PyBitmapShape_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13386 PyObject
*resultobj
;
13387 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13389 PyObject
* obj0
= 0 ;
13390 char *kwnames
[] = {
13391 (char *) "self", NULL
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetBitmap",kwnames
,&obj0
)) goto fail
;
13395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
13401 result
= (wxBitmap
*) &_result_ref
;
13404 wxPyEndAllowThreads(__tstate
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13408 wxBitmap
* resultptr
= new wxBitmap(*result
);
13409 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13417 static PyObject
*_wrap_PyBitmapShape_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13418 PyObject
*resultobj
;
13419 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13421 PyObject
* obj0
= 0 ;
13422 char *kwnames
[] = {
13423 (char *) "self", NULL
13426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetFilename",kwnames
,&obj0
)) goto fail
;
13427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 result
= (arg1
)->GetFilename();
13433 wxPyEndAllowThreads(__tstate
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13449 static PyObject
*_wrap_PyBitmapShape_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13450 PyObject
*resultobj
;
13451 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13452 wxBitmap
*arg2
= 0 ;
13453 PyObject
* obj0
= 0 ;
13454 PyObject
* obj1
= 0 ;
13455 char *kwnames
[] = {
13456 (char *) "self",(char *) "bitmap", NULL
13459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
13463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13465 if (arg2
== NULL
) {
13466 PyErr_SetString(PyExc_TypeError
,"null reference");
13470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13471 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
13473 wxPyEndAllowThreads(__tstate
);
13474 if (PyErr_Occurred()) SWIG_fail
;
13476 Py_INCREF(Py_None
); resultobj
= Py_None
;
13483 static PyObject
*_wrap_PyBitmapShape_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13484 PyObject
*resultobj
;
13485 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13486 wxString
*arg2
= 0 ;
13487 bool temp2
= False
;
13488 PyObject
* obj0
= 0 ;
13489 PyObject
* obj1
= 0 ;
13490 char *kwnames
[] = {
13491 (char *) "self",(char *) "filename", NULL
13494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
13495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13498 arg2
= wxString_in_helper(obj1
);
13499 if (arg2
== NULL
) SWIG_fail
;
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 (arg1
)->SetFilename((wxString
const &)*arg2
);
13506 wxPyEndAllowThreads(__tstate
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13509 Py_INCREF(Py_None
); resultobj
= Py_None
;
13524 static PyObject
*_wrap_PyBitmapShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13525 PyObject
*resultobj
;
13526 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13527 PyObject
* obj0
= 0 ;
13528 char *kwnames
[] = {
13529 (char *) "self", NULL
13532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
13533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13537 (arg1
)->base_OnDelete();
13539 wxPyEndAllowThreads(__tstate
);
13540 if (PyErr_Occurred()) SWIG_fail
;
13542 Py_INCREF(Py_None
); resultobj
= Py_None
;
13549 static PyObject
*_wrap_PyBitmapShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13550 PyObject
*resultobj
;
13551 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13553 PyObject
* obj0
= 0 ;
13554 PyObject
* obj1
= 0 ;
13555 char *kwnames
[] = {
13556 (char *) "self",(char *) "dc", NULL
13559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
13560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13563 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13565 if (arg2
== NULL
) {
13566 PyErr_SetString(PyExc_TypeError
,"null reference");
13570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13571 (arg1
)->base_OnDraw(*arg2
);
13573 wxPyEndAllowThreads(__tstate
);
13574 if (PyErr_Occurred()) SWIG_fail
;
13576 Py_INCREF(Py_None
); resultobj
= Py_None
;
13583 static PyObject
*_wrap_PyBitmapShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13584 PyObject
*resultobj
;
13585 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13587 PyObject
* obj0
= 0 ;
13588 PyObject
* obj1
= 0 ;
13589 char *kwnames
[] = {
13590 (char *) "self",(char *) "dc", NULL
13593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13599 if (arg2
== NULL
) {
13600 PyErr_SetString(PyExc_TypeError
,"null reference");
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13605 (arg1
)->base_OnDrawContents(*arg2
);
13607 wxPyEndAllowThreads(__tstate
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13610 Py_INCREF(Py_None
); resultobj
= Py_None
;
13617 static PyObject
*_wrap_PyBitmapShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13618 PyObject
*resultobj
;
13619 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13621 bool arg3
= (bool) FALSE
;
13622 PyObject
* obj0
= 0 ;
13623 PyObject
* obj1
= 0 ;
13624 PyObject
* obj2
= 0 ;
13625 char *kwnames
[] = {
13626 (char *) "self",(char *) "dc",(char *) "erase", NULL
13629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13633 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13635 if (arg2
== NULL
) {
13636 PyErr_SetString(PyExc_TypeError
,"null reference");
13640 arg3
= (bool) SWIG_AsBool(obj2
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13645 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
13647 wxPyEndAllowThreads(__tstate
);
13648 if (PyErr_Occurred()) SWIG_fail
;
13650 Py_INCREF(Py_None
); resultobj
= Py_None
;
13657 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13658 PyObject
*resultobj
;
13659 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13661 PyObject
* obj0
= 0 ;
13662 PyObject
* obj1
= 0 ;
13663 char *kwnames
[] = {
13664 (char *) "self",(char *) "dc", NULL
13667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
13668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13671 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13673 if (arg2
== NULL
) {
13674 PyErr_SetString(PyExc_TypeError
,"null reference");
13678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13679 (arg1
)->base_OnMoveLinks(*arg2
);
13681 wxPyEndAllowThreads(__tstate
);
13682 if (PyErr_Occurred()) SWIG_fail
;
13684 Py_INCREF(Py_None
); resultobj
= Py_None
;
13691 static PyObject
*_wrap_PyBitmapShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13692 PyObject
*resultobj
;
13693 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13695 PyObject
* obj0
= 0 ;
13696 PyObject
* obj1
= 0 ;
13697 char *kwnames
[] = {
13698 (char *) "self",(char *) "dc", NULL
13701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
13702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13705 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13707 if (arg2
== NULL
) {
13708 PyErr_SetString(PyExc_TypeError
,"null reference");
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 (arg1
)->base_OnErase(*arg2
);
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13718 Py_INCREF(Py_None
); resultobj
= Py_None
;
13725 static PyObject
*_wrap_PyBitmapShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13726 PyObject
*resultobj
;
13727 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13729 PyObject
* obj0
= 0 ;
13730 PyObject
* obj1
= 0 ;
13731 char *kwnames
[] = {
13732 (char *) "self",(char *) "dc", NULL
13735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13739 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13741 if (arg2
== NULL
) {
13742 PyErr_SetString(PyExc_TypeError
,"null reference");
13746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13747 (arg1
)->base_OnEraseContents(*arg2
);
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13752 Py_INCREF(Py_None
); resultobj
= Py_None
;
13759 static PyObject
*_wrap_PyBitmapShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13760 PyObject
*resultobj
;
13761 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13763 PyObject
* obj0
= 0 ;
13764 PyObject
* obj1
= 0 ;
13765 char *kwnames
[] = {
13766 (char *) "self",(char *) "dc", NULL
13769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
13770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13775 if (arg2
== NULL
) {
13776 PyErr_SetString(PyExc_TypeError
,"null reference");
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13781 (arg1
)->base_OnHighlight(*arg2
);
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13786 Py_INCREF(Py_None
); resultobj
= Py_None
;
13793 static PyObject
*_wrap_PyBitmapShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
;
13795 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13798 int arg4
= (int) 0 ;
13799 int arg5
= (int) 0 ;
13800 PyObject
* obj0
= 0 ;
13801 PyObject
* obj1
= 0 ;
13802 PyObject
* obj2
= 0 ;
13803 PyObject
* obj3
= 0 ;
13804 PyObject
* obj4
= 0 ;
13805 char *kwnames
[] = {
13806 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13812 arg2
= (double) SWIG_AsDouble(obj1
);
13813 if (PyErr_Occurred()) SWIG_fail
;
13814 arg3
= (double) SWIG_AsDouble(obj2
);
13815 if (PyErr_Occurred()) SWIG_fail
;
13817 arg4
= (int) SWIG_AsInt(obj3
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13821 arg5
= (int) SWIG_AsInt(obj4
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
13828 wxPyEndAllowThreads(__tstate
);
13829 if (PyErr_Occurred()) SWIG_fail
;
13831 Py_INCREF(Py_None
); resultobj
= Py_None
;
13838 static PyObject
*_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13839 PyObject
*resultobj
;
13840 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13843 int arg4
= (int) 0 ;
13844 int arg5
= (int) 0 ;
13845 PyObject
* obj0
= 0 ;
13846 PyObject
* obj1
= 0 ;
13847 PyObject
* obj2
= 0 ;
13848 PyObject
* obj3
= 0 ;
13849 PyObject
* obj4
= 0 ;
13850 char *kwnames
[] = {
13851 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13857 arg2
= (double) SWIG_AsDouble(obj1
);
13858 if (PyErr_Occurred()) SWIG_fail
;
13859 arg3
= (double) SWIG_AsDouble(obj2
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13862 arg4
= (int) SWIG_AsInt(obj3
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13866 arg5
= (int) SWIG_AsInt(obj4
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13871 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
13873 wxPyEndAllowThreads(__tstate
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13876 Py_INCREF(Py_None
); resultobj
= Py_None
;
13883 static PyObject
*_wrap_PyBitmapShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13884 PyObject
*resultobj
;
13885 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13888 int arg4
= (int) 0 ;
13889 int arg5
= (int) 0 ;
13890 PyObject
* obj0
= 0 ;
13891 PyObject
* obj1
= 0 ;
13892 PyObject
* obj2
= 0 ;
13893 PyObject
* obj3
= 0 ;
13894 PyObject
* obj4
= 0 ;
13895 char *kwnames
[] = {
13896 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13902 arg2
= (double) SWIG_AsDouble(obj1
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13904 arg3
= (double) SWIG_AsDouble(obj2
);
13905 if (PyErr_Occurred()) SWIG_fail
;
13907 arg4
= (int) SWIG_AsInt(obj3
);
13908 if (PyErr_Occurred()) SWIG_fail
;
13911 arg5
= (int) SWIG_AsInt(obj4
);
13912 if (PyErr_Occurred()) SWIG_fail
;
13915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13916 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
13918 wxPyEndAllowThreads(__tstate
);
13919 if (PyErr_Occurred()) SWIG_fail
;
13921 Py_INCREF(Py_None
); resultobj
= Py_None
;
13928 static PyObject
*_wrap_PyBitmapShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13929 PyObject
*resultobj
;
13930 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13933 PyObject
* obj0
= 0 ;
13934 PyObject
* obj1
= 0 ;
13935 PyObject
* obj2
= 0 ;
13936 char *kwnames
[] = {
13937 (char *) "self",(char *) "x",(char *) "y", NULL
13940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13943 arg2
= (double) SWIG_AsDouble(obj1
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13945 arg3
= (double) SWIG_AsDouble(obj2
);
13946 if (PyErr_Occurred()) SWIG_fail
;
13948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13949 (arg1
)->base_OnSize(arg2
,arg3
);
13951 wxPyEndAllowThreads(__tstate
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13954 Py_INCREF(Py_None
); resultobj
= Py_None
;
13961 static PyObject
*_wrap_PyBitmapShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13962 PyObject
*resultobj
;
13963 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13969 bool arg7
= (bool) True
;
13971 PyObject
* obj0
= 0 ;
13972 PyObject
* obj1
= 0 ;
13973 PyObject
* obj2
= 0 ;
13974 PyObject
* obj3
= 0 ;
13975 PyObject
* obj4
= 0 ;
13976 PyObject
* obj5
= 0 ;
13977 PyObject
* obj6
= 0 ;
13978 char *kwnames
[] = {
13979 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13986 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13988 if (arg2
== NULL
) {
13989 PyErr_SetString(PyExc_TypeError
,"null reference");
13992 arg3
= (double) SWIG_AsDouble(obj2
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13994 arg4
= (double) SWIG_AsDouble(obj3
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13996 arg5
= (double) SWIG_AsDouble(obj4
);
13997 if (PyErr_Occurred()) SWIG_fail
;
13998 arg6
= (double) SWIG_AsDouble(obj5
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14001 arg7
= (bool) SWIG_AsBool(obj6
);
14002 if (PyErr_Occurred()) SWIG_fail
;
14005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14006 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14008 wxPyEndAllowThreads(__tstate
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14020 static PyObject
*_wrap_PyBitmapShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14021 PyObject
*resultobj
;
14022 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14028 bool arg7
= (bool) True
;
14029 PyObject
* obj0
= 0 ;
14030 PyObject
* obj1
= 0 ;
14031 PyObject
* obj2
= 0 ;
14032 PyObject
* obj3
= 0 ;
14033 PyObject
* obj4
= 0 ;
14034 PyObject
* obj5
= 0 ;
14035 PyObject
* obj6
= 0 ;
14036 char *kwnames
[] = {
14037 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14044 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14046 if (arg2
== NULL
) {
14047 PyErr_SetString(PyExc_TypeError
,"null reference");
14050 arg3
= (double) SWIG_AsDouble(obj2
);
14051 if (PyErr_Occurred()) SWIG_fail
;
14052 arg4
= (double) SWIG_AsDouble(obj3
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14054 arg5
= (double) SWIG_AsDouble(obj4
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14056 arg6
= (double) SWIG_AsDouble(obj5
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14059 arg7
= (bool) SWIG_AsBool(obj6
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14064 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14066 wxPyEndAllowThreads(__tstate
);
14067 if (PyErr_Occurred()) SWIG_fail
;
14069 Py_INCREF(Py_None
); resultobj
= Py_None
;
14076 static PyObject
*_wrap_PyBitmapShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14077 PyObject
*resultobj
;
14078 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14082 int arg5
= (int) 0 ;
14083 int arg6
= (int) 0 ;
14084 PyObject
* obj0
= 0 ;
14085 PyObject
* obj1
= 0 ;
14086 PyObject
* obj2
= 0 ;
14087 PyObject
* obj3
= 0 ;
14088 PyObject
* obj4
= 0 ;
14089 PyObject
* obj5
= 0 ;
14090 char *kwnames
[] = {
14091 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14097 arg2
= (bool) SWIG_AsBool(obj1
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14099 arg3
= (double) SWIG_AsDouble(obj2
);
14100 if (PyErr_Occurred()) SWIG_fail
;
14101 arg4
= (double) SWIG_AsDouble(obj3
);
14102 if (PyErr_Occurred()) SWIG_fail
;
14104 arg5
= (int) SWIG_AsInt(obj4
);
14105 if (PyErr_Occurred()) SWIG_fail
;
14108 arg6
= (int) SWIG_AsInt(obj5
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14113 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 Py_INCREF(Py_None
); resultobj
= Py_None
;
14125 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14126 PyObject
*resultobj
;
14127 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14130 int arg4
= (int) 0 ;
14131 int arg5
= (int) 0 ;
14132 PyObject
* obj0
= 0 ;
14133 PyObject
* obj1
= 0 ;
14134 PyObject
* obj2
= 0 ;
14135 PyObject
* obj3
= 0 ;
14136 PyObject
* obj4
= 0 ;
14137 char *kwnames
[] = {
14138 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14144 arg2
= (double) SWIG_AsDouble(obj1
);
14145 if (PyErr_Occurred()) SWIG_fail
;
14146 arg3
= (double) SWIG_AsDouble(obj2
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14149 arg4
= (int) SWIG_AsInt(obj3
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14153 arg5
= (int) SWIG_AsInt(obj4
);
14154 if (PyErr_Occurred()) SWIG_fail
;
14157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14158 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14163 Py_INCREF(Py_None
); resultobj
= Py_None
;
14170 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14171 PyObject
*resultobj
;
14172 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14175 int arg4
= (int) 0 ;
14176 int arg5
= (int) 0 ;
14177 PyObject
* obj0
= 0 ;
14178 PyObject
* obj1
= 0 ;
14179 PyObject
* obj2
= 0 ;
14180 PyObject
* obj3
= 0 ;
14181 PyObject
* obj4
= 0 ;
14182 char *kwnames
[] = {
14183 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14189 arg2
= (double) SWIG_AsDouble(obj1
);
14190 if (PyErr_Occurred()) SWIG_fail
;
14191 arg3
= (double) SWIG_AsDouble(obj2
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14194 arg4
= (int) SWIG_AsInt(obj3
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14198 arg5
= (int) SWIG_AsInt(obj4
);
14199 if (PyErr_Occurred()) SWIG_fail
;
14202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14203 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
14205 wxPyEndAllowThreads(__tstate
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14208 Py_INCREF(Py_None
); resultobj
= Py_None
;
14215 static PyObject
*_wrap_PyBitmapShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14216 PyObject
*resultobj
;
14217 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14221 int arg5
= (int) 0 ;
14222 int arg6
= (int) 0 ;
14223 PyObject
* obj0
= 0 ;
14224 PyObject
* obj1
= 0 ;
14225 PyObject
* obj2
= 0 ;
14226 PyObject
* obj3
= 0 ;
14227 PyObject
* obj4
= 0 ;
14228 PyObject
* obj5
= 0 ;
14229 char *kwnames
[] = {
14230 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14236 arg2
= (bool) SWIG_AsBool(obj1
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14238 arg3
= (double) SWIG_AsDouble(obj2
);
14239 if (PyErr_Occurred()) SWIG_fail
;
14240 arg4
= (double) SWIG_AsDouble(obj3
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14243 arg5
= (int) SWIG_AsInt(obj4
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14247 arg6
= (int) SWIG_AsInt(obj5
);
14248 if (PyErr_Occurred()) SWIG_fail
;
14251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14252 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
14254 wxPyEndAllowThreads(__tstate
);
14255 if (PyErr_Occurred()) SWIG_fail
;
14257 Py_INCREF(Py_None
); resultobj
= Py_None
;
14264 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14265 PyObject
*resultobj
;
14266 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14269 int arg4
= (int) 0 ;
14270 int arg5
= (int) 0 ;
14271 PyObject
* obj0
= 0 ;
14272 PyObject
* obj1
= 0 ;
14273 PyObject
* obj2
= 0 ;
14274 PyObject
* obj3
= 0 ;
14275 PyObject
* obj4
= 0 ;
14276 char *kwnames
[] = {
14277 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14283 arg2
= (double) SWIG_AsDouble(obj1
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14285 arg3
= (double) SWIG_AsDouble(obj2
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14288 arg4
= (int) SWIG_AsInt(obj3
);
14289 if (PyErr_Occurred()) SWIG_fail
;
14292 arg5
= (int) SWIG_AsInt(obj4
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14297 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
14299 wxPyEndAllowThreads(__tstate
);
14300 if (PyErr_Occurred()) SWIG_fail
;
14302 Py_INCREF(Py_None
); resultobj
= Py_None
;
14309 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14310 PyObject
*resultobj
;
14311 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14314 int arg4
= (int) 0 ;
14315 int arg5
= (int) 0 ;
14316 PyObject
* obj0
= 0 ;
14317 PyObject
* obj1
= 0 ;
14318 PyObject
* obj2
= 0 ;
14319 PyObject
* obj3
= 0 ;
14320 PyObject
* obj4
= 0 ;
14321 char *kwnames
[] = {
14322 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14328 arg2
= (double) SWIG_AsDouble(obj1
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14330 arg3
= (double) SWIG_AsDouble(obj2
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14333 arg4
= (int) SWIG_AsInt(obj3
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14337 arg5
= (int) SWIG_AsInt(obj4
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
14344 wxPyEndAllowThreads(__tstate
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14347 Py_INCREF(Py_None
); resultobj
= Py_None
;
14354 static PyObject
*_wrap_PyBitmapShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14355 PyObject
*resultobj
;
14356 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14362 PyObject
* obj0
= 0 ;
14363 PyObject
* obj1
= 0 ;
14364 PyObject
* obj2
= 0 ;
14365 PyObject
* obj3
= 0 ;
14366 PyObject
* obj4
= 0 ;
14367 PyObject
* obj5
= 0 ;
14368 char *kwnames
[] = {
14369 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyBitmapShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14376 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14378 if (arg2
== NULL
) {
14379 PyErr_SetString(PyExc_TypeError
,"null reference");
14382 arg3
= (double) SWIG_AsDouble(obj2
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14384 arg4
= (double) SWIG_AsDouble(obj3
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14386 arg5
= (double) SWIG_AsDouble(obj4
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14388 arg6
= (double) SWIG_AsDouble(obj5
);
14389 if (PyErr_Occurred()) SWIG_fail
;
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14397 Py_INCREF(Py_None
); resultobj
= Py_None
;
14404 static PyObject
*_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
;
14406 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14408 PyObject
* obj0
= 0 ;
14409 PyObject
* obj1
= 0 ;
14410 char *kwnames
[] = {
14411 (char *) "self",(char *) "dc", NULL
14414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14418 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14420 if (arg2
== NULL
) {
14421 PyErr_SetString(PyExc_TypeError
,"null reference");
14425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 (arg1
)->base_OnDrawControlPoints(*arg2
);
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14431 Py_INCREF(Py_None
); resultobj
= Py_None
;
14438 static PyObject
*_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14439 PyObject
*resultobj
;
14440 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14442 PyObject
* obj0
= 0 ;
14443 PyObject
* obj1
= 0 ;
14444 char *kwnames
[] = {
14445 (char *) "self",(char *) "dc", NULL
14448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14452 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14454 if (arg2
== NULL
) {
14455 PyErr_SetString(PyExc_TypeError
,"null reference");
14459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14460 (arg1
)->base_OnEraseControlPoints(*arg2
);
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14465 Py_INCREF(Py_None
); resultobj
= Py_None
;
14472 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14473 PyObject
*resultobj
;
14474 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14476 bool arg3
= (bool) True
;
14477 PyObject
* obj0
= 0 ;
14478 PyObject
* obj1
= 0 ;
14479 PyObject
* obj2
= 0 ;
14480 char *kwnames
[] = {
14481 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
14484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14488 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14490 if (arg2
== NULL
) {
14491 PyErr_SetString(PyExc_TypeError
,"null reference");
14495 arg3
= (bool) SWIG_AsBool(obj2
);
14496 if (PyErr_Occurred()) SWIG_fail
;
14499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
14502 wxPyEndAllowThreads(__tstate
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14505 Py_INCREF(Py_None
); resultobj
= Py_None
;
14512 static PyObject
*_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14513 PyObject
*resultobj
;
14514 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14515 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14519 int arg6
= (int) 0 ;
14520 int arg7
= (int) 0 ;
14521 PyObject
* obj0
= 0 ;
14522 PyObject
* obj1
= 0 ;
14523 PyObject
* obj2
= 0 ;
14524 PyObject
* obj3
= 0 ;
14525 PyObject
* obj4
= 0 ;
14526 PyObject
* obj5
= 0 ;
14527 PyObject
* obj6
= 0 ;
14528 char *kwnames
[] = {
14529 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyBitmapShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14537 arg3
= (bool) SWIG_AsBool(obj2
);
14538 if (PyErr_Occurred()) SWIG_fail
;
14539 arg4
= (double) SWIG_AsDouble(obj3
);
14540 if (PyErr_Occurred()) SWIG_fail
;
14541 arg5
= (double) SWIG_AsDouble(obj4
);
14542 if (PyErr_Occurred()) SWIG_fail
;
14544 arg6
= (int) SWIG_AsInt(obj5
);
14545 if (PyErr_Occurred()) SWIG_fail
;
14548 arg7
= (int) SWIG_AsInt(obj6
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14558 Py_INCREF(Py_None
); resultobj
= Py_None
;
14565 static PyObject
*_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14566 PyObject
*resultobj
;
14567 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14568 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14571 int arg5
= (int) 0 ;
14572 int arg6
= (int) 0 ;
14573 PyObject
* obj0
= 0 ;
14574 PyObject
* obj1
= 0 ;
14575 PyObject
* obj2
= 0 ;
14576 PyObject
* obj3
= 0 ;
14577 PyObject
* obj4
= 0 ;
14578 PyObject
* obj5
= 0 ;
14579 char *kwnames
[] = {
14580 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14588 arg3
= (double) SWIG_AsDouble(obj2
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14590 arg4
= (double) SWIG_AsDouble(obj3
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14593 arg5
= (int) SWIG_AsInt(obj4
);
14594 if (PyErr_Occurred()) SWIG_fail
;
14597 arg6
= (int) SWIG_AsInt(obj5
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14602 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14604 wxPyEndAllowThreads(__tstate
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14607 Py_INCREF(Py_None
); resultobj
= Py_None
;
14614 static PyObject
*_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14615 PyObject
*resultobj
;
14616 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14617 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14620 int arg5
= (int) 0 ;
14621 int arg6
= (int) 0 ;
14622 PyObject
* obj0
= 0 ;
14623 PyObject
* obj1
= 0 ;
14624 PyObject
* obj2
= 0 ;
14625 PyObject
* obj3
= 0 ;
14626 PyObject
* obj4
= 0 ;
14627 PyObject
* obj5
= 0 ;
14628 char *kwnames
[] = {
14629 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14637 arg3
= (double) SWIG_AsDouble(obj2
);
14638 if (PyErr_Occurred()) SWIG_fail
;
14639 arg4
= (double) SWIG_AsDouble(obj3
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14642 arg5
= (int) SWIG_AsInt(obj4
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14646 arg6
= (int) SWIG_AsInt(obj5
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14653 wxPyEndAllowThreads(__tstate
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14656 Py_INCREF(Py_None
); resultobj
= Py_None
;
14663 static PyObject
*_wrap_PyBitmapShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14664 PyObject
*resultobj
;
14665 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14668 PyObject
* obj0
= 0 ;
14669 PyObject
* obj1
= 0 ;
14670 PyObject
* obj2
= 0 ;
14671 char *kwnames
[] = {
14672 (char *) "self",(char *) "w",(char *) "h", NULL
14675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14678 arg2
= (double) SWIG_AsDouble(obj1
);
14679 if (PyErr_Occurred()) SWIG_fail
;
14680 arg3
= (double) SWIG_AsDouble(obj2
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14684 (arg1
)->base_OnBeginSize(arg2
,arg3
);
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14689 Py_INCREF(Py_None
); resultobj
= Py_None
;
14696 static PyObject
*_wrap_PyBitmapShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14697 PyObject
*resultobj
;
14698 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14701 PyObject
* obj0
= 0 ;
14702 PyObject
* obj1
= 0 ;
14703 PyObject
* obj2
= 0 ;
14704 char *kwnames
[] = {
14705 (char *) "self",(char *) "w",(char *) "h", NULL
14708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14711 arg2
= (double) SWIG_AsDouble(obj1
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14713 arg3
= (double) SWIG_AsDouble(obj2
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 (arg1
)->base_OnEndSize(arg2
,arg3
);
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14722 Py_INCREF(Py_None
); resultobj
= Py_None
;
14729 static PyObject
* PyBitmapShape_swigregister(PyObject
*self
, PyObject
*args
) {
14731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14732 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape
, obj
);
14734 return Py_BuildValue((char *)"");
14736 static PyObject
*_wrap_new_PyDrawnShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14737 PyObject
*resultobj
;
14738 wxPyDrawnShape
*result
;
14739 char *kwnames
[] = {
14743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDrawnShape",kwnames
)) goto fail
;
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 result
= (wxPyDrawnShape
*)new wxPyDrawnShape();
14748 wxPyEndAllowThreads(__tstate
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDrawnShape
, 1);
14758 static PyObject
*_wrap_PyDrawnShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14759 PyObject
*resultobj
;
14760 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14761 PyObject
*arg2
= (PyObject
*) 0 ;
14762 PyObject
*arg3
= (PyObject
*) 0 ;
14763 PyObject
* obj0
= 0 ;
14764 PyObject
* obj1
= 0 ;
14765 PyObject
* obj2
= 0 ;
14766 char *kwnames
[] = {
14767 (char *) "self",(char *) "self",(char *) "_class", NULL
14770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14777 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14782 Py_INCREF(Py_None
); resultobj
= Py_None
;
14789 static PyObject
*_wrap_PyDrawnShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
;
14791 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14792 PyObject
* obj0
= 0 ;
14793 char *kwnames
[] = {
14794 (char *) "self", NULL
14797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
14798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 (arg1
)->CalculateSize();
14804 wxPyEndAllowThreads(__tstate
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14807 Py_INCREF(Py_None
); resultobj
= Py_None
;
14814 static PyObject
*_wrap_PyDrawnShape_DestroyClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14815 PyObject
*resultobj
;
14816 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14817 PyObject
* obj0
= 0 ;
14818 char *kwnames
[] = {
14819 (char *) "self", NULL
14822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
14823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 (arg1
)->DestroyClippingRect();
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14832 Py_INCREF(Py_None
); resultobj
= Py_None
;
14839 static PyObject
*_wrap_PyDrawnShape_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14840 PyObject
*resultobj
;
14841 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14842 wxPoint
*arg2
= 0 ;
14843 wxPoint
*arg3
= 0 ;
14844 wxPoint
*arg4
= 0 ;
14848 PyObject
* obj0
= 0 ;
14849 PyObject
* obj1
= 0 ;
14850 PyObject
* obj2
= 0 ;
14851 PyObject
* obj3
= 0 ;
14852 char *kwnames
[] = {
14853 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
14856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14861 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14865 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14869 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14878 Py_INCREF(Py_None
); resultobj
= Py_None
;
14885 static PyObject
*_wrap_PyDrawnShape_DrawAtAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14886 PyObject
*resultobj
;
14887 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14889 PyObject
* obj0
= 0 ;
14890 PyObject
* obj1
= 0 ;
14891 char *kwnames
[] = {
14892 (char *) "self",(char *) "angle", NULL
14895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawAtAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
14896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14898 arg2
= (int) SWIG_AsInt(obj1
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14902 (arg1
)->DrawAtAngle(arg2
);
14904 wxPyEndAllowThreads(__tstate
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14907 Py_INCREF(Py_None
); resultobj
= Py_None
;
14914 static PyObject
*_wrap_PyDrawnShape_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14915 PyObject
*resultobj
;
14916 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14921 PyObject
* obj0
= 0 ;
14922 PyObject
* obj1
= 0 ;
14923 PyObject
* obj2
= 0 ;
14924 PyObject
* obj3
= 0 ;
14925 char *kwnames
[] = {
14926 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
14929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14934 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14936 arg3
= (double) SWIG_AsDouble(obj2
);
14937 if (PyErr_Occurred()) SWIG_fail
;
14938 arg4
= (double) SWIG_AsDouble(obj3
);
14939 if (PyErr_Occurred()) SWIG_fail
;
14941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14942 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14947 Py_INCREF(Py_None
); resultobj
= Py_None
;
14954 static PyObject
*_wrap_PyDrawnShape_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
;
14956 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14957 wxPoint
*arg2
= 0 ;
14958 wxPoint
*arg3
= 0 ;
14961 PyObject
* obj0
= 0 ;
14962 PyObject
* obj1
= 0 ;
14963 PyObject
* obj2
= 0 ;
14964 char *kwnames
[] = {
14965 (char *) "self",(char *) "point1",(char *) "point2", NULL
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14973 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14977 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
14983 wxPyEndAllowThreads(__tstate
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14986 Py_INCREF(Py_None
); resultobj
= Py_None
;
14993 static PyObject
*_wrap_PyDrawnShape_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14994 PyObject
*resultobj
;
14995 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14997 wxPoint
*arg3
= (wxPoint
*) 0 ;
14998 PyObject
* obj0
= 0 ;
14999 PyObject
* obj1
= 0 ;
15000 char *kwnames
[] = {
15001 (char *) "self",(char *) "points", NULL
15004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawLines",kwnames
,&obj0
,&obj1
)) goto fail
;
15005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15008 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
15009 if (arg3
== NULL
) SWIG_fail
;
15012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15013 (arg1
)->DrawLines(arg2
,arg3
);
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15018 Py_INCREF(Py_None
); resultobj
= Py_None
;
15020 if (arg3
) delete [] arg3
;
15025 if (arg3
) delete [] arg3
;
15031 static PyObject
*_wrap_PyDrawnShape_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
;
15033 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15034 wxPoint
*arg2
= 0 ;
15036 PyObject
* obj0
= 0 ;
15037 PyObject
* obj1
= 0 ;
15038 char *kwnames
[] = {
15039 (char *) "self",(char *) "point", NULL
15042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
15043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15047 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15051 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
15053 wxPyEndAllowThreads(__tstate
);
15054 if (PyErr_Occurred()) SWIG_fail
;
15056 Py_INCREF(Py_None
); resultobj
= Py_None
;
15063 static PyObject
*_wrap_PyDrawnShape_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15064 PyObject
*resultobj
;
15065 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15067 wxPoint
*arg3
= (wxPoint
*) 0 ;
15068 int arg4
= (int) 0 ;
15069 PyObject
* obj0
= 0 ;
15070 PyObject
* obj1
= 0 ;
15071 PyObject
* obj2
= 0 ;
15072 char *kwnames
[] = {
15073 (char *) "self",(char *) "points",(char *) "flags", NULL
15076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15080 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
15081 if (arg3
== NULL
) SWIG_fail
;
15084 arg4
= (int) SWIG_AsInt(obj2
);
15085 if (PyErr_Occurred()) SWIG_fail
;
15088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15089 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
15091 wxPyEndAllowThreads(__tstate
);
15092 if (PyErr_Occurred()) SWIG_fail
;
15094 Py_INCREF(Py_None
); resultobj
= Py_None
;
15096 if (arg3
) delete [] arg3
;
15101 if (arg3
) delete [] arg3
;
15107 static PyObject
*_wrap_PyDrawnShape_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15108 PyObject
*resultobj
;
15109 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15112 PyObject
* obj0
= 0 ;
15113 PyObject
* obj1
= 0 ;
15114 char *kwnames
[] = {
15115 (char *) "self",(char *) "rect", NULL
15118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
15119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15123 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15127 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15132 Py_INCREF(Py_None
); resultobj
= Py_None
;
15139 static PyObject
*_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15140 PyObject
*resultobj
;
15141 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15145 PyObject
* obj0
= 0 ;
15146 PyObject
* obj1
= 0 ;
15147 PyObject
* obj2
= 0 ;
15148 char *kwnames
[] = {
15149 (char *) "self",(char *) "rect",(char *) "radius", NULL
15152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15157 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15159 arg3
= (double) SWIG_AsDouble(obj2
);
15160 if (PyErr_Occurred()) SWIG_fail
;
15162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15163 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
15165 wxPyEndAllowThreads(__tstate
);
15166 if (PyErr_Occurred()) SWIG_fail
;
15168 Py_INCREF(Py_None
); resultobj
= Py_None
;
15175 static PyObject
*_wrap_PyDrawnShape_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15176 PyObject
*resultobj
;
15177 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15179 wxPoint
*arg3
= (wxPoint
*) 0 ;
15180 PyObject
* obj0
= 0 ;
15181 PyObject
* obj1
= 0 ;
15182 char *kwnames
[] = {
15183 (char *) "self",(char *) "points", NULL
15186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
15187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15190 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
15191 if (arg3
== NULL
) SWIG_fail
;
15194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15195 (arg1
)->DrawSpline(arg2
,arg3
);
15197 wxPyEndAllowThreads(__tstate
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15200 Py_INCREF(Py_None
); resultobj
= Py_None
;
15202 if (arg3
) delete [] arg3
;
15207 if (arg3
) delete [] arg3
;
15213 static PyObject
*_wrap_PyDrawnShape_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
;
15215 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15216 wxString
*arg2
= 0 ;
15217 wxPoint
*arg3
= 0 ;
15218 bool temp2
= False
;
15220 PyObject
* obj0
= 0 ;
15221 PyObject
* obj1
= 0 ;
15222 PyObject
* obj2
= 0 ;
15223 char *kwnames
[] = {
15224 (char *) "self",(char *) "text",(char *) "point", NULL
15227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15231 arg2
= wxString_in_helper(obj1
);
15232 if (arg2
== NULL
) SWIG_fail
;
15237 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
15243 wxPyEndAllowThreads(__tstate
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15246 Py_INCREF(Py_None
); resultobj
= Py_None
;
15261 static PyObject
*_wrap_PyDrawnShape_GetAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15262 PyObject
*resultobj
;
15263 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15265 PyObject
* obj0
= 0 ;
15266 char *kwnames
[] = {
15267 (char *) "self", NULL
15270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetAngle",kwnames
,&obj0
)) goto fail
;
15271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15275 result
= (int)(arg1
)->GetAngle();
15277 wxPyEndAllowThreads(__tstate
);
15278 if (PyErr_Occurred()) SWIG_fail
;
15280 resultobj
= SWIG_FromInt((int)result
);
15287 static PyObject
*_wrap_PyDrawnShape_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15288 PyObject
*resultobj
;
15289 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15290 wxPseudoMetaFile
*result
;
15291 PyObject
* obj0
= 0 ;
15292 char *kwnames
[] = {
15293 (char *) "self", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetMetaFile",kwnames
,&obj0
)) goto fail
;
15297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15302 wxPseudoMetaFile
&_result_ref
= (arg1
)->GetMetaFile();
15303 result
= (wxPseudoMetaFile
*) &_result_ref
;
15306 wxPyEndAllowThreads(__tstate
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPseudoMetaFile
, 0);
15316 static PyObject
*_wrap_PyDrawnShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15317 PyObject
*resultobj
;
15318 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15320 PyObject
* obj0
= 0 ;
15321 char *kwnames
[] = {
15322 (char *) "self", NULL
15325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetRotation",kwnames
,&obj0
)) goto fail
;
15326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15330 result
= (double)(arg1
)->GetRotation();
15332 wxPyEndAllowThreads(__tstate
);
15333 if (PyErr_Occurred()) SWIG_fail
;
15335 resultobj
= SWIG_FromDouble((double)result
);
15342 static PyObject
*_wrap_PyDrawnShape_LoadFromMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15343 PyObject
*resultobj
;
15344 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15345 wxString
*arg2
= 0 ;
15347 bool temp2
= False
;
15348 PyObject
* obj0
= 0 ;
15349 PyObject
* obj1
= 0 ;
15350 char *kwnames
[] = {
15351 (char *) "self",(char *) "filename", NULL
15354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames
,&obj0
,&obj1
)) goto fail
;
15355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15358 arg2
= wxString_in_helper(obj1
);
15359 if (arg2
== NULL
) SWIG_fail
;
15363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15364 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
);
15366 wxPyEndAllowThreads(__tstate
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15386 static PyObject
*_wrap_PyDrawnShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15387 PyObject
*resultobj
;
15388 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15392 PyObject
* obj0
= 0 ;
15393 PyObject
* obj1
= 0 ;
15394 PyObject
* obj2
= 0 ;
15395 PyObject
* obj3
= 0 ;
15396 char *kwnames
[] = {
15397 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
15400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15403 arg2
= (double) SWIG_AsDouble(obj1
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15405 arg3
= (double) SWIG_AsDouble(obj2
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15407 arg4
= (double) SWIG_AsDouble(obj3
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15411 (arg1
)->Rotate(arg2
,arg3
,arg4
);
15413 wxPyEndAllowThreads(__tstate
);
15414 if (PyErr_Occurred()) SWIG_fail
;
15416 Py_INCREF(Py_None
); resultobj
= Py_None
;
15423 static PyObject
*_wrap_PyDrawnShape_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15424 PyObject
*resultobj
;
15425 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15428 PyObject
* obj0
= 0 ;
15429 PyObject
* obj1
= 0 ;
15430 char *kwnames
[] = {
15431 (char *) "self",(char *) "rect", NULL
15434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15439 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15443 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
15445 wxPyEndAllowThreads(__tstate
);
15446 if (PyErr_Occurred()) SWIG_fail
;
15448 Py_INCREF(Py_None
); resultobj
= Py_None
;
15455 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15456 PyObject
*resultobj
;
15457 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15458 wxColour
*arg2
= 0 ;
15460 PyObject
* obj0
= 0 ;
15461 PyObject
* obj1
= 0 ;
15462 char *kwnames
[] = {
15463 (char *) "self",(char *) "colour", NULL
15466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15471 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15475 (arg1
)->SetDrawnBackgroundColour((wxColour
const &)*arg2
);
15477 wxPyEndAllowThreads(__tstate
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15480 Py_INCREF(Py_None
); resultobj
= Py_None
;
15487 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
;
15489 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15491 PyObject
* obj0
= 0 ;
15492 PyObject
* obj1
= 0 ;
15493 char *kwnames
[] = {
15494 (char *) "self",(char *) "mode", NULL
15497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
15498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15500 arg2
= (int) SWIG_AsInt(obj1
);
15501 if (PyErr_Occurred()) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 (arg1
)->SetDrawnBackgroundMode(arg2
);
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 Py_INCREF(Py_None
); resultobj
= Py_None
;
15516 static PyObject
*_wrap_PyDrawnShape_SetDrawnBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
;
15518 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15519 wxBrush
*arg2
= (wxBrush
*) 0 ;
15520 bool arg3
= (bool) FALSE
;
15521 PyObject
* obj0
= 0 ;
15522 PyObject
* obj1
= 0 ;
15523 PyObject
* obj2
= 0 ;
15524 char *kwnames
[] = {
15525 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15534 if (obj1
== Py_None
) {
15537 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
15538 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
15543 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
15548 arg3
= (bool) SWIG_AsBool(obj2
);
15549 if (PyErr_Occurred()) SWIG_fail
;
15552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15553 (arg1
)->SetDrawnBrush(arg2
,arg3
);
15555 wxPyEndAllowThreads(__tstate
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15558 Py_INCREF(Py_None
); resultobj
= Py_None
;
15565 static PyObject
*_wrap_PyDrawnShape_SetDrawnFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
;
15567 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15568 wxFont
*arg2
= (wxFont
*) 0 ;
15569 PyObject
* obj0
= 0 ;
15570 PyObject
* obj1
= 0 ;
15571 char *kwnames
[] = {
15572 (char *) "self",(char *) "font", NULL
15575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15581 if (obj1
== Py_None
) {
15584 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
15585 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
15590 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
15594 temp
->GetUnderlined(),
15595 temp
->GetFaceName(),
15596 temp
->GetEncoding());
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 (arg1
)->SetDrawnFont(arg2
);
15604 wxPyEndAllowThreads(__tstate
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15607 Py_INCREF(Py_None
); resultobj
= Py_None
;
15614 static PyObject
*_wrap_PyDrawnShape_SetDrawnPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15615 PyObject
*resultobj
;
15616 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15617 wxPen
*arg2
= (wxPen
*) 0 ;
15618 bool arg3
= (bool) FALSE
;
15619 PyObject
* obj0
= 0 ;
15620 PyObject
* obj1
= 0 ;
15621 PyObject
* obj2
= 0 ;
15622 char *kwnames
[] = {
15623 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15632 if (obj1
== Py_None
) {
15635 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
15636 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
15641 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
15648 arg3
= (bool) SWIG_AsBool(obj2
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15653 (arg1
)->SetDrawnPen(arg2
,arg3
);
15655 wxPyEndAllowThreads(__tstate
);
15656 if (PyErr_Occurred()) SWIG_fail
;
15658 Py_INCREF(Py_None
); resultobj
= Py_None
;
15665 static PyObject
*_wrap_PyDrawnShape_SetDrawnTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15666 PyObject
*resultobj
;
15667 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15668 wxColour
*arg2
= 0 ;
15670 PyObject
* obj0
= 0 ;
15671 PyObject
* obj1
= 0 ;
15672 char *kwnames
[] = {
15673 (char *) "self",(char *) "colour", NULL
15676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15681 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15685 (arg1
)->SetDrawnTextColour((wxColour
const &)*arg2
);
15687 wxPyEndAllowThreads(__tstate
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15690 Py_INCREF(Py_None
); resultobj
= Py_None
;
15697 static PyObject
*_wrap_PyDrawnShape_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15698 PyObject
*resultobj
;
15699 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15702 PyObject
* obj0
= 0 ;
15703 PyObject
* obj1
= 0 ;
15704 PyObject
* obj2
= 0 ;
15705 char *kwnames
[] = {
15706 (char *) "self",(char *) "sx",(char *) "sy", NULL
15709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15712 arg2
= (double) SWIG_AsDouble(obj1
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15714 arg3
= (double) SWIG_AsDouble(obj2
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15718 (arg1
)->Scale(arg2
,arg3
);
15720 wxPyEndAllowThreads(__tstate
);
15721 if (PyErr_Occurred()) SWIG_fail
;
15723 Py_INCREF(Py_None
); resultobj
= Py_None
;
15730 static PyObject
*_wrap_PyDrawnShape_SetSaveToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15731 PyObject
*resultobj
;
15732 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15734 PyObject
* obj0
= 0 ;
15735 PyObject
* obj1
= 0 ;
15736 char *kwnames
[] = {
15737 (char *) "self",(char *) "save", NULL
15740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
15741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15743 arg2
= (bool) SWIG_AsBool(obj1
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15747 (arg1
)->SetSaveToFile(arg2
);
15749 wxPyEndAllowThreads(__tstate
);
15750 if (PyErr_Occurred()) SWIG_fail
;
15752 Py_INCREF(Py_None
); resultobj
= Py_None
;
15759 static PyObject
*_wrap_PyDrawnShape_Translate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15760 PyObject
*resultobj
;
15761 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15764 PyObject
* obj0
= 0 ;
15765 PyObject
* obj1
= 0 ;
15766 PyObject
* obj2
= 0 ;
15767 char *kwnames
[] = {
15768 (char *) "self",(char *) "x",(char *) "y", NULL
15771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15774 arg2
= (double) SWIG_AsDouble(obj1
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15776 arg3
= (double) SWIG_AsDouble(obj2
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15780 (arg1
)->Translate(arg2
,arg3
);
15782 wxPyEndAllowThreads(__tstate
);
15783 if (PyErr_Occurred()) SWIG_fail
;
15785 Py_INCREF(Py_None
); resultobj
= Py_None
;
15792 static PyObject
*_wrap_PyDrawnShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15793 PyObject
*resultobj
;
15794 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15795 PyObject
* obj0
= 0 ;
15796 char *kwnames
[] = {
15797 (char *) "self", NULL
15800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
15801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 (arg1
)->base_OnDelete();
15807 wxPyEndAllowThreads(__tstate
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15810 Py_INCREF(Py_None
); resultobj
= Py_None
;
15817 static PyObject
*_wrap_PyDrawnShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15818 PyObject
*resultobj
;
15819 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15821 PyObject
* obj0
= 0 ;
15822 PyObject
* obj1
= 0 ;
15823 char *kwnames
[] = {
15824 (char *) "self",(char *) "dc", NULL
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
15828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15831 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15833 if (arg2
== NULL
) {
15834 PyErr_SetString(PyExc_TypeError
,"null reference");
15838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15839 (arg1
)->base_OnDraw(*arg2
);
15841 wxPyEndAllowThreads(__tstate
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15844 Py_INCREF(Py_None
); resultobj
= Py_None
;
15851 static PyObject
*_wrap_PyDrawnShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15852 PyObject
*resultobj
;
15853 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15855 PyObject
* obj0
= 0 ;
15856 PyObject
* obj1
= 0 ;
15857 char *kwnames
[] = {
15858 (char *) "self",(char *) "dc", NULL
15861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15864 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15865 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15867 if (arg2
== NULL
) {
15868 PyErr_SetString(PyExc_TypeError
,"null reference");
15872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15873 (arg1
)->base_OnDrawContents(*arg2
);
15875 wxPyEndAllowThreads(__tstate
);
15876 if (PyErr_Occurred()) SWIG_fail
;
15878 Py_INCREF(Py_None
); resultobj
= Py_None
;
15885 static PyObject
*_wrap_PyDrawnShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15886 PyObject
*resultobj
;
15887 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15889 bool arg3
= (bool) FALSE
;
15890 PyObject
* obj0
= 0 ;
15891 PyObject
* obj1
= 0 ;
15892 PyObject
* obj2
= 0 ;
15893 char *kwnames
[] = {
15894 (char *) "self",(char *) "dc",(char *) "erase", NULL
15897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15901 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15903 if (arg2
== NULL
) {
15904 PyErr_SetString(PyExc_TypeError
,"null reference");
15908 arg3
= (bool) SWIG_AsBool(obj2
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15913 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
15915 wxPyEndAllowThreads(__tstate
);
15916 if (PyErr_Occurred()) SWIG_fail
;
15918 Py_INCREF(Py_None
); resultobj
= Py_None
;
15925 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15926 PyObject
*resultobj
;
15927 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15929 PyObject
* obj0
= 0 ;
15930 PyObject
* obj1
= 0 ;
15931 char *kwnames
[] = {
15932 (char *) "self",(char *) "dc", NULL
15935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
15936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15941 if (arg2
== NULL
) {
15942 PyErr_SetString(PyExc_TypeError
,"null reference");
15946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15947 (arg1
)->base_OnMoveLinks(*arg2
);
15949 wxPyEndAllowThreads(__tstate
);
15950 if (PyErr_Occurred()) SWIG_fail
;
15952 Py_INCREF(Py_None
); resultobj
= Py_None
;
15959 static PyObject
*_wrap_PyDrawnShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15960 PyObject
*resultobj
;
15961 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15963 PyObject
* obj0
= 0 ;
15964 PyObject
* obj1
= 0 ;
15965 char *kwnames
[] = {
15966 (char *) "self",(char *) "dc", NULL
15969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
15970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15972 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15973 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15975 if (arg2
== NULL
) {
15976 PyErr_SetString(PyExc_TypeError
,"null reference");
15980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 (arg1
)->base_OnErase(*arg2
);
15983 wxPyEndAllowThreads(__tstate
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15986 Py_INCREF(Py_None
); resultobj
= Py_None
;
15993 static PyObject
*_wrap_PyDrawnShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15994 PyObject
*resultobj
;
15995 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15997 PyObject
* obj0
= 0 ;
15998 PyObject
* obj1
= 0 ;
15999 char *kwnames
[] = {
16000 (char *) "self",(char *) "dc", NULL
16003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
16004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16007 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16009 if (arg2
== NULL
) {
16010 PyErr_SetString(PyExc_TypeError
,"null reference");
16014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16015 (arg1
)->base_OnEraseContents(*arg2
);
16017 wxPyEndAllowThreads(__tstate
);
16018 if (PyErr_Occurred()) SWIG_fail
;
16020 Py_INCREF(Py_None
); resultobj
= Py_None
;
16027 static PyObject
*_wrap_PyDrawnShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16028 PyObject
*resultobj
;
16029 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16031 PyObject
* obj0
= 0 ;
16032 PyObject
* obj1
= 0 ;
16033 char *kwnames
[] = {
16034 (char *) "self",(char *) "dc", NULL
16037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
16038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16041 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16043 if (arg2
== NULL
) {
16044 PyErr_SetString(PyExc_TypeError
,"null reference");
16048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16049 (arg1
)->base_OnHighlight(*arg2
);
16051 wxPyEndAllowThreads(__tstate
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16054 Py_INCREF(Py_None
); resultobj
= Py_None
;
16061 static PyObject
*_wrap_PyDrawnShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16062 PyObject
*resultobj
;
16063 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16066 int arg4
= (int) 0 ;
16067 int arg5
= (int) 0 ;
16068 PyObject
* obj0
= 0 ;
16069 PyObject
* obj1
= 0 ;
16070 PyObject
* obj2
= 0 ;
16071 PyObject
* obj3
= 0 ;
16072 PyObject
* obj4
= 0 ;
16073 char *kwnames
[] = {
16074 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16080 arg2
= (double) SWIG_AsDouble(obj1
);
16081 if (PyErr_Occurred()) SWIG_fail
;
16082 arg3
= (double) SWIG_AsDouble(obj2
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16085 arg4
= (int) SWIG_AsInt(obj3
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16089 arg5
= (int) SWIG_AsInt(obj4
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16099 Py_INCREF(Py_None
); resultobj
= Py_None
;
16106 static PyObject
*_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16107 PyObject
*resultobj
;
16108 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16111 int arg4
= (int) 0 ;
16112 int arg5
= (int) 0 ;
16113 PyObject
* obj0
= 0 ;
16114 PyObject
* obj1
= 0 ;
16115 PyObject
* obj2
= 0 ;
16116 PyObject
* obj3
= 0 ;
16117 PyObject
* obj4
= 0 ;
16118 char *kwnames
[] = {
16119 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16125 arg2
= (double) SWIG_AsDouble(obj1
);
16126 if (PyErr_Occurred()) SWIG_fail
;
16127 arg3
= (double) SWIG_AsDouble(obj2
);
16128 if (PyErr_Occurred()) SWIG_fail
;
16130 arg4
= (int) SWIG_AsInt(obj3
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16134 arg5
= (int) SWIG_AsInt(obj4
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16139 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
16141 wxPyEndAllowThreads(__tstate
);
16142 if (PyErr_Occurred()) SWIG_fail
;
16144 Py_INCREF(Py_None
); resultobj
= Py_None
;
16151 static PyObject
*_wrap_PyDrawnShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16152 PyObject
*resultobj
;
16153 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16156 int arg4
= (int) 0 ;
16157 int arg5
= (int) 0 ;
16158 PyObject
* obj0
= 0 ;
16159 PyObject
* obj1
= 0 ;
16160 PyObject
* obj2
= 0 ;
16161 PyObject
* obj3
= 0 ;
16162 PyObject
* obj4
= 0 ;
16163 char *kwnames
[] = {
16164 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16170 arg2
= (double) SWIG_AsDouble(obj1
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16172 arg3
= (double) SWIG_AsDouble(obj2
);
16173 if (PyErr_Occurred()) SWIG_fail
;
16175 arg4
= (int) SWIG_AsInt(obj3
);
16176 if (PyErr_Occurred()) SWIG_fail
;
16179 arg5
= (int) SWIG_AsInt(obj4
);
16180 if (PyErr_Occurred()) SWIG_fail
;
16183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16184 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
16186 wxPyEndAllowThreads(__tstate
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16189 Py_INCREF(Py_None
); resultobj
= Py_None
;
16196 static PyObject
*_wrap_PyDrawnShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16197 PyObject
*resultobj
;
16198 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16201 PyObject
* obj0
= 0 ;
16202 PyObject
* obj1
= 0 ;
16203 PyObject
* obj2
= 0 ;
16204 char *kwnames
[] = {
16205 (char *) "self",(char *) "x",(char *) "y", NULL
16208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16211 arg2
= (double) SWIG_AsDouble(obj1
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16213 arg3
= (double) SWIG_AsDouble(obj2
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16217 (arg1
)->base_OnSize(arg2
,arg3
);
16219 wxPyEndAllowThreads(__tstate
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16222 Py_INCREF(Py_None
); resultobj
= Py_None
;
16229 static PyObject
*_wrap_PyDrawnShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16230 PyObject
*resultobj
;
16231 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16237 bool arg7
= (bool) True
;
16239 PyObject
* obj0
= 0 ;
16240 PyObject
* obj1
= 0 ;
16241 PyObject
* obj2
= 0 ;
16242 PyObject
* obj3
= 0 ;
16243 PyObject
* obj4
= 0 ;
16244 PyObject
* obj5
= 0 ;
16245 PyObject
* obj6
= 0 ;
16246 char *kwnames
[] = {
16247 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16254 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16256 if (arg2
== NULL
) {
16257 PyErr_SetString(PyExc_TypeError
,"null reference");
16260 arg3
= (double) SWIG_AsDouble(obj2
);
16261 if (PyErr_Occurred()) SWIG_fail
;
16262 arg4
= (double) SWIG_AsDouble(obj3
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16264 arg5
= (double) SWIG_AsDouble(obj4
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16266 arg6
= (double) SWIG_AsDouble(obj5
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16269 arg7
= (bool) SWIG_AsBool(obj6
);
16270 if (PyErr_Occurred()) SWIG_fail
;
16273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16274 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16276 wxPyEndAllowThreads(__tstate
);
16277 if (PyErr_Occurred()) SWIG_fail
;
16280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16288 static PyObject
*_wrap_PyDrawnShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16289 PyObject
*resultobj
;
16290 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16296 bool arg7
= (bool) True
;
16297 PyObject
* obj0
= 0 ;
16298 PyObject
* obj1
= 0 ;
16299 PyObject
* obj2
= 0 ;
16300 PyObject
* obj3
= 0 ;
16301 PyObject
* obj4
= 0 ;
16302 PyObject
* obj5
= 0 ;
16303 PyObject
* obj6
= 0 ;
16304 char *kwnames
[] = {
16305 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16314 if (arg2
== NULL
) {
16315 PyErr_SetString(PyExc_TypeError
,"null reference");
16318 arg3
= (double) SWIG_AsDouble(obj2
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16320 arg4
= (double) SWIG_AsDouble(obj3
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16322 arg5
= (double) SWIG_AsDouble(obj4
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16324 arg6
= (double) SWIG_AsDouble(obj5
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16327 arg7
= (bool) SWIG_AsBool(obj6
);
16328 if (PyErr_Occurred()) SWIG_fail
;
16331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16332 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16334 wxPyEndAllowThreads(__tstate
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16337 Py_INCREF(Py_None
); resultobj
= Py_None
;
16344 static PyObject
*_wrap_PyDrawnShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16345 PyObject
*resultobj
;
16346 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16350 int arg5
= (int) 0 ;
16351 int arg6
= (int) 0 ;
16352 PyObject
* obj0
= 0 ;
16353 PyObject
* obj1
= 0 ;
16354 PyObject
* obj2
= 0 ;
16355 PyObject
* obj3
= 0 ;
16356 PyObject
* obj4
= 0 ;
16357 PyObject
* obj5
= 0 ;
16358 char *kwnames
[] = {
16359 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16365 arg2
= (bool) SWIG_AsBool(obj1
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16367 arg3
= (double) SWIG_AsDouble(obj2
);
16368 if (PyErr_Occurred()) SWIG_fail
;
16369 arg4
= (double) SWIG_AsDouble(obj3
);
16370 if (PyErr_Occurred()) SWIG_fail
;
16372 arg5
= (int) SWIG_AsInt(obj4
);
16373 if (PyErr_Occurred()) SWIG_fail
;
16376 arg6
= (int) SWIG_AsInt(obj5
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16381 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16383 wxPyEndAllowThreads(__tstate
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16386 Py_INCREF(Py_None
); resultobj
= Py_None
;
16393 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16394 PyObject
*resultobj
;
16395 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16398 int arg4
= (int) 0 ;
16399 int arg5
= (int) 0 ;
16400 PyObject
* obj0
= 0 ;
16401 PyObject
* obj1
= 0 ;
16402 PyObject
* obj2
= 0 ;
16403 PyObject
* obj3
= 0 ;
16404 PyObject
* obj4
= 0 ;
16405 char *kwnames
[] = {
16406 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16412 arg2
= (double) SWIG_AsDouble(obj1
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16414 arg3
= (double) SWIG_AsDouble(obj2
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16417 arg4
= (int) SWIG_AsInt(obj3
);
16418 if (PyErr_Occurred()) SWIG_fail
;
16421 arg5
= (int) SWIG_AsInt(obj4
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16426 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16431 Py_INCREF(Py_None
); resultobj
= Py_None
;
16438 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16439 PyObject
*resultobj
;
16440 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16443 int arg4
= (int) 0 ;
16444 int arg5
= (int) 0 ;
16445 PyObject
* obj0
= 0 ;
16446 PyObject
* obj1
= 0 ;
16447 PyObject
* obj2
= 0 ;
16448 PyObject
* obj3
= 0 ;
16449 PyObject
* obj4
= 0 ;
16450 char *kwnames
[] = {
16451 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16457 arg2
= (double) SWIG_AsDouble(obj1
);
16458 if (PyErr_Occurred()) SWIG_fail
;
16459 arg3
= (double) SWIG_AsDouble(obj2
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16462 arg4
= (int) SWIG_AsInt(obj3
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16466 arg5
= (int) SWIG_AsInt(obj4
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16471 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
16473 wxPyEndAllowThreads(__tstate
);
16474 if (PyErr_Occurred()) SWIG_fail
;
16476 Py_INCREF(Py_None
); resultobj
= Py_None
;
16483 static PyObject
*_wrap_PyDrawnShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16484 PyObject
*resultobj
;
16485 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16489 int arg5
= (int) 0 ;
16490 int arg6
= (int) 0 ;
16491 PyObject
* obj0
= 0 ;
16492 PyObject
* obj1
= 0 ;
16493 PyObject
* obj2
= 0 ;
16494 PyObject
* obj3
= 0 ;
16495 PyObject
* obj4
= 0 ;
16496 PyObject
* obj5
= 0 ;
16497 char *kwnames
[] = {
16498 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16504 arg2
= (bool) SWIG_AsBool(obj1
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16506 arg3
= (double) SWIG_AsDouble(obj2
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16508 arg4
= (double) SWIG_AsDouble(obj3
);
16509 if (PyErr_Occurred()) SWIG_fail
;
16511 arg5
= (int) SWIG_AsInt(obj4
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16515 arg6
= (int) SWIG_AsInt(obj5
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16520 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
16522 wxPyEndAllowThreads(__tstate
);
16523 if (PyErr_Occurred()) SWIG_fail
;
16525 Py_INCREF(Py_None
); resultobj
= Py_None
;
16532 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16533 PyObject
*resultobj
;
16534 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16537 int arg4
= (int) 0 ;
16538 int arg5
= (int) 0 ;
16539 PyObject
* obj0
= 0 ;
16540 PyObject
* obj1
= 0 ;
16541 PyObject
* obj2
= 0 ;
16542 PyObject
* obj3
= 0 ;
16543 PyObject
* obj4
= 0 ;
16544 char *kwnames
[] = {
16545 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16551 arg2
= (double) SWIG_AsDouble(obj1
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16553 arg3
= (double) SWIG_AsDouble(obj2
);
16554 if (PyErr_Occurred()) SWIG_fail
;
16556 arg4
= (int) SWIG_AsInt(obj3
);
16557 if (PyErr_Occurred()) SWIG_fail
;
16560 arg5
= (int) SWIG_AsInt(obj4
);
16561 if (PyErr_Occurred()) SWIG_fail
;
16564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16565 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
16567 wxPyEndAllowThreads(__tstate
);
16568 if (PyErr_Occurred()) SWIG_fail
;
16570 Py_INCREF(Py_None
); resultobj
= Py_None
;
16577 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16578 PyObject
*resultobj
;
16579 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16582 int arg4
= (int) 0 ;
16583 int arg5
= (int) 0 ;
16584 PyObject
* obj0
= 0 ;
16585 PyObject
* obj1
= 0 ;
16586 PyObject
* obj2
= 0 ;
16587 PyObject
* obj3
= 0 ;
16588 PyObject
* obj4
= 0 ;
16589 char *kwnames
[] = {
16590 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16596 arg2
= (double) SWIG_AsDouble(obj1
);
16597 if (PyErr_Occurred()) SWIG_fail
;
16598 arg3
= (double) SWIG_AsDouble(obj2
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16601 arg4
= (int) SWIG_AsInt(obj3
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16605 arg5
= (int) SWIG_AsInt(obj4
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16610 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
16612 wxPyEndAllowThreads(__tstate
);
16613 if (PyErr_Occurred()) SWIG_fail
;
16615 Py_INCREF(Py_None
); resultobj
= Py_None
;
16622 static PyObject
*_wrap_PyDrawnShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16623 PyObject
*resultobj
;
16624 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16630 PyObject
* obj0
= 0 ;
16631 PyObject
* obj1
= 0 ;
16632 PyObject
* obj2
= 0 ;
16633 PyObject
* obj3
= 0 ;
16634 PyObject
* obj4
= 0 ;
16635 PyObject
* obj5
= 0 ;
16636 char *kwnames
[] = {
16637 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDrawnShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16643 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16644 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16646 if (arg2
== NULL
) {
16647 PyErr_SetString(PyExc_TypeError
,"null reference");
16650 arg3
= (double) SWIG_AsDouble(obj2
);
16651 if (PyErr_Occurred()) SWIG_fail
;
16652 arg4
= (double) SWIG_AsDouble(obj3
);
16653 if (PyErr_Occurred()) SWIG_fail
;
16654 arg5
= (double) SWIG_AsDouble(obj4
);
16655 if (PyErr_Occurred()) SWIG_fail
;
16656 arg6
= (double) SWIG_AsDouble(obj5
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16660 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
16662 wxPyEndAllowThreads(__tstate
);
16663 if (PyErr_Occurred()) SWIG_fail
;
16665 Py_INCREF(Py_None
); resultobj
= Py_None
;
16672 static PyObject
*_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16673 PyObject
*resultobj
;
16674 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16676 PyObject
* obj0
= 0 ;
16677 PyObject
* obj1
= 0 ;
16678 char *kwnames
[] = {
16679 (char *) "self",(char *) "dc", NULL
16682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16688 if (arg2
== NULL
) {
16689 PyErr_SetString(PyExc_TypeError
,"null reference");
16693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16694 (arg1
)->base_OnDrawControlPoints(*arg2
);
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16699 Py_INCREF(Py_None
); resultobj
= Py_None
;
16706 static PyObject
*_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16710 PyObject
* obj0
= 0 ;
16711 PyObject
* obj1
= 0 ;
16712 char *kwnames
[] = {
16713 (char *) "self",(char *) "dc", NULL
16716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16720 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16722 if (arg2
== NULL
) {
16723 PyErr_SetString(PyExc_TypeError
,"null reference");
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 (arg1
)->base_OnEraseControlPoints(*arg2
);
16730 wxPyEndAllowThreads(__tstate
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16733 Py_INCREF(Py_None
); resultobj
= Py_None
;
16740 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16741 PyObject
*resultobj
;
16742 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16744 bool arg3
= (bool) True
;
16745 PyObject
* obj0
= 0 ;
16746 PyObject
* obj1
= 0 ;
16747 PyObject
* obj2
= 0 ;
16748 char *kwnames
[] = {
16749 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16756 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16758 if (arg2
== NULL
) {
16759 PyErr_SetString(PyExc_TypeError
,"null reference");
16763 arg3
= (bool) SWIG_AsBool(obj2
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16768 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
16770 wxPyEndAllowThreads(__tstate
);
16771 if (PyErr_Occurred()) SWIG_fail
;
16773 Py_INCREF(Py_None
); resultobj
= Py_None
;
16780 static PyObject
*_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16781 PyObject
*resultobj
;
16782 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16783 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16787 int arg6
= (int) 0 ;
16788 int arg7
= (int) 0 ;
16789 PyObject
* obj0
= 0 ;
16790 PyObject
* obj1
= 0 ;
16791 PyObject
* obj2
= 0 ;
16792 PyObject
* obj3
= 0 ;
16793 PyObject
* obj4
= 0 ;
16794 PyObject
* obj5
= 0 ;
16795 PyObject
* obj6
= 0 ;
16796 char *kwnames
[] = {
16797 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDrawnShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16805 arg3
= (bool) SWIG_AsBool(obj2
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16807 arg4
= (double) SWIG_AsDouble(obj3
);
16808 if (PyErr_Occurred()) SWIG_fail
;
16809 arg5
= (double) SWIG_AsDouble(obj4
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16812 arg6
= (int) SWIG_AsInt(obj5
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16816 arg7
= (int) SWIG_AsInt(obj6
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16826 Py_INCREF(Py_None
); resultobj
= Py_None
;
16833 static PyObject
*_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
;
16835 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16836 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16839 int arg5
= (int) 0 ;
16840 int arg6
= (int) 0 ;
16841 PyObject
* obj0
= 0 ;
16842 PyObject
* obj1
= 0 ;
16843 PyObject
* obj2
= 0 ;
16844 PyObject
* obj3
= 0 ;
16845 PyObject
* obj4
= 0 ;
16846 PyObject
* obj5
= 0 ;
16847 char *kwnames
[] = {
16848 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16856 arg3
= (double) SWIG_AsDouble(obj2
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16858 arg4
= (double) SWIG_AsDouble(obj3
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16861 arg5
= (int) SWIG_AsInt(obj4
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16865 arg6
= (int) SWIG_AsInt(obj5
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16870 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16872 wxPyEndAllowThreads(__tstate
);
16873 if (PyErr_Occurred()) SWIG_fail
;
16875 Py_INCREF(Py_None
); resultobj
= Py_None
;
16882 static PyObject
*_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16883 PyObject
*resultobj
;
16884 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16885 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16888 int arg5
= (int) 0 ;
16889 int arg6
= (int) 0 ;
16890 PyObject
* obj0
= 0 ;
16891 PyObject
* obj1
= 0 ;
16892 PyObject
* obj2
= 0 ;
16893 PyObject
* obj3
= 0 ;
16894 PyObject
* obj4
= 0 ;
16895 PyObject
* obj5
= 0 ;
16896 char *kwnames
[] = {
16897 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16905 arg3
= (double) SWIG_AsDouble(obj2
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16907 arg4
= (double) SWIG_AsDouble(obj3
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16910 arg5
= (int) SWIG_AsInt(obj4
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16914 arg6
= (int) SWIG_AsInt(obj5
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16919 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16921 wxPyEndAllowThreads(__tstate
);
16922 if (PyErr_Occurred()) SWIG_fail
;
16924 Py_INCREF(Py_None
); resultobj
= Py_None
;
16931 static PyObject
*_wrap_PyDrawnShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16932 PyObject
*resultobj
;
16933 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16936 PyObject
* obj0
= 0 ;
16937 PyObject
* obj1
= 0 ;
16938 PyObject
* obj2
= 0 ;
16939 char *kwnames
[] = {
16940 (char *) "self",(char *) "w",(char *) "h", NULL
16943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16946 arg2
= (double) SWIG_AsDouble(obj1
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16948 arg3
= (double) SWIG_AsDouble(obj2
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16952 (arg1
)->base_OnBeginSize(arg2
,arg3
);
16954 wxPyEndAllowThreads(__tstate
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16957 Py_INCREF(Py_None
); resultobj
= Py_None
;
16964 static PyObject
*_wrap_PyDrawnShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16965 PyObject
*resultobj
;
16966 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16969 PyObject
* obj0
= 0 ;
16970 PyObject
* obj1
= 0 ;
16971 PyObject
* obj2
= 0 ;
16972 char *kwnames
[] = {
16973 (char *) "self",(char *) "w",(char *) "h", NULL
16976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16979 arg2
= (double) SWIG_AsDouble(obj1
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16981 arg3
= (double) SWIG_AsDouble(obj2
);
16982 if (PyErr_Occurred()) SWIG_fail
;
16984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16985 (arg1
)->base_OnEndSize(arg2
,arg3
);
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16990 Py_INCREF(Py_None
); resultobj
= Py_None
;
16997 static PyObject
* PyDrawnShape_swigregister(PyObject
*self
, PyObject
*args
) {
16999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17000 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape
, obj
);
17002 return Py_BuildValue((char *)"");
17004 static PyObject
*_wrap_new_OGLConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
;
17007 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17008 PyObject
*arg3
= (PyObject
*) 0 ;
17009 wxOGLConstraint
*result
;
17010 PyObject
* obj0
= 0 ;
17011 PyObject
* obj1
= 0 ;
17012 PyObject
* obj2
= 0 ;
17013 char *kwnames
[] = {
17014 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
17017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_OGLConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17018 arg1
= (int) SWIG_AsInt(obj0
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17025 result
= (wxOGLConstraint
*)new_wxOGLConstraint(arg1
,arg2
,arg3
);
17027 wxPyEndAllowThreads(__tstate
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17031 resultobj
= wxPyMake_wxObject(result
, 1);
17039 static PyObject
*_wrap_OGLConstraint_Evaluate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17040 PyObject
*resultobj
;
17041 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17043 PyObject
* obj0
= 0 ;
17044 char *kwnames
[] = {
17045 (char *) "self", NULL
17048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:OGLConstraint_Evaluate",kwnames
,&obj0
)) goto fail
;
17049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
17050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17053 result
= (bool)(arg1
)->Evaluate();
17055 wxPyEndAllowThreads(__tstate
);
17056 if (PyErr_Occurred()) SWIG_fail
;
17059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17067 static PyObject
*_wrap_OGLConstraint_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17068 PyObject
*resultobj
;
17069 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17072 PyObject
* obj0
= 0 ;
17073 PyObject
* obj1
= 0 ;
17074 PyObject
* obj2
= 0 ;
17075 char *kwnames
[] = {
17076 (char *) "self",(char *) "x",(char *) "y", NULL
17079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:OGLConstraint_SetSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
17081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17082 arg2
= (double) SWIG_AsDouble(obj1
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17084 arg3
= (double) SWIG_AsDouble(obj2
);
17085 if (PyErr_Occurred()) SWIG_fail
;
17087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17088 (arg1
)->SetSpacing(arg2
,arg3
);
17090 wxPyEndAllowThreads(__tstate
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17093 Py_INCREF(Py_None
); resultobj
= Py_None
;
17100 static PyObject
*_wrap_OGLConstraint_Equals(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17101 PyObject
*resultobj
;
17102 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17106 PyObject
* obj0
= 0 ;
17107 PyObject
* obj1
= 0 ;
17108 PyObject
* obj2
= 0 ;
17109 char *kwnames
[] = {
17110 (char *) "self",(char *) "a",(char *) "b", NULL
17113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:OGLConstraint_Equals",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
17115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17116 arg2
= (double) SWIG_AsDouble(obj1
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17118 arg3
= (double) SWIG_AsDouble(obj2
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17122 result
= (bool)(arg1
)->Equals(arg2
,arg3
);
17124 wxPyEndAllowThreads(__tstate
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17136 static PyObject
* OGLConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
17138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17139 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint
, obj
);
17141 return Py_BuildValue((char *)"");
17143 static PyObject
*_wrap_new_PyCompositeShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17144 PyObject
*resultobj
;
17145 wxPyCompositeShape
*result
;
17146 char *kwnames
[] = {
17150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyCompositeShape",kwnames
)) goto fail
;
17152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17153 result
= (wxPyCompositeShape
*)new wxPyCompositeShape();
17155 wxPyEndAllowThreads(__tstate
);
17156 if (PyErr_Occurred()) SWIG_fail
;
17158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCompositeShape
, 1);
17165 static PyObject
*_wrap_PyCompositeShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
;
17167 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17168 PyObject
*arg2
= (PyObject
*) 0 ;
17169 PyObject
*arg3
= (PyObject
*) 0 ;
17170 PyObject
* obj0
= 0 ;
17171 PyObject
* obj1
= 0 ;
17172 PyObject
* obj2
= 0 ;
17173 char *kwnames
[] = {
17174 (char *) "self",(char *) "self",(char *) "_class", NULL
17177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17184 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17186 wxPyEndAllowThreads(__tstate
);
17187 if (PyErr_Occurred()) SWIG_fail
;
17189 Py_INCREF(Py_None
); resultobj
= Py_None
;
17196 static PyObject
*_wrap_PyCompositeShape_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17197 PyObject
*resultobj
;
17198 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17199 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17200 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
17201 PyObject
* obj0
= 0 ;
17202 PyObject
* obj1
= 0 ;
17203 PyObject
* obj2
= 0 ;
17204 char *kwnames
[] = {
17205 (char *) "self",(char *) "child",(char *) "addAfter", NULL
17208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_AddChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17214 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17219 (arg1
)->AddChild(arg2
,arg3
);
17221 wxPyEndAllowThreads(__tstate
);
17222 if (PyErr_Occurred()) SWIG_fail
;
17224 Py_INCREF(Py_None
); resultobj
= Py_None
;
17231 static PyObject
*_wrap_PyCompositeShape_AddConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17232 PyObject
*resultobj
;
17233 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17234 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
17235 wxOGLConstraint
*result
;
17236 PyObject
* obj0
= 0 ;
17237 PyObject
* obj1
= 0 ;
17238 char *kwnames
[] = {
17239 (char *) "self",(char *) "constraint", NULL
17242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_AddConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
17243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17245 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOGLConstraint
,
17246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17249 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
);
17251 wxPyEndAllowThreads(__tstate
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17255 resultobj
= wxPyMake_wxObject(result
, 0);
17263 static PyObject
*_wrap_PyCompositeShape_AddConstrainedShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17264 PyObject
*resultobj
;
17265 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17267 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
17268 PyObject
*arg4
= (PyObject
*) 0 ;
17269 wxOGLConstraint
*result
;
17270 PyObject
* obj0
= 0 ;
17271 PyObject
* obj1
= 0 ;
17272 PyObject
* obj2
= 0 ;
17273 PyObject
* obj3
= 0 ;
17274 char *kwnames
[] = {
17275 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyCompositeShape_AddConstrainedShapes",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17281 arg2
= (int) SWIG_AsInt(obj1
);
17282 if (PyErr_Occurred()) SWIG_fail
;
17283 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17288 result
= (wxOGLConstraint
*)wxPyCompositeShape_AddConstrainedShapes(arg1
,arg2
,arg3
,arg4
);
17290 wxPyEndAllowThreads(__tstate
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17294 resultobj
= wxPyMake_wxObject(result
, 0);
17302 static PyObject
*_wrap_PyCompositeShape_AddSimpleConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
;
17304 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17306 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
17307 wxPyShape
*arg4
= (wxPyShape
*) 0 ;
17308 wxOGLConstraint
*result
;
17309 PyObject
* obj0
= 0 ;
17310 PyObject
* obj1
= 0 ;
17311 PyObject
* obj2
= 0 ;
17312 PyObject
* obj3
= 0 ;
17313 char *kwnames
[] = {
17314 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyCompositeShape_AddSimpleConstraint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17320 arg2
= (int) SWIG_AsInt(obj1
);
17321 if (PyErr_Occurred()) SWIG_fail
;
17322 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17324 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPyShape
,
17325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17328 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
,arg3
,arg4
);
17330 wxPyEndAllowThreads(__tstate
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17334 resultobj
= wxPyMake_wxObject(result
, 0);
17342 static PyObject
*_wrap_PyCompositeShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17343 PyObject
*resultobj
;
17344 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17345 PyObject
* obj0
= 0 ;
17346 char *kwnames
[] = {
17347 (char *) "self", NULL
17350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
17351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17355 (arg1
)->CalculateSize();
17357 wxPyEndAllowThreads(__tstate
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17360 Py_INCREF(Py_None
); resultobj
= Py_None
;
17367 static PyObject
*_wrap_PyCompositeShape_ContainsDivision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17368 PyObject
*resultobj
;
17369 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17370 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
17372 PyObject
* obj0
= 0 ;
17373 PyObject
* obj1
= 0 ;
17374 char *kwnames
[] = {
17375 (char *) "self",(char *) "division", NULL
17378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames
,&obj0
,&obj1
)) goto fail
;
17379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17381 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
17382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 result
= (bool)(arg1
)->ContainsDivision(arg2
);
17387 wxPyEndAllowThreads(__tstate
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17399 static PyObject
*_wrap_PyCompositeShape_DeleteConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
;
17401 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17402 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
17403 PyObject
* obj0
= 0 ;
17404 PyObject
* obj1
= 0 ;
17405 char *kwnames
[] = {
17406 (char *) "self",(char *) "constraint", NULL
17409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
17410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOGLConstraint
,
17413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17416 (arg1
)->DeleteConstraint(arg2
);
17418 wxPyEndAllowThreads(__tstate
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17421 Py_INCREF(Py_None
); resultobj
= Py_None
;
17428 static PyObject
*_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
;
17430 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17431 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17432 PyObject
* obj0
= 0 ;
17433 PyObject
* obj1
= 0 ;
17434 char *kwnames
[] = {
17435 (char *) "self",(char *) "child", NULL
17438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17445 (arg1
)->DeleteConstraintsInvolvingChild(arg2
);
17447 wxPyEndAllowThreads(__tstate
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17450 Py_INCREF(Py_None
); resultobj
= Py_None
;
17457 static PyObject
*_wrap_PyCompositeShape_FindContainerImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17458 PyObject
*resultobj
;
17459 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17461 PyObject
* obj0
= 0 ;
17462 char *kwnames
[] = {
17463 (char *) "self", NULL
17466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_FindContainerImage",kwnames
,&obj0
)) goto fail
;
17467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 result
= (wxPyShape
*)(arg1
)->FindContainerImage();
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17477 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
17485 static PyObject
*_wrap_PyCompositeShape_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17486 PyObject
*resultobj
;
17487 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17489 PyObject
* obj0
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "self", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetConstraints",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 result
= (PyObject
*)wxPyCompositeShape_GetConstraints(arg1
);
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17504 resultobj
= result
;
17511 static PyObject
*_wrap_PyCompositeShape_GetDivisions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17512 PyObject
*resultobj
;
17513 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17515 PyObject
* obj0
= 0 ;
17516 char *kwnames
[] = {
17517 (char *) "self", NULL
17520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetDivisions",kwnames
,&obj0
)) goto fail
;
17521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 result
= (PyObject
*)wxPyCompositeShape_GetDivisions(arg1
);
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17530 resultobj
= result
;
17537 static PyObject
*_wrap_PyCompositeShape_MakeContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17538 PyObject
*resultobj
;
17539 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17540 PyObject
* obj0
= 0 ;
17541 char *kwnames
[] = {
17542 (char *) "self", NULL
17545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_MakeContainer",kwnames
,&obj0
)) goto fail
;
17546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17550 (arg1
)->MakeContainer();
17552 wxPyEndAllowThreads(__tstate
);
17553 if (PyErr_Occurred()) SWIG_fail
;
17555 Py_INCREF(Py_None
); resultobj
= Py_None
;
17562 static PyObject
*_wrap_PyCompositeShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17563 PyObject
*resultobj
;
17564 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17566 PyObject
* obj0
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "self", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_Recompute",kwnames
,&obj0
)) goto fail
;
17572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17576 result
= (bool)(arg1
)->Recompute();
17578 wxPyEndAllowThreads(__tstate
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17590 static PyObject
*_wrap_PyCompositeShape_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
;
17592 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17593 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17594 PyObject
* obj0
= 0 ;
17595 PyObject
* obj1
= 0 ;
17596 char *kwnames
[] = {
17597 (char *) "self",(char *) "child", NULL
17600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 (arg1
)->RemoveChild(arg2
);
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17612 Py_INCREF(Py_None
); resultobj
= Py_None
;
17619 static PyObject
*_wrap_PyCompositeShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17620 PyObject
*resultobj
;
17621 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17622 PyObject
* obj0
= 0 ;
17623 char *kwnames
[] = {
17624 (char *) "self", NULL
17627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
17628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17632 (arg1
)->base_OnDelete();
17634 wxPyEndAllowThreads(__tstate
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17637 Py_INCREF(Py_None
); resultobj
= Py_None
;
17644 static PyObject
*_wrap_PyCompositeShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17645 PyObject
*resultobj
;
17646 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17648 PyObject
* obj0
= 0 ;
17649 PyObject
* obj1
= 0 ;
17650 char *kwnames
[] = {
17651 (char *) "self",(char *) "dc", NULL
17654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
17655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17658 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17660 if (arg2
== NULL
) {
17661 PyErr_SetString(PyExc_TypeError
,"null reference");
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 (arg1
)->base_OnDraw(*arg2
);
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17671 Py_INCREF(Py_None
); resultobj
= Py_None
;
17678 static PyObject
*_wrap_PyCompositeShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17679 PyObject
*resultobj
;
17680 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17682 PyObject
* obj0
= 0 ;
17683 PyObject
* obj1
= 0 ;
17684 char *kwnames
[] = {
17685 (char *) "self",(char *) "dc", NULL
17688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17692 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17694 if (arg2
== NULL
) {
17695 PyErr_SetString(PyExc_TypeError
,"null reference");
17699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17700 (arg1
)->base_OnDrawContents(*arg2
);
17702 wxPyEndAllowThreads(__tstate
);
17703 if (PyErr_Occurred()) SWIG_fail
;
17705 Py_INCREF(Py_None
); resultobj
= Py_None
;
17712 static PyObject
*_wrap_PyCompositeShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17713 PyObject
*resultobj
;
17714 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17716 bool arg3
= (bool) FALSE
;
17717 PyObject
* obj0
= 0 ;
17718 PyObject
* obj1
= 0 ;
17719 PyObject
* obj2
= 0 ;
17720 char *kwnames
[] = {
17721 (char *) "self",(char *) "dc",(char *) "erase", NULL
17724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17728 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17730 if (arg2
== NULL
) {
17731 PyErr_SetString(PyExc_TypeError
,"null reference");
17735 arg3
= (bool) SWIG_AsBool(obj2
);
17736 if (PyErr_Occurred()) SWIG_fail
;
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
17742 wxPyEndAllowThreads(__tstate
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17745 Py_INCREF(Py_None
); resultobj
= Py_None
;
17752 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17753 PyObject
*resultobj
;
17754 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17756 PyObject
* obj0
= 0 ;
17757 PyObject
* obj1
= 0 ;
17758 char *kwnames
[] = {
17759 (char *) "self",(char *) "dc", NULL
17762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
17763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17768 if (arg2
== NULL
) {
17769 PyErr_SetString(PyExc_TypeError
,"null reference");
17773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17774 (arg1
)->base_OnMoveLinks(*arg2
);
17776 wxPyEndAllowThreads(__tstate
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17779 Py_INCREF(Py_None
); resultobj
= Py_None
;
17786 static PyObject
*_wrap_PyCompositeShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
;
17788 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17790 PyObject
* obj0
= 0 ;
17791 PyObject
* obj1
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "self",(char *) "dc", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
17797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17800 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17802 if (arg2
== NULL
) {
17803 PyErr_SetString(PyExc_TypeError
,"null reference");
17807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17808 (arg1
)->base_OnErase(*arg2
);
17810 wxPyEndAllowThreads(__tstate
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17813 Py_INCREF(Py_None
); resultobj
= Py_None
;
17820 static PyObject
*_wrap_PyCompositeShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17821 PyObject
*resultobj
;
17822 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17824 PyObject
* obj0
= 0 ;
17825 PyObject
* obj1
= 0 ;
17826 char *kwnames
[] = {
17827 (char *) "self",(char *) "dc", NULL
17830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17834 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17836 if (arg2
== NULL
) {
17837 PyErr_SetString(PyExc_TypeError
,"null reference");
17841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17842 (arg1
)->base_OnEraseContents(*arg2
);
17844 wxPyEndAllowThreads(__tstate
);
17845 if (PyErr_Occurred()) SWIG_fail
;
17847 Py_INCREF(Py_None
); resultobj
= Py_None
;
17854 static PyObject
*_wrap_PyCompositeShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17855 PyObject
*resultobj
;
17856 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17858 PyObject
* obj0
= 0 ;
17859 PyObject
* obj1
= 0 ;
17860 char *kwnames
[] = {
17861 (char *) "self",(char *) "dc", NULL
17864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
17865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17868 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17870 if (arg2
== NULL
) {
17871 PyErr_SetString(PyExc_TypeError
,"null reference");
17875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17876 (arg1
)->base_OnHighlight(*arg2
);
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17881 Py_INCREF(Py_None
); resultobj
= Py_None
;
17888 static PyObject
*_wrap_PyCompositeShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
;
17890 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17893 int arg4
= (int) 0 ;
17894 int arg5
= (int) 0 ;
17895 PyObject
* obj0
= 0 ;
17896 PyObject
* obj1
= 0 ;
17897 PyObject
* obj2
= 0 ;
17898 PyObject
* obj3
= 0 ;
17899 PyObject
* obj4
= 0 ;
17900 char *kwnames
[] = {
17901 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17907 arg2
= (double) SWIG_AsDouble(obj1
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17909 arg3
= (double) SWIG_AsDouble(obj2
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17912 arg4
= (int) SWIG_AsInt(obj3
);
17913 if (PyErr_Occurred()) SWIG_fail
;
17916 arg5
= (int) SWIG_AsInt(obj4
);
17917 if (PyErr_Occurred()) SWIG_fail
;
17920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17921 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17926 Py_INCREF(Py_None
); resultobj
= Py_None
;
17933 static PyObject
*_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17934 PyObject
*resultobj
;
17935 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17938 int arg4
= (int) 0 ;
17939 int arg5
= (int) 0 ;
17940 PyObject
* obj0
= 0 ;
17941 PyObject
* obj1
= 0 ;
17942 PyObject
* obj2
= 0 ;
17943 PyObject
* obj3
= 0 ;
17944 PyObject
* obj4
= 0 ;
17945 char *kwnames
[] = {
17946 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17952 arg2
= (double) SWIG_AsDouble(obj1
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17954 arg3
= (double) SWIG_AsDouble(obj2
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17957 arg4
= (int) SWIG_AsInt(obj3
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17961 arg5
= (int) SWIG_AsInt(obj4
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17966 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
17968 wxPyEndAllowThreads(__tstate
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17971 Py_INCREF(Py_None
); resultobj
= Py_None
;
17978 static PyObject
*_wrap_PyCompositeShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17979 PyObject
*resultobj
;
17980 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17983 int arg4
= (int) 0 ;
17984 int arg5
= (int) 0 ;
17985 PyObject
* obj0
= 0 ;
17986 PyObject
* obj1
= 0 ;
17987 PyObject
* obj2
= 0 ;
17988 PyObject
* obj3
= 0 ;
17989 PyObject
* obj4
= 0 ;
17990 char *kwnames
[] = {
17991 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17997 arg2
= (double) SWIG_AsDouble(obj1
);
17998 if (PyErr_Occurred()) SWIG_fail
;
17999 arg3
= (double) SWIG_AsDouble(obj2
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18002 arg4
= (int) SWIG_AsInt(obj3
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18006 arg5
= (int) SWIG_AsInt(obj4
);
18007 if (PyErr_Occurred()) SWIG_fail
;
18010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18011 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
18013 wxPyEndAllowThreads(__tstate
);
18014 if (PyErr_Occurred()) SWIG_fail
;
18016 Py_INCREF(Py_None
); resultobj
= Py_None
;
18023 static PyObject
*_wrap_PyCompositeShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18024 PyObject
*resultobj
;
18025 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18028 PyObject
* obj0
= 0 ;
18029 PyObject
* obj1
= 0 ;
18030 PyObject
* obj2
= 0 ;
18031 char *kwnames
[] = {
18032 (char *) "self",(char *) "x",(char *) "y", NULL
18035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18038 arg2
= (double) SWIG_AsDouble(obj1
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18040 arg3
= (double) SWIG_AsDouble(obj2
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18044 (arg1
)->base_OnSize(arg2
,arg3
);
18046 wxPyEndAllowThreads(__tstate
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18049 Py_INCREF(Py_None
); resultobj
= Py_None
;
18056 static PyObject
*_wrap_PyCompositeShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18057 PyObject
*resultobj
;
18058 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18064 bool arg7
= (bool) True
;
18066 PyObject
* obj0
= 0 ;
18067 PyObject
* obj1
= 0 ;
18068 PyObject
* obj2
= 0 ;
18069 PyObject
* obj3
= 0 ;
18070 PyObject
* obj4
= 0 ;
18071 PyObject
* obj5
= 0 ;
18072 PyObject
* obj6
= 0 ;
18073 char *kwnames
[] = {
18074 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18081 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18083 if (arg2
== NULL
) {
18084 PyErr_SetString(PyExc_TypeError
,"null reference");
18087 arg3
= (double) SWIG_AsDouble(obj2
);
18088 if (PyErr_Occurred()) SWIG_fail
;
18089 arg4
= (double) SWIG_AsDouble(obj3
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18091 arg5
= (double) SWIG_AsDouble(obj4
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18093 arg6
= (double) SWIG_AsDouble(obj5
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18096 arg7
= (bool) SWIG_AsBool(obj6
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18101 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18115 static PyObject
*_wrap_PyCompositeShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18116 PyObject
*resultobj
;
18117 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18123 bool arg7
= (bool) True
;
18124 PyObject
* obj0
= 0 ;
18125 PyObject
* obj1
= 0 ;
18126 PyObject
* obj2
= 0 ;
18127 PyObject
* obj3
= 0 ;
18128 PyObject
* obj4
= 0 ;
18129 PyObject
* obj5
= 0 ;
18130 PyObject
* obj6
= 0 ;
18131 char *kwnames
[] = {
18132 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18138 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18139 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18141 if (arg2
== NULL
) {
18142 PyErr_SetString(PyExc_TypeError
,"null reference");
18145 arg3
= (double) SWIG_AsDouble(obj2
);
18146 if (PyErr_Occurred()) SWIG_fail
;
18147 arg4
= (double) SWIG_AsDouble(obj3
);
18148 if (PyErr_Occurred()) SWIG_fail
;
18149 arg5
= (double) SWIG_AsDouble(obj4
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18151 arg6
= (double) SWIG_AsDouble(obj5
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18154 arg7
= (bool) SWIG_AsBool(obj6
);
18155 if (PyErr_Occurred()) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 Py_INCREF(Py_None
); resultobj
= Py_None
;
18171 static PyObject
*_wrap_PyCompositeShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
;
18173 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18177 int arg5
= (int) 0 ;
18178 int arg6
= (int) 0 ;
18179 PyObject
* obj0
= 0 ;
18180 PyObject
* obj1
= 0 ;
18181 PyObject
* obj2
= 0 ;
18182 PyObject
* obj3
= 0 ;
18183 PyObject
* obj4
= 0 ;
18184 PyObject
* obj5
= 0 ;
18185 char *kwnames
[] = {
18186 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18192 arg2
= (bool) SWIG_AsBool(obj1
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18194 arg3
= (double) SWIG_AsDouble(obj2
);
18195 if (PyErr_Occurred()) SWIG_fail
;
18196 arg4
= (double) SWIG_AsDouble(obj3
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18199 arg5
= (int) SWIG_AsInt(obj4
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18203 arg6
= (int) SWIG_AsInt(obj5
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18208 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18210 wxPyEndAllowThreads(__tstate
);
18211 if (PyErr_Occurred()) SWIG_fail
;
18213 Py_INCREF(Py_None
); resultobj
= Py_None
;
18220 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18221 PyObject
*resultobj
;
18222 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18225 int arg4
= (int) 0 ;
18226 int arg5
= (int) 0 ;
18227 PyObject
* obj0
= 0 ;
18228 PyObject
* obj1
= 0 ;
18229 PyObject
* obj2
= 0 ;
18230 PyObject
* obj3
= 0 ;
18231 PyObject
* obj4
= 0 ;
18232 char *kwnames
[] = {
18233 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18239 arg2
= (double) SWIG_AsDouble(obj1
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18241 arg3
= (double) SWIG_AsDouble(obj2
);
18242 if (PyErr_Occurred()) SWIG_fail
;
18244 arg4
= (int) SWIG_AsInt(obj3
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18248 arg5
= (int) SWIG_AsInt(obj4
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18253 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18258 Py_INCREF(Py_None
); resultobj
= Py_None
;
18265 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18266 PyObject
*resultobj
;
18267 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18270 int arg4
= (int) 0 ;
18271 int arg5
= (int) 0 ;
18272 PyObject
* obj0
= 0 ;
18273 PyObject
* obj1
= 0 ;
18274 PyObject
* obj2
= 0 ;
18275 PyObject
* obj3
= 0 ;
18276 PyObject
* obj4
= 0 ;
18277 char *kwnames
[] = {
18278 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18284 arg2
= (double) SWIG_AsDouble(obj1
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18286 arg3
= (double) SWIG_AsDouble(obj2
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18289 arg4
= (int) SWIG_AsInt(obj3
);
18290 if (PyErr_Occurred()) SWIG_fail
;
18293 arg5
= (int) SWIG_AsInt(obj4
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18298 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
18300 wxPyEndAllowThreads(__tstate
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18303 Py_INCREF(Py_None
); resultobj
= Py_None
;
18310 static PyObject
*_wrap_PyCompositeShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18311 PyObject
*resultobj
;
18312 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18316 int arg5
= (int) 0 ;
18317 int arg6
= (int) 0 ;
18318 PyObject
* obj0
= 0 ;
18319 PyObject
* obj1
= 0 ;
18320 PyObject
* obj2
= 0 ;
18321 PyObject
* obj3
= 0 ;
18322 PyObject
* obj4
= 0 ;
18323 PyObject
* obj5
= 0 ;
18324 char *kwnames
[] = {
18325 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18331 arg2
= (bool) SWIG_AsBool(obj1
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18333 arg3
= (double) SWIG_AsDouble(obj2
);
18334 if (PyErr_Occurred()) SWIG_fail
;
18335 arg4
= (double) SWIG_AsDouble(obj3
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18338 arg5
= (int) SWIG_AsInt(obj4
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18342 arg6
= (int) SWIG_AsInt(obj5
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18347 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
18349 wxPyEndAllowThreads(__tstate
);
18350 if (PyErr_Occurred()) SWIG_fail
;
18352 Py_INCREF(Py_None
); resultobj
= Py_None
;
18359 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18360 PyObject
*resultobj
;
18361 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18364 int arg4
= (int) 0 ;
18365 int arg5
= (int) 0 ;
18366 PyObject
* obj0
= 0 ;
18367 PyObject
* obj1
= 0 ;
18368 PyObject
* obj2
= 0 ;
18369 PyObject
* obj3
= 0 ;
18370 PyObject
* obj4
= 0 ;
18371 char *kwnames
[] = {
18372 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18378 arg2
= (double) SWIG_AsDouble(obj1
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18380 arg3
= (double) SWIG_AsDouble(obj2
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18383 arg4
= (int) SWIG_AsInt(obj3
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18387 arg5
= (int) SWIG_AsInt(obj4
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18392 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
18394 wxPyEndAllowThreads(__tstate
);
18395 if (PyErr_Occurred()) SWIG_fail
;
18397 Py_INCREF(Py_None
); resultobj
= Py_None
;
18404 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18405 PyObject
*resultobj
;
18406 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18409 int arg4
= (int) 0 ;
18410 int arg5
= (int) 0 ;
18411 PyObject
* obj0
= 0 ;
18412 PyObject
* obj1
= 0 ;
18413 PyObject
* obj2
= 0 ;
18414 PyObject
* obj3
= 0 ;
18415 PyObject
* obj4
= 0 ;
18416 char *kwnames
[] = {
18417 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18423 arg2
= (double) SWIG_AsDouble(obj1
);
18424 if (PyErr_Occurred()) SWIG_fail
;
18425 arg3
= (double) SWIG_AsDouble(obj2
);
18426 if (PyErr_Occurred()) SWIG_fail
;
18428 arg4
= (int) SWIG_AsInt(obj3
);
18429 if (PyErr_Occurred()) SWIG_fail
;
18432 arg5
= (int) SWIG_AsInt(obj4
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18437 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
18439 wxPyEndAllowThreads(__tstate
);
18440 if (PyErr_Occurred()) SWIG_fail
;
18442 Py_INCREF(Py_None
); resultobj
= Py_None
;
18449 static PyObject
*_wrap_PyCompositeShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18450 PyObject
*resultobj
;
18451 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18457 PyObject
* obj0
= 0 ;
18458 PyObject
* obj1
= 0 ;
18459 PyObject
* obj2
= 0 ;
18460 PyObject
* obj3
= 0 ;
18461 PyObject
* obj4
= 0 ;
18462 PyObject
* obj5
= 0 ;
18463 char *kwnames
[] = {
18464 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyCompositeShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18473 if (arg2
== NULL
) {
18474 PyErr_SetString(PyExc_TypeError
,"null reference");
18477 arg3
= (double) SWIG_AsDouble(obj2
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18479 arg4
= (double) SWIG_AsDouble(obj3
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18481 arg5
= (double) SWIG_AsDouble(obj4
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18483 arg6
= (double) SWIG_AsDouble(obj5
);
18484 if (PyErr_Occurred()) SWIG_fail
;
18486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18487 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
18489 wxPyEndAllowThreads(__tstate
);
18490 if (PyErr_Occurred()) SWIG_fail
;
18492 Py_INCREF(Py_None
); resultobj
= Py_None
;
18499 static PyObject
*_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18500 PyObject
*resultobj
;
18501 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18503 PyObject
* obj0
= 0 ;
18504 PyObject
* obj1
= 0 ;
18505 char *kwnames
[] = {
18506 (char *) "self",(char *) "dc", NULL
18509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18513 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18515 if (arg2
== NULL
) {
18516 PyErr_SetString(PyExc_TypeError
,"null reference");
18520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18521 (arg1
)->base_OnDrawControlPoints(*arg2
);
18523 wxPyEndAllowThreads(__tstate
);
18524 if (PyErr_Occurred()) SWIG_fail
;
18526 Py_INCREF(Py_None
); resultobj
= Py_None
;
18533 static PyObject
*_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18534 PyObject
*resultobj
;
18535 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18537 PyObject
* obj0
= 0 ;
18538 PyObject
* obj1
= 0 ;
18539 char *kwnames
[] = {
18540 (char *) "self",(char *) "dc", NULL
18543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) 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_wxDC
,
18547 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18549 if (arg2
== NULL
) {
18550 PyErr_SetString(PyExc_TypeError
,"null reference");
18554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18555 (arg1
)->base_OnEraseControlPoints(*arg2
);
18557 wxPyEndAllowThreads(__tstate
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18560 Py_INCREF(Py_None
); resultobj
= Py_None
;
18567 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18568 PyObject
*resultobj
;
18569 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18571 bool arg3
= (bool) True
;
18572 PyObject
* obj0
= 0 ;
18573 PyObject
* obj1
= 0 ;
18574 PyObject
* obj2
= 0 ;
18575 char *kwnames
[] = {
18576 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18585 if (arg2
== NULL
) {
18586 PyErr_SetString(PyExc_TypeError
,"null reference");
18590 arg3
= (bool) SWIG_AsBool(obj2
);
18591 if (PyErr_Occurred()) SWIG_fail
;
18594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18595 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
18597 wxPyEndAllowThreads(__tstate
);
18598 if (PyErr_Occurred()) SWIG_fail
;
18600 Py_INCREF(Py_None
); resultobj
= Py_None
;
18607 static PyObject
*_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18608 PyObject
*resultobj
;
18609 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18610 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18614 int arg6
= (int) 0 ;
18615 int arg7
= (int) 0 ;
18616 PyObject
* obj0
= 0 ;
18617 PyObject
* obj1
= 0 ;
18618 PyObject
* obj2
= 0 ;
18619 PyObject
* obj3
= 0 ;
18620 PyObject
* obj4
= 0 ;
18621 PyObject
* obj5
= 0 ;
18622 PyObject
* obj6
= 0 ;
18623 char *kwnames
[] = {
18624 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyCompositeShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18632 arg3
= (bool) SWIG_AsBool(obj2
);
18633 if (PyErr_Occurred()) SWIG_fail
;
18634 arg4
= (double) SWIG_AsDouble(obj3
);
18635 if (PyErr_Occurred()) SWIG_fail
;
18636 arg5
= (double) SWIG_AsDouble(obj4
);
18637 if (PyErr_Occurred()) SWIG_fail
;
18639 arg6
= (int) SWIG_AsInt(obj5
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18643 arg7
= (int) SWIG_AsInt(obj6
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18648 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18650 wxPyEndAllowThreads(__tstate
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18653 Py_INCREF(Py_None
); resultobj
= Py_None
;
18660 static PyObject
*_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
;
18662 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18663 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18666 int arg5
= (int) 0 ;
18667 int arg6
= (int) 0 ;
18668 PyObject
* obj0
= 0 ;
18669 PyObject
* obj1
= 0 ;
18670 PyObject
* obj2
= 0 ;
18671 PyObject
* obj3
= 0 ;
18672 PyObject
* obj4
= 0 ;
18673 PyObject
* obj5
= 0 ;
18674 char *kwnames
[] = {
18675 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18683 arg3
= (double) SWIG_AsDouble(obj2
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18685 arg4
= (double) SWIG_AsDouble(obj3
);
18686 if (PyErr_Occurred()) SWIG_fail
;
18688 arg5
= (int) SWIG_AsInt(obj4
);
18689 if (PyErr_Occurred()) SWIG_fail
;
18692 arg6
= (int) SWIG_AsInt(obj5
);
18693 if (PyErr_Occurred()) SWIG_fail
;
18696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18697 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18699 wxPyEndAllowThreads(__tstate
);
18700 if (PyErr_Occurred()) SWIG_fail
;
18702 Py_INCREF(Py_None
); resultobj
= Py_None
;
18709 static PyObject
*_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18710 PyObject
*resultobj
;
18711 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18712 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18715 int arg5
= (int) 0 ;
18716 int arg6
= (int) 0 ;
18717 PyObject
* obj0
= 0 ;
18718 PyObject
* obj1
= 0 ;
18719 PyObject
* obj2
= 0 ;
18720 PyObject
* obj3
= 0 ;
18721 PyObject
* obj4
= 0 ;
18722 PyObject
* obj5
= 0 ;
18723 char *kwnames
[] = {
18724 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18732 arg3
= (double) SWIG_AsDouble(obj2
);
18733 if (PyErr_Occurred()) SWIG_fail
;
18734 arg4
= (double) SWIG_AsDouble(obj3
);
18735 if (PyErr_Occurred()) SWIG_fail
;
18737 arg5
= (int) SWIG_AsInt(obj4
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18741 arg6
= (int) SWIG_AsInt(obj5
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18746 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18748 wxPyEndAllowThreads(__tstate
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18751 Py_INCREF(Py_None
); resultobj
= Py_None
;
18758 static PyObject
*_wrap_PyCompositeShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18759 PyObject
*resultobj
;
18760 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18763 PyObject
* obj0
= 0 ;
18764 PyObject
* obj1
= 0 ;
18765 PyObject
* obj2
= 0 ;
18766 char *kwnames
[] = {
18767 (char *) "self",(char *) "w",(char *) "h", NULL
18770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18773 arg2
= (double) SWIG_AsDouble(obj1
);
18774 if (PyErr_Occurred()) SWIG_fail
;
18775 arg3
= (double) SWIG_AsDouble(obj2
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18779 (arg1
)->base_OnBeginSize(arg2
,arg3
);
18781 wxPyEndAllowThreads(__tstate
);
18782 if (PyErr_Occurred()) SWIG_fail
;
18784 Py_INCREF(Py_None
); resultobj
= Py_None
;
18791 static PyObject
*_wrap_PyCompositeShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18792 PyObject
*resultobj
;
18793 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18796 PyObject
* obj0
= 0 ;
18797 PyObject
* obj1
= 0 ;
18798 PyObject
* obj2
= 0 ;
18799 char *kwnames
[] = {
18800 (char *) "self",(char *) "w",(char *) "h", NULL
18803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18806 arg2
= (double) SWIG_AsDouble(obj1
);
18807 if (PyErr_Occurred()) SWIG_fail
;
18808 arg3
= (double) SWIG_AsDouble(obj2
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18812 (arg1
)->base_OnEndSize(arg2
,arg3
);
18814 wxPyEndAllowThreads(__tstate
);
18815 if (PyErr_Occurred()) SWIG_fail
;
18817 Py_INCREF(Py_None
); resultobj
= Py_None
;
18824 static PyObject
* PyCompositeShape_swigregister(PyObject
*self
, PyObject
*args
) {
18826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18827 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape
, obj
);
18829 return Py_BuildValue((char *)"");
18831 static PyObject
*_wrap_new_PyDividedShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
;
18833 double arg1
= (double) 0.0 ;
18834 double arg2
= (double) 0.0 ;
18835 wxPyDividedShape
*result
;
18836 PyObject
* obj0
= 0 ;
18837 PyObject
* obj1
= 0 ;
18838 char *kwnames
[] = {
18839 (char *) "width",(char *) "height", NULL
18842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyDividedShape",kwnames
,&obj0
,&obj1
)) goto fail
;
18844 arg1
= (double) SWIG_AsDouble(obj0
);
18845 if (PyErr_Occurred()) SWIG_fail
;
18848 arg2
= (double) SWIG_AsDouble(obj1
);
18849 if (PyErr_Occurred()) SWIG_fail
;
18852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18853 result
= (wxPyDividedShape
*)new wxPyDividedShape(arg1
,arg2
);
18855 wxPyEndAllowThreads(__tstate
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDividedShape
, 1);
18865 static PyObject
*_wrap_PyDividedShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18866 PyObject
*resultobj
;
18867 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18868 PyObject
*arg2
= (PyObject
*) 0 ;
18869 PyObject
*arg3
= (PyObject
*) 0 ;
18870 PyObject
* obj0
= 0 ;
18871 PyObject
* obj1
= 0 ;
18872 PyObject
* obj2
= 0 ;
18873 char *kwnames
[] = {
18874 (char *) "self",(char *) "self",(char *) "_class", NULL
18877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18884 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18886 wxPyEndAllowThreads(__tstate
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18889 Py_INCREF(Py_None
); resultobj
= Py_None
;
18896 static PyObject
*_wrap_PyDividedShape_EditRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18897 PyObject
*resultobj
;
18898 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18899 PyObject
* obj0
= 0 ;
18900 char *kwnames
[] = {
18901 (char *) "self", NULL
18904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_EditRegions",kwnames
,&obj0
)) goto fail
;
18905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18909 (arg1
)->EditRegions();
18911 wxPyEndAllowThreads(__tstate
);
18912 if (PyErr_Occurred()) SWIG_fail
;
18914 Py_INCREF(Py_None
); resultobj
= Py_None
;
18921 static PyObject
*_wrap_PyDividedShape_SetRegionSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18922 PyObject
*resultobj
;
18923 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18924 PyObject
* obj0
= 0 ;
18925 char *kwnames
[] = {
18926 (char *) "self", NULL
18929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_SetRegionSizes",kwnames
,&obj0
)) goto fail
;
18930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18934 (arg1
)->SetRegionSizes();
18936 wxPyEndAllowThreads(__tstate
);
18937 if (PyErr_Occurred()) SWIG_fail
;
18939 Py_INCREF(Py_None
); resultobj
= Py_None
;
18946 static PyObject
*_wrap_PyDividedShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18947 PyObject
*resultobj
;
18948 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18949 PyObject
* obj0
= 0 ;
18950 char *kwnames
[] = {
18951 (char *) "self", NULL
18954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
18955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18959 (arg1
)->base_OnDelete();
18961 wxPyEndAllowThreads(__tstate
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18964 Py_INCREF(Py_None
); resultobj
= Py_None
;
18971 static PyObject
*_wrap_PyDividedShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18972 PyObject
*resultobj
;
18973 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18975 PyObject
* obj0
= 0 ;
18976 PyObject
* obj1
= 0 ;
18977 char *kwnames
[] = {
18978 (char *) "self",(char *) "dc", NULL
18981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
18982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18984 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18985 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18987 if (arg2
== NULL
) {
18988 PyErr_SetString(PyExc_TypeError
,"null reference");
18992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18993 (arg1
)->base_OnDraw(*arg2
);
18995 wxPyEndAllowThreads(__tstate
);
18996 if (PyErr_Occurred()) SWIG_fail
;
18998 Py_INCREF(Py_None
); resultobj
= Py_None
;
19005 static PyObject
*_wrap_PyDividedShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19006 PyObject
*resultobj
;
19007 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19009 PyObject
* obj0
= 0 ;
19010 PyObject
* obj1
= 0 ;
19011 char *kwnames
[] = {
19012 (char *) "self",(char *) "dc", NULL
19015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
19016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19021 if (arg2
== NULL
) {
19022 PyErr_SetString(PyExc_TypeError
,"null reference");
19026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19027 (arg1
)->base_OnDrawContents(*arg2
);
19029 wxPyEndAllowThreads(__tstate
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19032 Py_INCREF(Py_None
); resultobj
= Py_None
;
19039 static PyObject
*_wrap_PyDividedShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
;
19041 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19043 bool arg3
= (bool) FALSE
;
19044 PyObject
* obj0
= 0 ;
19045 PyObject
* obj1
= 0 ;
19046 PyObject
* obj2
= 0 ;
19047 char *kwnames
[] = {
19048 (char *) "self",(char *) "dc",(char *) "erase", NULL
19051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19054 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19055 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19057 if (arg2
== NULL
) {
19058 PyErr_SetString(PyExc_TypeError
,"null reference");
19062 arg3
= (bool) SWIG_AsBool(obj2
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
19069 wxPyEndAllowThreads(__tstate
);
19070 if (PyErr_Occurred()) SWIG_fail
;
19072 Py_INCREF(Py_None
); resultobj
= Py_None
;
19079 static PyObject
*_wrap_PyDividedShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19080 PyObject
*resultobj
;
19081 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19083 PyObject
* obj0
= 0 ;
19084 PyObject
* obj1
= 0 ;
19085 char *kwnames
[] = {
19086 (char *) "self",(char *) "dc", NULL
19089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
19090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19093 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19095 if (arg2
== NULL
) {
19096 PyErr_SetString(PyExc_TypeError
,"null reference");
19100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19101 (arg1
)->base_OnMoveLinks(*arg2
);
19103 wxPyEndAllowThreads(__tstate
);
19104 if (PyErr_Occurred()) SWIG_fail
;
19106 Py_INCREF(Py_None
); resultobj
= Py_None
;
19113 static PyObject
*_wrap_PyDividedShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19114 PyObject
*resultobj
;
19115 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19117 PyObject
* obj0
= 0 ;
19118 PyObject
* obj1
= 0 ;
19119 char *kwnames
[] = {
19120 (char *) "self",(char *) "dc", NULL
19123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
19124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19129 if (arg2
== NULL
) {
19130 PyErr_SetString(PyExc_TypeError
,"null reference");
19134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19135 (arg1
)->base_OnErase(*arg2
);
19137 wxPyEndAllowThreads(__tstate
);
19138 if (PyErr_Occurred()) SWIG_fail
;
19140 Py_INCREF(Py_None
); resultobj
= Py_None
;
19147 static PyObject
*_wrap_PyDividedShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19148 PyObject
*resultobj
;
19149 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19151 PyObject
* obj0
= 0 ;
19152 PyObject
* obj1
= 0 ;
19153 char *kwnames
[] = {
19154 (char *) "self",(char *) "dc", NULL
19157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
19158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19160 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19161 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19163 if (arg2
== NULL
) {
19164 PyErr_SetString(PyExc_TypeError
,"null reference");
19168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19169 (arg1
)->base_OnEraseContents(*arg2
);
19171 wxPyEndAllowThreads(__tstate
);
19172 if (PyErr_Occurred()) SWIG_fail
;
19174 Py_INCREF(Py_None
); resultobj
= Py_None
;
19181 static PyObject
*_wrap_PyDividedShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19182 PyObject
*resultobj
;
19183 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19185 PyObject
* obj0
= 0 ;
19186 PyObject
* obj1
= 0 ;
19187 char *kwnames
[] = {
19188 (char *) "self",(char *) "dc", NULL
19191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
19192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19195 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19197 if (arg2
== NULL
) {
19198 PyErr_SetString(PyExc_TypeError
,"null reference");
19202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19203 (arg1
)->base_OnHighlight(*arg2
);
19205 wxPyEndAllowThreads(__tstate
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19208 Py_INCREF(Py_None
); resultobj
= Py_None
;
19215 static PyObject
*_wrap_PyDividedShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19216 PyObject
*resultobj
;
19217 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19220 int arg4
= (int) 0 ;
19221 int arg5
= (int) 0 ;
19222 PyObject
* obj0
= 0 ;
19223 PyObject
* obj1
= 0 ;
19224 PyObject
* obj2
= 0 ;
19225 PyObject
* obj3
= 0 ;
19226 PyObject
* obj4
= 0 ;
19227 char *kwnames
[] = {
19228 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19234 arg2
= (double) SWIG_AsDouble(obj1
);
19235 if (PyErr_Occurred()) SWIG_fail
;
19236 arg3
= (double) SWIG_AsDouble(obj2
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19239 arg4
= (int) SWIG_AsInt(obj3
);
19240 if (PyErr_Occurred()) SWIG_fail
;
19243 arg5
= (int) SWIG_AsInt(obj4
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19248 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
19250 wxPyEndAllowThreads(__tstate
);
19251 if (PyErr_Occurred()) SWIG_fail
;
19253 Py_INCREF(Py_None
); resultobj
= Py_None
;
19260 static PyObject
*_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19261 PyObject
*resultobj
;
19262 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19265 int arg4
= (int) 0 ;
19266 int arg5
= (int) 0 ;
19267 PyObject
* obj0
= 0 ;
19268 PyObject
* obj1
= 0 ;
19269 PyObject
* obj2
= 0 ;
19270 PyObject
* obj3
= 0 ;
19271 PyObject
* obj4
= 0 ;
19272 char *kwnames
[] = {
19273 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19279 arg2
= (double) SWIG_AsDouble(obj1
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19281 arg3
= (double) SWIG_AsDouble(obj2
);
19282 if (PyErr_Occurred()) SWIG_fail
;
19284 arg4
= (int) SWIG_AsInt(obj3
);
19285 if (PyErr_Occurred()) SWIG_fail
;
19288 arg5
= (int) SWIG_AsInt(obj4
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19293 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
19295 wxPyEndAllowThreads(__tstate
);
19296 if (PyErr_Occurred()) SWIG_fail
;
19298 Py_INCREF(Py_None
); resultobj
= Py_None
;
19305 static PyObject
*_wrap_PyDividedShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19306 PyObject
*resultobj
;
19307 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19310 int arg4
= (int) 0 ;
19311 int arg5
= (int) 0 ;
19312 PyObject
* obj0
= 0 ;
19313 PyObject
* obj1
= 0 ;
19314 PyObject
* obj2
= 0 ;
19315 PyObject
* obj3
= 0 ;
19316 PyObject
* obj4
= 0 ;
19317 char *kwnames
[] = {
19318 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19324 arg2
= (double) SWIG_AsDouble(obj1
);
19325 if (PyErr_Occurred()) SWIG_fail
;
19326 arg3
= (double) SWIG_AsDouble(obj2
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19329 arg4
= (int) SWIG_AsInt(obj3
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19333 arg5
= (int) SWIG_AsInt(obj4
);
19334 if (PyErr_Occurred()) SWIG_fail
;
19337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19338 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
19340 wxPyEndAllowThreads(__tstate
);
19341 if (PyErr_Occurred()) SWIG_fail
;
19343 Py_INCREF(Py_None
); resultobj
= Py_None
;
19350 static PyObject
*_wrap_PyDividedShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19351 PyObject
*resultobj
;
19352 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19355 PyObject
* obj0
= 0 ;
19356 PyObject
* obj1
= 0 ;
19357 PyObject
* obj2
= 0 ;
19358 char *kwnames
[] = {
19359 (char *) "self",(char *) "x",(char *) "y", NULL
19362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19365 arg2
= (double) SWIG_AsDouble(obj1
);
19366 if (PyErr_Occurred()) SWIG_fail
;
19367 arg3
= (double) SWIG_AsDouble(obj2
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19371 (arg1
)->base_OnSize(arg2
,arg3
);
19373 wxPyEndAllowThreads(__tstate
);
19374 if (PyErr_Occurred()) SWIG_fail
;
19376 Py_INCREF(Py_None
); resultobj
= Py_None
;
19383 static PyObject
*_wrap_PyDividedShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19384 PyObject
*resultobj
;
19385 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19391 bool arg7
= (bool) True
;
19393 PyObject
* obj0
= 0 ;
19394 PyObject
* obj1
= 0 ;
19395 PyObject
* obj2
= 0 ;
19396 PyObject
* obj3
= 0 ;
19397 PyObject
* obj4
= 0 ;
19398 PyObject
* obj5
= 0 ;
19399 PyObject
* obj6
= 0 ;
19400 char *kwnames
[] = {
19401 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19408 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19410 if (arg2
== NULL
) {
19411 PyErr_SetString(PyExc_TypeError
,"null reference");
19414 arg3
= (double) SWIG_AsDouble(obj2
);
19415 if (PyErr_Occurred()) SWIG_fail
;
19416 arg4
= (double) SWIG_AsDouble(obj3
);
19417 if (PyErr_Occurred()) SWIG_fail
;
19418 arg5
= (double) SWIG_AsDouble(obj4
);
19419 if (PyErr_Occurred()) SWIG_fail
;
19420 arg6
= (double) SWIG_AsDouble(obj5
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19423 arg7
= (bool) SWIG_AsBool(obj6
);
19424 if (PyErr_Occurred()) SWIG_fail
;
19427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19428 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19430 wxPyEndAllowThreads(__tstate
);
19431 if (PyErr_Occurred()) SWIG_fail
;
19434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19442 static PyObject
*_wrap_PyDividedShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19443 PyObject
*resultobj
;
19444 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19450 bool arg7
= (bool) True
;
19451 PyObject
* obj0
= 0 ;
19452 PyObject
* obj1
= 0 ;
19453 PyObject
* obj2
= 0 ;
19454 PyObject
* obj3
= 0 ;
19455 PyObject
* obj4
= 0 ;
19456 PyObject
* obj5
= 0 ;
19457 PyObject
* obj6
= 0 ;
19458 char *kwnames
[] = {
19459 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19466 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19468 if (arg2
== NULL
) {
19469 PyErr_SetString(PyExc_TypeError
,"null reference");
19472 arg3
= (double) SWIG_AsDouble(obj2
);
19473 if (PyErr_Occurred()) SWIG_fail
;
19474 arg4
= (double) SWIG_AsDouble(obj3
);
19475 if (PyErr_Occurred()) SWIG_fail
;
19476 arg5
= (double) SWIG_AsDouble(obj4
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19478 arg6
= (double) SWIG_AsDouble(obj5
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19481 arg7
= (bool) SWIG_AsBool(obj6
);
19482 if (PyErr_Occurred()) SWIG_fail
;
19485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19486 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19488 wxPyEndAllowThreads(__tstate
);
19489 if (PyErr_Occurred()) SWIG_fail
;
19491 Py_INCREF(Py_None
); resultobj
= Py_None
;
19498 static PyObject
*_wrap_PyDividedShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19499 PyObject
*resultobj
;
19500 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19504 int arg5
= (int) 0 ;
19505 int arg6
= (int) 0 ;
19506 PyObject
* obj0
= 0 ;
19507 PyObject
* obj1
= 0 ;
19508 PyObject
* obj2
= 0 ;
19509 PyObject
* obj3
= 0 ;
19510 PyObject
* obj4
= 0 ;
19511 PyObject
* obj5
= 0 ;
19512 char *kwnames
[] = {
19513 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19519 arg2
= (bool) SWIG_AsBool(obj1
);
19520 if (PyErr_Occurred()) SWIG_fail
;
19521 arg3
= (double) SWIG_AsDouble(obj2
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19523 arg4
= (double) SWIG_AsDouble(obj3
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19526 arg5
= (int) SWIG_AsInt(obj4
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19530 arg6
= (int) SWIG_AsInt(obj5
);
19531 if (PyErr_Occurred()) SWIG_fail
;
19534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19535 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19537 wxPyEndAllowThreads(__tstate
);
19538 if (PyErr_Occurred()) SWIG_fail
;
19540 Py_INCREF(Py_None
); resultobj
= Py_None
;
19547 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19548 PyObject
*resultobj
;
19549 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19552 int arg4
= (int) 0 ;
19553 int arg5
= (int) 0 ;
19554 PyObject
* obj0
= 0 ;
19555 PyObject
* obj1
= 0 ;
19556 PyObject
* obj2
= 0 ;
19557 PyObject
* obj3
= 0 ;
19558 PyObject
* obj4
= 0 ;
19559 char *kwnames
[] = {
19560 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19566 arg2
= (double) SWIG_AsDouble(obj1
);
19567 if (PyErr_Occurred()) SWIG_fail
;
19568 arg3
= (double) SWIG_AsDouble(obj2
);
19569 if (PyErr_Occurred()) SWIG_fail
;
19571 arg4
= (int) SWIG_AsInt(obj3
);
19572 if (PyErr_Occurred()) SWIG_fail
;
19575 arg5
= (int) SWIG_AsInt(obj4
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19580 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
19582 wxPyEndAllowThreads(__tstate
);
19583 if (PyErr_Occurred()) SWIG_fail
;
19585 Py_INCREF(Py_None
); resultobj
= Py_None
;
19592 static PyObject
*_wrap_PyDividedShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19593 PyObject
*resultobj
;
19594 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19597 int arg4
= (int) 0 ;
19598 int arg5
= (int) 0 ;
19599 PyObject
* obj0
= 0 ;
19600 PyObject
* obj1
= 0 ;
19601 PyObject
* obj2
= 0 ;
19602 PyObject
* obj3
= 0 ;
19603 PyObject
* obj4
= 0 ;
19604 char *kwnames
[] = {
19605 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19611 arg2
= (double) SWIG_AsDouble(obj1
);
19612 if (PyErr_Occurred()) SWIG_fail
;
19613 arg3
= (double) SWIG_AsDouble(obj2
);
19614 if (PyErr_Occurred()) SWIG_fail
;
19616 arg4
= (int) SWIG_AsInt(obj3
);
19617 if (PyErr_Occurred()) SWIG_fail
;
19620 arg5
= (int) SWIG_AsInt(obj4
);
19621 if (PyErr_Occurred()) SWIG_fail
;
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19625 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
19627 wxPyEndAllowThreads(__tstate
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19630 Py_INCREF(Py_None
); resultobj
= Py_None
;
19637 static PyObject
*_wrap_PyDividedShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19638 PyObject
*resultobj
;
19639 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19643 int arg5
= (int) 0 ;
19644 int arg6
= (int) 0 ;
19645 PyObject
* obj0
= 0 ;
19646 PyObject
* obj1
= 0 ;
19647 PyObject
* obj2
= 0 ;
19648 PyObject
* obj3
= 0 ;
19649 PyObject
* obj4
= 0 ;
19650 PyObject
* obj5
= 0 ;
19651 char *kwnames
[] = {
19652 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19658 arg2
= (bool) SWIG_AsBool(obj1
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19660 arg3
= (double) SWIG_AsDouble(obj2
);
19661 if (PyErr_Occurred()) SWIG_fail
;
19662 arg4
= (double) SWIG_AsDouble(obj3
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19665 arg5
= (int) SWIG_AsInt(obj4
);
19666 if (PyErr_Occurred()) SWIG_fail
;
19669 arg6
= (int) SWIG_AsInt(obj5
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19674 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
19676 wxPyEndAllowThreads(__tstate
);
19677 if (PyErr_Occurred()) SWIG_fail
;
19679 Py_INCREF(Py_None
); resultobj
= Py_None
;
19686 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19687 PyObject
*resultobj
;
19688 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19691 int arg4
= (int) 0 ;
19692 int arg5
= (int) 0 ;
19693 PyObject
* obj0
= 0 ;
19694 PyObject
* obj1
= 0 ;
19695 PyObject
* obj2
= 0 ;
19696 PyObject
* obj3
= 0 ;
19697 PyObject
* obj4
= 0 ;
19698 char *kwnames
[] = {
19699 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19705 arg2
= (double) SWIG_AsDouble(obj1
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19707 arg3
= (double) SWIG_AsDouble(obj2
);
19708 if (PyErr_Occurred()) SWIG_fail
;
19710 arg4
= (int) SWIG_AsInt(obj3
);
19711 if (PyErr_Occurred()) SWIG_fail
;
19714 arg5
= (int) SWIG_AsInt(obj4
);
19715 if (PyErr_Occurred()) SWIG_fail
;
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
19721 wxPyEndAllowThreads(__tstate
);
19722 if (PyErr_Occurred()) SWIG_fail
;
19724 Py_INCREF(Py_None
); resultobj
= Py_None
;
19731 static PyObject
*_wrap_PyDividedShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19732 PyObject
*resultobj
;
19733 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19736 int arg4
= (int) 0 ;
19737 int arg5
= (int) 0 ;
19738 PyObject
* obj0
= 0 ;
19739 PyObject
* obj1
= 0 ;
19740 PyObject
* obj2
= 0 ;
19741 PyObject
* obj3
= 0 ;
19742 PyObject
* obj4
= 0 ;
19743 char *kwnames
[] = {
19744 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19750 arg2
= (double) SWIG_AsDouble(obj1
);
19751 if (PyErr_Occurred()) SWIG_fail
;
19752 arg3
= (double) SWIG_AsDouble(obj2
);
19753 if (PyErr_Occurred()) SWIG_fail
;
19755 arg4
= (int) SWIG_AsInt(obj3
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19759 arg5
= (int) SWIG_AsInt(obj4
);
19760 if (PyErr_Occurred()) SWIG_fail
;
19763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19764 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
19766 wxPyEndAllowThreads(__tstate
);
19767 if (PyErr_Occurred()) SWIG_fail
;
19769 Py_INCREF(Py_None
); resultobj
= Py_None
;
19776 static PyObject
*_wrap_PyDividedShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19777 PyObject
*resultobj
;
19778 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19784 PyObject
* obj0
= 0 ;
19785 PyObject
* obj1
= 0 ;
19786 PyObject
* obj2
= 0 ;
19787 PyObject
* obj3
= 0 ;
19788 PyObject
* obj4
= 0 ;
19789 PyObject
* obj5
= 0 ;
19790 char *kwnames
[] = {
19791 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDividedShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19800 if (arg2
== NULL
) {
19801 PyErr_SetString(PyExc_TypeError
,"null reference");
19804 arg3
= (double) SWIG_AsDouble(obj2
);
19805 if (PyErr_Occurred()) SWIG_fail
;
19806 arg4
= (double) SWIG_AsDouble(obj3
);
19807 if (PyErr_Occurred()) SWIG_fail
;
19808 arg5
= (double) SWIG_AsDouble(obj4
);
19809 if (PyErr_Occurred()) SWIG_fail
;
19810 arg6
= (double) SWIG_AsDouble(obj5
);
19811 if (PyErr_Occurred()) SWIG_fail
;
19813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19814 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
19816 wxPyEndAllowThreads(__tstate
);
19817 if (PyErr_Occurred()) SWIG_fail
;
19819 Py_INCREF(Py_None
); resultobj
= Py_None
;
19826 static PyObject
*_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19827 PyObject
*resultobj
;
19828 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19830 PyObject
* obj0
= 0 ;
19831 PyObject
* obj1
= 0 ;
19832 char *kwnames
[] = {
19833 (char *) "self",(char *) "dc", NULL
19836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19840 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19842 if (arg2
== NULL
) {
19843 PyErr_SetString(PyExc_TypeError
,"null reference");
19847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19848 (arg1
)->base_OnDrawControlPoints(*arg2
);
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19853 Py_INCREF(Py_None
); resultobj
= Py_None
;
19860 static PyObject
*_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19861 PyObject
*resultobj
;
19862 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19864 PyObject
* obj0
= 0 ;
19865 PyObject
* obj1
= 0 ;
19866 char *kwnames
[] = {
19867 (char *) "self",(char *) "dc", NULL
19870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19874 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19876 if (arg2
== NULL
) {
19877 PyErr_SetString(PyExc_TypeError
,"null reference");
19881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19882 (arg1
)->base_OnEraseControlPoints(*arg2
);
19884 wxPyEndAllowThreads(__tstate
);
19885 if (PyErr_Occurred()) SWIG_fail
;
19887 Py_INCREF(Py_None
); resultobj
= Py_None
;
19894 static PyObject
*_wrap_PyDividedShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19895 PyObject
*resultobj
;
19896 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19898 bool arg3
= (bool) True
;
19899 PyObject
* obj0
= 0 ;
19900 PyObject
* obj1
= 0 ;
19901 PyObject
* obj2
= 0 ;
19902 char *kwnames
[] = {
19903 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19910 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19912 if (arg2
== NULL
) {
19913 PyErr_SetString(PyExc_TypeError
,"null reference");
19917 arg3
= (bool) SWIG_AsBool(obj2
);
19918 if (PyErr_Occurred()) SWIG_fail
;
19921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19922 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
19924 wxPyEndAllowThreads(__tstate
);
19925 if (PyErr_Occurred()) SWIG_fail
;
19927 Py_INCREF(Py_None
); resultobj
= Py_None
;
19934 static PyObject
*_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19935 PyObject
*resultobj
;
19936 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19937 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19941 int arg6
= (int) 0 ;
19942 int arg7
= (int) 0 ;
19943 PyObject
* obj0
= 0 ;
19944 PyObject
* obj1
= 0 ;
19945 PyObject
* obj2
= 0 ;
19946 PyObject
* obj3
= 0 ;
19947 PyObject
* obj4
= 0 ;
19948 PyObject
* obj5
= 0 ;
19949 PyObject
* obj6
= 0 ;
19950 char *kwnames
[] = {
19951 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDividedShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19957 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
19958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19959 arg3
= (bool) SWIG_AsBool(obj2
);
19960 if (PyErr_Occurred()) SWIG_fail
;
19961 arg4
= (double) SWIG_AsDouble(obj3
);
19962 if (PyErr_Occurred()) SWIG_fail
;
19963 arg5
= (double) SWIG_AsDouble(obj4
);
19964 if (PyErr_Occurred()) SWIG_fail
;
19966 arg6
= (int) SWIG_AsInt(obj5
);
19967 if (PyErr_Occurred()) SWIG_fail
;
19970 arg7
= (int) SWIG_AsInt(obj6
);
19971 if (PyErr_Occurred()) SWIG_fail
;
19974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19975 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19977 wxPyEndAllowThreads(__tstate
);
19978 if (PyErr_Occurred()) SWIG_fail
;
19980 Py_INCREF(Py_None
); resultobj
= Py_None
;
19987 static PyObject
*_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19988 PyObject
*resultobj
;
19989 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19990 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19993 int arg5
= (int) 0 ;
19994 int arg6
= (int) 0 ;
19995 PyObject
* obj0
= 0 ;
19996 PyObject
* obj1
= 0 ;
19997 PyObject
* obj2
= 0 ;
19998 PyObject
* obj3
= 0 ;
19999 PyObject
* obj4
= 0 ;
20000 PyObject
* obj5
= 0 ;
20001 char *kwnames
[] = {
20002 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
20009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20010 arg3
= (double) SWIG_AsDouble(obj2
);
20011 if (PyErr_Occurred()) SWIG_fail
;
20012 arg4
= (double) SWIG_AsDouble(obj3
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20015 arg5
= (int) SWIG_AsInt(obj4
);
20016 if (PyErr_Occurred()) SWIG_fail
;
20019 arg6
= (int) SWIG_AsInt(obj5
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20024 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20029 Py_INCREF(Py_None
); resultobj
= Py_None
;
20036 static PyObject
*_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
;
20038 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20039 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
20042 int arg5
= (int) 0 ;
20043 int arg6
= (int) 0 ;
20044 PyObject
* obj0
= 0 ;
20045 PyObject
* obj1
= 0 ;
20046 PyObject
* obj2
= 0 ;
20047 PyObject
* obj3
= 0 ;
20048 PyObject
* obj4
= 0 ;
20049 PyObject
* obj5
= 0 ;
20050 char *kwnames
[] = {
20051 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
20058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20059 arg3
= (double) SWIG_AsDouble(obj2
);
20060 if (PyErr_Occurred()) SWIG_fail
;
20061 arg4
= (double) SWIG_AsDouble(obj3
);
20062 if (PyErr_Occurred()) SWIG_fail
;
20064 arg5
= (int) SWIG_AsInt(obj4
);
20065 if (PyErr_Occurred()) SWIG_fail
;
20068 arg6
= (int) SWIG_AsInt(obj5
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20073 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
20075 wxPyEndAllowThreads(__tstate
);
20076 if (PyErr_Occurred()) SWIG_fail
;
20078 Py_INCREF(Py_None
); resultobj
= Py_None
;
20085 static PyObject
*_wrap_PyDividedShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20086 PyObject
*resultobj
;
20087 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20090 PyObject
* obj0
= 0 ;
20091 PyObject
* obj1
= 0 ;
20092 PyObject
* obj2
= 0 ;
20093 char *kwnames
[] = {
20094 (char *) "self",(char *) "w",(char *) "h", NULL
20097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20100 arg2
= (double) SWIG_AsDouble(obj1
);
20101 if (PyErr_Occurred()) SWIG_fail
;
20102 arg3
= (double) SWIG_AsDouble(obj2
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20106 (arg1
)->base_OnBeginSize(arg2
,arg3
);
20108 wxPyEndAllowThreads(__tstate
);
20109 if (PyErr_Occurred()) SWIG_fail
;
20111 Py_INCREF(Py_None
); resultobj
= Py_None
;
20118 static PyObject
*_wrap_PyDividedShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20119 PyObject
*resultobj
;
20120 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20123 PyObject
* obj0
= 0 ;
20124 PyObject
* obj1
= 0 ;
20125 PyObject
* obj2
= 0 ;
20126 char *kwnames
[] = {
20127 (char *) "self",(char *) "w",(char *) "h", NULL
20130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20133 arg2
= (double) SWIG_AsDouble(obj1
);
20134 if (PyErr_Occurred()) SWIG_fail
;
20135 arg3
= (double) SWIG_AsDouble(obj2
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20139 (arg1
)->base_OnEndSize(arg2
,arg3
);
20141 wxPyEndAllowThreads(__tstate
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20144 Py_INCREF(Py_None
); resultobj
= Py_None
;
20151 static PyObject
* PyDividedShape_swigregister(PyObject
*self
, PyObject
*args
) {
20153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20154 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape
, obj
);
20156 return Py_BuildValue((char *)"");
20158 static PyObject
*_wrap_new_PyDivisionShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20159 PyObject
*resultobj
;
20160 wxPyDivisionShape
*result
;
20161 char *kwnames
[] = {
20165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDivisionShape",kwnames
)) goto fail
;
20167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20168 result
= (wxPyDivisionShape
*)new wxPyDivisionShape();
20170 wxPyEndAllowThreads(__tstate
);
20171 if (PyErr_Occurred()) SWIG_fail
;
20173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDivisionShape
, 1);
20180 static PyObject
*_wrap_PyDivisionShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20181 PyObject
*resultobj
;
20182 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20183 PyObject
*arg2
= (PyObject
*) 0 ;
20184 PyObject
*arg3
= (PyObject
*) 0 ;
20185 PyObject
* obj0
= 0 ;
20186 PyObject
* obj1
= 0 ;
20187 PyObject
* obj2
= 0 ;
20188 char *kwnames
[] = {
20189 (char *) "self",(char *) "self",(char *) "_class", NULL
20192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20199 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20201 wxPyEndAllowThreads(__tstate
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20204 Py_INCREF(Py_None
); resultobj
= Py_None
;
20211 static PyObject
*_wrap_PyDivisionShape_AdjustBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20212 PyObject
*resultobj
;
20213 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20216 PyObject
* obj0
= 0 ;
20217 PyObject
* obj1
= 0 ;
20218 PyObject
* obj2
= 0 ;
20219 char *kwnames
[] = {
20220 (char *) "self",(char *) "bottom",(char *) "test", NULL
20223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustBottom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20226 arg2
= (double) SWIG_AsDouble(obj1
);
20227 if (PyErr_Occurred()) SWIG_fail
;
20228 arg3
= (bool) SWIG_AsBool(obj2
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20232 (arg1
)->AdjustBottom(arg2
,arg3
);
20234 wxPyEndAllowThreads(__tstate
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20237 Py_INCREF(Py_None
); resultobj
= Py_None
;
20244 static PyObject
*_wrap_PyDivisionShape_AdjustLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20245 PyObject
*resultobj
;
20246 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20249 PyObject
* obj0
= 0 ;
20250 PyObject
* obj1
= 0 ;
20251 PyObject
* obj2
= 0 ;
20252 char *kwnames
[] = {
20253 (char *) "self",(char *) "left",(char *) "test", NULL
20256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustLeft",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20259 arg2
= (double) SWIG_AsDouble(obj1
);
20260 if (PyErr_Occurred()) SWIG_fail
;
20261 arg3
= (bool) SWIG_AsBool(obj2
);
20262 if (PyErr_Occurred()) SWIG_fail
;
20264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20265 (arg1
)->AdjustLeft(arg2
,arg3
);
20267 wxPyEndAllowThreads(__tstate
);
20268 if (PyErr_Occurred()) SWIG_fail
;
20270 Py_INCREF(Py_None
); resultobj
= Py_None
;
20277 static PyObject
*_wrap_PyDivisionShape_AdjustRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
;
20279 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20282 PyObject
* obj0
= 0 ;
20283 PyObject
* obj1
= 0 ;
20284 PyObject
* obj2
= 0 ;
20285 char *kwnames
[] = {
20286 (char *) "self",(char *) "right",(char *) "test", NULL
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustRight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20292 arg2
= (double) SWIG_AsDouble(obj1
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20294 arg3
= (bool) SWIG_AsBool(obj2
);
20295 if (PyErr_Occurred()) SWIG_fail
;
20297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20298 (arg1
)->AdjustRight(arg2
,arg3
);
20300 wxPyEndAllowThreads(__tstate
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20303 Py_INCREF(Py_None
); resultobj
= Py_None
;
20310 static PyObject
*_wrap_PyDivisionShape_AdjustTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20311 PyObject
*resultobj
;
20312 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20315 PyObject
* obj0
= 0 ;
20316 PyObject
* obj1
= 0 ;
20317 PyObject
* obj2
= 0 ;
20318 char *kwnames
[] = {
20319 (char *) "self",(char *) "top",(char *) "test", NULL
20322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20325 arg2
= (double) SWIG_AsDouble(obj1
);
20326 if (PyErr_Occurred()) SWIG_fail
;
20327 arg3
= (bool) SWIG_AsBool(obj2
);
20328 if (PyErr_Occurred()) SWIG_fail
;
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20331 (arg1
)->AdjustTop(arg2
,arg3
);
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20336 Py_INCREF(Py_None
); resultobj
= Py_None
;
20343 static PyObject
*_wrap_PyDivisionShape_Divide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20344 PyObject
*resultobj
;
20345 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20347 PyObject
* obj0
= 0 ;
20348 PyObject
* obj1
= 0 ;
20349 char *kwnames
[] = {
20350 (char *) "self",(char *) "direction", NULL
20353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_Divide",kwnames
,&obj0
,&obj1
)) goto fail
;
20354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20356 arg2
= (int) SWIG_AsInt(obj1
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20360 (arg1
)->Divide(arg2
);
20362 wxPyEndAllowThreads(__tstate
);
20363 if (PyErr_Occurred()) SWIG_fail
;
20365 Py_INCREF(Py_None
); resultobj
= Py_None
;
20372 static PyObject
*_wrap_PyDivisionShape_EditEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20373 PyObject
*resultobj
;
20374 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20376 PyObject
* obj0
= 0 ;
20377 PyObject
* obj1
= 0 ;
20378 char *kwnames
[] = {
20379 (char *) "self",(char *) "side", NULL
20382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_EditEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
20383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20385 arg2
= (int) SWIG_AsInt(obj1
);
20386 if (PyErr_Occurred()) SWIG_fail
;
20388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20389 (arg1
)->EditEdge(arg2
);
20391 wxPyEndAllowThreads(__tstate
);
20392 if (PyErr_Occurred()) SWIG_fail
;
20394 Py_INCREF(Py_None
); resultobj
= Py_None
;
20401 static PyObject
*_wrap_PyDivisionShape_GetBottomSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20402 PyObject
*resultobj
;
20403 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20404 wxPyDivisionShape
*result
;
20405 PyObject
* obj0
= 0 ;
20406 char *kwnames
[] = {
20407 (char *) "self", NULL
20410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetBottomSide",kwnames
,&obj0
)) goto fail
;
20411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20415 result
= (wxPyDivisionShape
*)(arg1
)->GetBottomSide();
20417 wxPyEndAllowThreads(__tstate
);
20418 if (PyErr_Occurred()) SWIG_fail
;
20421 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
20429 static PyObject
*_wrap_PyDivisionShape_GetHandleSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20430 PyObject
*resultobj
;
20431 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20433 PyObject
* obj0
= 0 ;
20434 char *kwnames
[] = {
20435 (char *) "self", NULL
20438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetHandleSide",kwnames
,&obj0
)) goto fail
;
20439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20443 result
= (int)(arg1
)->GetHandleSide();
20445 wxPyEndAllowThreads(__tstate
);
20446 if (PyErr_Occurred()) SWIG_fail
;
20448 resultobj
= SWIG_FromInt((int)result
);
20455 static PyObject
*_wrap_PyDivisionShape_GetLeftSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20456 PyObject
*resultobj
;
20457 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20458 wxPyDivisionShape
*result
;
20459 PyObject
* obj0
= 0 ;
20460 char *kwnames
[] = {
20461 (char *) "self", NULL
20464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSide",kwnames
,&obj0
)) goto fail
;
20465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20469 result
= (wxPyDivisionShape
*)(arg1
)->GetLeftSide();
20471 wxPyEndAllowThreads(__tstate
);
20472 if (PyErr_Occurred()) SWIG_fail
;
20475 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
20483 static PyObject
*_wrap_PyDivisionShape_GetLeftSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20484 PyObject
*resultobj
;
20485 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20487 PyObject
* obj0
= 0 ;
20488 char *kwnames
[] = {
20489 (char *) "self", NULL
20492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames
,&obj0
)) goto fail
;
20493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20497 result
= (arg1
)->GetLeftSideColour();
20499 wxPyEndAllowThreads(__tstate
);
20500 if (PyErr_Occurred()) SWIG_fail
;
20504 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20506 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20515 static PyObject
*_wrap_PyDivisionShape_GetLeftSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20516 PyObject
*resultobj
;
20517 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20519 PyObject
* obj0
= 0 ;
20520 char *kwnames
[] = {
20521 (char *) "self", NULL
20524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames
,&obj0
)) goto fail
;
20525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20529 result
= (wxPen
*)(arg1
)->GetLeftSidePen();
20531 wxPyEndAllowThreads(__tstate
);
20532 if (PyErr_Occurred()) SWIG_fail
;
20534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
20541 static PyObject
*_wrap_PyDivisionShape_GetRightSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20542 PyObject
*resultobj
;
20543 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20544 wxPyDivisionShape
*result
;
20545 PyObject
* obj0
= 0 ;
20546 char *kwnames
[] = {
20547 (char *) "self", NULL
20550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetRightSide",kwnames
,&obj0
)) goto fail
;
20551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 result
= (wxPyDivisionShape
*)(arg1
)->GetRightSide();
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20561 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
20569 static PyObject
*_wrap_PyDivisionShape_GetTopSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20570 PyObject
*resultobj
;
20571 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20572 wxPyDivisionShape
*result
;
20573 PyObject
* obj0
= 0 ;
20574 char *kwnames
[] = {
20575 (char *) "self", NULL
20578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSide",kwnames
,&obj0
)) goto fail
;
20579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20583 result
= (wxPyDivisionShape
*)(arg1
)->GetTopSide();
20585 wxPyEndAllowThreads(__tstate
);
20586 if (PyErr_Occurred()) SWIG_fail
;
20589 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
20597 static PyObject
*_wrap_PyDivisionShape_GetTopSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20598 PyObject
*resultobj
;
20599 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20601 PyObject
* obj0
= 0 ;
20602 char *kwnames
[] = {
20603 (char *) "self", NULL
20606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames
,&obj0
)) goto fail
;
20607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20611 result
= (wxPen
*)(arg1
)->GetTopSidePen();
20613 wxPyEndAllowThreads(__tstate
);
20614 if (PyErr_Occurred()) SWIG_fail
;
20616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
20623 static PyObject
*_wrap_PyDivisionShape_ResizeAdjoining(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20624 PyObject
*resultobj
;
20625 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20629 PyObject
* obj0
= 0 ;
20630 PyObject
* obj1
= 0 ;
20631 PyObject
* obj2
= 0 ;
20632 PyObject
* obj3
= 0 ;
20633 char *kwnames
[] = {
20634 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
20637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDivisionShape_ResizeAdjoining",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20640 arg2
= (int) SWIG_AsInt(obj1
);
20641 if (PyErr_Occurred()) SWIG_fail
;
20642 arg3
= (double) SWIG_AsDouble(obj2
);
20643 if (PyErr_Occurred()) SWIG_fail
;
20644 arg4
= (bool) SWIG_AsBool(obj3
);
20645 if (PyErr_Occurred()) SWIG_fail
;
20647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20648 (arg1
)->ResizeAdjoining(arg2
,arg3
,arg4
);
20650 wxPyEndAllowThreads(__tstate
);
20651 if (PyErr_Occurred()) SWIG_fail
;
20653 Py_INCREF(Py_None
); resultobj
= Py_None
;
20660 static PyObject
*_wrap_PyDivisionShape_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20661 PyObject
*resultobj
;
20662 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20665 PyObject
* obj0
= 0 ;
20666 PyObject
* obj1
= 0 ;
20667 PyObject
* obj2
= 0 ;
20668 char *kwnames
[] = {
20669 (char *) "self",(char *) "x",(char *) "y", NULL
20672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20675 arg2
= (double) SWIG_AsDouble(obj1
);
20676 if (PyErr_Occurred()) SWIG_fail
;
20677 arg3
= (double) SWIG_AsDouble(obj2
);
20678 if (PyErr_Occurred()) SWIG_fail
;
20680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20681 (arg1
)->PopupMenu(arg2
,arg3
);
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20686 Py_INCREF(Py_None
); resultobj
= Py_None
;
20693 static PyObject
*_wrap_PyDivisionShape_SetBottomSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20694 PyObject
*resultobj
;
20695 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20696 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20697 PyObject
* obj0
= 0 ;
20698 PyObject
* obj1
= 0 ;
20699 char *kwnames
[] = {
20700 (char *) "self",(char *) "shape", NULL
20703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 (arg1
)->SetBottomSide(arg2
);
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20715 Py_INCREF(Py_None
); resultobj
= Py_None
;
20722 static PyObject
*_wrap_PyDivisionShape_SetHandleSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20723 PyObject
*resultobj
;
20724 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20726 PyObject
* obj0
= 0 ;
20727 PyObject
* obj1
= 0 ;
20728 char *kwnames
[] = {
20729 (char *) "self",(char *) "side", NULL
20732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetHandleSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20735 arg2
= (int) SWIG_AsInt(obj1
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 (arg1
)->SetHandleSide(arg2
);
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20744 Py_INCREF(Py_None
); resultobj
= Py_None
;
20751 static PyObject
*_wrap_PyDivisionShape_SetLeftSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20752 PyObject
*resultobj
;
20753 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20754 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20755 PyObject
* obj0
= 0 ;
20756 PyObject
* obj1
= 0 ;
20757 char *kwnames
[] = {
20758 (char *) "self",(char *) "shape", NULL
20761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20764 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20768 (arg1
)->SetLeftSide(arg2
);
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20773 Py_INCREF(Py_None
); resultobj
= Py_None
;
20780 static PyObject
*_wrap_PyDivisionShape_SetLeftSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20781 PyObject
*resultobj
;
20782 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20783 wxString
*arg2
= 0 ;
20784 bool temp2
= False
;
20785 PyObject
* obj0
= 0 ;
20786 PyObject
* obj1
= 0 ;
20787 char *kwnames
[] = {
20788 (char *) "self",(char *) "colour", NULL
20791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20795 arg2
= wxString_in_helper(obj1
);
20796 if (arg2
== NULL
) SWIG_fail
;
20800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20801 (arg1
)->SetLeftSideColour((wxString
const &)*arg2
);
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20806 Py_INCREF(Py_None
); resultobj
= Py_None
;
20821 static PyObject
*_wrap_PyDivisionShape_SetLeftSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20822 PyObject
*resultobj
;
20823 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20824 wxPen
*arg2
= (wxPen
*) 0 ;
20825 PyObject
* obj0
= 0 ;
20826 PyObject
* obj1
= 0 ;
20827 char *kwnames
[] = {
20828 (char *) "self",(char *) "pen", NULL
20831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
20832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20837 if (obj1
== Py_None
) {
20840 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
20841 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
20846 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 (arg1
)->SetLeftSidePen(arg2
);
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20859 Py_INCREF(Py_None
); resultobj
= Py_None
;
20866 static PyObject
*_wrap_PyDivisionShape_SetRightSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20867 PyObject
*resultobj
;
20868 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20869 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20870 PyObject
* obj0
= 0 ;
20871 PyObject
* obj1
= 0 ;
20872 char *kwnames
[] = {
20873 (char *) "self",(char *) "shape", NULL
20876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetRightSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20883 (arg1
)->SetRightSide(arg2
);
20885 wxPyEndAllowThreads(__tstate
);
20886 if (PyErr_Occurred()) SWIG_fail
;
20888 Py_INCREF(Py_None
); resultobj
= Py_None
;
20895 static PyObject
*_wrap_PyDivisionShape_SetTopSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20896 PyObject
*resultobj
;
20897 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20898 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20899 PyObject
* obj0
= 0 ;
20900 PyObject
* obj1
= 0 ;
20901 char *kwnames
[] = {
20902 (char *) "self",(char *) "shape", NULL
20905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20908 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20912 (arg1
)->SetTopSide(arg2
);
20914 wxPyEndAllowThreads(__tstate
);
20915 if (PyErr_Occurred()) SWIG_fail
;
20917 Py_INCREF(Py_None
); resultobj
= Py_None
;
20924 static PyObject
*_wrap_PyDivisionShape_SetTopSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20925 PyObject
*resultobj
;
20926 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20927 wxString
*arg2
= 0 ;
20928 bool temp2
= False
;
20929 PyObject
* obj0
= 0 ;
20930 PyObject
* obj1
= 0 ;
20931 char *kwnames
[] = {
20932 (char *) "self",(char *) "colour", NULL
20935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20939 arg2
= wxString_in_helper(obj1
);
20940 if (arg2
== NULL
) SWIG_fail
;
20944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20945 (arg1
)->SetTopSideColour((wxString
const &)*arg2
);
20947 wxPyEndAllowThreads(__tstate
);
20948 if (PyErr_Occurred()) SWIG_fail
;
20950 Py_INCREF(Py_None
); resultobj
= Py_None
;
20965 static PyObject
*_wrap_PyDivisionShape_SetTopSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20966 PyObject
*resultobj
;
20967 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20968 wxPen
*arg2
= (wxPen
*) 0 ;
20969 PyObject
* obj0
= 0 ;
20970 PyObject
* obj1
= 0 ;
20971 char *kwnames
[] = {
20972 (char *) "self",(char *) "pen", NULL
20975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
20976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20981 if (obj1
== Py_None
) {
20984 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
20985 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
20990 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
20997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20998 (arg1
)->SetTopSidePen(arg2
);
21000 wxPyEndAllowThreads(__tstate
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21003 Py_INCREF(Py_None
); resultobj
= Py_None
;
21010 static PyObject
*_wrap_PyDivisionShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21011 PyObject
*resultobj
;
21012 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21013 PyObject
* obj0
= 0 ;
21014 char *kwnames
[] = {
21015 (char *) "self", NULL
21018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
21019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21023 (arg1
)->base_OnDelete();
21025 wxPyEndAllowThreads(__tstate
);
21026 if (PyErr_Occurred()) SWIG_fail
;
21028 Py_INCREF(Py_None
); resultobj
= Py_None
;
21035 static PyObject
*_wrap_PyDivisionShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21036 PyObject
*resultobj
;
21037 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21039 PyObject
* obj0
= 0 ;
21040 PyObject
* obj1
= 0 ;
21041 char *kwnames
[] = {
21042 (char *) "self",(char *) "dc", NULL
21045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
21046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21049 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21051 if (arg2
== NULL
) {
21052 PyErr_SetString(PyExc_TypeError
,"null reference");
21056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21057 (arg1
)->base_OnDraw(*arg2
);
21059 wxPyEndAllowThreads(__tstate
);
21060 if (PyErr_Occurred()) SWIG_fail
;
21062 Py_INCREF(Py_None
); resultobj
= Py_None
;
21069 static PyObject
*_wrap_PyDivisionShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21070 PyObject
*resultobj
;
21071 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21073 PyObject
* obj0
= 0 ;
21074 PyObject
* obj1
= 0 ;
21075 char *kwnames
[] = {
21076 (char *) "self",(char *) "dc", NULL
21079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21083 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21085 if (arg2
== NULL
) {
21086 PyErr_SetString(PyExc_TypeError
,"null reference");
21090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21091 (arg1
)->base_OnDrawContents(*arg2
);
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21096 Py_INCREF(Py_None
); resultobj
= Py_None
;
21103 static PyObject
*_wrap_PyDivisionShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21104 PyObject
*resultobj
;
21105 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21107 bool arg3
= (bool) FALSE
;
21108 PyObject
* obj0
= 0 ;
21109 PyObject
* obj1
= 0 ;
21110 PyObject
* obj2
= 0 ;
21111 char *kwnames
[] = {
21112 (char *) "self",(char *) "dc",(char *) "erase", NULL
21115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21118 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21119 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21121 if (arg2
== NULL
) {
21122 PyErr_SetString(PyExc_TypeError
,"null reference");
21126 arg3
= (bool) SWIG_AsBool(obj2
);
21127 if (PyErr_Occurred()) SWIG_fail
;
21130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21131 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
21133 wxPyEndAllowThreads(__tstate
);
21134 if (PyErr_Occurred()) SWIG_fail
;
21136 Py_INCREF(Py_None
); resultobj
= Py_None
;
21143 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21144 PyObject
*resultobj
;
21145 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21147 PyObject
* obj0
= 0 ;
21148 PyObject
* obj1
= 0 ;
21149 char *kwnames
[] = {
21150 (char *) "self",(char *) "dc", NULL
21153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
21154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21157 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21159 if (arg2
== NULL
) {
21160 PyErr_SetString(PyExc_TypeError
,"null reference");
21164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21165 (arg1
)->base_OnMoveLinks(*arg2
);
21167 wxPyEndAllowThreads(__tstate
);
21168 if (PyErr_Occurred()) SWIG_fail
;
21170 Py_INCREF(Py_None
); resultobj
= Py_None
;
21177 static PyObject
*_wrap_PyDivisionShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21178 PyObject
*resultobj
;
21179 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21181 PyObject
* obj0
= 0 ;
21182 PyObject
* obj1
= 0 ;
21183 char *kwnames
[] = {
21184 (char *) "self",(char *) "dc", NULL
21187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
21188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21191 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21193 if (arg2
== NULL
) {
21194 PyErr_SetString(PyExc_TypeError
,"null reference");
21198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21199 (arg1
)->base_OnErase(*arg2
);
21201 wxPyEndAllowThreads(__tstate
);
21202 if (PyErr_Occurred()) SWIG_fail
;
21204 Py_INCREF(Py_None
); resultobj
= Py_None
;
21211 static PyObject
*_wrap_PyDivisionShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21212 PyObject
*resultobj
;
21213 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21215 PyObject
* obj0
= 0 ;
21216 PyObject
* obj1
= 0 ;
21217 char *kwnames
[] = {
21218 (char *) "self",(char *) "dc", NULL
21221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21227 if (arg2
== NULL
) {
21228 PyErr_SetString(PyExc_TypeError
,"null reference");
21232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21233 (arg1
)->base_OnEraseContents(*arg2
);
21235 wxPyEndAllowThreads(__tstate
);
21236 if (PyErr_Occurred()) SWIG_fail
;
21238 Py_INCREF(Py_None
); resultobj
= Py_None
;
21245 static PyObject
*_wrap_PyDivisionShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21246 PyObject
*resultobj
;
21247 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21249 PyObject
* obj0
= 0 ;
21250 PyObject
* obj1
= 0 ;
21251 char *kwnames
[] = {
21252 (char *) "self",(char *) "dc", NULL
21255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
21256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21259 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21261 if (arg2
== NULL
) {
21262 PyErr_SetString(PyExc_TypeError
,"null reference");
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 (arg1
)->base_OnHighlight(*arg2
);
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21272 Py_INCREF(Py_None
); resultobj
= Py_None
;
21279 static PyObject
*_wrap_PyDivisionShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21280 PyObject
*resultobj
;
21281 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21284 int arg4
= (int) 0 ;
21285 int arg5
= (int) 0 ;
21286 PyObject
* obj0
= 0 ;
21287 PyObject
* obj1
= 0 ;
21288 PyObject
* obj2
= 0 ;
21289 PyObject
* obj3
= 0 ;
21290 PyObject
* obj4
= 0 ;
21291 char *kwnames
[] = {
21292 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21298 arg2
= (double) SWIG_AsDouble(obj1
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21300 arg3
= (double) SWIG_AsDouble(obj2
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21303 arg4
= (int) SWIG_AsInt(obj3
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21307 arg5
= (int) SWIG_AsInt(obj4
);
21308 if (PyErr_Occurred()) SWIG_fail
;
21311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21312 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
21314 wxPyEndAllowThreads(__tstate
);
21315 if (PyErr_Occurred()) SWIG_fail
;
21317 Py_INCREF(Py_None
); resultobj
= Py_None
;
21324 static PyObject
*_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21325 PyObject
*resultobj
;
21326 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21329 int arg4
= (int) 0 ;
21330 int arg5
= (int) 0 ;
21331 PyObject
* obj0
= 0 ;
21332 PyObject
* obj1
= 0 ;
21333 PyObject
* obj2
= 0 ;
21334 PyObject
* obj3
= 0 ;
21335 PyObject
* obj4
= 0 ;
21336 char *kwnames
[] = {
21337 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21343 arg2
= (double) SWIG_AsDouble(obj1
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21345 arg3
= (double) SWIG_AsDouble(obj2
);
21346 if (PyErr_Occurred()) SWIG_fail
;
21348 arg4
= (int) SWIG_AsInt(obj3
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21352 arg5
= (int) SWIG_AsInt(obj4
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21357 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
21359 wxPyEndAllowThreads(__tstate
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21362 Py_INCREF(Py_None
); resultobj
= Py_None
;
21369 static PyObject
*_wrap_PyDivisionShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21370 PyObject
*resultobj
;
21371 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21374 int arg4
= (int) 0 ;
21375 int arg5
= (int) 0 ;
21376 PyObject
* obj0
= 0 ;
21377 PyObject
* obj1
= 0 ;
21378 PyObject
* obj2
= 0 ;
21379 PyObject
* obj3
= 0 ;
21380 PyObject
* obj4
= 0 ;
21381 char *kwnames
[] = {
21382 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21388 arg2
= (double) SWIG_AsDouble(obj1
);
21389 if (PyErr_Occurred()) SWIG_fail
;
21390 arg3
= (double) SWIG_AsDouble(obj2
);
21391 if (PyErr_Occurred()) SWIG_fail
;
21393 arg4
= (int) SWIG_AsInt(obj3
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21397 arg5
= (int) SWIG_AsInt(obj4
);
21398 if (PyErr_Occurred()) SWIG_fail
;
21401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21402 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
21404 wxPyEndAllowThreads(__tstate
);
21405 if (PyErr_Occurred()) SWIG_fail
;
21407 Py_INCREF(Py_None
); resultobj
= Py_None
;
21414 static PyObject
*_wrap_PyDivisionShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21415 PyObject
*resultobj
;
21416 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21419 PyObject
* obj0
= 0 ;
21420 PyObject
* obj1
= 0 ;
21421 PyObject
* obj2
= 0 ;
21422 char *kwnames
[] = {
21423 (char *) "self",(char *) "x",(char *) "y", NULL
21426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21429 arg2
= (double) SWIG_AsDouble(obj1
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21431 arg3
= (double) SWIG_AsDouble(obj2
);
21432 if (PyErr_Occurred()) SWIG_fail
;
21434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21435 (arg1
)->base_OnSize(arg2
,arg3
);
21437 wxPyEndAllowThreads(__tstate
);
21438 if (PyErr_Occurred()) SWIG_fail
;
21440 Py_INCREF(Py_None
); resultobj
= Py_None
;
21447 static PyObject
*_wrap_PyDivisionShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21448 PyObject
*resultobj
;
21449 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21455 bool arg7
= (bool) True
;
21457 PyObject
* obj0
= 0 ;
21458 PyObject
* obj1
= 0 ;
21459 PyObject
* obj2
= 0 ;
21460 PyObject
* obj3
= 0 ;
21461 PyObject
* obj4
= 0 ;
21462 PyObject
* obj5
= 0 ;
21463 PyObject
* obj6
= 0 ;
21464 char *kwnames
[] = {
21465 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21474 if (arg2
== NULL
) {
21475 PyErr_SetString(PyExc_TypeError
,"null reference");
21478 arg3
= (double) SWIG_AsDouble(obj2
);
21479 if (PyErr_Occurred()) SWIG_fail
;
21480 arg4
= (double) SWIG_AsDouble(obj3
);
21481 if (PyErr_Occurred()) SWIG_fail
;
21482 arg5
= (double) SWIG_AsDouble(obj4
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21484 arg6
= (double) SWIG_AsDouble(obj5
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21487 arg7
= (bool) SWIG_AsBool(obj6
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21492 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21494 wxPyEndAllowThreads(__tstate
);
21495 if (PyErr_Occurred()) SWIG_fail
;
21498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21506 static PyObject
*_wrap_PyDivisionShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21507 PyObject
*resultobj
;
21508 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21514 bool arg7
= (bool) True
;
21515 PyObject
* obj0
= 0 ;
21516 PyObject
* obj1
= 0 ;
21517 PyObject
* obj2
= 0 ;
21518 PyObject
* obj3
= 0 ;
21519 PyObject
* obj4
= 0 ;
21520 PyObject
* obj5
= 0 ;
21521 PyObject
* obj6
= 0 ;
21522 char *kwnames
[] = {
21523 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21532 if (arg2
== NULL
) {
21533 PyErr_SetString(PyExc_TypeError
,"null reference");
21536 arg3
= (double) SWIG_AsDouble(obj2
);
21537 if (PyErr_Occurred()) SWIG_fail
;
21538 arg4
= (double) SWIG_AsDouble(obj3
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21540 arg5
= (double) SWIG_AsDouble(obj4
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21542 arg6
= (double) SWIG_AsDouble(obj5
);
21543 if (PyErr_Occurred()) SWIG_fail
;
21545 arg7
= (bool) SWIG_AsBool(obj6
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21550 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21552 wxPyEndAllowThreads(__tstate
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21555 Py_INCREF(Py_None
); resultobj
= Py_None
;
21562 static PyObject
*_wrap_PyDivisionShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21563 PyObject
*resultobj
;
21564 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21568 int arg5
= (int) 0 ;
21569 int arg6
= (int) 0 ;
21570 PyObject
* obj0
= 0 ;
21571 PyObject
* obj1
= 0 ;
21572 PyObject
* obj2
= 0 ;
21573 PyObject
* obj3
= 0 ;
21574 PyObject
* obj4
= 0 ;
21575 PyObject
* obj5
= 0 ;
21576 char *kwnames
[] = {
21577 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21583 arg2
= (bool) SWIG_AsBool(obj1
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21585 arg3
= (double) SWIG_AsDouble(obj2
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21587 arg4
= (double) SWIG_AsDouble(obj3
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21590 arg5
= (int) SWIG_AsInt(obj4
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21594 arg6
= (int) SWIG_AsInt(obj5
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21599 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
21601 wxPyEndAllowThreads(__tstate
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21604 Py_INCREF(Py_None
); resultobj
= Py_None
;
21611 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21612 PyObject
*resultobj
;
21613 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21616 int arg4
= (int) 0 ;
21617 int arg5
= (int) 0 ;
21618 PyObject
* obj0
= 0 ;
21619 PyObject
* obj1
= 0 ;
21620 PyObject
* obj2
= 0 ;
21621 PyObject
* obj3
= 0 ;
21622 PyObject
* obj4
= 0 ;
21623 char *kwnames
[] = {
21624 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21630 arg2
= (double) SWIG_AsDouble(obj1
);
21631 if (PyErr_Occurred()) SWIG_fail
;
21632 arg3
= (double) SWIG_AsDouble(obj2
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21635 arg4
= (int) SWIG_AsInt(obj3
);
21636 if (PyErr_Occurred()) SWIG_fail
;
21639 arg5
= (int) SWIG_AsInt(obj4
);
21640 if (PyErr_Occurred()) SWIG_fail
;
21643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21644 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
21646 wxPyEndAllowThreads(__tstate
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21649 Py_INCREF(Py_None
); resultobj
= Py_None
;
21656 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21657 PyObject
*resultobj
;
21658 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21661 int arg4
= (int) 0 ;
21662 int arg5
= (int) 0 ;
21663 PyObject
* obj0
= 0 ;
21664 PyObject
* obj1
= 0 ;
21665 PyObject
* obj2
= 0 ;
21666 PyObject
* obj3
= 0 ;
21667 PyObject
* obj4
= 0 ;
21668 char *kwnames
[] = {
21669 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21675 arg2
= (double) SWIG_AsDouble(obj1
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21677 arg3
= (double) SWIG_AsDouble(obj2
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21680 arg4
= (int) SWIG_AsInt(obj3
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21684 arg5
= (int) SWIG_AsInt(obj4
);
21685 if (PyErr_Occurred()) SWIG_fail
;
21688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21689 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
21691 wxPyEndAllowThreads(__tstate
);
21692 if (PyErr_Occurred()) SWIG_fail
;
21694 Py_INCREF(Py_None
); resultobj
= Py_None
;
21701 static PyObject
*_wrap_PyDivisionShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21702 PyObject
*resultobj
;
21703 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21707 int arg5
= (int) 0 ;
21708 int arg6
= (int) 0 ;
21709 PyObject
* obj0
= 0 ;
21710 PyObject
* obj1
= 0 ;
21711 PyObject
* obj2
= 0 ;
21712 PyObject
* obj3
= 0 ;
21713 PyObject
* obj4
= 0 ;
21714 PyObject
* obj5
= 0 ;
21715 char *kwnames
[] = {
21716 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21722 arg2
= (bool) SWIG_AsBool(obj1
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21724 arg3
= (double) SWIG_AsDouble(obj2
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21726 arg4
= (double) SWIG_AsDouble(obj3
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21729 arg5
= (int) SWIG_AsInt(obj4
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21733 arg6
= (int) SWIG_AsInt(obj5
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21738 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
21740 wxPyEndAllowThreads(__tstate
);
21741 if (PyErr_Occurred()) SWIG_fail
;
21743 Py_INCREF(Py_None
); resultobj
= Py_None
;
21750 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21751 PyObject
*resultobj
;
21752 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21755 int arg4
= (int) 0 ;
21756 int arg5
= (int) 0 ;
21757 PyObject
* obj0
= 0 ;
21758 PyObject
* obj1
= 0 ;
21759 PyObject
* obj2
= 0 ;
21760 PyObject
* obj3
= 0 ;
21761 PyObject
* obj4
= 0 ;
21762 char *kwnames
[] = {
21763 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21769 arg2
= (double) SWIG_AsDouble(obj1
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21771 arg3
= (double) SWIG_AsDouble(obj2
);
21772 if (PyErr_Occurred()) SWIG_fail
;
21774 arg4
= (int) SWIG_AsInt(obj3
);
21775 if (PyErr_Occurred()) SWIG_fail
;
21778 arg5
= (int) SWIG_AsInt(obj4
);
21779 if (PyErr_Occurred()) SWIG_fail
;
21782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21783 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
21785 wxPyEndAllowThreads(__tstate
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21788 Py_INCREF(Py_None
); resultobj
= Py_None
;
21795 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21796 PyObject
*resultobj
;
21797 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21800 int arg4
= (int) 0 ;
21801 int arg5
= (int) 0 ;
21802 PyObject
* obj0
= 0 ;
21803 PyObject
* obj1
= 0 ;
21804 PyObject
* obj2
= 0 ;
21805 PyObject
* obj3
= 0 ;
21806 PyObject
* obj4
= 0 ;
21807 char *kwnames
[] = {
21808 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21814 arg2
= (double) SWIG_AsDouble(obj1
);
21815 if (PyErr_Occurred()) SWIG_fail
;
21816 arg3
= (double) SWIG_AsDouble(obj2
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21819 arg4
= (int) SWIG_AsInt(obj3
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21823 arg5
= (int) SWIG_AsInt(obj4
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21828 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
21830 wxPyEndAllowThreads(__tstate
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21833 Py_INCREF(Py_None
); resultobj
= Py_None
;
21840 static PyObject
*_wrap_PyDivisionShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21841 PyObject
*resultobj
;
21842 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21848 PyObject
* obj0
= 0 ;
21849 PyObject
* obj1
= 0 ;
21850 PyObject
* obj2
= 0 ;
21851 PyObject
* obj3
= 0 ;
21852 PyObject
* obj4
= 0 ;
21853 PyObject
* obj5
= 0 ;
21854 char *kwnames
[] = {
21855 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
21858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDivisionShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21862 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21864 if (arg2
== NULL
) {
21865 PyErr_SetString(PyExc_TypeError
,"null reference");
21868 arg3
= (double) SWIG_AsDouble(obj2
);
21869 if (PyErr_Occurred()) SWIG_fail
;
21870 arg4
= (double) SWIG_AsDouble(obj3
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21872 arg5
= (double) SWIG_AsDouble(obj4
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21874 arg6
= (double) SWIG_AsDouble(obj5
);
21875 if (PyErr_Occurred()) SWIG_fail
;
21877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21878 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
21880 wxPyEndAllowThreads(__tstate
);
21881 if (PyErr_Occurred()) SWIG_fail
;
21883 Py_INCREF(Py_None
); resultobj
= Py_None
;
21890 static PyObject
*_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21891 PyObject
*resultobj
;
21892 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21894 PyObject
* obj0
= 0 ;
21895 PyObject
* obj1
= 0 ;
21896 char *kwnames
[] = {
21897 (char *) "self",(char *) "dc", NULL
21900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
21901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21904 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21906 if (arg2
== NULL
) {
21907 PyErr_SetString(PyExc_TypeError
,"null reference");
21911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21912 (arg1
)->base_OnDrawControlPoints(*arg2
);
21914 wxPyEndAllowThreads(__tstate
);
21915 if (PyErr_Occurred()) SWIG_fail
;
21917 Py_INCREF(Py_None
); resultobj
= Py_None
;
21924 static PyObject
*_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21925 PyObject
*resultobj
;
21926 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21928 PyObject
* obj0
= 0 ;
21929 PyObject
* obj1
= 0 ;
21930 char *kwnames
[] = {
21931 (char *) "self",(char *) "dc", NULL
21934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
21935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21937 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21938 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21940 if (arg2
== NULL
) {
21941 PyErr_SetString(PyExc_TypeError
,"null reference");
21945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21946 (arg1
)->base_OnEraseControlPoints(*arg2
);
21948 wxPyEndAllowThreads(__tstate
);
21949 if (PyErr_Occurred()) SWIG_fail
;
21951 Py_INCREF(Py_None
); resultobj
= Py_None
;
21958 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21959 PyObject
*resultobj
;
21960 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21962 bool arg3
= (bool) True
;
21963 PyObject
* obj0
= 0 ;
21964 PyObject
* obj1
= 0 ;
21965 PyObject
* obj2
= 0 ;
21966 char *kwnames
[] = {
21967 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
21970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21976 if (arg2
== NULL
) {
21977 PyErr_SetString(PyExc_TypeError
,"null reference");
21981 arg3
= (bool) SWIG_AsBool(obj2
);
21982 if (PyErr_Occurred()) SWIG_fail
;
21985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21986 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
21988 wxPyEndAllowThreads(__tstate
);
21989 if (PyErr_Occurred()) SWIG_fail
;
21991 Py_INCREF(Py_None
); resultobj
= Py_None
;
21998 static PyObject
*_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21999 PyObject
*resultobj
;
22000 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22001 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22005 int arg6
= (int) 0 ;
22006 int arg7
= (int) 0 ;
22007 PyObject
* obj0
= 0 ;
22008 PyObject
* obj1
= 0 ;
22009 PyObject
* obj2
= 0 ;
22010 PyObject
* obj3
= 0 ;
22011 PyObject
* obj4
= 0 ;
22012 PyObject
* obj5
= 0 ;
22013 PyObject
* obj6
= 0 ;
22014 char *kwnames
[] = {
22015 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDivisionShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22021 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
22022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22023 arg3
= (bool) SWIG_AsBool(obj2
);
22024 if (PyErr_Occurred()) SWIG_fail
;
22025 arg4
= (double) SWIG_AsDouble(obj3
);
22026 if (PyErr_Occurred()) SWIG_fail
;
22027 arg5
= (double) SWIG_AsDouble(obj4
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22030 arg6
= (int) SWIG_AsInt(obj5
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22034 arg7
= (int) SWIG_AsInt(obj6
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22039 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22044 Py_INCREF(Py_None
); resultobj
= Py_None
;
22051 static PyObject
*_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22052 PyObject
*resultobj
;
22053 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22054 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22057 int arg5
= (int) 0 ;
22058 int arg6
= (int) 0 ;
22059 PyObject
* obj0
= 0 ;
22060 PyObject
* obj1
= 0 ;
22061 PyObject
* obj2
= 0 ;
22062 PyObject
* obj3
= 0 ;
22063 PyObject
* obj4
= 0 ;
22064 PyObject
* obj5
= 0 ;
22065 char *kwnames
[] = {
22066 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22072 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
22073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22074 arg3
= (double) SWIG_AsDouble(obj2
);
22075 if (PyErr_Occurred()) SWIG_fail
;
22076 arg4
= (double) SWIG_AsDouble(obj3
);
22077 if (PyErr_Occurred()) SWIG_fail
;
22079 arg5
= (int) SWIG_AsInt(obj4
);
22080 if (PyErr_Occurred()) SWIG_fail
;
22083 arg6
= (int) SWIG_AsInt(obj5
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22088 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22090 wxPyEndAllowThreads(__tstate
);
22091 if (PyErr_Occurred()) SWIG_fail
;
22093 Py_INCREF(Py_None
); resultobj
= Py_None
;
22100 static PyObject
*_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22101 PyObject
*resultobj
;
22102 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22103 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22106 int arg5
= (int) 0 ;
22107 int arg6
= (int) 0 ;
22108 PyObject
* obj0
= 0 ;
22109 PyObject
* obj1
= 0 ;
22110 PyObject
* obj2
= 0 ;
22111 PyObject
* obj3
= 0 ;
22112 PyObject
* obj4
= 0 ;
22113 PyObject
* obj5
= 0 ;
22114 char *kwnames
[] = {
22115 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
22122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22123 arg3
= (double) SWIG_AsDouble(obj2
);
22124 if (PyErr_Occurred()) SWIG_fail
;
22125 arg4
= (double) SWIG_AsDouble(obj3
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22128 arg5
= (int) SWIG_AsInt(obj4
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22132 arg6
= (int) SWIG_AsInt(obj5
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22137 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22139 wxPyEndAllowThreads(__tstate
);
22140 if (PyErr_Occurred()) SWIG_fail
;
22142 Py_INCREF(Py_None
); resultobj
= Py_None
;
22149 static PyObject
*_wrap_PyDivisionShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22150 PyObject
*resultobj
;
22151 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22154 PyObject
* obj0
= 0 ;
22155 PyObject
* obj1
= 0 ;
22156 PyObject
* obj2
= 0 ;
22157 char *kwnames
[] = {
22158 (char *) "self",(char *) "w",(char *) "h", NULL
22161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22164 arg2
= (double) SWIG_AsDouble(obj1
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22166 arg3
= (double) SWIG_AsDouble(obj2
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 (arg1
)->base_OnBeginSize(arg2
,arg3
);
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22175 Py_INCREF(Py_None
); resultobj
= Py_None
;
22182 static PyObject
*_wrap_PyDivisionShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22183 PyObject
*resultobj
;
22184 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22187 PyObject
* obj0
= 0 ;
22188 PyObject
* obj1
= 0 ;
22189 PyObject
* obj2
= 0 ;
22190 char *kwnames
[] = {
22191 (char *) "self",(char *) "w",(char *) "h", NULL
22194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22197 arg2
= (double) SWIG_AsDouble(obj1
);
22198 if (PyErr_Occurred()) SWIG_fail
;
22199 arg3
= (double) SWIG_AsDouble(obj2
);
22200 if (PyErr_Occurred()) SWIG_fail
;
22202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22203 (arg1
)->base_OnEndSize(arg2
,arg3
);
22205 wxPyEndAllowThreads(__tstate
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22208 Py_INCREF(Py_None
); resultobj
= Py_None
;
22215 static PyObject
* PyDivisionShape_swigregister(PyObject
*self
, PyObject
*args
) {
22217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22218 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape
, obj
);
22220 return Py_BuildValue((char *)"");
22222 static PyObject
*_wrap_new_PyEllipseShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22223 PyObject
*resultobj
;
22224 double arg1
= (double) 0.0 ;
22225 double arg2
= (double) 0.0 ;
22226 wxPyEllipseShape
*result
;
22227 PyObject
* obj0
= 0 ;
22228 PyObject
* obj1
= 0 ;
22229 char *kwnames
[] = {
22230 (char *) "width",(char *) "height", NULL
22233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEllipseShape",kwnames
,&obj0
,&obj1
)) goto fail
;
22235 arg1
= (double) SWIG_AsDouble(obj0
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22239 arg2
= (double) SWIG_AsDouble(obj1
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 result
= (wxPyEllipseShape
*)new wxPyEllipseShape(arg1
,arg2
);
22246 wxPyEndAllowThreads(__tstate
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEllipseShape
, 1);
22256 static PyObject
*_wrap_PyEllipseShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22257 PyObject
*resultobj
;
22258 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22259 PyObject
*arg2
= (PyObject
*) 0 ;
22260 PyObject
*arg3
= (PyObject
*) 0 ;
22261 PyObject
* obj0
= 0 ;
22262 PyObject
* obj1
= 0 ;
22263 PyObject
* obj2
= 0 ;
22264 char *kwnames
[] = {
22265 (char *) "self",(char *) "self",(char *) "_class", NULL
22268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22275 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22277 wxPyEndAllowThreads(__tstate
);
22278 if (PyErr_Occurred()) SWIG_fail
;
22280 Py_INCREF(Py_None
); resultobj
= Py_None
;
22287 static PyObject
*_wrap_PyEllipseShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22288 PyObject
*resultobj
;
22289 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22291 PyObject
* obj0
= 0 ;
22292 PyObject
* obj1
= 0 ;
22293 char *kwnames
[] = {
22294 (char *) "self",(char *) "dc", NULL
22297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
22298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22301 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22303 if (arg2
== NULL
) {
22304 PyErr_SetString(PyExc_TypeError
,"null reference");
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 (arg1
)->base_OnDraw(*arg2
);
22311 wxPyEndAllowThreads(__tstate
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22314 Py_INCREF(Py_None
); resultobj
= Py_None
;
22321 static PyObject
*_wrap_PyEllipseShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22322 PyObject
*resultobj
;
22323 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22325 PyObject
* obj0
= 0 ;
22326 PyObject
* obj1
= 0 ;
22327 char *kwnames
[] = {
22328 (char *) "self",(char *) "dc", NULL
22331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22335 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22337 if (arg2
== NULL
) {
22338 PyErr_SetString(PyExc_TypeError
,"null reference");
22342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22343 (arg1
)->base_OnDrawContents(*arg2
);
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22348 Py_INCREF(Py_None
); resultobj
= Py_None
;
22355 static PyObject
*_wrap_PyEllipseShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22356 PyObject
*resultobj
;
22357 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22359 bool arg3
= (bool) FALSE
;
22360 PyObject
* obj0
= 0 ;
22361 PyObject
* obj1
= 0 ;
22362 PyObject
* obj2
= 0 ;
22363 char *kwnames
[] = {
22364 (char *) "self",(char *) "dc",(char *) "erase", NULL
22367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22371 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22373 if (arg2
== NULL
) {
22374 PyErr_SetString(PyExc_TypeError
,"null reference");
22378 arg3
= (bool) SWIG_AsBool(obj2
);
22379 if (PyErr_Occurred()) SWIG_fail
;
22382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22383 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
22385 wxPyEndAllowThreads(__tstate
);
22386 if (PyErr_Occurred()) SWIG_fail
;
22388 Py_INCREF(Py_None
); resultobj
= Py_None
;
22395 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22396 PyObject
*resultobj
;
22397 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22399 PyObject
* obj0
= 0 ;
22400 PyObject
* obj1
= 0 ;
22401 char *kwnames
[] = {
22402 (char *) "self",(char *) "dc", NULL
22405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
22406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22409 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22411 if (arg2
== NULL
) {
22412 PyErr_SetString(PyExc_TypeError
,"null reference");
22416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22417 (arg1
)->base_OnMoveLinks(*arg2
);
22419 wxPyEndAllowThreads(__tstate
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22422 Py_INCREF(Py_None
); resultobj
= Py_None
;
22429 static PyObject
*_wrap_PyEllipseShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22430 PyObject
*resultobj
;
22431 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22433 PyObject
* obj0
= 0 ;
22434 PyObject
* obj1
= 0 ;
22435 char *kwnames
[] = {
22436 (char *) "self",(char *) "dc", NULL
22439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
22440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22442 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22443 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22445 if (arg2
== NULL
) {
22446 PyErr_SetString(PyExc_TypeError
,"null reference");
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22451 (arg1
)->base_OnErase(*arg2
);
22453 wxPyEndAllowThreads(__tstate
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22456 Py_INCREF(Py_None
); resultobj
= Py_None
;
22463 static PyObject
*_wrap_PyEllipseShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22464 PyObject
*resultobj
;
22465 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22467 PyObject
* obj0
= 0 ;
22468 PyObject
* obj1
= 0 ;
22469 char *kwnames
[] = {
22470 (char *) "self",(char *) "dc", NULL
22473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22477 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22479 if (arg2
== NULL
) {
22480 PyErr_SetString(PyExc_TypeError
,"null reference");
22484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22485 (arg1
)->base_OnEraseContents(*arg2
);
22487 wxPyEndAllowThreads(__tstate
);
22488 if (PyErr_Occurred()) SWIG_fail
;
22490 Py_INCREF(Py_None
); resultobj
= Py_None
;
22497 static PyObject
*_wrap_PyEllipseShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22498 PyObject
*resultobj
;
22499 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22501 PyObject
* obj0
= 0 ;
22502 PyObject
* obj1
= 0 ;
22503 char *kwnames
[] = {
22504 (char *) "self",(char *) "dc", NULL
22507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
22508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22511 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22513 if (arg2
== NULL
) {
22514 PyErr_SetString(PyExc_TypeError
,"null reference");
22518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22519 (arg1
)->base_OnHighlight(*arg2
);
22521 wxPyEndAllowThreads(__tstate
);
22522 if (PyErr_Occurred()) SWIG_fail
;
22524 Py_INCREF(Py_None
); resultobj
= Py_None
;
22531 static PyObject
*_wrap_PyEllipseShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22532 PyObject
*resultobj
;
22533 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22536 int arg4
= (int) 0 ;
22537 int arg5
= (int) 0 ;
22538 PyObject
* obj0
= 0 ;
22539 PyObject
* obj1
= 0 ;
22540 PyObject
* obj2
= 0 ;
22541 PyObject
* obj3
= 0 ;
22542 PyObject
* obj4
= 0 ;
22543 char *kwnames
[] = {
22544 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22550 arg2
= (double) SWIG_AsDouble(obj1
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22552 arg3
= (double) SWIG_AsDouble(obj2
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22555 arg4
= (int) SWIG_AsInt(obj3
);
22556 if (PyErr_Occurred()) SWIG_fail
;
22559 arg5
= (int) SWIG_AsInt(obj4
);
22560 if (PyErr_Occurred()) SWIG_fail
;
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
22566 wxPyEndAllowThreads(__tstate
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22569 Py_INCREF(Py_None
); resultobj
= Py_None
;
22576 static PyObject
*_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22577 PyObject
*resultobj
;
22578 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22581 int arg4
= (int) 0 ;
22582 int arg5
= (int) 0 ;
22583 PyObject
* obj0
= 0 ;
22584 PyObject
* obj1
= 0 ;
22585 PyObject
* obj2
= 0 ;
22586 PyObject
* obj3
= 0 ;
22587 PyObject
* obj4
= 0 ;
22588 char *kwnames
[] = {
22589 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22595 arg2
= (double) SWIG_AsDouble(obj1
);
22596 if (PyErr_Occurred()) SWIG_fail
;
22597 arg3
= (double) SWIG_AsDouble(obj2
);
22598 if (PyErr_Occurred()) SWIG_fail
;
22600 arg4
= (int) SWIG_AsInt(obj3
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22604 arg5
= (int) SWIG_AsInt(obj4
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22609 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
22611 wxPyEndAllowThreads(__tstate
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22614 Py_INCREF(Py_None
); resultobj
= Py_None
;
22621 static PyObject
*_wrap_PyEllipseShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22622 PyObject
*resultobj
;
22623 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22626 int arg4
= (int) 0 ;
22627 int arg5
= (int) 0 ;
22628 PyObject
* obj0
= 0 ;
22629 PyObject
* obj1
= 0 ;
22630 PyObject
* obj2
= 0 ;
22631 PyObject
* obj3
= 0 ;
22632 PyObject
* obj4
= 0 ;
22633 char *kwnames
[] = {
22634 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22640 arg2
= (double) SWIG_AsDouble(obj1
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22642 arg3
= (double) SWIG_AsDouble(obj2
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22645 arg4
= (int) SWIG_AsInt(obj3
);
22646 if (PyErr_Occurred()) SWIG_fail
;
22649 arg5
= (int) SWIG_AsInt(obj4
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22654 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
22656 wxPyEndAllowThreads(__tstate
);
22657 if (PyErr_Occurred()) SWIG_fail
;
22659 Py_INCREF(Py_None
); resultobj
= Py_None
;
22666 static PyObject
*_wrap_PyEllipseShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22667 PyObject
*resultobj
;
22668 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22671 PyObject
* obj0
= 0 ;
22672 PyObject
* obj1
= 0 ;
22673 PyObject
* obj2
= 0 ;
22674 char *kwnames
[] = {
22675 (char *) "self",(char *) "x",(char *) "y", NULL
22678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22681 arg2
= (double) SWIG_AsDouble(obj1
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22683 arg3
= (double) SWIG_AsDouble(obj2
);
22684 if (PyErr_Occurred()) SWIG_fail
;
22686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22687 (arg1
)->base_OnSize(arg2
,arg3
);
22689 wxPyEndAllowThreads(__tstate
);
22690 if (PyErr_Occurred()) SWIG_fail
;
22692 Py_INCREF(Py_None
); resultobj
= Py_None
;
22699 static PyObject
*_wrap_PyEllipseShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22700 PyObject
*resultobj
;
22701 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22707 bool arg7
= (bool) True
;
22709 PyObject
* obj0
= 0 ;
22710 PyObject
* obj1
= 0 ;
22711 PyObject
* obj2
= 0 ;
22712 PyObject
* obj3
= 0 ;
22713 PyObject
* obj4
= 0 ;
22714 PyObject
* obj5
= 0 ;
22715 PyObject
* obj6
= 0 ;
22716 char *kwnames
[] = {
22717 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22724 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22726 if (arg2
== NULL
) {
22727 PyErr_SetString(PyExc_TypeError
,"null reference");
22730 arg3
= (double) SWIG_AsDouble(obj2
);
22731 if (PyErr_Occurred()) SWIG_fail
;
22732 arg4
= (double) SWIG_AsDouble(obj3
);
22733 if (PyErr_Occurred()) SWIG_fail
;
22734 arg5
= (double) SWIG_AsDouble(obj4
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22736 arg6
= (double) SWIG_AsDouble(obj5
);
22737 if (PyErr_Occurred()) SWIG_fail
;
22739 arg7
= (bool) SWIG_AsBool(obj6
);
22740 if (PyErr_Occurred()) SWIG_fail
;
22743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22744 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22746 wxPyEndAllowThreads(__tstate
);
22747 if (PyErr_Occurred()) SWIG_fail
;
22750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22758 static PyObject
*_wrap_PyEllipseShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22759 PyObject
*resultobj
;
22760 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22766 bool arg7
= (bool) True
;
22767 PyObject
* obj0
= 0 ;
22768 PyObject
* obj1
= 0 ;
22769 PyObject
* obj2
= 0 ;
22770 PyObject
* obj3
= 0 ;
22771 PyObject
* obj4
= 0 ;
22772 PyObject
* obj5
= 0 ;
22773 PyObject
* obj6
= 0 ;
22774 char *kwnames
[] = {
22775 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22782 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22784 if (arg2
== NULL
) {
22785 PyErr_SetString(PyExc_TypeError
,"null reference");
22788 arg3
= (double) SWIG_AsDouble(obj2
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22790 arg4
= (double) SWIG_AsDouble(obj3
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22792 arg5
= (double) SWIG_AsDouble(obj4
);
22793 if (PyErr_Occurred()) SWIG_fail
;
22794 arg6
= (double) SWIG_AsDouble(obj5
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22797 arg7
= (bool) SWIG_AsBool(obj6
);
22798 if (PyErr_Occurred()) SWIG_fail
;
22801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22802 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22804 wxPyEndAllowThreads(__tstate
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22807 Py_INCREF(Py_None
); resultobj
= Py_None
;
22814 static PyObject
*_wrap_PyEllipseShape_base_OnDragLeft(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_OnDragLeft",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_OnDragLeft(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_OnBeginDragLeft(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_OnBeginDragLeft",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_OnBeginDragLeft(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_OnEndDragLeft(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_OnEndDragLeft",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_OnEndDragLeft(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_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22954 PyObject
*resultobj
;
22955 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22959 int arg5
= (int) 0 ;
22960 int arg6
= (int) 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 *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnDragRight",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 arg2
= (bool) SWIG_AsBool(obj1
);
22975 if (PyErr_Occurred()) SWIG_fail
;
22976 arg3
= (double) SWIG_AsDouble(obj2
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22978 arg4
= (double) SWIG_AsDouble(obj3
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 arg5
= (int) SWIG_AsInt(obj4
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22985 arg6
= (int) SWIG_AsInt(obj5
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22990 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
22992 wxPyEndAllowThreads(__tstate
);
22993 if (PyErr_Occurred()) SWIG_fail
;
22995 Py_INCREF(Py_None
); resultobj
= Py_None
;
23002 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23003 PyObject
*resultobj
;
23004 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23007 int arg4
= (int) 0 ;
23008 int arg5
= (int) 0 ;
23009 PyObject
* obj0
= 0 ;
23010 PyObject
* obj1
= 0 ;
23011 PyObject
* obj2
= 0 ;
23012 PyObject
* obj3
= 0 ;
23013 PyObject
* obj4
= 0 ;
23014 char *kwnames
[] = {
23015 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23021 arg2
= (double) SWIG_AsDouble(obj1
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23023 arg3
= (double) SWIG_AsDouble(obj2
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23026 arg4
= (int) SWIG_AsInt(obj3
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23030 arg5
= (int) SWIG_AsInt(obj4
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23035 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
23037 wxPyEndAllowThreads(__tstate
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23040 Py_INCREF(Py_None
); resultobj
= Py_None
;
23047 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23048 PyObject
*resultobj
;
23049 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23052 int arg4
= (int) 0 ;
23053 int arg5
= (int) 0 ;
23054 PyObject
* obj0
= 0 ;
23055 PyObject
* obj1
= 0 ;
23056 PyObject
* obj2
= 0 ;
23057 PyObject
* obj3
= 0 ;
23058 PyObject
* obj4
= 0 ;
23059 char *kwnames
[] = {
23060 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23066 arg2
= (double) SWIG_AsDouble(obj1
);
23067 if (PyErr_Occurred()) SWIG_fail
;
23068 arg3
= (double) SWIG_AsDouble(obj2
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23071 arg4
= (int) SWIG_AsInt(obj3
);
23072 if (PyErr_Occurred()) SWIG_fail
;
23075 arg5
= (int) SWIG_AsInt(obj4
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23080 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
23082 wxPyEndAllowThreads(__tstate
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23085 Py_INCREF(Py_None
); resultobj
= Py_None
;
23092 static PyObject
*_wrap_PyEllipseShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23093 PyObject
*resultobj
;
23094 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23100 PyObject
* obj0
= 0 ;
23101 PyObject
* obj1
= 0 ;
23102 PyObject
* obj2
= 0 ;
23103 PyObject
* obj3
= 0 ;
23104 PyObject
* obj4
= 0 ;
23105 PyObject
* obj5
= 0 ;
23106 char *kwnames
[] = {
23107 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyEllipseShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23114 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23116 if (arg2
== NULL
) {
23117 PyErr_SetString(PyExc_TypeError
,"null reference");
23120 arg3
= (double) SWIG_AsDouble(obj2
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23122 arg4
= (double) SWIG_AsDouble(obj3
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23124 arg5
= (double) SWIG_AsDouble(obj4
);
23125 if (PyErr_Occurred()) SWIG_fail
;
23126 arg6
= (double) SWIG_AsDouble(obj5
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23130 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
23132 wxPyEndAllowThreads(__tstate
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23135 Py_INCREF(Py_None
); resultobj
= Py_None
;
23142 static PyObject
*_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23143 PyObject
*resultobj
;
23144 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23146 PyObject
* obj0
= 0 ;
23147 PyObject
* obj1
= 0 ;
23148 char *kwnames
[] = {
23149 (char *) "self",(char *) "dc", NULL
23152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23156 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23158 if (arg2
== NULL
) {
23159 PyErr_SetString(PyExc_TypeError
,"null reference");
23163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23164 (arg1
)->base_OnDrawControlPoints(*arg2
);
23166 wxPyEndAllowThreads(__tstate
);
23167 if (PyErr_Occurred()) SWIG_fail
;
23169 Py_INCREF(Py_None
); resultobj
= Py_None
;
23176 static PyObject
*_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23177 PyObject
*resultobj
;
23178 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23180 PyObject
* obj0
= 0 ;
23181 PyObject
* obj1
= 0 ;
23182 char *kwnames
[] = {
23183 (char *) "self",(char *) "dc", NULL
23186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23190 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23192 if (arg2
== NULL
) {
23193 PyErr_SetString(PyExc_TypeError
,"null reference");
23197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23198 (arg1
)->base_OnEraseControlPoints(*arg2
);
23200 wxPyEndAllowThreads(__tstate
);
23201 if (PyErr_Occurred()) SWIG_fail
;
23203 Py_INCREF(Py_None
); resultobj
= Py_None
;
23210 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23211 PyObject
*resultobj
;
23212 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23214 bool arg3
= (bool) True
;
23215 PyObject
* obj0
= 0 ;
23216 PyObject
* obj1
= 0 ;
23217 PyObject
* obj2
= 0 ;
23218 char *kwnames
[] = {
23219 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23228 if (arg2
== NULL
) {
23229 PyErr_SetString(PyExc_TypeError
,"null reference");
23233 arg3
= (bool) SWIG_AsBool(obj2
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23238 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
23240 wxPyEndAllowThreads(__tstate
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23243 Py_INCREF(Py_None
); resultobj
= Py_None
;
23250 static PyObject
*_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23251 PyObject
*resultobj
;
23252 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23253 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23257 int arg6
= (int) 0 ;
23258 int arg7
= (int) 0 ;
23259 PyObject
* obj0
= 0 ;
23260 PyObject
* obj1
= 0 ;
23261 PyObject
* obj2
= 0 ;
23262 PyObject
* obj3
= 0 ;
23263 PyObject
* obj4
= 0 ;
23264 PyObject
* obj5
= 0 ;
23265 PyObject
* obj6
= 0 ;
23266 char *kwnames
[] = {
23267 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyEllipseShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23275 arg3
= (bool) SWIG_AsBool(obj2
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23277 arg4
= (double) SWIG_AsDouble(obj3
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23279 arg5
= (double) SWIG_AsDouble(obj4
);
23280 if (PyErr_Occurred()) SWIG_fail
;
23282 arg6
= (int) SWIG_AsInt(obj5
);
23283 if (PyErr_Occurred()) SWIG_fail
;
23286 arg7
= (int) SWIG_AsInt(obj6
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23291 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23293 wxPyEndAllowThreads(__tstate
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23296 Py_INCREF(Py_None
); resultobj
= Py_None
;
23303 static PyObject
*_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23304 PyObject
*resultobj
;
23305 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23306 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23309 int arg5
= (int) 0 ;
23310 int arg6
= (int) 0 ;
23311 PyObject
* obj0
= 0 ;
23312 PyObject
* obj1
= 0 ;
23313 PyObject
* obj2
= 0 ;
23314 PyObject
* obj3
= 0 ;
23315 PyObject
* obj4
= 0 ;
23316 PyObject
* obj5
= 0 ;
23317 char *kwnames
[] = {
23318 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23326 arg3
= (double) SWIG_AsDouble(obj2
);
23327 if (PyErr_Occurred()) SWIG_fail
;
23328 arg4
= (double) SWIG_AsDouble(obj3
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23331 arg5
= (int) SWIG_AsInt(obj4
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23335 arg6
= (int) SWIG_AsInt(obj5
);
23336 if (PyErr_Occurred()) SWIG_fail
;
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23340 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23342 wxPyEndAllowThreads(__tstate
);
23343 if (PyErr_Occurred()) SWIG_fail
;
23345 Py_INCREF(Py_None
); resultobj
= Py_None
;
23352 static PyObject
*_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23353 PyObject
*resultobj
;
23354 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23355 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23358 int arg5
= (int) 0 ;
23359 int arg6
= (int) 0 ;
23360 PyObject
* obj0
= 0 ;
23361 PyObject
* obj1
= 0 ;
23362 PyObject
* obj2
= 0 ;
23363 PyObject
* obj3
= 0 ;
23364 PyObject
* obj4
= 0 ;
23365 PyObject
* obj5
= 0 ;
23366 char *kwnames
[] = {
23367 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23375 arg3
= (double) SWIG_AsDouble(obj2
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23377 arg4
= (double) SWIG_AsDouble(obj3
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23380 arg5
= (int) SWIG_AsInt(obj4
);
23381 if (PyErr_Occurred()) SWIG_fail
;
23384 arg6
= (int) SWIG_AsInt(obj5
);
23385 if (PyErr_Occurred()) SWIG_fail
;
23388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23389 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23391 wxPyEndAllowThreads(__tstate
);
23392 if (PyErr_Occurred()) SWIG_fail
;
23394 Py_INCREF(Py_None
); resultobj
= Py_None
;
23401 static PyObject
*_wrap_PyEllipseShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
;
23403 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23406 PyObject
* obj0
= 0 ;
23407 PyObject
* obj1
= 0 ;
23408 PyObject
* obj2
= 0 ;
23409 char *kwnames
[] = {
23410 (char *) "self",(char *) "w",(char *) "h", NULL
23413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23416 arg2
= (double) SWIG_AsDouble(obj1
);
23417 if (PyErr_Occurred()) SWIG_fail
;
23418 arg3
= (double) SWIG_AsDouble(obj2
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23422 (arg1
)->base_OnBeginSize(arg2
,arg3
);
23424 wxPyEndAllowThreads(__tstate
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23427 Py_INCREF(Py_None
); resultobj
= Py_None
;
23434 static PyObject
*_wrap_PyEllipseShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23435 PyObject
*resultobj
;
23436 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23439 PyObject
* obj0
= 0 ;
23440 PyObject
* obj1
= 0 ;
23441 PyObject
* obj2
= 0 ;
23442 char *kwnames
[] = {
23443 (char *) "self",(char *) "w",(char *) "h", NULL
23446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23449 arg2
= (double) SWIG_AsDouble(obj1
);
23450 if (PyErr_Occurred()) SWIG_fail
;
23451 arg3
= (double) SWIG_AsDouble(obj2
);
23452 if (PyErr_Occurred()) SWIG_fail
;
23454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23455 (arg1
)->base_OnEndSize(arg2
,arg3
);
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23460 Py_INCREF(Py_None
); resultobj
= Py_None
;
23467 static PyObject
* PyEllipseShape_swigregister(PyObject
*self
, PyObject
*args
) {
23469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23470 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape
, obj
);
23472 return Py_BuildValue((char *)"");
23474 static PyObject
*_wrap_new_PyCircleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23475 PyObject
*resultobj
;
23476 double arg1
= (double) 0.0 ;
23477 wxPyCircleShape
*result
;
23478 PyObject
* obj0
= 0 ;
23479 char *kwnames
[] = {
23480 (char *) "width", NULL
23483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyCircleShape",kwnames
,&obj0
)) goto fail
;
23485 arg1
= (double) SWIG_AsDouble(obj0
);
23486 if (PyErr_Occurred()) SWIG_fail
;
23489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23490 result
= (wxPyCircleShape
*)new wxPyCircleShape(arg1
);
23492 wxPyEndAllowThreads(__tstate
);
23493 if (PyErr_Occurred()) SWIG_fail
;
23495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCircleShape
, 1);
23502 static PyObject
*_wrap_PyCircleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23503 PyObject
*resultobj
;
23504 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23505 PyObject
*arg2
= (PyObject
*) 0 ;
23506 PyObject
*arg3
= (PyObject
*) 0 ;
23507 PyObject
* obj0
= 0 ;
23508 PyObject
* obj1
= 0 ;
23509 PyObject
* obj2
= 0 ;
23510 char *kwnames
[] = {
23511 (char *) "self",(char *) "self",(char *) "_class", NULL
23514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23523 wxPyEndAllowThreads(__tstate
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23526 Py_INCREF(Py_None
); resultobj
= Py_None
;
23533 static PyObject
*_wrap_PyCircleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23534 PyObject
*resultobj
;
23535 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23537 PyObject
* obj0
= 0 ;
23538 PyObject
* obj1
= 0 ;
23539 char *kwnames
[] = {
23540 (char *) "self",(char *) "dc", NULL
23543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
23544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23547 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23549 if (arg2
== NULL
) {
23550 PyErr_SetString(PyExc_TypeError
,"null reference");
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 (arg1
)->base_OnDraw(*arg2
);
23557 wxPyEndAllowThreads(__tstate
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23560 Py_INCREF(Py_None
); resultobj
= Py_None
;
23567 static PyObject
*_wrap_PyCircleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23568 PyObject
*resultobj
;
23569 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23571 PyObject
* obj0
= 0 ;
23572 PyObject
* obj1
= 0 ;
23573 char *kwnames
[] = {
23574 (char *) "self",(char *) "dc", NULL
23577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23581 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23583 if (arg2
== NULL
) {
23584 PyErr_SetString(PyExc_TypeError
,"null reference");
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 (arg1
)->base_OnDrawContents(*arg2
);
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23594 Py_INCREF(Py_None
); resultobj
= Py_None
;
23601 static PyObject
*_wrap_PyCircleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23602 PyObject
*resultobj
;
23603 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23605 bool arg3
= (bool) FALSE
;
23606 PyObject
* obj0
= 0 ;
23607 PyObject
* obj1
= 0 ;
23608 PyObject
* obj2
= 0 ;
23609 char *kwnames
[] = {
23610 (char *) "self",(char *) "dc",(char *) "erase", NULL
23613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23619 if (arg2
== NULL
) {
23620 PyErr_SetString(PyExc_TypeError
,"null reference");
23624 arg3
= (bool) SWIG_AsBool(obj2
);
23625 if (PyErr_Occurred()) SWIG_fail
;
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
23631 wxPyEndAllowThreads(__tstate
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23634 Py_INCREF(Py_None
); resultobj
= Py_None
;
23641 static PyObject
*_wrap_PyCircleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23642 PyObject
*resultobj
;
23643 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23645 PyObject
* obj0
= 0 ;
23646 PyObject
* obj1
= 0 ;
23647 char *kwnames
[] = {
23648 (char *) "self",(char *) "dc", NULL
23651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
23652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23655 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23657 if (arg2
== NULL
) {
23658 PyErr_SetString(PyExc_TypeError
,"null reference");
23662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23663 (arg1
)->base_OnMoveLinks(*arg2
);
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23668 Py_INCREF(Py_None
); resultobj
= Py_None
;
23675 static PyObject
*_wrap_PyCircleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23676 PyObject
*resultobj
;
23677 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23679 PyObject
* obj0
= 0 ;
23680 PyObject
* obj1
= 0 ;
23681 char *kwnames
[] = {
23682 (char *) "self",(char *) "dc", NULL
23685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
23686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23689 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23691 if (arg2
== NULL
) {
23692 PyErr_SetString(PyExc_TypeError
,"null reference");
23696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23697 (arg1
)->base_OnErase(*arg2
);
23699 wxPyEndAllowThreads(__tstate
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23702 Py_INCREF(Py_None
); resultobj
= Py_None
;
23709 static PyObject
*_wrap_PyCircleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23710 PyObject
*resultobj
;
23711 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23713 PyObject
* obj0
= 0 ;
23714 PyObject
* obj1
= 0 ;
23715 char *kwnames
[] = {
23716 (char *) "self",(char *) "dc", NULL
23719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23723 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23725 if (arg2
== NULL
) {
23726 PyErr_SetString(PyExc_TypeError
,"null reference");
23730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23731 (arg1
)->base_OnEraseContents(*arg2
);
23733 wxPyEndAllowThreads(__tstate
);
23734 if (PyErr_Occurred()) SWIG_fail
;
23736 Py_INCREF(Py_None
); resultobj
= Py_None
;
23743 static PyObject
*_wrap_PyCircleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23744 PyObject
*resultobj
;
23745 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23747 PyObject
* obj0
= 0 ;
23748 PyObject
* obj1
= 0 ;
23749 char *kwnames
[] = {
23750 (char *) "self",(char *) "dc", NULL
23753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
23754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23757 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23759 if (arg2
== NULL
) {
23760 PyErr_SetString(PyExc_TypeError
,"null reference");
23764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23765 (arg1
)->base_OnHighlight(*arg2
);
23767 wxPyEndAllowThreads(__tstate
);
23768 if (PyErr_Occurred()) SWIG_fail
;
23770 Py_INCREF(Py_None
); resultobj
= Py_None
;
23777 static PyObject
*_wrap_PyCircleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23778 PyObject
*resultobj
;
23779 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23782 int arg4
= (int) 0 ;
23783 int arg5
= (int) 0 ;
23784 PyObject
* obj0
= 0 ;
23785 PyObject
* obj1
= 0 ;
23786 PyObject
* obj2
= 0 ;
23787 PyObject
* obj3
= 0 ;
23788 PyObject
* obj4
= 0 ;
23789 char *kwnames
[] = {
23790 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23796 arg2
= (double) SWIG_AsDouble(obj1
);
23797 if (PyErr_Occurred()) SWIG_fail
;
23798 arg3
= (double) SWIG_AsDouble(obj2
);
23799 if (PyErr_Occurred()) SWIG_fail
;
23801 arg4
= (int) SWIG_AsInt(obj3
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23805 arg5
= (int) SWIG_AsInt(obj4
);
23806 if (PyErr_Occurred()) SWIG_fail
;
23809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23810 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
23812 wxPyEndAllowThreads(__tstate
);
23813 if (PyErr_Occurred()) SWIG_fail
;
23815 Py_INCREF(Py_None
); resultobj
= Py_None
;
23822 static PyObject
*_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23823 PyObject
*resultobj
;
23824 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23827 int arg4
= (int) 0 ;
23828 int arg5
= (int) 0 ;
23829 PyObject
* obj0
= 0 ;
23830 PyObject
* obj1
= 0 ;
23831 PyObject
* obj2
= 0 ;
23832 PyObject
* obj3
= 0 ;
23833 PyObject
* obj4
= 0 ;
23834 char *kwnames
[] = {
23835 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23841 arg2
= (double) SWIG_AsDouble(obj1
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23843 arg3
= (double) SWIG_AsDouble(obj2
);
23844 if (PyErr_Occurred()) SWIG_fail
;
23846 arg4
= (int) SWIG_AsInt(obj3
);
23847 if (PyErr_Occurred()) SWIG_fail
;
23850 arg5
= (int) SWIG_AsInt(obj4
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23855 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
23857 wxPyEndAllowThreads(__tstate
);
23858 if (PyErr_Occurred()) SWIG_fail
;
23860 Py_INCREF(Py_None
); resultobj
= Py_None
;
23867 static PyObject
*_wrap_PyCircleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23868 PyObject
*resultobj
;
23869 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23872 int arg4
= (int) 0 ;
23873 int arg5
= (int) 0 ;
23874 PyObject
* obj0
= 0 ;
23875 PyObject
* obj1
= 0 ;
23876 PyObject
* obj2
= 0 ;
23877 PyObject
* obj3
= 0 ;
23878 PyObject
* obj4
= 0 ;
23879 char *kwnames
[] = {
23880 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23886 arg2
= (double) SWIG_AsDouble(obj1
);
23887 if (PyErr_Occurred()) SWIG_fail
;
23888 arg3
= (double) SWIG_AsDouble(obj2
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23891 arg4
= (int) SWIG_AsInt(obj3
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23895 arg5
= (int) SWIG_AsInt(obj4
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23900 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
23902 wxPyEndAllowThreads(__tstate
);
23903 if (PyErr_Occurred()) SWIG_fail
;
23905 Py_INCREF(Py_None
); resultobj
= Py_None
;
23912 static PyObject
*_wrap_PyCircleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23913 PyObject
*resultobj
;
23914 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23917 PyObject
* obj0
= 0 ;
23918 PyObject
* obj1
= 0 ;
23919 PyObject
* obj2
= 0 ;
23920 char *kwnames
[] = {
23921 (char *) "self",(char *) "x",(char *) "y", NULL
23924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23927 arg2
= (double) SWIG_AsDouble(obj1
);
23928 if (PyErr_Occurred()) SWIG_fail
;
23929 arg3
= (double) SWIG_AsDouble(obj2
);
23930 if (PyErr_Occurred()) SWIG_fail
;
23932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23933 (arg1
)->base_OnSize(arg2
,arg3
);
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23938 Py_INCREF(Py_None
); resultobj
= Py_None
;
23945 static PyObject
*_wrap_PyCircleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23946 PyObject
*resultobj
;
23947 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23953 bool arg7
= (bool) True
;
23955 PyObject
* obj0
= 0 ;
23956 PyObject
* obj1
= 0 ;
23957 PyObject
* obj2
= 0 ;
23958 PyObject
* obj3
= 0 ;
23959 PyObject
* obj4
= 0 ;
23960 PyObject
* obj5
= 0 ;
23961 PyObject
* obj6
= 0 ;
23962 char *kwnames
[] = {
23963 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23970 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23972 if (arg2
== NULL
) {
23973 PyErr_SetString(PyExc_TypeError
,"null reference");
23976 arg3
= (double) SWIG_AsDouble(obj2
);
23977 if (PyErr_Occurred()) SWIG_fail
;
23978 arg4
= (double) SWIG_AsDouble(obj3
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23980 arg5
= (double) SWIG_AsDouble(obj4
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23982 arg6
= (double) SWIG_AsDouble(obj5
);
23983 if (PyErr_Occurred()) SWIG_fail
;
23985 arg7
= (bool) SWIG_AsBool(obj6
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23990 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23992 wxPyEndAllowThreads(__tstate
);
23993 if (PyErr_Occurred()) SWIG_fail
;
23996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24004 static PyObject
*_wrap_PyCircleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24005 PyObject
*resultobj
;
24006 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24012 bool arg7
= (bool) True
;
24013 PyObject
* obj0
= 0 ;
24014 PyObject
* obj1
= 0 ;
24015 PyObject
* obj2
= 0 ;
24016 PyObject
* obj3
= 0 ;
24017 PyObject
* obj4
= 0 ;
24018 PyObject
* obj5
= 0 ;
24019 PyObject
* obj6
= 0 ;
24020 char *kwnames
[] = {
24021 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24028 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24030 if (arg2
== NULL
) {
24031 PyErr_SetString(PyExc_TypeError
,"null reference");
24034 arg3
= (double) SWIG_AsDouble(obj2
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24036 arg4
= (double) SWIG_AsDouble(obj3
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24038 arg5
= (double) SWIG_AsDouble(obj4
);
24039 if (PyErr_Occurred()) SWIG_fail
;
24040 arg6
= (double) SWIG_AsDouble(obj5
);
24041 if (PyErr_Occurred()) SWIG_fail
;
24043 arg7
= (bool) SWIG_AsBool(obj6
);
24044 if (PyErr_Occurred()) SWIG_fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24053 Py_INCREF(Py_None
); resultobj
= Py_None
;
24060 static PyObject
*_wrap_PyCircleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24061 PyObject
*resultobj
;
24062 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24066 int arg5
= (int) 0 ;
24067 int arg6
= (int) 0 ;
24068 PyObject
* obj0
= 0 ;
24069 PyObject
* obj1
= 0 ;
24070 PyObject
* obj2
= 0 ;
24071 PyObject
* obj3
= 0 ;
24072 PyObject
* obj4
= 0 ;
24073 PyObject
* obj5
= 0 ;
24074 char *kwnames
[] = {
24075 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24081 arg2
= (bool) SWIG_AsBool(obj1
);
24082 if (PyErr_Occurred()) SWIG_fail
;
24083 arg3
= (double) SWIG_AsDouble(obj2
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24085 arg4
= (double) SWIG_AsDouble(obj3
);
24086 if (PyErr_Occurred()) SWIG_fail
;
24088 arg5
= (int) SWIG_AsInt(obj4
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24092 arg6
= (int) SWIG_AsInt(obj5
);
24093 if (PyErr_Occurred()) SWIG_fail
;
24096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24097 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24099 wxPyEndAllowThreads(__tstate
);
24100 if (PyErr_Occurred()) SWIG_fail
;
24102 Py_INCREF(Py_None
); resultobj
= Py_None
;
24109 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24110 PyObject
*resultobj
;
24111 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24114 int arg4
= (int) 0 ;
24115 int arg5
= (int) 0 ;
24116 PyObject
* obj0
= 0 ;
24117 PyObject
* obj1
= 0 ;
24118 PyObject
* obj2
= 0 ;
24119 PyObject
* obj3
= 0 ;
24120 PyObject
* obj4
= 0 ;
24121 char *kwnames
[] = {
24122 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24128 arg2
= (double) SWIG_AsDouble(obj1
);
24129 if (PyErr_Occurred()) SWIG_fail
;
24130 arg3
= (double) SWIG_AsDouble(obj2
);
24131 if (PyErr_Occurred()) SWIG_fail
;
24133 arg4
= (int) SWIG_AsInt(obj3
);
24134 if (PyErr_Occurred()) SWIG_fail
;
24137 arg5
= (int) SWIG_AsInt(obj4
);
24138 if (PyErr_Occurred()) SWIG_fail
;
24141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24142 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
24144 wxPyEndAllowThreads(__tstate
);
24145 if (PyErr_Occurred()) SWIG_fail
;
24147 Py_INCREF(Py_None
); resultobj
= Py_None
;
24154 static PyObject
*_wrap_PyCircleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24155 PyObject
*resultobj
;
24156 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24159 int arg4
= (int) 0 ;
24160 int arg5
= (int) 0 ;
24161 PyObject
* obj0
= 0 ;
24162 PyObject
* obj1
= 0 ;
24163 PyObject
* obj2
= 0 ;
24164 PyObject
* obj3
= 0 ;
24165 PyObject
* obj4
= 0 ;
24166 char *kwnames
[] = {
24167 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24173 arg2
= (double) SWIG_AsDouble(obj1
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24175 arg3
= (double) SWIG_AsDouble(obj2
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24178 arg4
= (int) SWIG_AsInt(obj3
);
24179 if (PyErr_Occurred()) SWIG_fail
;
24182 arg5
= (int) SWIG_AsInt(obj4
);
24183 if (PyErr_Occurred()) SWIG_fail
;
24186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24187 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
24189 wxPyEndAllowThreads(__tstate
);
24190 if (PyErr_Occurred()) SWIG_fail
;
24192 Py_INCREF(Py_None
); resultobj
= Py_None
;
24199 static PyObject
*_wrap_PyCircleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24200 PyObject
*resultobj
;
24201 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24205 int arg5
= (int) 0 ;
24206 int arg6
= (int) 0 ;
24207 PyObject
* obj0
= 0 ;
24208 PyObject
* obj1
= 0 ;
24209 PyObject
* obj2
= 0 ;
24210 PyObject
* obj3
= 0 ;
24211 PyObject
* obj4
= 0 ;
24212 PyObject
* obj5
= 0 ;
24213 char *kwnames
[] = {
24214 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24220 arg2
= (bool) SWIG_AsBool(obj1
);
24221 if (PyErr_Occurred()) SWIG_fail
;
24222 arg3
= (double) SWIG_AsDouble(obj2
);
24223 if (PyErr_Occurred()) SWIG_fail
;
24224 arg4
= (double) SWIG_AsDouble(obj3
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24227 arg5
= (int) SWIG_AsInt(obj4
);
24228 if (PyErr_Occurred()) SWIG_fail
;
24231 arg6
= (int) SWIG_AsInt(obj5
);
24232 if (PyErr_Occurred()) SWIG_fail
;
24235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24236 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
24238 wxPyEndAllowThreads(__tstate
);
24239 if (PyErr_Occurred()) SWIG_fail
;
24241 Py_INCREF(Py_None
); resultobj
= Py_None
;
24248 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24249 PyObject
*resultobj
;
24250 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24253 int arg4
= (int) 0 ;
24254 int arg5
= (int) 0 ;
24255 PyObject
* obj0
= 0 ;
24256 PyObject
* obj1
= 0 ;
24257 PyObject
* obj2
= 0 ;
24258 PyObject
* obj3
= 0 ;
24259 PyObject
* obj4
= 0 ;
24260 char *kwnames
[] = {
24261 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24267 arg2
= (double) SWIG_AsDouble(obj1
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24269 arg3
= (double) SWIG_AsDouble(obj2
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24272 arg4
= (int) SWIG_AsInt(obj3
);
24273 if (PyErr_Occurred()) SWIG_fail
;
24276 arg5
= (int) SWIG_AsInt(obj4
);
24277 if (PyErr_Occurred()) SWIG_fail
;
24280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24281 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
24283 wxPyEndAllowThreads(__tstate
);
24284 if (PyErr_Occurred()) SWIG_fail
;
24286 Py_INCREF(Py_None
); resultobj
= Py_None
;
24293 static PyObject
*_wrap_PyCircleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24294 PyObject
*resultobj
;
24295 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24298 int arg4
= (int) 0 ;
24299 int arg5
= (int) 0 ;
24300 PyObject
* obj0
= 0 ;
24301 PyObject
* obj1
= 0 ;
24302 PyObject
* obj2
= 0 ;
24303 PyObject
* obj3
= 0 ;
24304 PyObject
* obj4
= 0 ;
24305 char *kwnames
[] = {
24306 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24312 arg2
= (double) SWIG_AsDouble(obj1
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24314 arg3
= (double) SWIG_AsDouble(obj2
);
24315 if (PyErr_Occurred()) SWIG_fail
;
24317 arg4
= (int) SWIG_AsInt(obj3
);
24318 if (PyErr_Occurred()) SWIG_fail
;
24321 arg5
= (int) SWIG_AsInt(obj4
);
24322 if (PyErr_Occurred()) SWIG_fail
;
24325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24326 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
24328 wxPyEndAllowThreads(__tstate
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24331 Py_INCREF(Py_None
); resultobj
= Py_None
;
24338 static PyObject
*_wrap_PyCircleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24339 PyObject
*resultobj
;
24340 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24346 PyObject
* obj0
= 0 ;
24347 PyObject
* obj1
= 0 ;
24348 PyObject
* obj2
= 0 ;
24349 PyObject
* obj3
= 0 ;
24350 PyObject
* obj4
= 0 ;
24351 PyObject
* obj5
= 0 ;
24352 char *kwnames
[] = {
24353 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyCircleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24362 if (arg2
== NULL
) {
24363 PyErr_SetString(PyExc_TypeError
,"null reference");
24366 arg3
= (double) SWIG_AsDouble(obj2
);
24367 if (PyErr_Occurred()) SWIG_fail
;
24368 arg4
= (double) SWIG_AsDouble(obj3
);
24369 if (PyErr_Occurred()) SWIG_fail
;
24370 arg5
= (double) SWIG_AsDouble(obj4
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24372 arg6
= (double) SWIG_AsDouble(obj5
);
24373 if (PyErr_Occurred()) SWIG_fail
;
24375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24376 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
24378 wxPyEndAllowThreads(__tstate
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24381 Py_INCREF(Py_None
); resultobj
= Py_None
;
24388 static PyObject
*_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
;
24390 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24392 PyObject
* obj0
= 0 ;
24393 PyObject
* obj1
= 0 ;
24394 char *kwnames
[] = {
24395 (char *) "self",(char *) "dc", NULL
24398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24402 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24404 if (arg2
== NULL
) {
24405 PyErr_SetString(PyExc_TypeError
,"null reference");
24409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24410 (arg1
)->base_OnDrawControlPoints(*arg2
);
24412 wxPyEndAllowThreads(__tstate
);
24413 if (PyErr_Occurred()) SWIG_fail
;
24415 Py_INCREF(Py_None
); resultobj
= Py_None
;
24422 static PyObject
*_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24423 PyObject
*resultobj
;
24424 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24426 PyObject
* obj0
= 0 ;
24427 PyObject
* obj1
= 0 ;
24428 char *kwnames
[] = {
24429 (char *) "self",(char *) "dc", NULL
24432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24435 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24436 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24438 if (arg2
== NULL
) {
24439 PyErr_SetString(PyExc_TypeError
,"null reference");
24443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24444 (arg1
)->base_OnEraseControlPoints(*arg2
);
24446 wxPyEndAllowThreads(__tstate
);
24447 if (PyErr_Occurred()) SWIG_fail
;
24449 Py_INCREF(Py_None
); resultobj
= Py_None
;
24456 static PyObject
*_wrap_PyCircleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24457 PyObject
*resultobj
;
24458 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24460 bool arg3
= (bool) True
;
24461 PyObject
* obj0
= 0 ;
24462 PyObject
* obj1
= 0 ;
24463 PyObject
* obj2
= 0 ;
24464 char *kwnames
[] = {
24465 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24474 if (arg2
== NULL
) {
24475 PyErr_SetString(PyExc_TypeError
,"null reference");
24479 arg3
= (bool) SWIG_AsBool(obj2
);
24480 if (PyErr_Occurred()) SWIG_fail
;
24483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24484 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
24486 wxPyEndAllowThreads(__tstate
);
24487 if (PyErr_Occurred()) SWIG_fail
;
24489 Py_INCREF(Py_None
); resultobj
= Py_None
;
24496 static PyObject
*_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24497 PyObject
*resultobj
;
24498 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24499 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24503 int arg6
= (int) 0 ;
24504 int arg7
= (int) 0 ;
24505 PyObject
* obj0
= 0 ;
24506 PyObject
* obj1
= 0 ;
24507 PyObject
* obj2
= 0 ;
24508 PyObject
* obj3
= 0 ;
24509 PyObject
* obj4
= 0 ;
24510 PyObject
* obj5
= 0 ;
24511 PyObject
* obj6
= 0 ;
24512 char *kwnames
[] = {
24513 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyCircleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24519 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24521 arg3
= (bool) SWIG_AsBool(obj2
);
24522 if (PyErr_Occurred()) SWIG_fail
;
24523 arg4
= (double) SWIG_AsDouble(obj3
);
24524 if (PyErr_Occurred()) SWIG_fail
;
24525 arg5
= (double) SWIG_AsDouble(obj4
);
24526 if (PyErr_Occurred()) SWIG_fail
;
24528 arg6
= (int) SWIG_AsInt(obj5
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24532 arg7
= (int) SWIG_AsInt(obj6
);
24533 if (PyErr_Occurred()) SWIG_fail
;
24536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24537 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24539 wxPyEndAllowThreads(__tstate
);
24540 if (PyErr_Occurred()) SWIG_fail
;
24542 Py_INCREF(Py_None
); resultobj
= Py_None
;
24549 static PyObject
*_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24550 PyObject
*resultobj
;
24551 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24552 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24555 int arg5
= (int) 0 ;
24556 int arg6
= (int) 0 ;
24557 PyObject
* obj0
= 0 ;
24558 PyObject
* obj1
= 0 ;
24559 PyObject
* obj2
= 0 ;
24560 PyObject
* obj3
= 0 ;
24561 PyObject
* obj4
= 0 ;
24562 PyObject
* obj5
= 0 ;
24563 char *kwnames
[] = {
24564 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24572 arg3
= (double) SWIG_AsDouble(obj2
);
24573 if (PyErr_Occurred()) SWIG_fail
;
24574 arg4
= (double) SWIG_AsDouble(obj3
);
24575 if (PyErr_Occurred()) SWIG_fail
;
24577 arg5
= (int) SWIG_AsInt(obj4
);
24578 if (PyErr_Occurred()) SWIG_fail
;
24581 arg6
= (int) SWIG_AsInt(obj5
);
24582 if (PyErr_Occurred()) SWIG_fail
;
24585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24586 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24588 wxPyEndAllowThreads(__tstate
);
24589 if (PyErr_Occurred()) SWIG_fail
;
24591 Py_INCREF(Py_None
); resultobj
= Py_None
;
24598 static PyObject
*_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24599 PyObject
*resultobj
;
24600 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24601 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24604 int arg5
= (int) 0 ;
24605 int arg6
= (int) 0 ;
24606 PyObject
* obj0
= 0 ;
24607 PyObject
* obj1
= 0 ;
24608 PyObject
* obj2
= 0 ;
24609 PyObject
* obj3
= 0 ;
24610 PyObject
* obj4
= 0 ;
24611 PyObject
* obj5
= 0 ;
24612 char *kwnames
[] = {
24613 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24621 arg3
= (double) SWIG_AsDouble(obj2
);
24622 if (PyErr_Occurred()) SWIG_fail
;
24623 arg4
= (double) SWIG_AsDouble(obj3
);
24624 if (PyErr_Occurred()) SWIG_fail
;
24626 arg5
= (int) SWIG_AsInt(obj4
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24630 arg6
= (int) SWIG_AsInt(obj5
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24637 wxPyEndAllowThreads(__tstate
);
24638 if (PyErr_Occurred()) SWIG_fail
;
24640 Py_INCREF(Py_None
); resultobj
= Py_None
;
24647 static PyObject
*_wrap_PyCircleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
;
24649 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24652 PyObject
* obj0
= 0 ;
24653 PyObject
* obj1
= 0 ;
24654 PyObject
* obj2
= 0 ;
24655 char *kwnames
[] = {
24656 (char *) "self",(char *) "w",(char *) "h", NULL
24659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24662 arg2
= (double) SWIG_AsDouble(obj1
);
24663 if (PyErr_Occurred()) SWIG_fail
;
24664 arg3
= (double) SWIG_AsDouble(obj2
);
24665 if (PyErr_Occurred()) SWIG_fail
;
24667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24668 (arg1
)->base_OnBeginSize(arg2
,arg3
);
24670 wxPyEndAllowThreads(__tstate
);
24671 if (PyErr_Occurred()) SWIG_fail
;
24673 Py_INCREF(Py_None
); resultobj
= Py_None
;
24680 static PyObject
*_wrap_PyCircleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24681 PyObject
*resultobj
;
24682 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24685 PyObject
* obj0
= 0 ;
24686 PyObject
* obj1
= 0 ;
24687 PyObject
* obj2
= 0 ;
24688 char *kwnames
[] = {
24689 (char *) "self",(char *) "w",(char *) "h", NULL
24692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24695 arg2
= (double) SWIG_AsDouble(obj1
);
24696 if (PyErr_Occurred()) SWIG_fail
;
24697 arg3
= (double) SWIG_AsDouble(obj2
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24701 (arg1
)->base_OnEndSize(arg2
,arg3
);
24703 wxPyEndAllowThreads(__tstate
);
24704 if (PyErr_Occurred()) SWIG_fail
;
24706 Py_INCREF(Py_None
); resultobj
= Py_None
;
24713 static PyObject
* PyCircleShape_swigregister(PyObject
*self
, PyObject
*args
) {
24715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24716 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape
, obj
);
24718 return Py_BuildValue((char *)"");
24720 static PyObject
*_wrap_new_ArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24721 PyObject
*resultobj
;
24722 int arg1
= (int) 0 ;
24723 int arg2
= (int) 0 ;
24724 double arg3
= (double) 0.0 ;
24725 double arg4
= (double) 0.0 ;
24726 wxString
const &arg5_defvalue
= wxPyEmptyString
;
24727 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
24728 wxPseudoMetaFile
*arg6
= (wxPseudoMetaFile
*) NULL
;
24729 long arg7
= (long) -1 ;
24730 wxArrowHead
*result
;
24731 bool temp5
= False
;
24732 PyObject
* obj0
= 0 ;
24733 PyObject
* obj1
= 0 ;
24734 PyObject
* obj2
= 0 ;
24735 PyObject
* obj3
= 0 ;
24736 PyObject
* obj4
= 0 ;
24737 PyObject
* obj5
= 0 ;
24738 PyObject
* obj6
= 0 ;
24739 char *kwnames
[] = {
24740 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
24743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOO:new_ArrowHead",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24745 arg1
= (int) SWIG_AsInt(obj0
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24749 arg2
= (int) SWIG_AsInt(obj1
);
24750 if (PyErr_Occurred()) SWIG_fail
;
24753 arg3
= (double) SWIG_AsDouble(obj2
);
24754 if (PyErr_Occurred()) SWIG_fail
;
24757 arg4
= (double) SWIG_AsDouble(obj3
);
24758 if (PyErr_Occurred()) SWIG_fail
;
24762 arg5
= wxString_in_helper(obj4
);
24763 if (arg5
== NULL
) SWIG_fail
;
24768 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPseudoMetaFile
,
24769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24772 arg7
= (long) SWIG_AsLong(obj6
);
24773 if (PyErr_Occurred()) SWIG_fail
;
24776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24777 result
= (wxArrowHead
*)new wxArrowHead(arg1
,arg2
,arg3
,arg4
,(wxString
const &)*arg5
,arg6
,arg7
);
24779 wxPyEndAllowThreads(__tstate
);
24780 if (PyErr_Occurred()) SWIG_fail
;
24783 resultobj
= wxPyMake_wxObject(result
, 1);
24799 static PyObject
*_wrap_delete_ArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24800 PyObject
*resultobj
;
24801 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24802 PyObject
* obj0
= 0 ;
24803 char *kwnames
[] = {
24804 (char *) "self", NULL
24807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArrowHead",kwnames
,&obj0
)) goto fail
;
24808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24814 wxPyEndAllowThreads(__tstate
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24817 Py_INCREF(Py_None
); resultobj
= Py_None
;
24824 static PyObject
*_wrap_ArrowHead__GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24825 PyObject
*resultobj
;
24826 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24828 PyObject
* obj0
= 0 ;
24829 char *kwnames
[] = {
24830 (char *) "self", NULL
24833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead__GetType",kwnames
,&obj0
)) goto fail
;
24834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24838 result
= (int)(arg1
)->_GetType();
24840 wxPyEndAllowThreads(__tstate
);
24841 if (PyErr_Occurred()) SWIG_fail
;
24843 resultobj
= SWIG_FromInt((int)result
);
24850 static PyObject
*_wrap_ArrowHead_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24851 PyObject
*resultobj
;
24852 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24854 PyObject
* obj0
= 0 ;
24855 char *kwnames
[] = {
24856 (char *) "self", NULL
24859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetPosition",kwnames
,&obj0
)) goto fail
;
24860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24864 result
= (int)(arg1
)->GetPosition();
24866 wxPyEndAllowThreads(__tstate
);
24867 if (PyErr_Occurred()) SWIG_fail
;
24869 resultobj
= SWIG_FromInt((int)result
);
24876 static PyObject
*_wrap_ArrowHead_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24877 PyObject
*resultobj
;
24878 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24880 PyObject
* obj0
= 0 ;
24881 PyObject
* obj1
= 0 ;
24882 char *kwnames
[] = {
24883 (char *) "self",(char *) "pos", NULL
24886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24889 arg2
= (int) SWIG_AsInt(obj1
);
24890 if (PyErr_Occurred()) SWIG_fail
;
24892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24893 (arg1
)->SetPosition(arg2
);
24895 wxPyEndAllowThreads(__tstate
);
24896 if (PyErr_Occurred()) SWIG_fail
;
24898 Py_INCREF(Py_None
); resultobj
= Py_None
;
24905 static PyObject
*_wrap_ArrowHead_GetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24906 PyObject
*resultobj
;
24907 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24909 PyObject
* obj0
= 0 ;
24910 char *kwnames
[] = {
24911 (char *) "self", NULL
24914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetXOffset",kwnames
,&obj0
)) goto fail
;
24915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24919 result
= (double)(arg1
)->GetXOffset();
24921 wxPyEndAllowThreads(__tstate
);
24922 if (PyErr_Occurred()) SWIG_fail
;
24924 resultobj
= SWIG_FromDouble((double)result
);
24931 static PyObject
*_wrap_ArrowHead_GetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24932 PyObject
*resultobj
;
24933 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24935 PyObject
* obj0
= 0 ;
24936 char *kwnames
[] = {
24937 (char *) "self", NULL
24940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetYOffset",kwnames
,&obj0
)) goto fail
;
24941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24945 result
= (double)(arg1
)->GetYOffset();
24947 wxPyEndAllowThreads(__tstate
);
24948 if (PyErr_Occurred()) SWIG_fail
;
24950 resultobj
= SWIG_FromDouble((double)result
);
24957 static PyObject
*_wrap_ArrowHead_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24958 PyObject
*resultobj
;
24959 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24961 PyObject
* obj0
= 0 ;
24962 char *kwnames
[] = {
24963 (char *) "self", NULL
24966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSpacing",kwnames
,&obj0
)) goto fail
;
24967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24971 result
= (double)(arg1
)->GetSpacing();
24973 wxPyEndAllowThreads(__tstate
);
24974 if (PyErr_Occurred()) SWIG_fail
;
24976 resultobj
= SWIG_FromDouble((double)result
);
24983 static PyObject
*_wrap_ArrowHead_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24984 PyObject
*resultobj
;
24985 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24987 PyObject
* obj0
= 0 ;
24988 char *kwnames
[] = {
24989 (char *) "self", NULL
24992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSize",kwnames
,&obj0
)) goto fail
;
24993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 result
= (double)(arg1
)->GetSize();
24999 wxPyEndAllowThreads(__tstate
);
25000 if (PyErr_Occurred()) SWIG_fail
;
25002 resultobj
= SWIG_FromDouble((double)result
);
25009 static PyObject
*_wrap_ArrowHead_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25010 PyObject
*resultobj
;
25011 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25013 PyObject
* obj0
= 0 ;
25014 char *kwnames
[] = {
25015 (char *) "self", NULL
25018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetName",kwnames
,&obj0
)) goto fail
;
25019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25023 result
= (arg1
)->GetName();
25025 wxPyEndAllowThreads(__tstate
);
25026 if (PyErr_Occurred()) SWIG_fail
;
25030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25041 static PyObject
*_wrap_ArrowHead_SetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25042 PyObject
*resultobj
;
25043 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25045 PyObject
* obj0
= 0 ;
25046 PyObject
* obj1
= 0 ;
25047 char *kwnames
[] = {
25048 (char *) "self",(char *) "x", NULL
25051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetXOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
25052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25054 arg2
= (double) SWIG_AsDouble(obj1
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25058 (arg1
)->SetXOffset(arg2
);
25060 wxPyEndAllowThreads(__tstate
);
25061 if (PyErr_Occurred()) SWIG_fail
;
25063 Py_INCREF(Py_None
); resultobj
= Py_None
;
25070 static PyObject
*_wrap_ArrowHead_SetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25071 PyObject
*resultobj
;
25072 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25074 PyObject
* obj0
= 0 ;
25075 PyObject
* obj1
= 0 ;
25076 char *kwnames
[] = {
25077 (char *) "self",(char *) "y", NULL
25080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetYOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
25081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25083 arg2
= (double) SWIG_AsDouble(obj1
);
25084 if (PyErr_Occurred()) SWIG_fail
;
25086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25087 (arg1
)->SetYOffset(arg2
);
25089 wxPyEndAllowThreads(__tstate
);
25090 if (PyErr_Occurred()) SWIG_fail
;
25092 Py_INCREF(Py_None
); resultobj
= Py_None
;
25099 static PyObject
*_wrap_ArrowHead_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25100 PyObject
*resultobj
;
25101 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25102 wxPseudoMetaFile
*result
;
25103 PyObject
* obj0
= 0 ;
25104 char *kwnames
[] = {
25105 (char *) "self", NULL
25108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetMetaFile",kwnames
,&obj0
)) goto fail
;
25109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 result
= (wxPseudoMetaFile
*)(arg1
)->GetMetaFile();
25115 wxPyEndAllowThreads(__tstate
);
25116 if (PyErr_Occurred()) SWIG_fail
;
25119 resultobj
= wxPyMake_wxObject(result
, 0);
25127 static PyObject
*_wrap_ArrowHead_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25128 PyObject
*resultobj
;
25129 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25131 PyObject
* obj0
= 0 ;
25132 char *kwnames
[] = {
25133 (char *) "self", NULL
25136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetId",kwnames
,&obj0
)) goto fail
;
25137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25141 result
= (long)(arg1
)->GetId();
25143 wxPyEndAllowThreads(__tstate
);
25144 if (PyErr_Occurred()) SWIG_fail
;
25146 resultobj
= SWIG_FromLong((long)result
);
25153 static PyObject
*_wrap_ArrowHead_GetArrowEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25154 PyObject
*resultobj
;
25155 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25157 PyObject
* obj0
= 0 ;
25158 char *kwnames
[] = {
25159 (char *) "self", NULL
25162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowEnd",kwnames
,&obj0
)) goto fail
;
25163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25167 result
= (int)(arg1
)->GetArrowEnd();
25169 wxPyEndAllowThreads(__tstate
);
25170 if (PyErr_Occurred()) SWIG_fail
;
25172 resultobj
= SWIG_FromInt((int)result
);
25179 static PyObject
*_wrap_ArrowHead_GetArrowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25180 PyObject
*resultobj
;
25181 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25183 PyObject
* obj0
= 0 ;
25184 char *kwnames
[] = {
25185 (char *) "self", NULL
25188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowSize",kwnames
,&obj0
)) goto fail
;
25189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25193 result
= (double)(arg1
)->GetArrowSize();
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25198 resultobj
= SWIG_FromDouble((double)result
);
25205 static PyObject
*_wrap_ArrowHead_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25206 PyObject
*resultobj
;
25207 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25209 PyObject
* obj0
= 0 ;
25210 PyObject
* obj1
= 0 ;
25211 char *kwnames
[] = {
25212 (char *) "self",(char *) "size", NULL
25215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25218 arg2
= (double) SWIG_AsDouble(obj1
);
25219 if (PyErr_Occurred()) SWIG_fail
;
25221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25222 (arg1
)->SetSize(arg2
);
25224 wxPyEndAllowThreads(__tstate
);
25225 if (PyErr_Occurred()) SWIG_fail
;
25227 Py_INCREF(Py_None
); resultobj
= Py_None
;
25234 static PyObject
*_wrap_ArrowHead_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25235 PyObject
*resultobj
;
25236 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25238 PyObject
* obj0
= 0 ;
25239 PyObject
* obj1
= 0 ;
25240 char *kwnames
[] = {
25241 (char *) "self",(char *) "sp", NULL
25244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25247 arg2
= (double) SWIG_AsDouble(obj1
);
25248 if (PyErr_Occurred()) SWIG_fail
;
25250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25251 (arg1
)->SetSpacing(arg2
);
25253 wxPyEndAllowThreads(__tstate
);
25254 if (PyErr_Occurred()) SWIG_fail
;
25256 Py_INCREF(Py_None
); resultobj
= Py_None
;
25263 static PyObject
* ArrowHead_swigregister(PyObject
*self
, PyObject
*args
) {
25265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25266 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead
, obj
);
25268 return Py_BuildValue((char *)"");
25270 static PyObject
*_wrap_new_PyLineShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25271 PyObject
*resultobj
;
25272 wxPyLineShape
*result
;
25273 char *kwnames
[] = {
25277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLineShape",kwnames
)) goto fail
;
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25280 result
= (wxPyLineShape
*)new wxPyLineShape();
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLineShape
, 1);
25292 static PyObject
*_wrap_PyLineShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25293 PyObject
*resultobj
;
25294 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25295 PyObject
*arg2
= (PyObject
*) 0 ;
25296 PyObject
*arg3
= (PyObject
*) 0 ;
25297 PyObject
* obj0
= 0 ;
25298 PyObject
* obj1
= 0 ;
25299 PyObject
* obj2
= 0 ;
25300 char *kwnames
[] = {
25301 (char *) "self",(char *) "self",(char *) "_class", NULL
25304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25311 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25313 wxPyEndAllowThreads(__tstate
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25316 Py_INCREF(Py_None
); resultobj
= Py_None
;
25323 static PyObject
*_wrap_PyLineShape_AddArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25324 PyObject
*resultobj
;
25325 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25327 int arg3
= (int) ARROW_POSITION_END
;
25328 double arg4
= (double) 10.0 ;
25329 double arg5
= (double) 0.0 ;
25330 wxString
const &arg6_defvalue
= wxPyEmptyString
;
25331 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25332 wxPseudoMetaFile
*arg7
= (wxPseudoMetaFile
*) NULL
;
25333 long arg8
= (long) -1 ;
25334 bool temp6
= False
;
25335 PyObject
* obj0
= 0 ;
25336 PyObject
* obj1
= 0 ;
25337 PyObject
* obj2
= 0 ;
25338 PyObject
* obj3
= 0 ;
25339 PyObject
* obj4
= 0 ;
25340 PyObject
* obj5
= 0 ;
25341 PyObject
* obj6
= 0 ;
25342 PyObject
* obj7
= 0 ;
25343 char *kwnames
[] = {
25344 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:PyLineShape_AddArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25350 arg2
= (int) SWIG_AsInt(obj1
);
25351 if (PyErr_Occurred()) SWIG_fail
;
25353 arg3
= (int) SWIG_AsInt(obj2
);
25354 if (PyErr_Occurred()) SWIG_fail
;
25357 arg4
= (double) SWIG_AsDouble(obj3
);
25358 if (PyErr_Occurred()) SWIG_fail
;
25361 arg5
= (double) SWIG_AsDouble(obj4
);
25362 if (PyErr_Occurred()) SWIG_fail
;
25366 arg6
= wxString_in_helper(obj5
);
25367 if (arg6
== NULL
) SWIG_fail
;
25372 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPseudoMetaFile
,
25373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25376 arg8
= (long) SWIG_AsLong(obj7
);
25377 if (PyErr_Occurred()) SWIG_fail
;
25380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25381 (arg1
)->AddArrow(arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
,arg8
);
25383 wxPyEndAllowThreads(__tstate
);
25384 if (PyErr_Occurred()) SWIG_fail
;
25386 Py_INCREF(Py_None
); resultobj
= Py_None
;
25401 static PyObject
*_wrap_PyLineShape_AddArrowOrdered(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25402 PyObject
*resultobj
;
25403 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25404 wxArrowHead
*arg2
= (wxArrowHead
*) 0 ;
25405 PyObject
*arg3
= (PyObject
*) 0 ;
25407 PyObject
* obj0
= 0 ;
25408 PyObject
* obj1
= 0 ;
25409 PyObject
* obj2
= 0 ;
25410 PyObject
* obj3
= 0 ;
25411 char *kwnames
[] = {
25412 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
25415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyLineShape_AddArrowOrdered",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxArrowHead
,
25419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25421 arg4
= (int) SWIG_AsInt(obj3
);
25422 if (PyErr_Occurred()) SWIG_fail
;
25424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25425 wxPyLineShape_AddArrowOrdered(arg1
,arg2
,arg3
,arg4
);
25427 wxPyEndAllowThreads(__tstate
);
25428 if (PyErr_Occurred()) SWIG_fail
;
25430 Py_INCREF(Py_None
); resultobj
= Py_None
;
25437 static PyObject
*_wrap_PyLineShape_ClearArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25438 PyObject
*resultobj
;
25439 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25440 wxString
*arg2
= 0 ;
25442 bool temp2
= False
;
25443 PyObject
* obj0
= 0 ;
25444 PyObject
* obj1
= 0 ;
25445 char *kwnames
[] = {
25446 (char *) "self",(char *) "name", NULL
25449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_ClearArrow",kwnames
,&obj0
,&obj1
)) goto fail
;
25450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25453 arg2
= wxString_in_helper(obj1
);
25454 if (arg2
== NULL
) SWIG_fail
;
25458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25459 result
= (bool)(arg1
)->ClearArrow((wxString
const &)*arg2
);
25461 wxPyEndAllowThreads(__tstate
);
25462 if (PyErr_Occurred()) SWIG_fail
;
25465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25481 static PyObject
*_wrap_PyLineShape_ClearArrowsAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25482 PyObject
*resultobj
;
25483 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25484 int arg2
= (int) -1 ;
25485 PyObject
* obj0
= 0 ;
25486 PyObject
* obj1
= 0 ;
25487 char *kwnames
[] = {
25488 (char *) "self",(char *) "position", NULL
25491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_ClearArrowsAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25495 arg2
= (int) SWIG_AsInt(obj1
);
25496 if (PyErr_Occurred()) SWIG_fail
;
25499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25500 (arg1
)->ClearArrowsAtPosition(arg2
);
25502 wxPyEndAllowThreads(__tstate
);
25503 if (PyErr_Occurred()) SWIG_fail
;
25505 Py_INCREF(Py_None
); resultobj
= Py_None
;
25512 static PyObject
*_wrap_PyLineShape_DrawArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25513 PyObject
*resultobj
;
25514 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25516 wxArrowHead
*arg3
= (wxArrowHead
*) 0 ;
25519 PyObject
* obj0
= 0 ;
25520 PyObject
* obj1
= 0 ;
25521 PyObject
* obj2
= 0 ;
25522 PyObject
* obj3
= 0 ;
25523 PyObject
* obj4
= 0 ;
25524 char *kwnames
[] = {
25525 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
25528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_DrawArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25534 if (arg2
== NULL
) {
25535 PyErr_SetString(PyExc_TypeError
,"null reference");
25538 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxArrowHead
,
25539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25540 arg4
= (double) SWIG_AsDouble(obj3
);
25541 if (PyErr_Occurred()) SWIG_fail
;
25542 arg5
= (bool) SWIG_AsBool(obj4
);
25543 if (PyErr_Occurred()) SWIG_fail
;
25545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25546 (arg1
)->DrawArrow(*arg2
,arg3
,arg4
,arg5
);
25548 wxPyEndAllowThreads(__tstate
);
25549 if (PyErr_Occurred()) SWIG_fail
;
25551 Py_INCREF(Py_None
); resultobj
= Py_None
;
25558 static PyObject
*_wrap_PyLineShape_DeleteArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25559 PyObject
*resultobj
;
25560 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25563 PyObject
* obj0
= 0 ;
25564 PyObject
* obj1
= 0 ;
25565 char *kwnames
[] = {
25566 (char *) "self",(char *) "arrowId", NULL
25569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DeleteArrowHeadId",kwnames
,&obj0
,&obj1
)) goto fail
;
25570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25572 arg2
= (long) SWIG_AsLong(obj1
);
25573 if (PyErr_Occurred()) SWIG_fail
;
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 result
= (bool)(arg1
)->DeleteArrowHead(arg2
);
25578 wxPyEndAllowThreads(__tstate
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25590 static PyObject
*_wrap_PyLineShape_DeleteArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25591 PyObject
*resultobj
;
25592 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25594 wxString
*arg3
= 0 ;
25596 bool temp3
= False
;
25597 PyObject
* obj0
= 0 ;
25598 PyObject
* obj1
= 0 ;
25599 PyObject
* obj2
= 0 ;
25600 char *kwnames
[] = {
25601 (char *) "self",(char *) "position",(char *) "name", NULL
25604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_DeleteArrowHead",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25607 arg2
= (int) SWIG_AsInt(obj1
);
25608 if (PyErr_Occurred()) SWIG_fail
;
25610 arg3
= wxString_in_helper(obj2
);
25611 if (arg3
== NULL
) SWIG_fail
;
25615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25616 result
= (bool)(arg1
)->DeleteArrowHead(arg2
,(wxString
const &)*arg3
);
25618 wxPyEndAllowThreads(__tstate
);
25619 if (PyErr_Occurred()) SWIG_fail
;
25622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25638 static PyObject
*_wrap_PyLineShape_DeleteLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25639 PyObject
*resultobj
;
25640 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25642 PyObject
* obj0
= 0 ;
25643 char *kwnames
[] = {
25644 (char *) "self", NULL
25647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames
,&obj0
)) goto fail
;
25648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25652 result
= (bool)(arg1
)->DeleteLineControlPoint();
25654 wxPyEndAllowThreads(__tstate
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25666 static PyObject
*_wrap_PyLineShape_DrawArrows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25667 PyObject
*resultobj
;
25668 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25670 PyObject
* obj0
= 0 ;
25671 PyObject
* obj1
= 0 ;
25672 char *kwnames
[] = {
25673 (char *) "self",(char *) "dc", NULL
25676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DrawArrows",kwnames
,&obj0
,&obj1
)) goto fail
;
25677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25680 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25682 if (arg2
== NULL
) {
25683 PyErr_SetString(PyExc_TypeError
,"null reference");
25687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25688 (arg1
)->DrawArrows(*arg2
);
25690 wxPyEndAllowThreads(__tstate
);
25691 if (PyErr_Occurred()) SWIG_fail
;
25693 Py_INCREF(Py_None
); resultobj
= Py_None
;
25700 static PyObject
*_wrap_PyLineShape_DrawRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25701 PyObject
*resultobj
;
25702 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25704 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
25707 PyObject
* obj0
= 0 ;
25708 PyObject
* obj1
= 0 ;
25709 PyObject
* obj2
= 0 ;
25710 PyObject
* obj3
= 0 ;
25711 PyObject
* obj4
= 0 ;
25712 char *kwnames
[] = {
25713 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_DrawRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25720 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25722 if (arg2
== NULL
) {
25723 PyErr_SetString(PyExc_TypeError
,"null reference");
25726 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxShapeRegion
,
25727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25728 arg4
= (double) SWIG_AsDouble(obj3
);
25729 if (PyErr_Occurred()) SWIG_fail
;
25730 arg5
= (double) SWIG_AsDouble(obj4
);
25731 if (PyErr_Occurred()) SWIG_fail
;
25733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25734 (arg1
)->DrawRegion(*arg2
,arg3
,arg4
,arg5
);
25736 wxPyEndAllowThreads(__tstate
);
25737 if (PyErr_Occurred()) SWIG_fail
;
25739 Py_INCREF(Py_None
); resultobj
= Py_None
;
25746 static PyObject
*_wrap_PyLineShape_EraseRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25747 PyObject
*resultobj
;
25748 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25750 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
25753 PyObject
* obj0
= 0 ;
25754 PyObject
* obj1
= 0 ;
25755 PyObject
* obj2
= 0 ;
25756 PyObject
* obj3
= 0 ;
25757 PyObject
* obj4
= 0 ;
25758 char *kwnames
[] = {
25759 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_EraseRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25768 if (arg2
== NULL
) {
25769 PyErr_SetString(PyExc_TypeError
,"null reference");
25772 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxShapeRegion
,
25773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25774 arg4
= (double) SWIG_AsDouble(obj3
);
25775 if (PyErr_Occurred()) SWIG_fail
;
25776 arg5
= (double) SWIG_AsDouble(obj4
);
25777 if (PyErr_Occurred()) SWIG_fail
;
25779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25780 (arg1
)->EraseRegion(*arg2
,arg3
,arg4
,arg5
);
25782 wxPyEndAllowThreads(__tstate
);
25783 if (PyErr_Occurred()) SWIG_fail
;
25785 Py_INCREF(Py_None
); resultobj
= Py_None
;
25792 static PyObject
*_wrap_PyLineShape_FindArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25793 PyObject
*resultobj
;
25794 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25796 wxArrowHead
*result
;
25797 PyObject
* obj0
= 0 ;
25798 PyObject
* obj1
= 0 ;
25799 char *kwnames
[] = {
25800 (char *) "self",(char *) "arrowId", NULL
25803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_FindArrowHeadId",kwnames
,&obj0
,&obj1
)) goto fail
;
25804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25806 arg2
= (long) SWIG_AsLong(obj1
);
25807 if (PyErr_Occurred()) SWIG_fail
;
25809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25810 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
);
25812 wxPyEndAllowThreads(__tstate
);
25813 if (PyErr_Occurred()) SWIG_fail
;
25816 resultobj
= wxPyMake_wxObject(result
, 0);
25824 static PyObject
*_wrap_PyLineShape_FindArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25825 PyObject
*resultobj
;
25826 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25828 wxString
*arg3
= 0 ;
25829 wxArrowHead
*result
;
25830 bool temp3
= False
;
25831 PyObject
* obj0
= 0 ;
25832 PyObject
* obj1
= 0 ;
25833 PyObject
* obj2
= 0 ;
25834 char *kwnames
[] = {
25835 (char *) "self",(char *) "position",(char *) "name", NULL
25838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindArrowHead",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25841 arg2
= (int) SWIG_AsInt(obj1
);
25842 if (PyErr_Occurred()) SWIG_fail
;
25844 arg3
= wxString_in_helper(obj2
);
25845 if (arg3
== NULL
) SWIG_fail
;
25849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25850 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
,(wxString
const &)*arg3
);
25852 wxPyEndAllowThreads(__tstate
);
25853 if (PyErr_Occurred()) SWIG_fail
;
25856 resultobj
= wxPyMake_wxObject(result
, 0);
25872 static PyObject
*_wrap_PyLineShape_FindLineEndPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25873 PyObject
*resultobj
;
25874 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25875 double *arg2
= (double *) 0 ;
25876 double *arg3
= (double *) 0 ;
25877 double *arg4
= (double *) 0 ;
25878 double *arg5
= (double *) 0 ;
25883 PyObject
* obj0
= 0 ;
25884 char *kwnames
[] = {
25885 (char *) "self", NULL
25892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindLineEndPoints",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 (arg1
)->FindLineEndPoints(arg2
,arg3
,arg4
,arg5
);
25899 wxPyEndAllowThreads(__tstate
);
25900 if (PyErr_Occurred()) SWIG_fail
;
25902 Py_INCREF(Py_None
); resultobj
= Py_None
;
25904 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
25905 resultobj
= t_output_helper(resultobj
,o
);
25908 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
25909 resultobj
= t_output_helper(resultobj
,o
);
25912 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
25913 resultobj
= t_output_helper(resultobj
,o
);
25916 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
25917 resultobj
= t_output_helper(resultobj
,o
);
25925 static PyObject
*_wrap_PyLineShape_FindLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25926 PyObject
*resultobj
;
25927 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25931 PyObject
* obj0
= 0 ;
25932 PyObject
* obj1
= 0 ;
25933 PyObject
* obj2
= 0 ;
25934 char *kwnames
[] = {
25935 (char *) "self",(char *) "x",(char *) "y", NULL
25938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindLinePosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25941 arg2
= (double) SWIG_AsDouble(obj1
);
25942 if (PyErr_Occurred()) SWIG_fail
;
25943 arg3
= (double) SWIG_AsDouble(obj2
);
25944 if (PyErr_Occurred()) SWIG_fail
;
25946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25947 result
= (int)(arg1
)->FindLinePosition(arg2
,arg3
);
25949 wxPyEndAllowThreads(__tstate
);
25950 if (PyErr_Occurred()) SWIG_fail
;
25952 resultobj
= SWIG_FromInt((int)result
);
25959 static PyObject
*_wrap_PyLineShape_FindMinimumWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25960 PyObject
*resultobj
;
25961 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25963 PyObject
* obj0
= 0 ;
25964 char *kwnames
[] = {
25965 (char *) "self", NULL
25968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindMinimumWidth",kwnames
,&obj0
)) goto fail
;
25969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25973 result
= (double)(arg1
)->FindMinimumWidth();
25975 wxPyEndAllowThreads(__tstate
);
25976 if (PyErr_Occurred()) SWIG_fail
;
25978 resultobj
= SWIG_FromDouble((double)result
);
25985 static PyObject
*_wrap_PyLineShape_FindNth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25986 PyObject
*resultobj
;
25987 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25988 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
25989 int *arg3
= (int *) 0 ;
25990 int *arg4
= (int *) 0 ;
25994 PyObject
* obj0
= 0 ;
25995 PyObject
* obj1
= 0 ;
25996 PyObject
* obj2
= 0 ;
25997 char *kwnames
[] = {
25998 (char *) "self",(char *) "image",(char *) "incoming", NULL
26003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindNth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26008 arg5
= (bool) SWIG_AsBool(obj2
);
26009 if (PyErr_Occurred()) SWIG_fail
;
26011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26012 (arg1
)->FindNth(arg2
,arg3
,arg4
,arg5
);
26014 wxPyEndAllowThreads(__tstate
);
26015 if (PyErr_Occurred()) SWIG_fail
;
26017 Py_INCREF(Py_None
); resultobj
= Py_None
;
26019 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26020 resultobj
= t_output_helper(resultobj
,o
);
26023 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26024 resultobj
= t_output_helper(resultobj
,o
);
26032 static PyObject
*_wrap_PyLineShape_GetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26033 PyObject
*resultobj
;
26034 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26036 PyObject
* obj0
= 0 ;
26037 char *kwnames
[] = {
26038 (char *) "self", NULL
26041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames
,&obj0
)) goto fail
;
26042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26046 result
= (int)(arg1
)->GetAttachmentFrom();
26048 wxPyEndAllowThreads(__tstate
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26051 resultobj
= SWIG_FromInt((int)result
);
26058 static PyObject
*_wrap_PyLineShape_GetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26059 PyObject
*resultobj
;
26060 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26062 PyObject
* obj0
= 0 ;
26063 char *kwnames
[] = {
26064 (char *) "self", NULL
26067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentTo",kwnames
,&obj0
)) goto fail
;
26068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26072 result
= (int)(arg1
)->GetAttachmentTo();
26074 wxPyEndAllowThreads(__tstate
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26077 resultobj
= SWIG_FromInt((int)result
);
26084 static PyObject
*_wrap_PyLineShape_GetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26085 PyObject
*resultobj
;
26086 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26087 double *arg2
= (double *) 0 ;
26088 double *arg3
= (double *) 0 ;
26089 double *arg4
= (double *) 0 ;
26090 double *arg5
= (double *) 0 ;
26095 PyObject
* obj0
= 0 ;
26096 char *kwnames
[] = {
26097 (char *) "self", NULL
26104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetEnds",kwnames
,&obj0
)) goto fail
;
26105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26109 (arg1
)->GetEnds(arg2
,arg3
,arg4
,arg5
);
26111 wxPyEndAllowThreads(__tstate
);
26112 if (PyErr_Occurred()) SWIG_fail
;
26114 Py_INCREF(Py_None
); resultobj
= Py_None
;
26116 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
26117 resultobj
= t_output_helper(resultobj
,o
);
26120 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
26121 resultobj
= t_output_helper(resultobj
,o
);
26124 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
26125 resultobj
= t_output_helper(resultobj
,o
);
26128 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
26129 resultobj
= t_output_helper(resultobj
,o
);
26137 static PyObject
*_wrap_PyLineShape_GetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26138 PyObject
*resultobj
;
26139 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26141 PyObject
* obj0
= 0 ;
26142 char *kwnames
[] = {
26143 (char *) "self", NULL
26146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetFrom",kwnames
,&obj0
)) goto fail
;
26147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26151 result
= (wxPyShape
*)(arg1
)->GetFrom();
26153 wxPyEndAllowThreads(__tstate
);
26154 if (PyErr_Occurred()) SWIG_fail
;
26157 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
26165 static PyObject
*_wrap_PyLineShape_GetLabelPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26166 PyObject
*resultobj
;
26167 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26169 double *arg3
= (double *) 0 ;
26170 double *arg4
= (double *) 0 ;
26173 PyObject
* obj0
= 0 ;
26174 PyObject
* obj1
= 0 ;
26175 char *kwnames
[] = {
26176 (char *) "self",(char *) "position", NULL
26181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetLabelPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
26182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26184 arg2
= (int) SWIG_AsInt(obj1
);
26185 if (PyErr_Occurred()) SWIG_fail
;
26187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26188 (arg1
)->GetLabelPosition(arg2
,arg3
,arg4
);
26190 wxPyEndAllowThreads(__tstate
);
26191 if (PyErr_Occurred()) SWIG_fail
;
26193 Py_INCREF(Py_None
); resultobj
= Py_None
;
26195 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
26196 resultobj
= t_output_helper(resultobj
,o
);
26199 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
26200 resultobj
= t_output_helper(resultobj
,o
);
26208 static PyObject
*_wrap_PyLineShape_GetNextControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26209 PyObject
*resultobj
;
26210 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26211 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26212 wxRealPoint
*result
;
26213 PyObject
* obj0
= 0 ;
26214 PyObject
* obj1
= 0 ;
26215 char *kwnames
[] = {
26216 (char *) "self",(char *) "shape", NULL
26219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26226 result
= (wxRealPoint
*)(arg1
)->GetNextControlPoint(arg2
);
26228 wxPyEndAllowThreads(__tstate
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 0);
26238 static PyObject
*_wrap_PyLineShape_GetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26239 PyObject
*resultobj
;
26240 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26242 PyObject
* obj0
= 0 ;
26243 char *kwnames
[] = {
26244 (char *) "self", NULL
26247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetTo",kwnames
,&obj0
)) goto fail
;
26248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26252 result
= (wxPyShape
*)(arg1
)->GetTo();
26254 wxPyEndAllowThreads(__tstate
);
26255 if (PyErr_Occurred()) SWIG_fail
;
26258 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
26266 static PyObject
*_wrap_PyLineShape_Initialise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26267 PyObject
*resultobj
;
26268 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26269 PyObject
* obj0
= 0 ;
26270 char *kwnames
[] = {
26271 (char *) "self", NULL
26274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Initialise",kwnames
,&obj0
)) goto fail
;
26275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26279 (arg1
)->Initialise();
26281 wxPyEndAllowThreads(__tstate
);
26282 if (PyErr_Occurred()) SWIG_fail
;
26284 Py_INCREF(Py_None
); resultobj
= Py_None
;
26291 static PyObject
*_wrap_PyLineShape_InsertLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26292 PyObject
*resultobj
;
26293 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26294 wxDC
*arg2
= (wxDC
*) 0 ;
26295 PyObject
* obj0
= 0 ;
26296 PyObject
* obj1
= 0 ;
26297 char *kwnames
[] = {
26298 (char *) "self",(char *) "dc", NULL
26301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26308 (arg1
)->InsertLineControlPoint(arg2
);
26310 wxPyEndAllowThreads(__tstate
);
26311 if (PyErr_Occurred()) SWIG_fail
;
26313 Py_INCREF(Py_None
); resultobj
= Py_None
;
26320 static PyObject
*_wrap_PyLineShape_IsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26321 PyObject
*resultobj
;
26322 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26323 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26325 PyObject
* obj0
= 0 ;
26326 PyObject
* obj1
= 0 ;
26327 char *kwnames
[] = {
26328 (char *) "self",(char *) "shape", NULL
26331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_IsEnd",kwnames
,&obj0
,&obj1
)) goto fail
;
26332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26338 result
= (bool)(arg1
)->IsEnd(arg2
);
26340 wxPyEndAllowThreads(__tstate
);
26341 if (PyErr_Occurred()) SWIG_fail
;
26344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26352 static PyObject
*_wrap_PyLineShape_IsSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26353 PyObject
*resultobj
;
26354 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26356 PyObject
* obj0
= 0 ;
26357 char *kwnames
[] = {
26358 (char *) "self", NULL
26361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_IsSpline",kwnames
,&obj0
)) goto fail
;
26362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26366 result
= (bool)(arg1
)->IsSpline();
26368 wxPyEndAllowThreads(__tstate
);
26369 if (PyErr_Occurred()) SWIG_fail
;
26372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26380 static PyObject
*_wrap_PyLineShape_MakeLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26381 PyObject
*resultobj
;
26382 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26384 PyObject
* obj0
= 0 ;
26385 PyObject
* obj1
= 0 ;
26386 char *kwnames
[] = {
26387 (char *) "self",(char *) "n", NULL
26390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_MakeLineControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
26391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26393 arg2
= (int) SWIG_AsInt(obj1
);
26394 if (PyErr_Occurred()) SWIG_fail
;
26396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26397 (arg1
)->MakeLineControlPoints(arg2
);
26399 wxPyEndAllowThreads(__tstate
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26402 Py_INCREF(Py_None
); resultobj
= Py_None
;
26409 static PyObject
*_wrap_PyLineShape_GetLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26410 PyObject
*resultobj
;
26411 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26413 PyObject
* obj0
= 0 ;
26414 char *kwnames
[] = {
26415 (char *) "self", NULL
26418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetLineControlPoints",kwnames
,&obj0
)) goto fail
;
26419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26423 result
= (PyObject
*)wxPyLineShape_GetLineControlPoints(arg1
);
26425 wxPyEndAllowThreads(__tstate
);
26426 if (PyErr_Occurred()) SWIG_fail
;
26428 resultobj
= result
;
26435 static PyObject
*_wrap_PyLineShape_SetLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26436 PyObject
*resultobj
;
26437 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26438 PyObject
*arg2
= (PyObject
*) 0 ;
26439 PyObject
* obj0
= 0 ;
26440 PyObject
* obj1
= 0 ;
26441 char *kwnames
[] = {
26442 (char *) "self",(char *) "list", NULL
26445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetLineControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
26446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26451 wxPyLineShape_SetLineControlPoints(arg1
,arg2
);
26453 wxPyEndAllowThreads(__tstate
);
26454 if (PyErr_Occurred()) SWIG_fail
;
26456 Py_INCREF(Py_None
); resultobj
= Py_None
;
26463 static PyObject
*_wrap_PyLineShape_SetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26464 PyObject
*resultobj
;
26465 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26467 PyObject
* obj0
= 0 ;
26468 PyObject
* obj1
= 0 ;
26469 char *kwnames
[] = {
26470 (char *) "self",(char *) "fromAttach", NULL
26473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetAttachmentFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
26474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26476 arg2
= (int) SWIG_AsInt(obj1
);
26477 if (PyErr_Occurred()) SWIG_fail
;
26479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26480 (arg1
)->SetAttachmentFrom(arg2
);
26482 wxPyEndAllowThreads(__tstate
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26485 Py_INCREF(Py_None
); resultobj
= Py_None
;
26492 static PyObject
*_wrap_PyLineShape_SetAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26493 PyObject
*resultobj
;
26494 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26497 PyObject
* obj0
= 0 ;
26498 PyObject
* obj1
= 0 ;
26499 PyObject
* obj2
= 0 ;
26500 char *kwnames
[] = {
26501 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
26504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAttachments",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26507 arg2
= (int) SWIG_AsInt(obj1
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26509 arg3
= (int) SWIG_AsInt(obj2
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26513 (arg1
)->SetAttachments(arg2
,arg3
);
26515 wxPyEndAllowThreads(__tstate
);
26516 if (PyErr_Occurred()) SWIG_fail
;
26518 Py_INCREF(Py_None
); resultobj
= Py_None
;
26525 static PyObject
*_wrap_PyLineShape_SetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26526 PyObject
*resultobj
;
26527 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26529 PyObject
* obj0
= 0 ;
26530 PyObject
* obj1
= 0 ;
26531 char *kwnames
[] = {
26532 (char *) "self",(char *) "toAttach", NULL
26535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetAttachmentTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26538 arg2
= (int) SWIG_AsInt(obj1
);
26539 if (PyErr_Occurred()) SWIG_fail
;
26541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26542 (arg1
)->SetAttachmentTo(arg2
);
26544 wxPyEndAllowThreads(__tstate
);
26545 if (PyErr_Occurred()) SWIG_fail
;
26547 Py_INCREF(Py_None
); resultobj
= Py_None
;
26554 static PyObject
*_wrap_PyLineShape_SetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26555 PyObject
*resultobj
;
26556 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26561 PyObject
* obj0
= 0 ;
26562 PyObject
* obj1
= 0 ;
26563 PyObject
* obj2
= 0 ;
26564 PyObject
* obj3
= 0 ;
26565 PyObject
* obj4
= 0 ;
26566 char *kwnames
[] = {
26567 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_SetEnds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26573 arg2
= (double) SWIG_AsDouble(obj1
);
26574 if (PyErr_Occurred()) SWIG_fail
;
26575 arg3
= (double) SWIG_AsDouble(obj2
);
26576 if (PyErr_Occurred()) SWIG_fail
;
26577 arg4
= (double) SWIG_AsDouble(obj3
);
26578 if (PyErr_Occurred()) SWIG_fail
;
26579 arg5
= (double) SWIG_AsDouble(obj4
);
26580 if (PyErr_Occurred()) SWIG_fail
;
26582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26583 (arg1
)->SetEnds(arg2
,arg3
,arg4
,arg5
);
26585 wxPyEndAllowThreads(__tstate
);
26586 if (PyErr_Occurred()) SWIG_fail
;
26588 Py_INCREF(Py_None
); resultobj
= Py_None
;
26595 static PyObject
*_wrap_PyLineShape_SetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26596 PyObject
*resultobj
;
26597 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26598 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26599 PyObject
* obj0
= 0 ;
26600 PyObject
* obj1
= 0 ;
26601 char *kwnames
[] = {
26602 (char *) "self",(char *) "object", NULL
26605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
26606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26612 (arg1
)->SetFrom(arg2
);
26614 wxPyEndAllowThreads(__tstate
);
26615 if (PyErr_Occurred()) SWIG_fail
;
26617 Py_INCREF(Py_None
); resultobj
= Py_None
;
26624 static PyObject
*_wrap_PyLineShape_SetIgnoreOffsets(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26625 PyObject
*resultobj
;
26626 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26628 PyObject
* obj0
= 0 ;
26629 PyObject
* obj1
= 0 ;
26630 char *kwnames
[] = {
26631 (char *) "self",(char *) "ignore", NULL
26634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames
,&obj0
,&obj1
)) goto fail
;
26635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26637 arg2
= (bool) SWIG_AsBool(obj1
);
26638 if (PyErr_Occurred()) SWIG_fail
;
26640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26641 (arg1
)->SetIgnoreOffsets(arg2
);
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26646 Py_INCREF(Py_None
); resultobj
= Py_None
;
26653 static PyObject
*_wrap_PyLineShape_SetSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26654 PyObject
*resultobj
;
26655 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26657 PyObject
* obj0
= 0 ;
26658 PyObject
* obj1
= 0 ;
26659 char *kwnames
[] = {
26660 (char *) "self",(char *) "spline", NULL
26663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetSpline",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 (arg1
)->SetSpline(arg2
);
26672 wxPyEndAllowThreads(__tstate
);
26673 if (PyErr_Occurred()) SWIG_fail
;
26675 Py_INCREF(Py_None
); resultobj
= Py_None
;
26682 static PyObject
*_wrap_PyLineShape_SetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26683 PyObject
*resultobj
;
26684 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26685 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26686 PyObject
* obj0
= 0 ;
26687 PyObject
* obj1
= 0 ;
26688 char *kwnames
[] = {
26689 (char *) "self",(char *) "object", NULL
26692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26695 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26699 (arg1
)->SetTo(arg2
);
26701 wxPyEndAllowThreads(__tstate
);
26702 if (PyErr_Occurred()) SWIG_fail
;
26704 Py_INCREF(Py_None
); resultobj
= Py_None
;
26711 static PyObject
*_wrap_PyLineShape_Straighten(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26712 PyObject
*resultobj
;
26713 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26714 wxDC
*arg2
= (wxDC
*) NULL
;
26715 PyObject
* obj0
= 0 ;
26716 PyObject
* obj1
= 0 ;
26717 char *kwnames
[] = {
26718 (char *) "self",(char *) "dc", NULL
26721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_Straighten",kwnames
,&obj0
,&obj1
)) goto fail
;
26722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26730 (arg1
)->Straighten(arg2
);
26732 wxPyEndAllowThreads(__tstate
);
26733 if (PyErr_Occurred()) SWIG_fail
;
26735 Py_INCREF(Py_None
); resultobj
= Py_None
;
26742 static PyObject
*_wrap_PyLineShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26743 PyObject
*resultobj
;
26744 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26745 PyObject
* obj0
= 0 ;
26746 char *kwnames
[] = {
26747 (char *) "self", NULL
26750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Unlink",kwnames
,&obj0
)) goto fail
;
26751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26757 wxPyEndAllowThreads(__tstate
);
26758 if (PyErr_Occurred()) SWIG_fail
;
26760 Py_INCREF(Py_None
); resultobj
= Py_None
;
26767 static PyObject
*_wrap_PyLineShape_SetAlignmentOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26768 PyObject
*resultobj
;
26769 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26772 PyObject
* obj0
= 0 ;
26773 PyObject
* obj1
= 0 ;
26774 PyObject
* obj2
= 0 ;
26775 char *kwnames
[] = {
26776 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
26779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26782 arg2
= (bool) SWIG_AsBool(obj1
);
26783 if (PyErr_Occurred()) SWIG_fail
;
26784 arg3
= (bool) SWIG_AsBool(obj2
);
26785 if (PyErr_Occurred()) SWIG_fail
;
26787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26788 (arg1
)->SetAlignmentOrientation(arg2
,arg3
);
26790 wxPyEndAllowThreads(__tstate
);
26791 if (PyErr_Occurred()) SWIG_fail
;
26793 Py_INCREF(Py_None
); resultobj
= Py_None
;
26800 static PyObject
*_wrap_PyLineShape_SetAlignmentType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26801 PyObject
*resultobj
;
26802 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26805 PyObject
* obj0
= 0 ;
26806 PyObject
* obj1
= 0 ;
26807 PyObject
* obj2
= 0 ;
26808 char *kwnames
[] = {
26809 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
26812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentType",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26815 arg2
= (bool) SWIG_AsBool(obj1
);
26816 if (PyErr_Occurred()) SWIG_fail
;
26817 arg3
= (int) SWIG_AsInt(obj2
);
26818 if (PyErr_Occurred()) SWIG_fail
;
26820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26821 (arg1
)->SetAlignmentType(arg2
,arg3
);
26823 wxPyEndAllowThreads(__tstate
);
26824 if (PyErr_Occurred()) SWIG_fail
;
26826 Py_INCREF(Py_None
); resultobj
= Py_None
;
26833 static PyObject
*_wrap_PyLineShape_GetAlignmentOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26834 PyObject
*resultobj
;
26835 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26838 PyObject
* obj0
= 0 ;
26839 PyObject
* obj1
= 0 ;
26840 char *kwnames
[] = {
26841 (char *) "self",(char *) "isEnd", NULL
26844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
26845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26847 arg2
= (bool) SWIG_AsBool(obj1
);
26848 if (PyErr_Occurred()) SWIG_fail
;
26850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26851 result
= (bool)(arg1
)->GetAlignmentOrientation(arg2
);
26853 wxPyEndAllowThreads(__tstate
);
26854 if (PyErr_Occurred()) SWIG_fail
;
26857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26865 static PyObject
*_wrap_PyLineShape_GetAlignmentType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26866 PyObject
*resultobj
;
26867 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26870 PyObject
* obj0
= 0 ;
26871 PyObject
* obj1
= 0 ;
26872 char *kwnames
[] = {
26873 (char *) "self",(char *) "isEnd", NULL
26876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentType",kwnames
,&obj0
,&obj1
)) goto fail
;
26877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26879 arg2
= (bool) SWIG_AsBool(obj1
);
26880 if (PyErr_Occurred()) SWIG_fail
;
26882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26883 result
= (int)(arg1
)->GetAlignmentType(arg2
);
26885 wxPyEndAllowThreads(__tstate
);
26886 if (PyErr_Occurred()) SWIG_fail
;
26888 resultobj
= SWIG_FromInt((int)result
);
26895 static PyObject
*_wrap_PyLineShape_GetAlignmentStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26896 PyObject
*resultobj
;
26897 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26899 PyObject
* obj0
= 0 ;
26900 char *kwnames
[] = {
26901 (char *) "self", NULL
26904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentStart",kwnames
,&obj0
)) goto fail
;
26905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26909 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentStart();
26911 wxPyEndAllowThreads(__tstate
);
26912 if (PyErr_Occurred()) SWIG_fail
;
26914 resultobj
= SWIG_FromInt((int)result
);
26921 static PyObject
*_wrap_PyLineShape_GetAlignmentEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26922 PyObject
*resultobj
;
26923 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26925 PyObject
* obj0
= 0 ;
26926 char *kwnames
[] = {
26927 (char *) "self", NULL
26930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames
,&obj0
)) goto fail
;
26931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26935 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentEnd();
26937 wxPyEndAllowThreads(__tstate
);
26938 if (PyErr_Occurred()) SWIG_fail
;
26940 resultobj
= SWIG_FromInt((int)result
);
26947 static PyObject
*_wrap_PyLineShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26948 PyObject
*resultobj
;
26949 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26951 PyObject
* obj0
= 0 ;
26952 PyObject
* obj1
= 0 ;
26953 char *kwnames
[] = {
26954 (char *) "self",(char *) "dc", NULL
26957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
26958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26963 if (arg2
== NULL
) {
26964 PyErr_SetString(PyExc_TypeError
,"null reference");
26968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26969 (arg1
)->base_OnDraw(*arg2
);
26971 wxPyEndAllowThreads(__tstate
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26974 Py_INCREF(Py_None
); resultobj
= Py_None
;
26981 static PyObject
*_wrap_PyLineShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26982 PyObject
*resultobj
;
26983 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26985 PyObject
* obj0
= 0 ;
26986 PyObject
* obj1
= 0 ;
26987 char *kwnames
[] = {
26988 (char *) "self",(char *) "dc", NULL
26991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
26992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26994 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26995 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26997 if (arg2
== NULL
) {
26998 PyErr_SetString(PyExc_TypeError
,"null reference");
27002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27003 (arg1
)->base_OnDrawContents(*arg2
);
27005 wxPyEndAllowThreads(__tstate
);
27006 if (PyErr_Occurred()) SWIG_fail
;
27008 Py_INCREF(Py_None
); resultobj
= Py_None
;
27015 static PyObject
*_wrap_PyLineShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27016 PyObject
*resultobj
;
27017 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27019 bool arg3
= (bool) FALSE
;
27020 PyObject
* obj0
= 0 ;
27021 PyObject
* obj1
= 0 ;
27022 PyObject
* obj2
= 0 ;
27023 char *kwnames
[] = {
27024 (char *) "self",(char *) "dc",(char *) "erase", NULL
27027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27030 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27031 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27033 if (arg2
== NULL
) {
27034 PyErr_SetString(PyExc_TypeError
,"null reference");
27038 arg3
= (bool) SWIG_AsBool(obj2
);
27039 if (PyErr_Occurred()) SWIG_fail
;
27042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27043 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
27045 wxPyEndAllowThreads(__tstate
);
27046 if (PyErr_Occurred()) SWIG_fail
;
27048 Py_INCREF(Py_None
); resultobj
= Py_None
;
27055 static PyObject
*_wrap_PyLineShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27056 PyObject
*resultobj
;
27057 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27059 PyObject
* obj0
= 0 ;
27060 PyObject
* obj1
= 0 ;
27061 char *kwnames
[] = {
27062 (char *) "self",(char *) "dc", NULL
27065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
27066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27069 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27071 if (arg2
== NULL
) {
27072 PyErr_SetString(PyExc_TypeError
,"null reference");
27076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27077 (arg1
)->base_OnMoveLinks(*arg2
);
27079 wxPyEndAllowThreads(__tstate
);
27080 if (PyErr_Occurred()) SWIG_fail
;
27082 Py_INCREF(Py_None
); resultobj
= Py_None
;
27089 static PyObject
*_wrap_PyLineShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27090 PyObject
*resultobj
;
27091 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27093 PyObject
* obj0
= 0 ;
27094 PyObject
* obj1
= 0 ;
27095 char *kwnames
[] = {
27096 (char *) "self",(char *) "dc", NULL
27099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
27100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27103 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27105 if (arg2
== NULL
) {
27106 PyErr_SetString(PyExc_TypeError
,"null reference");
27110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27111 (arg1
)->base_OnErase(*arg2
);
27113 wxPyEndAllowThreads(__tstate
);
27114 if (PyErr_Occurred()) SWIG_fail
;
27116 Py_INCREF(Py_None
); resultobj
= Py_None
;
27123 static PyObject
*_wrap_PyLineShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27124 PyObject
*resultobj
;
27125 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27127 PyObject
* obj0
= 0 ;
27128 PyObject
* obj1
= 0 ;
27129 char *kwnames
[] = {
27130 (char *) "self",(char *) "dc", NULL
27133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
27134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27137 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27139 if (arg2
== NULL
) {
27140 PyErr_SetString(PyExc_TypeError
,"null reference");
27144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27145 (arg1
)->base_OnEraseContents(*arg2
);
27147 wxPyEndAllowThreads(__tstate
);
27148 if (PyErr_Occurred()) SWIG_fail
;
27150 Py_INCREF(Py_None
); resultobj
= Py_None
;
27157 static PyObject
*_wrap_PyLineShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27158 PyObject
*resultobj
;
27159 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27161 PyObject
* obj0
= 0 ;
27162 PyObject
* obj1
= 0 ;
27163 char *kwnames
[] = {
27164 (char *) "self",(char *) "dc", NULL
27167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
27168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27171 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27173 if (arg2
== NULL
) {
27174 PyErr_SetString(PyExc_TypeError
,"null reference");
27178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27179 (arg1
)->base_OnHighlight(*arg2
);
27181 wxPyEndAllowThreads(__tstate
);
27182 if (PyErr_Occurred()) SWIG_fail
;
27184 Py_INCREF(Py_None
); resultobj
= Py_None
;
27191 static PyObject
*_wrap_PyLineShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27192 PyObject
*resultobj
;
27193 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27196 int arg4
= (int) 0 ;
27197 int arg5
= (int) 0 ;
27198 PyObject
* obj0
= 0 ;
27199 PyObject
* obj1
= 0 ;
27200 PyObject
* obj2
= 0 ;
27201 PyObject
* obj3
= 0 ;
27202 PyObject
* obj4
= 0 ;
27203 char *kwnames
[] = {
27204 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27210 arg2
= (double) SWIG_AsDouble(obj1
);
27211 if (PyErr_Occurred()) SWIG_fail
;
27212 arg3
= (double) SWIG_AsDouble(obj2
);
27213 if (PyErr_Occurred()) SWIG_fail
;
27215 arg4
= (int) SWIG_AsInt(obj3
);
27216 if (PyErr_Occurred()) SWIG_fail
;
27219 arg5
= (int) SWIG_AsInt(obj4
);
27220 if (PyErr_Occurred()) SWIG_fail
;
27223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27224 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
27226 wxPyEndAllowThreads(__tstate
);
27227 if (PyErr_Occurred()) SWIG_fail
;
27229 Py_INCREF(Py_None
); resultobj
= Py_None
;
27236 static PyObject
*_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27237 PyObject
*resultobj
;
27238 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27241 int arg4
= (int) 0 ;
27242 int arg5
= (int) 0 ;
27243 PyObject
* obj0
= 0 ;
27244 PyObject
* obj1
= 0 ;
27245 PyObject
* obj2
= 0 ;
27246 PyObject
* obj3
= 0 ;
27247 PyObject
* obj4
= 0 ;
27248 char *kwnames
[] = {
27249 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27255 arg2
= (double) SWIG_AsDouble(obj1
);
27256 if (PyErr_Occurred()) SWIG_fail
;
27257 arg3
= (double) SWIG_AsDouble(obj2
);
27258 if (PyErr_Occurred()) SWIG_fail
;
27260 arg4
= (int) SWIG_AsInt(obj3
);
27261 if (PyErr_Occurred()) SWIG_fail
;
27264 arg5
= (int) SWIG_AsInt(obj4
);
27265 if (PyErr_Occurred()) SWIG_fail
;
27268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27269 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
27271 wxPyEndAllowThreads(__tstate
);
27272 if (PyErr_Occurred()) SWIG_fail
;
27274 Py_INCREF(Py_None
); resultobj
= Py_None
;
27281 static PyObject
*_wrap_PyLineShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27282 PyObject
*resultobj
;
27283 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27286 int arg4
= (int) 0 ;
27287 int arg5
= (int) 0 ;
27288 PyObject
* obj0
= 0 ;
27289 PyObject
* obj1
= 0 ;
27290 PyObject
* obj2
= 0 ;
27291 PyObject
* obj3
= 0 ;
27292 PyObject
* obj4
= 0 ;
27293 char *kwnames
[] = {
27294 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27300 arg2
= (double) SWIG_AsDouble(obj1
);
27301 if (PyErr_Occurred()) SWIG_fail
;
27302 arg3
= (double) SWIG_AsDouble(obj2
);
27303 if (PyErr_Occurred()) SWIG_fail
;
27305 arg4
= (int) SWIG_AsInt(obj3
);
27306 if (PyErr_Occurred()) SWIG_fail
;
27309 arg5
= (int) SWIG_AsInt(obj4
);
27310 if (PyErr_Occurred()) SWIG_fail
;
27313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27314 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
27316 wxPyEndAllowThreads(__tstate
);
27317 if (PyErr_Occurred()) SWIG_fail
;
27319 Py_INCREF(Py_None
); resultobj
= Py_None
;
27326 static PyObject
*_wrap_PyLineShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27327 PyObject
*resultobj
;
27328 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27331 PyObject
* obj0
= 0 ;
27332 PyObject
* obj1
= 0 ;
27333 PyObject
* obj2
= 0 ;
27334 char *kwnames
[] = {
27335 (char *) "self",(char *) "x",(char *) "y", NULL
27338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27341 arg2
= (double) SWIG_AsDouble(obj1
);
27342 if (PyErr_Occurred()) SWIG_fail
;
27343 arg3
= (double) SWIG_AsDouble(obj2
);
27344 if (PyErr_Occurred()) SWIG_fail
;
27346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27347 (arg1
)->base_OnSize(arg2
,arg3
);
27349 wxPyEndAllowThreads(__tstate
);
27350 if (PyErr_Occurred()) SWIG_fail
;
27352 Py_INCREF(Py_None
); resultobj
= Py_None
;
27359 static PyObject
*_wrap_PyLineShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27360 PyObject
*resultobj
;
27361 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27367 bool arg7
= (bool) True
;
27369 PyObject
* obj0
= 0 ;
27370 PyObject
* obj1
= 0 ;
27371 PyObject
* obj2
= 0 ;
27372 PyObject
* obj3
= 0 ;
27373 PyObject
* obj4
= 0 ;
27374 PyObject
* obj5
= 0 ;
27375 PyObject
* obj6
= 0 ;
27376 char *kwnames
[] = {
27377 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyLineShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27384 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27386 if (arg2
== NULL
) {
27387 PyErr_SetString(PyExc_TypeError
,"null reference");
27390 arg3
= (double) SWIG_AsDouble(obj2
);
27391 if (PyErr_Occurred()) SWIG_fail
;
27392 arg4
= (double) SWIG_AsDouble(obj3
);
27393 if (PyErr_Occurred()) SWIG_fail
;
27394 arg5
= (double) SWIG_AsDouble(obj4
);
27395 if (PyErr_Occurred()) SWIG_fail
;
27396 arg6
= (double) SWIG_AsDouble(obj5
);
27397 if (PyErr_Occurred()) SWIG_fail
;
27399 arg7
= (bool) SWIG_AsBool(obj6
);
27400 if (PyErr_Occurred()) SWIG_fail
;
27403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27404 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27406 wxPyEndAllowThreads(__tstate
);
27407 if (PyErr_Occurred()) SWIG_fail
;
27410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27418 static PyObject
*_wrap_PyLineShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27419 PyObject
*resultobj
;
27420 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27426 bool arg7
= (bool) True
;
27427 PyObject
* obj0
= 0 ;
27428 PyObject
* obj1
= 0 ;
27429 PyObject
* obj2
= 0 ;
27430 PyObject
* obj3
= 0 ;
27431 PyObject
* obj4
= 0 ;
27432 PyObject
* obj5
= 0 ;
27433 PyObject
* obj6
= 0 ;
27434 char *kwnames
[] = {
27435 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyLineShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27442 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27444 if (arg2
== NULL
) {
27445 PyErr_SetString(PyExc_TypeError
,"null reference");
27448 arg3
= (double) SWIG_AsDouble(obj2
);
27449 if (PyErr_Occurred()) SWIG_fail
;
27450 arg4
= (double) SWIG_AsDouble(obj3
);
27451 if (PyErr_Occurred()) SWIG_fail
;
27452 arg5
= (double) SWIG_AsDouble(obj4
);
27453 if (PyErr_Occurred()) SWIG_fail
;
27454 arg6
= (double) SWIG_AsDouble(obj5
);
27455 if (PyErr_Occurred()) SWIG_fail
;
27457 arg7
= (bool) SWIG_AsBool(obj6
);
27458 if (PyErr_Occurred()) SWIG_fail
;
27461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27462 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27464 wxPyEndAllowThreads(__tstate
);
27465 if (PyErr_Occurred()) SWIG_fail
;
27467 Py_INCREF(Py_None
); resultobj
= Py_None
;
27474 static PyObject
*_wrap_PyLineShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27475 PyObject
*resultobj
;
27476 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27480 int arg5
= (int) 0 ;
27481 int arg6
= (int) 0 ;
27482 PyObject
* obj0
= 0 ;
27483 PyObject
* obj1
= 0 ;
27484 PyObject
* obj2
= 0 ;
27485 PyObject
* obj3
= 0 ;
27486 PyObject
* obj4
= 0 ;
27487 PyObject
* obj5
= 0 ;
27488 char *kwnames
[] = {
27489 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27495 arg2
= (bool) SWIG_AsBool(obj1
);
27496 if (PyErr_Occurred()) SWIG_fail
;
27497 arg3
= (double) SWIG_AsDouble(obj2
);
27498 if (PyErr_Occurred()) SWIG_fail
;
27499 arg4
= (double) SWIG_AsDouble(obj3
);
27500 if (PyErr_Occurred()) SWIG_fail
;
27502 arg5
= (int) SWIG_AsInt(obj4
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27506 arg6
= (int) SWIG_AsInt(obj5
);
27507 if (PyErr_Occurred()) SWIG_fail
;
27510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27511 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
27513 wxPyEndAllowThreads(__tstate
);
27514 if (PyErr_Occurred()) SWIG_fail
;
27516 Py_INCREF(Py_None
); resultobj
= Py_None
;
27523 static PyObject
*_wrap_PyLineShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27524 PyObject
*resultobj
;
27525 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27528 int arg4
= (int) 0 ;
27529 int arg5
= (int) 0 ;
27530 PyObject
* obj0
= 0 ;
27531 PyObject
* obj1
= 0 ;
27532 PyObject
* obj2
= 0 ;
27533 PyObject
* obj3
= 0 ;
27534 PyObject
* obj4
= 0 ;
27535 char *kwnames
[] = {
27536 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27542 arg2
= (double) SWIG_AsDouble(obj1
);
27543 if (PyErr_Occurred()) SWIG_fail
;
27544 arg3
= (double) SWIG_AsDouble(obj2
);
27545 if (PyErr_Occurred()) SWIG_fail
;
27547 arg4
= (int) SWIG_AsInt(obj3
);
27548 if (PyErr_Occurred()) SWIG_fail
;
27551 arg5
= (int) SWIG_AsInt(obj4
);
27552 if (PyErr_Occurred()) SWIG_fail
;
27555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27556 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
27558 wxPyEndAllowThreads(__tstate
);
27559 if (PyErr_Occurred()) SWIG_fail
;
27561 Py_INCREF(Py_None
); resultobj
= Py_None
;
27568 static PyObject
*_wrap_PyLineShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27569 PyObject
*resultobj
;
27570 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27573 int arg4
= (int) 0 ;
27574 int arg5
= (int) 0 ;
27575 PyObject
* obj0
= 0 ;
27576 PyObject
* obj1
= 0 ;
27577 PyObject
* obj2
= 0 ;
27578 PyObject
* obj3
= 0 ;
27579 PyObject
* obj4
= 0 ;
27580 char *kwnames
[] = {
27581 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27587 arg2
= (double) SWIG_AsDouble(obj1
);
27588 if (PyErr_Occurred()) SWIG_fail
;
27589 arg3
= (double) SWIG_AsDouble(obj2
);
27590 if (PyErr_Occurred()) SWIG_fail
;
27592 arg4
= (int) SWIG_AsInt(obj3
);
27593 if (PyErr_Occurred()) SWIG_fail
;
27596 arg5
= (int) SWIG_AsInt(obj4
);
27597 if (PyErr_Occurred()) SWIG_fail
;
27600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27601 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
27603 wxPyEndAllowThreads(__tstate
);
27604 if (PyErr_Occurred()) SWIG_fail
;
27606 Py_INCREF(Py_None
); resultobj
= Py_None
;
27613 static PyObject
*_wrap_PyLineShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27614 PyObject
*resultobj
;
27615 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27619 int arg5
= (int) 0 ;
27620 int arg6
= (int) 0 ;
27621 PyObject
* obj0
= 0 ;
27622 PyObject
* obj1
= 0 ;
27623 PyObject
* obj2
= 0 ;
27624 PyObject
* obj3
= 0 ;
27625 PyObject
* obj4
= 0 ;
27626 PyObject
* obj5
= 0 ;
27627 char *kwnames
[] = {
27628 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27634 arg2
= (bool) SWIG_AsBool(obj1
);
27635 if (PyErr_Occurred()) SWIG_fail
;
27636 arg3
= (double) SWIG_AsDouble(obj2
);
27637 if (PyErr_Occurred()) SWIG_fail
;
27638 arg4
= (double) SWIG_AsDouble(obj3
);
27639 if (PyErr_Occurred()) SWIG_fail
;
27641 arg5
= (int) SWIG_AsInt(obj4
);
27642 if (PyErr_Occurred()) SWIG_fail
;
27645 arg6
= (int) SWIG_AsInt(obj5
);
27646 if (PyErr_Occurred()) SWIG_fail
;
27649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27650 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
27652 wxPyEndAllowThreads(__tstate
);
27653 if (PyErr_Occurred()) SWIG_fail
;
27655 Py_INCREF(Py_None
); resultobj
= Py_None
;
27662 static PyObject
*_wrap_PyLineShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27663 PyObject
*resultobj
;
27664 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27667 int arg4
= (int) 0 ;
27668 int arg5
= (int) 0 ;
27669 PyObject
* obj0
= 0 ;
27670 PyObject
* obj1
= 0 ;
27671 PyObject
* obj2
= 0 ;
27672 PyObject
* obj3
= 0 ;
27673 PyObject
* obj4
= 0 ;
27674 char *kwnames
[] = {
27675 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27681 arg2
= (double) SWIG_AsDouble(obj1
);
27682 if (PyErr_Occurred()) SWIG_fail
;
27683 arg3
= (double) SWIG_AsDouble(obj2
);
27684 if (PyErr_Occurred()) SWIG_fail
;
27686 arg4
= (int) SWIG_AsInt(obj3
);
27687 if (PyErr_Occurred()) SWIG_fail
;
27690 arg5
= (int) SWIG_AsInt(obj4
);
27691 if (PyErr_Occurred()) SWIG_fail
;
27694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27695 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
27697 wxPyEndAllowThreads(__tstate
);
27698 if (PyErr_Occurred()) SWIG_fail
;
27700 Py_INCREF(Py_None
); resultobj
= Py_None
;
27707 static PyObject
*_wrap_PyLineShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27708 PyObject
*resultobj
;
27709 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27712 int arg4
= (int) 0 ;
27713 int arg5
= (int) 0 ;
27714 PyObject
* obj0
= 0 ;
27715 PyObject
* obj1
= 0 ;
27716 PyObject
* obj2
= 0 ;
27717 PyObject
* obj3
= 0 ;
27718 PyObject
* obj4
= 0 ;
27719 char *kwnames
[] = {
27720 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27726 arg2
= (double) SWIG_AsDouble(obj1
);
27727 if (PyErr_Occurred()) SWIG_fail
;
27728 arg3
= (double) SWIG_AsDouble(obj2
);
27729 if (PyErr_Occurred()) SWIG_fail
;
27731 arg4
= (int) SWIG_AsInt(obj3
);
27732 if (PyErr_Occurred()) SWIG_fail
;
27735 arg5
= (int) SWIG_AsInt(obj4
);
27736 if (PyErr_Occurred()) SWIG_fail
;
27739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27740 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
27742 wxPyEndAllowThreads(__tstate
);
27743 if (PyErr_Occurred()) SWIG_fail
;
27745 Py_INCREF(Py_None
); resultobj
= Py_None
;
27752 static PyObject
*_wrap_PyLineShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27753 PyObject
*resultobj
;
27754 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27760 PyObject
* obj0
= 0 ;
27761 PyObject
* obj1
= 0 ;
27762 PyObject
* obj2
= 0 ;
27763 PyObject
* obj3
= 0 ;
27764 PyObject
* obj4
= 0 ;
27765 PyObject
* obj5
= 0 ;
27766 char *kwnames
[] = {
27767 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyLineShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27774 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27776 if (arg2
== NULL
) {
27777 PyErr_SetString(PyExc_TypeError
,"null reference");
27780 arg3
= (double) SWIG_AsDouble(obj2
);
27781 if (PyErr_Occurred()) SWIG_fail
;
27782 arg4
= (double) SWIG_AsDouble(obj3
);
27783 if (PyErr_Occurred()) SWIG_fail
;
27784 arg5
= (double) SWIG_AsDouble(obj4
);
27785 if (PyErr_Occurred()) SWIG_fail
;
27786 arg6
= (double) SWIG_AsDouble(obj5
);
27787 if (PyErr_Occurred()) SWIG_fail
;
27789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27790 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
27792 wxPyEndAllowThreads(__tstate
);
27793 if (PyErr_Occurred()) SWIG_fail
;
27795 Py_INCREF(Py_None
); resultobj
= Py_None
;
27802 static PyObject
*_wrap_PyLineShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27803 PyObject
*resultobj
;
27804 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27806 PyObject
* obj0
= 0 ;
27807 PyObject
* obj1
= 0 ;
27808 char *kwnames
[] = {
27809 (char *) "self",(char *) "dc", NULL
27812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
27813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27816 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27818 if (arg2
== NULL
) {
27819 PyErr_SetString(PyExc_TypeError
,"null reference");
27823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27824 (arg1
)->base_OnDrawControlPoints(*arg2
);
27826 wxPyEndAllowThreads(__tstate
);
27827 if (PyErr_Occurred()) SWIG_fail
;
27829 Py_INCREF(Py_None
); resultobj
= Py_None
;
27836 static PyObject
*_wrap_PyLineShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27837 PyObject
*resultobj
;
27838 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27840 PyObject
* obj0
= 0 ;
27841 PyObject
* obj1
= 0 ;
27842 char *kwnames
[] = {
27843 (char *) "self",(char *) "dc", NULL
27846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
27847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27852 if (arg2
== NULL
) {
27853 PyErr_SetString(PyExc_TypeError
,"null reference");
27857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27858 (arg1
)->base_OnEraseControlPoints(*arg2
);
27860 wxPyEndAllowThreads(__tstate
);
27861 if (PyErr_Occurred()) SWIG_fail
;
27863 Py_INCREF(Py_None
); resultobj
= Py_None
;
27870 static PyObject
*_wrap_PyLineShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27871 PyObject
*resultobj
;
27872 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27874 bool arg3
= (bool) True
;
27875 PyObject
* obj0
= 0 ;
27876 PyObject
* obj1
= 0 ;
27877 PyObject
* obj2
= 0 ;
27878 char *kwnames
[] = {
27879 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
27882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27885 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27886 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27888 if (arg2
== NULL
) {
27889 PyErr_SetString(PyExc_TypeError
,"null reference");
27893 arg3
= (bool) SWIG_AsBool(obj2
);
27894 if (PyErr_Occurred()) SWIG_fail
;
27897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27898 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
27900 wxPyEndAllowThreads(__tstate
);
27901 if (PyErr_Occurred()) SWIG_fail
;
27903 Py_INCREF(Py_None
); resultobj
= Py_None
;
27910 static PyObject
*_wrap_PyLineShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27911 PyObject
*resultobj
;
27912 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27913 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
27917 int arg6
= (int) 0 ;
27918 int arg7
= (int) 0 ;
27919 PyObject
* obj0
= 0 ;
27920 PyObject
* obj1
= 0 ;
27921 PyObject
* obj2
= 0 ;
27922 PyObject
* obj3
= 0 ;
27923 PyObject
* obj4
= 0 ;
27924 PyObject
* obj5
= 0 ;
27925 PyObject
* obj6
= 0 ;
27926 char *kwnames
[] = {
27927 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyLineShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27933 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
27934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27935 arg3
= (bool) SWIG_AsBool(obj2
);
27936 if (PyErr_Occurred()) SWIG_fail
;
27937 arg4
= (double) SWIG_AsDouble(obj3
);
27938 if (PyErr_Occurred()) SWIG_fail
;
27939 arg5
= (double) SWIG_AsDouble(obj4
);
27940 if (PyErr_Occurred()) SWIG_fail
;
27942 arg6
= (int) SWIG_AsInt(obj5
);
27943 if (PyErr_Occurred()) SWIG_fail
;
27946 arg7
= (int) SWIG_AsInt(obj6
);
27947 if (PyErr_Occurred()) SWIG_fail
;
27950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27951 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27953 wxPyEndAllowThreads(__tstate
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27956 Py_INCREF(Py_None
); resultobj
= Py_None
;
27963 static PyObject
*_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27964 PyObject
*resultobj
;
27965 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27966 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
27969 int arg5
= (int) 0 ;
27970 int arg6
= (int) 0 ;
27971 PyObject
* obj0
= 0 ;
27972 PyObject
* obj1
= 0 ;
27973 PyObject
* obj2
= 0 ;
27974 PyObject
* obj3
= 0 ;
27975 PyObject
* obj4
= 0 ;
27976 PyObject
* obj5
= 0 ;
27977 char *kwnames
[] = {
27978 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27984 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
27985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27986 arg3
= (double) SWIG_AsDouble(obj2
);
27987 if (PyErr_Occurred()) SWIG_fail
;
27988 arg4
= (double) SWIG_AsDouble(obj3
);
27989 if (PyErr_Occurred()) SWIG_fail
;
27991 arg5
= (int) SWIG_AsInt(obj4
);
27992 if (PyErr_Occurred()) SWIG_fail
;
27995 arg6
= (int) SWIG_AsInt(obj5
);
27996 if (PyErr_Occurred()) SWIG_fail
;
27999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28000 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
28002 wxPyEndAllowThreads(__tstate
);
28003 if (PyErr_Occurred()) SWIG_fail
;
28005 Py_INCREF(Py_None
); resultobj
= Py_None
;
28012 static PyObject
*_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28013 PyObject
*resultobj
;
28014 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28015 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
28018 int arg5
= (int) 0 ;
28019 int arg6
= (int) 0 ;
28020 PyObject
* obj0
= 0 ;
28021 PyObject
* obj1
= 0 ;
28022 PyObject
* obj2
= 0 ;
28023 PyObject
* obj3
= 0 ;
28024 PyObject
* obj4
= 0 ;
28025 PyObject
* obj5
= 0 ;
28026 char *kwnames
[] = {
28027 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
28032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28033 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
28034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28035 arg3
= (double) SWIG_AsDouble(obj2
);
28036 if (PyErr_Occurred()) SWIG_fail
;
28037 arg4
= (double) SWIG_AsDouble(obj3
);
28038 if (PyErr_Occurred()) SWIG_fail
;
28040 arg5
= (int) SWIG_AsInt(obj4
);
28041 if (PyErr_Occurred()) SWIG_fail
;
28044 arg6
= (int) SWIG_AsInt(obj5
);
28045 if (PyErr_Occurred()) SWIG_fail
;
28048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28049 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
28051 wxPyEndAllowThreads(__tstate
);
28052 if (PyErr_Occurred()) SWIG_fail
;
28054 Py_INCREF(Py_None
); resultobj
= Py_None
;
28061 static PyObject
*_wrap_PyLineShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28062 PyObject
*resultobj
;
28063 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28066 PyObject
* obj0
= 0 ;
28067 PyObject
* obj1
= 0 ;
28068 PyObject
* obj2
= 0 ;
28069 char *kwnames
[] = {
28070 (char *) "self",(char *) "w",(char *) "h", NULL
28073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
28075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28076 arg2
= (double) SWIG_AsDouble(obj1
);
28077 if (PyErr_Occurred()) SWIG_fail
;
28078 arg3
= (double) SWIG_AsDouble(obj2
);
28079 if (PyErr_Occurred()) SWIG_fail
;
28081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28082 (arg1
)->base_OnBeginSize(arg2
,arg3
);
28084 wxPyEndAllowThreads(__tstate
);
28085 if (PyErr_Occurred()) SWIG_fail
;
28087 Py_INCREF(Py_None
); resultobj
= Py_None
;
28094 static PyObject
*_wrap_PyLineShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28095 PyObject
*resultobj
;
28096 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28099 PyObject
* obj0
= 0 ;
28100 PyObject
* obj1
= 0 ;
28101 PyObject
* obj2
= 0 ;
28102 char *kwnames
[] = {
28103 (char *) "self",(char *) "w",(char *) "h", NULL
28106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
28108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28109 arg2
= (double) SWIG_AsDouble(obj1
);
28110 if (PyErr_Occurred()) SWIG_fail
;
28111 arg3
= (double) SWIG_AsDouble(obj2
);
28112 if (PyErr_Occurred()) SWIG_fail
;
28114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28115 (arg1
)->base_OnEndSize(arg2
,arg3
);
28117 wxPyEndAllowThreads(__tstate
);
28118 if (PyErr_Occurred()) SWIG_fail
;
28120 Py_INCREF(Py_None
); resultobj
= Py_None
;
28127 static PyObject
* PyLineShape_swigregister(PyObject
*self
, PyObject
*args
) {
28129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28130 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape
, obj
);
28132 return Py_BuildValue((char *)"");
28134 static PyObject
*_wrap_new_PyPolygonShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28135 PyObject
*resultobj
;
28136 wxPyPolygonShape
*result
;
28137 char *kwnames
[] = {
28141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyPolygonShape",kwnames
)) goto fail
;
28143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28144 result
= (wxPyPolygonShape
*)new wxPyPolygonShape();
28146 wxPyEndAllowThreads(__tstate
);
28147 if (PyErr_Occurred()) SWIG_fail
;
28149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPolygonShape
, 1);
28156 static PyObject
*_wrap_PyPolygonShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28157 PyObject
*resultobj
;
28158 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28159 PyObject
*arg2
= (PyObject
*) 0 ;
28160 PyObject
*arg3
= (PyObject
*) 0 ;
28161 PyObject
* obj0
= 0 ;
28162 PyObject
* obj1
= 0 ;
28163 PyObject
* obj2
= 0 ;
28164 char *kwnames
[] = {
28165 (char *) "self",(char *) "self",(char *) "_class", NULL
28168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28175 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28177 wxPyEndAllowThreads(__tstate
);
28178 if (PyErr_Occurred()) SWIG_fail
;
28180 Py_INCREF(Py_None
); resultobj
= Py_None
;
28187 static PyObject
*_wrap_PyPolygonShape_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28188 PyObject
*resultobj
;
28189 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28190 PyObject
*arg2
= (PyObject
*) 0 ;
28192 PyObject
* obj0
= 0 ;
28193 PyObject
* obj1
= 0 ;
28194 char *kwnames
[] = {
28195 (char *) "self",(char *) "points", NULL
28198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
28199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28204 result
= (PyObject
*)wxPyPolygonShape_Create(arg1
,arg2
);
28206 wxPyEndAllowThreads(__tstate
);
28207 if (PyErr_Occurred()) SWIG_fail
;
28209 resultobj
= result
;
28216 static PyObject
*_wrap_PyPolygonShape_AddPolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28217 PyObject
*resultobj
;
28218 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28219 int arg2
= (int) 0 ;
28220 PyObject
* obj0
= 0 ;
28221 PyObject
* obj1
= 0 ;
28222 char *kwnames
[] = {
28223 (char *) "self",(char *) "pos", NULL
28226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyPolygonShape_AddPolygonPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28230 arg2
= (int) SWIG_AsInt(obj1
);
28231 if (PyErr_Occurred()) SWIG_fail
;
28234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28235 (arg1
)->AddPolygonPoint(arg2
);
28237 wxPyEndAllowThreads(__tstate
);
28238 if (PyErr_Occurred()) SWIG_fail
;
28240 Py_INCREF(Py_None
); resultobj
= Py_None
;
28247 static PyObject
*_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28248 PyObject
*resultobj
;
28249 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28250 PyObject
* obj0
= 0 ;
28251 char *kwnames
[] = {
28252 (char *) "self", NULL
28255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames
,&obj0
)) goto fail
;
28256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28260 (arg1
)->CalculatePolygonCentre();
28262 wxPyEndAllowThreads(__tstate
);
28263 if (PyErr_Occurred()) SWIG_fail
;
28265 Py_INCREF(Py_None
); resultobj
= Py_None
;
28272 static PyObject
*_wrap_PyPolygonShape_DeletePolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28273 PyObject
*resultobj
;
28274 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28275 int arg2
= (int) 0 ;
28276 PyObject
* obj0
= 0 ;
28277 PyObject
* obj1
= 0 ;
28278 char *kwnames
[] = {
28279 (char *) "self",(char *) "pos", NULL
28282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyPolygonShape_DeletePolygonPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28286 arg2
= (int) SWIG_AsInt(obj1
);
28287 if (PyErr_Occurred()) SWIG_fail
;
28290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28291 (arg1
)->DeletePolygonPoint(arg2
);
28293 wxPyEndAllowThreads(__tstate
);
28294 if (PyErr_Occurred()) SWIG_fail
;
28296 Py_INCREF(Py_None
); resultobj
= Py_None
;
28303 static PyObject
*_wrap_PyPolygonShape_GetPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28304 PyObject
*resultobj
;
28305 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28307 PyObject
* obj0
= 0 ;
28308 char *kwnames
[] = {
28309 (char *) "self", NULL
28312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetPoints",kwnames
,&obj0
)) goto fail
;
28313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28317 result
= (PyObject
*)wxPyPolygonShape_GetPoints(arg1
);
28319 wxPyEndAllowThreads(__tstate
);
28320 if (PyErr_Occurred()) SWIG_fail
;
28322 resultobj
= result
;
28329 static PyObject
*_wrap_PyPolygonShape_GetOriginalPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28330 PyObject
*resultobj
;
28331 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28333 PyObject
* obj0
= 0 ;
28334 char *kwnames
[] = {
28335 (char *) "self", NULL
28338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames
,&obj0
)) goto fail
;
28339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28343 result
= (PyObject
*)wxPyPolygonShape_GetOriginalPoints(arg1
);
28345 wxPyEndAllowThreads(__tstate
);
28346 if (PyErr_Occurred()) SWIG_fail
;
28348 resultobj
= result
;
28355 static PyObject
*_wrap_PyPolygonShape_GetOriginalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28356 PyObject
*resultobj
;
28357 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28359 PyObject
* obj0
= 0 ;
28360 char *kwnames
[] = {
28361 (char *) "self", NULL
28364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames
,&obj0
)) goto fail
;
28365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28369 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalWidth();
28371 wxPyEndAllowThreads(__tstate
);
28372 if (PyErr_Occurred()) SWIG_fail
;
28374 resultobj
= SWIG_FromDouble((double)result
);
28381 static PyObject
*_wrap_PyPolygonShape_GetOriginalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28382 PyObject
*resultobj
;
28383 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28385 PyObject
* obj0
= 0 ;
28386 char *kwnames
[] = {
28387 (char *) "self", NULL
28390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames
,&obj0
)) goto fail
;
28391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28395 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalHeight();
28397 wxPyEndAllowThreads(__tstate
);
28398 if (PyErr_Occurred()) SWIG_fail
;
28400 resultobj
= SWIG_FromDouble((double)result
);
28407 static PyObject
*_wrap_PyPolygonShape_SetOriginalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28408 PyObject
*resultobj
;
28409 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28411 PyObject
* obj0
= 0 ;
28412 PyObject
* obj1
= 0 ;
28413 char *kwnames
[] = {
28414 (char *) "self",(char *) "w", NULL
28417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_SetOriginalWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
28418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28420 arg2
= (double) SWIG_AsDouble(obj1
);
28421 if (PyErr_Occurred()) SWIG_fail
;
28423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28424 (arg1
)->SetOriginalWidth(arg2
);
28426 wxPyEndAllowThreads(__tstate
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28429 Py_INCREF(Py_None
); resultobj
= Py_None
;
28436 static PyObject
*_wrap_PyPolygonShape_SetOriginalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28437 PyObject
*resultobj
;
28438 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28440 PyObject
* obj0
= 0 ;
28441 PyObject
* obj1
= 0 ;
28442 char *kwnames
[] = {
28443 (char *) "self",(char *) "h", NULL
28446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_SetOriginalHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
28447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28449 arg2
= (double) SWIG_AsDouble(obj1
);
28450 if (PyErr_Occurred()) SWIG_fail
;
28452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28453 (arg1
)->SetOriginalHeight(arg2
);
28455 wxPyEndAllowThreads(__tstate
);
28456 if (PyErr_Occurred()) SWIG_fail
;
28458 Py_INCREF(Py_None
); resultobj
= Py_None
;
28465 static PyObject
*_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28466 PyObject
*resultobj
;
28467 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28468 PyObject
* obj0
= 0 ;
28469 char *kwnames
[] = {
28470 (char *) "self", NULL
28473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames
,&obj0
)) goto fail
;
28474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28478 (arg1
)->UpdateOriginalPoints();
28480 wxPyEndAllowThreads(__tstate
);
28481 if (PyErr_Occurred()) SWIG_fail
;
28483 Py_INCREF(Py_None
); resultobj
= Py_None
;
28490 static PyObject
*_wrap_PyPolygonShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28491 PyObject
*resultobj
;
28492 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28494 PyObject
* obj0
= 0 ;
28495 PyObject
* obj1
= 0 ;
28496 char *kwnames
[] = {
28497 (char *) "self",(char *) "dc", NULL
28500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
28501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28504 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28506 if (arg2
== NULL
) {
28507 PyErr_SetString(PyExc_TypeError
,"null reference");
28511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28512 (arg1
)->base_OnDraw(*arg2
);
28514 wxPyEndAllowThreads(__tstate
);
28515 if (PyErr_Occurred()) SWIG_fail
;
28517 Py_INCREF(Py_None
); resultobj
= Py_None
;
28524 static PyObject
*_wrap_PyPolygonShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28525 PyObject
*resultobj
;
28526 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28528 PyObject
* obj0
= 0 ;
28529 PyObject
* obj1
= 0 ;
28530 char *kwnames
[] = {
28531 (char *) "self",(char *) "dc", NULL
28534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
28535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28537 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28538 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28540 if (arg2
== NULL
) {
28541 PyErr_SetString(PyExc_TypeError
,"null reference");
28545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28546 (arg1
)->base_OnDrawContents(*arg2
);
28548 wxPyEndAllowThreads(__tstate
);
28549 if (PyErr_Occurred()) SWIG_fail
;
28551 Py_INCREF(Py_None
); resultobj
= Py_None
;
28558 static PyObject
*_wrap_PyPolygonShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28559 PyObject
*resultobj
;
28560 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28562 bool arg3
= (bool) FALSE
;
28563 PyObject
* obj0
= 0 ;
28564 PyObject
* obj1
= 0 ;
28565 PyObject
* obj2
= 0 ;
28566 char *kwnames
[] = {
28567 (char *) "self",(char *) "dc",(char *) "erase", NULL
28570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28576 if (arg2
== NULL
) {
28577 PyErr_SetString(PyExc_TypeError
,"null reference");
28581 arg3
= (bool) SWIG_AsBool(obj2
);
28582 if (PyErr_Occurred()) SWIG_fail
;
28585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28586 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
28588 wxPyEndAllowThreads(__tstate
);
28589 if (PyErr_Occurred()) SWIG_fail
;
28591 Py_INCREF(Py_None
); resultobj
= Py_None
;
28598 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28599 PyObject
*resultobj
;
28600 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28602 PyObject
* obj0
= 0 ;
28603 PyObject
* obj1
= 0 ;
28604 char *kwnames
[] = {
28605 (char *) "self",(char *) "dc", NULL
28608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
28609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28612 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28614 if (arg2
== NULL
) {
28615 PyErr_SetString(PyExc_TypeError
,"null reference");
28619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28620 (arg1
)->base_OnMoveLinks(*arg2
);
28622 wxPyEndAllowThreads(__tstate
);
28623 if (PyErr_Occurred()) SWIG_fail
;
28625 Py_INCREF(Py_None
); resultobj
= Py_None
;
28632 static PyObject
*_wrap_PyPolygonShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28633 PyObject
*resultobj
;
28634 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28636 PyObject
* obj0
= 0 ;
28637 PyObject
* obj1
= 0 ;
28638 char *kwnames
[] = {
28639 (char *) "self",(char *) "dc", NULL
28642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
28643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28646 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28648 if (arg2
== NULL
) {
28649 PyErr_SetString(PyExc_TypeError
,"null reference");
28653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28654 (arg1
)->base_OnErase(*arg2
);
28656 wxPyEndAllowThreads(__tstate
);
28657 if (PyErr_Occurred()) SWIG_fail
;
28659 Py_INCREF(Py_None
); resultobj
= Py_None
;
28666 static PyObject
*_wrap_PyPolygonShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28667 PyObject
*resultobj
;
28668 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28670 PyObject
* obj0
= 0 ;
28671 PyObject
* obj1
= 0 ;
28672 char *kwnames
[] = {
28673 (char *) "self",(char *) "dc", NULL
28676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
28677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28680 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28682 if (arg2
== NULL
) {
28683 PyErr_SetString(PyExc_TypeError
,"null reference");
28687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28688 (arg1
)->base_OnEraseContents(*arg2
);
28690 wxPyEndAllowThreads(__tstate
);
28691 if (PyErr_Occurred()) SWIG_fail
;
28693 Py_INCREF(Py_None
); resultobj
= Py_None
;
28700 static PyObject
*_wrap_PyPolygonShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28701 PyObject
*resultobj
;
28702 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28704 PyObject
* obj0
= 0 ;
28705 PyObject
* obj1
= 0 ;
28706 char *kwnames
[] = {
28707 (char *) "self",(char *) "dc", NULL
28710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
28711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28716 if (arg2
== NULL
) {
28717 PyErr_SetString(PyExc_TypeError
,"null reference");
28721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28722 (arg1
)->base_OnHighlight(*arg2
);
28724 wxPyEndAllowThreads(__tstate
);
28725 if (PyErr_Occurred()) SWIG_fail
;
28727 Py_INCREF(Py_None
); resultobj
= Py_None
;
28734 static PyObject
*_wrap_PyPolygonShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28735 PyObject
*resultobj
;
28736 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28739 int arg4
= (int) 0 ;
28740 int arg5
= (int) 0 ;
28741 PyObject
* obj0
= 0 ;
28742 PyObject
* obj1
= 0 ;
28743 PyObject
* obj2
= 0 ;
28744 PyObject
* obj3
= 0 ;
28745 PyObject
* obj4
= 0 ;
28746 char *kwnames
[] = {
28747 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28753 arg2
= (double) SWIG_AsDouble(obj1
);
28754 if (PyErr_Occurred()) SWIG_fail
;
28755 arg3
= (double) SWIG_AsDouble(obj2
);
28756 if (PyErr_Occurred()) SWIG_fail
;
28758 arg4
= (int) SWIG_AsInt(obj3
);
28759 if (PyErr_Occurred()) SWIG_fail
;
28762 arg5
= (int) SWIG_AsInt(obj4
);
28763 if (PyErr_Occurred()) SWIG_fail
;
28766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28767 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
28769 wxPyEndAllowThreads(__tstate
);
28770 if (PyErr_Occurred()) SWIG_fail
;
28772 Py_INCREF(Py_None
); resultobj
= Py_None
;
28779 static PyObject
*_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28780 PyObject
*resultobj
;
28781 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28784 int arg4
= (int) 0 ;
28785 int arg5
= (int) 0 ;
28786 PyObject
* obj0
= 0 ;
28787 PyObject
* obj1
= 0 ;
28788 PyObject
* obj2
= 0 ;
28789 PyObject
* obj3
= 0 ;
28790 PyObject
* obj4
= 0 ;
28791 char *kwnames
[] = {
28792 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28798 arg2
= (double) SWIG_AsDouble(obj1
);
28799 if (PyErr_Occurred()) SWIG_fail
;
28800 arg3
= (double) SWIG_AsDouble(obj2
);
28801 if (PyErr_Occurred()) SWIG_fail
;
28803 arg4
= (int) SWIG_AsInt(obj3
);
28804 if (PyErr_Occurred()) SWIG_fail
;
28807 arg5
= (int) SWIG_AsInt(obj4
);
28808 if (PyErr_Occurred()) SWIG_fail
;
28811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28812 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
28814 wxPyEndAllowThreads(__tstate
);
28815 if (PyErr_Occurred()) SWIG_fail
;
28817 Py_INCREF(Py_None
); resultobj
= Py_None
;
28824 static PyObject
*_wrap_PyPolygonShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28825 PyObject
*resultobj
;
28826 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28829 int arg4
= (int) 0 ;
28830 int arg5
= (int) 0 ;
28831 PyObject
* obj0
= 0 ;
28832 PyObject
* obj1
= 0 ;
28833 PyObject
* obj2
= 0 ;
28834 PyObject
* obj3
= 0 ;
28835 PyObject
* obj4
= 0 ;
28836 char *kwnames
[] = {
28837 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28843 arg2
= (double) SWIG_AsDouble(obj1
);
28844 if (PyErr_Occurred()) SWIG_fail
;
28845 arg3
= (double) SWIG_AsDouble(obj2
);
28846 if (PyErr_Occurred()) SWIG_fail
;
28848 arg4
= (int) SWIG_AsInt(obj3
);
28849 if (PyErr_Occurred()) SWIG_fail
;
28852 arg5
= (int) SWIG_AsInt(obj4
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28857 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
28859 wxPyEndAllowThreads(__tstate
);
28860 if (PyErr_Occurred()) SWIG_fail
;
28862 Py_INCREF(Py_None
); resultobj
= Py_None
;
28869 static PyObject
*_wrap_PyPolygonShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28870 PyObject
*resultobj
;
28871 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28874 PyObject
* obj0
= 0 ;
28875 PyObject
* obj1
= 0 ;
28876 PyObject
* obj2
= 0 ;
28877 char *kwnames
[] = {
28878 (char *) "self",(char *) "x",(char *) "y", NULL
28881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28884 arg2
= (double) SWIG_AsDouble(obj1
);
28885 if (PyErr_Occurred()) SWIG_fail
;
28886 arg3
= (double) SWIG_AsDouble(obj2
);
28887 if (PyErr_Occurred()) SWIG_fail
;
28889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28890 (arg1
)->base_OnSize(arg2
,arg3
);
28892 wxPyEndAllowThreads(__tstate
);
28893 if (PyErr_Occurred()) SWIG_fail
;
28895 Py_INCREF(Py_None
); resultobj
= Py_None
;
28902 static PyObject
*_wrap_PyPolygonShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28903 PyObject
*resultobj
;
28904 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28910 bool arg7
= (bool) True
;
28912 PyObject
* obj0
= 0 ;
28913 PyObject
* obj1
= 0 ;
28914 PyObject
* obj2
= 0 ;
28915 PyObject
* obj3
= 0 ;
28916 PyObject
* obj4
= 0 ;
28917 PyObject
* obj5
= 0 ;
28918 PyObject
* obj6
= 0 ;
28919 char *kwnames
[] = {
28920 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28926 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28927 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28929 if (arg2
== NULL
) {
28930 PyErr_SetString(PyExc_TypeError
,"null reference");
28933 arg3
= (double) SWIG_AsDouble(obj2
);
28934 if (PyErr_Occurred()) SWIG_fail
;
28935 arg4
= (double) SWIG_AsDouble(obj3
);
28936 if (PyErr_Occurred()) SWIG_fail
;
28937 arg5
= (double) SWIG_AsDouble(obj4
);
28938 if (PyErr_Occurred()) SWIG_fail
;
28939 arg6
= (double) SWIG_AsDouble(obj5
);
28940 if (PyErr_Occurred()) SWIG_fail
;
28942 arg7
= (bool) SWIG_AsBool(obj6
);
28943 if (PyErr_Occurred()) SWIG_fail
;
28946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28947 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28949 wxPyEndAllowThreads(__tstate
);
28950 if (PyErr_Occurred()) SWIG_fail
;
28953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28961 static PyObject
*_wrap_PyPolygonShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28962 PyObject
*resultobj
;
28963 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28969 bool arg7
= (bool) True
;
28970 PyObject
* obj0
= 0 ;
28971 PyObject
* obj1
= 0 ;
28972 PyObject
* obj2
= 0 ;
28973 PyObject
* obj3
= 0 ;
28974 PyObject
* obj4
= 0 ;
28975 PyObject
* obj5
= 0 ;
28976 PyObject
* obj6
= 0 ;
28977 char *kwnames
[] = {
28978 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28984 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28985 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28987 if (arg2
== NULL
) {
28988 PyErr_SetString(PyExc_TypeError
,"null reference");
28991 arg3
= (double) SWIG_AsDouble(obj2
);
28992 if (PyErr_Occurred()) SWIG_fail
;
28993 arg4
= (double) SWIG_AsDouble(obj3
);
28994 if (PyErr_Occurred()) SWIG_fail
;
28995 arg5
= (double) SWIG_AsDouble(obj4
);
28996 if (PyErr_Occurred()) SWIG_fail
;
28997 arg6
= (double) SWIG_AsDouble(obj5
);
28998 if (PyErr_Occurred()) SWIG_fail
;
29000 arg7
= (bool) SWIG_AsBool(obj6
);
29001 if (PyErr_Occurred()) SWIG_fail
;
29004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29005 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29007 wxPyEndAllowThreads(__tstate
);
29008 if (PyErr_Occurred()) SWIG_fail
;
29010 Py_INCREF(Py_None
); resultobj
= Py_None
;
29017 static PyObject
*_wrap_PyPolygonShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29018 PyObject
*resultobj
;
29019 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29023 int arg5
= (int) 0 ;
29024 int arg6
= (int) 0 ;
29025 PyObject
* obj0
= 0 ;
29026 PyObject
* obj1
= 0 ;
29027 PyObject
* obj2
= 0 ;
29028 PyObject
* obj3
= 0 ;
29029 PyObject
* obj4
= 0 ;
29030 PyObject
* obj5
= 0 ;
29031 char *kwnames
[] = {
29032 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29038 arg2
= (bool) SWIG_AsBool(obj1
);
29039 if (PyErr_Occurred()) SWIG_fail
;
29040 arg3
= (double) SWIG_AsDouble(obj2
);
29041 if (PyErr_Occurred()) SWIG_fail
;
29042 arg4
= (double) SWIG_AsDouble(obj3
);
29043 if (PyErr_Occurred()) SWIG_fail
;
29045 arg5
= (int) SWIG_AsInt(obj4
);
29046 if (PyErr_Occurred()) SWIG_fail
;
29049 arg6
= (int) SWIG_AsInt(obj5
);
29050 if (PyErr_Occurred()) SWIG_fail
;
29053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29054 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29056 wxPyEndAllowThreads(__tstate
);
29057 if (PyErr_Occurred()) SWIG_fail
;
29059 Py_INCREF(Py_None
); resultobj
= Py_None
;
29066 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29067 PyObject
*resultobj
;
29068 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29071 int arg4
= (int) 0 ;
29072 int arg5
= (int) 0 ;
29073 PyObject
* obj0
= 0 ;
29074 PyObject
* obj1
= 0 ;
29075 PyObject
* obj2
= 0 ;
29076 PyObject
* obj3
= 0 ;
29077 PyObject
* obj4
= 0 ;
29078 char *kwnames
[] = {
29079 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29085 arg2
= (double) SWIG_AsDouble(obj1
);
29086 if (PyErr_Occurred()) SWIG_fail
;
29087 arg3
= (double) SWIG_AsDouble(obj2
);
29088 if (PyErr_Occurred()) SWIG_fail
;
29090 arg4
= (int) SWIG_AsInt(obj3
);
29091 if (PyErr_Occurred()) SWIG_fail
;
29094 arg5
= (int) SWIG_AsInt(obj4
);
29095 if (PyErr_Occurred()) SWIG_fail
;
29098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29099 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
29101 wxPyEndAllowThreads(__tstate
);
29102 if (PyErr_Occurred()) SWIG_fail
;
29104 Py_INCREF(Py_None
); resultobj
= Py_None
;
29111 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29112 PyObject
*resultobj
;
29113 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29116 int arg4
= (int) 0 ;
29117 int arg5
= (int) 0 ;
29118 PyObject
* obj0
= 0 ;
29119 PyObject
* obj1
= 0 ;
29120 PyObject
* obj2
= 0 ;
29121 PyObject
* obj3
= 0 ;
29122 PyObject
* obj4
= 0 ;
29123 char *kwnames
[] = {
29124 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29130 arg2
= (double) SWIG_AsDouble(obj1
);
29131 if (PyErr_Occurred()) SWIG_fail
;
29132 arg3
= (double) SWIG_AsDouble(obj2
);
29133 if (PyErr_Occurred()) SWIG_fail
;
29135 arg4
= (int) SWIG_AsInt(obj3
);
29136 if (PyErr_Occurred()) SWIG_fail
;
29139 arg5
= (int) SWIG_AsInt(obj4
);
29140 if (PyErr_Occurred()) SWIG_fail
;
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29144 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
29146 wxPyEndAllowThreads(__tstate
);
29147 if (PyErr_Occurred()) SWIG_fail
;
29149 Py_INCREF(Py_None
); resultobj
= Py_None
;
29156 static PyObject
*_wrap_PyPolygonShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29157 PyObject
*resultobj
;
29158 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29162 int arg5
= (int) 0 ;
29163 int arg6
= (int) 0 ;
29164 PyObject
* obj0
= 0 ;
29165 PyObject
* obj1
= 0 ;
29166 PyObject
* obj2
= 0 ;
29167 PyObject
* obj3
= 0 ;
29168 PyObject
* obj4
= 0 ;
29169 PyObject
* obj5
= 0 ;
29170 char *kwnames
[] = {
29171 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29177 arg2
= (bool) SWIG_AsBool(obj1
);
29178 if (PyErr_Occurred()) SWIG_fail
;
29179 arg3
= (double) SWIG_AsDouble(obj2
);
29180 if (PyErr_Occurred()) SWIG_fail
;
29181 arg4
= (double) SWIG_AsDouble(obj3
);
29182 if (PyErr_Occurred()) SWIG_fail
;
29184 arg5
= (int) SWIG_AsInt(obj4
);
29185 if (PyErr_Occurred()) SWIG_fail
;
29188 arg6
= (int) SWIG_AsInt(obj5
);
29189 if (PyErr_Occurred()) SWIG_fail
;
29192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29193 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
29195 wxPyEndAllowThreads(__tstate
);
29196 if (PyErr_Occurred()) SWIG_fail
;
29198 Py_INCREF(Py_None
); resultobj
= Py_None
;
29205 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29206 PyObject
*resultobj
;
29207 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29210 int arg4
= (int) 0 ;
29211 int arg5
= (int) 0 ;
29212 PyObject
* obj0
= 0 ;
29213 PyObject
* obj1
= 0 ;
29214 PyObject
* obj2
= 0 ;
29215 PyObject
* obj3
= 0 ;
29216 PyObject
* obj4
= 0 ;
29217 char *kwnames
[] = {
29218 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29224 arg2
= (double) SWIG_AsDouble(obj1
);
29225 if (PyErr_Occurred()) SWIG_fail
;
29226 arg3
= (double) SWIG_AsDouble(obj2
);
29227 if (PyErr_Occurred()) SWIG_fail
;
29229 arg4
= (int) SWIG_AsInt(obj3
);
29230 if (PyErr_Occurred()) SWIG_fail
;
29233 arg5
= (int) SWIG_AsInt(obj4
);
29234 if (PyErr_Occurred()) SWIG_fail
;
29237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29238 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
29240 wxPyEndAllowThreads(__tstate
);
29241 if (PyErr_Occurred()) SWIG_fail
;
29243 Py_INCREF(Py_None
); resultobj
= Py_None
;
29250 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29251 PyObject
*resultobj
;
29252 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29255 int arg4
= (int) 0 ;
29256 int arg5
= (int) 0 ;
29257 PyObject
* obj0
= 0 ;
29258 PyObject
* obj1
= 0 ;
29259 PyObject
* obj2
= 0 ;
29260 PyObject
* obj3
= 0 ;
29261 PyObject
* obj4
= 0 ;
29262 char *kwnames
[] = {
29263 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29269 arg2
= (double) SWIG_AsDouble(obj1
);
29270 if (PyErr_Occurred()) SWIG_fail
;
29271 arg3
= (double) SWIG_AsDouble(obj2
);
29272 if (PyErr_Occurred()) SWIG_fail
;
29274 arg4
= (int) SWIG_AsInt(obj3
);
29275 if (PyErr_Occurred()) SWIG_fail
;
29278 arg5
= (int) SWIG_AsInt(obj4
);
29279 if (PyErr_Occurred()) SWIG_fail
;
29282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29283 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
29285 wxPyEndAllowThreads(__tstate
);
29286 if (PyErr_Occurred()) SWIG_fail
;
29288 Py_INCREF(Py_None
); resultobj
= Py_None
;
29295 static PyObject
*_wrap_PyPolygonShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29296 PyObject
*resultobj
;
29297 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29303 PyObject
* obj0
= 0 ;
29304 PyObject
* obj1
= 0 ;
29305 PyObject
* obj2
= 0 ;
29306 PyObject
* obj3
= 0 ;
29307 PyObject
* obj4
= 0 ;
29308 PyObject
* obj5
= 0 ;
29309 char *kwnames
[] = {
29310 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyPolygonShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29317 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29319 if (arg2
== NULL
) {
29320 PyErr_SetString(PyExc_TypeError
,"null reference");
29323 arg3
= (double) SWIG_AsDouble(obj2
);
29324 if (PyErr_Occurred()) SWIG_fail
;
29325 arg4
= (double) SWIG_AsDouble(obj3
);
29326 if (PyErr_Occurred()) SWIG_fail
;
29327 arg5
= (double) SWIG_AsDouble(obj4
);
29328 if (PyErr_Occurred()) SWIG_fail
;
29329 arg6
= (double) SWIG_AsDouble(obj5
);
29330 if (PyErr_Occurred()) SWIG_fail
;
29332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29333 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
29335 wxPyEndAllowThreads(__tstate
);
29336 if (PyErr_Occurred()) SWIG_fail
;
29338 Py_INCREF(Py_None
); resultobj
= Py_None
;
29345 static PyObject
*_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29346 PyObject
*resultobj
;
29347 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29349 PyObject
* obj0
= 0 ;
29350 PyObject
* obj1
= 0 ;
29351 char *kwnames
[] = {
29352 (char *) "self",(char *) "dc", NULL
29355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
29356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29358 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29359 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29361 if (arg2
== NULL
) {
29362 PyErr_SetString(PyExc_TypeError
,"null reference");
29366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29367 (arg1
)->base_OnDrawControlPoints(*arg2
);
29369 wxPyEndAllowThreads(__tstate
);
29370 if (PyErr_Occurred()) SWIG_fail
;
29372 Py_INCREF(Py_None
); resultobj
= Py_None
;
29379 static PyObject
*_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29380 PyObject
*resultobj
;
29381 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29383 PyObject
* obj0
= 0 ;
29384 PyObject
* obj1
= 0 ;
29385 char *kwnames
[] = {
29386 (char *) "self",(char *) "dc", NULL
29389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
29390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29393 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29395 if (arg2
== NULL
) {
29396 PyErr_SetString(PyExc_TypeError
,"null reference");
29400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29401 (arg1
)->base_OnEraseControlPoints(*arg2
);
29403 wxPyEndAllowThreads(__tstate
);
29404 if (PyErr_Occurred()) SWIG_fail
;
29406 Py_INCREF(Py_None
); resultobj
= Py_None
;
29413 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29414 PyObject
*resultobj
;
29415 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29417 bool arg3
= (bool) True
;
29418 PyObject
* obj0
= 0 ;
29419 PyObject
* obj1
= 0 ;
29420 PyObject
* obj2
= 0 ;
29421 char *kwnames
[] = {
29422 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
29425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29429 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29431 if (arg2
== NULL
) {
29432 PyErr_SetString(PyExc_TypeError
,"null reference");
29436 arg3
= (bool) SWIG_AsBool(obj2
);
29437 if (PyErr_Occurred()) SWIG_fail
;
29440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29441 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
29443 wxPyEndAllowThreads(__tstate
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29446 Py_INCREF(Py_None
); resultobj
= Py_None
;
29453 static PyObject
*_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29454 PyObject
*resultobj
;
29455 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29456 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29460 int arg6
= (int) 0 ;
29461 int arg7
= (int) 0 ;
29462 PyObject
* obj0
= 0 ;
29463 PyObject
* obj1
= 0 ;
29464 PyObject
* obj2
= 0 ;
29465 PyObject
* obj3
= 0 ;
29466 PyObject
* obj4
= 0 ;
29467 PyObject
* obj5
= 0 ;
29468 PyObject
* obj6
= 0 ;
29469 char *kwnames
[] = {
29470 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyPolygonShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29478 arg3
= (bool) SWIG_AsBool(obj2
);
29479 if (PyErr_Occurred()) SWIG_fail
;
29480 arg4
= (double) SWIG_AsDouble(obj3
);
29481 if (PyErr_Occurred()) SWIG_fail
;
29482 arg5
= (double) SWIG_AsDouble(obj4
);
29483 if (PyErr_Occurred()) SWIG_fail
;
29485 arg6
= (int) SWIG_AsInt(obj5
);
29486 if (PyErr_Occurred()) SWIG_fail
;
29489 arg7
= (int) SWIG_AsInt(obj6
);
29490 if (PyErr_Occurred()) SWIG_fail
;
29493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29494 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29496 wxPyEndAllowThreads(__tstate
);
29497 if (PyErr_Occurred()) SWIG_fail
;
29499 Py_INCREF(Py_None
); resultobj
= Py_None
;
29506 static PyObject
*_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29507 PyObject
*resultobj
;
29508 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29509 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29512 int arg5
= (int) 0 ;
29513 int arg6
= (int) 0 ;
29514 PyObject
* obj0
= 0 ;
29515 PyObject
* obj1
= 0 ;
29516 PyObject
* obj2
= 0 ;
29517 PyObject
* obj3
= 0 ;
29518 PyObject
* obj4
= 0 ;
29519 PyObject
* obj5
= 0 ;
29520 char *kwnames
[] = {
29521 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29527 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29529 arg3
= (double) SWIG_AsDouble(obj2
);
29530 if (PyErr_Occurred()) SWIG_fail
;
29531 arg4
= (double) SWIG_AsDouble(obj3
);
29532 if (PyErr_Occurred()) SWIG_fail
;
29534 arg5
= (int) SWIG_AsInt(obj4
);
29535 if (PyErr_Occurred()) SWIG_fail
;
29538 arg6
= (int) SWIG_AsInt(obj5
);
29539 if (PyErr_Occurred()) SWIG_fail
;
29542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29543 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29545 wxPyEndAllowThreads(__tstate
);
29546 if (PyErr_Occurred()) SWIG_fail
;
29548 Py_INCREF(Py_None
); resultobj
= Py_None
;
29555 static PyObject
*_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29556 PyObject
*resultobj
;
29557 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29558 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29561 int arg5
= (int) 0 ;
29562 int arg6
= (int) 0 ;
29563 PyObject
* obj0
= 0 ;
29564 PyObject
* obj1
= 0 ;
29565 PyObject
* obj2
= 0 ;
29566 PyObject
* obj3
= 0 ;
29567 PyObject
* obj4
= 0 ;
29568 PyObject
* obj5
= 0 ;
29569 char *kwnames
[] = {
29570 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29578 arg3
= (double) SWIG_AsDouble(obj2
);
29579 if (PyErr_Occurred()) SWIG_fail
;
29580 arg4
= (double) SWIG_AsDouble(obj3
);
29581 if (PyErr_Occurred()) SWIG_fail
;
29583 arg5
= (int) SWIG_AsInt(obj4
);
29584 if (PyErr_Occurred()) SWIG_fail
;
29587 arg6
= (int) SWIG_AsInt(obj5
);
29588 if (PyErr_Occurred()) SWIG_fail
;
29591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29592 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29594 wxPyEndAllowThreads(__tstate
);
29595 if (PyErr_Occurred()) SWIG_fail
;
29597 Py_INCREF(Py_None
); resultobj
= Py_None
;
29604 static PyObject
*_wrap_PyPolygonShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29605 PyObject
*resultobj
;
29606 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29609 PyObject
* obj0
= 0 ;
29610 PyObject
* obj1
= 0 ;
29611 PyObject
* obj2
= 0 ;
29612 char *kwnames
[] = {
29613 (char *) "self",(char *) "w",(char *) "h", NULL
29616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29619 arg2
= (double) SWIG_AsDouble(obj1
);
29620 if (PyErr_Occurred()) SWIG_fail
;
29621 arg3
= (double) SWIG_AsDouble(obj2
);
29622 if (PyErr_Occurred()) SWIG_fail
;
29624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29625 (arg1
)->base_OnBeginSize(arg2
,arg3
);
29627 wxPyEndAllowThreads(__tstate
);
29628 if (PyErr_Occurred()) SWIG_fail
;
29630 Py_INCREF(Py_None
); resultobj
= Py_None
;
29637 static PyObject
*_wrap_PyPolygonShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29638 PyObject
*resultobj
;
29639 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29642 PyObject
* obj0
= 0 ;
29643 PyObject
* obj1
= 0 ;
29644 PyObject
* obj2
= 0 ;
29645 char *kwnames
[] = {
29646 (char *) "self",(char *) "w",(char *) "h", NULL
29649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29652 arg2
= (double) SWIG_AsDouble(obj1
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29654 arg3
= (double) SWIG_AsDouble(obj2
);
29655 if (PyErr_Occurred()) SWIG_fail
;
29657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29658 (arg1
)->base_OnEndSize(arg2
,arg3
);
29660 wxPyEndAllowThreads(__tstate
);
29661 if (PyErr_Occurred()) SWIG_fail
;
29663 Py_INCREF(Py_None
); resultobj
= Py_None
;
29670 static PyObject
* PyPolygonShape_swigregister(PyObject
*self
, PyObject
*args
) {
29672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29673 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape
, obj
);
29675 return Py_BuildValue((char *)"");
29677 static PyObject
*_wrap_new_PyTextShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29678 PyObject
*resultobj
;
29679 double arg1
= (double) 0.0 ;
29680 double arg2
= (double) 0.0 ;
29681 wxPyTextShape
*result
;
29682 PyObject
* obj0
= 0 ;
29683 PyObject
* obj1
= 0 ;
29684 char *kwnames
[] = {
29685 (char *) "width",(char *) "height", NULL
29688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyTextShape",kwnames
,&obj0
,&obj1
)) goto fail
;
29690 arg1
= (double) SWIG_AsDouble(obj0
);
29691 if (PyErr_Occurred()) SWIG_fail
;
29694 arg2
= (double) SWIG_AsDouble(obj1
);
29695 if (PyErr_Occurred()) SWIG_fail
;
29698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29699 result
= (wxPyTextShape
*)new wxPyTextShape(arg1
,arg2
);
29701 wxPyEndAllowThreads(__tstate
);
29702 if (PyErr_Occurred()) SWIG_fail
;
29704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextShape
, 1);
29711 static PyObject
*_wrap_PyTextShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29712 PyObject
*resultobj
;
29713 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29714 PyObject
*arg2
= (PyObject
*) 0 ;
29715 PyObject
*arg3
= (PyObject
*) 0 ;
29716 PyObject
* obj0
= 0 ;
29717 PyObject
* obj1
= 0 ;
29718 PyObject
* obj2
= 0 ;
29719 char *kwnames
[] = {
29720 (char *) "self",(char *) "self",(char *) "_class", NULL
29723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29730 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29732 wxPyEndAllowThreads(__tstate
);
29733 if (PyErr_Occurred()) SWIG_fail
;
29735 Py_INCREF(Py_None
); resultobj
= Py_None
;
29742 static PyObject
*_wrap_PyTextShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29743 PyObject
*resultobj
;
29744 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29745 PyObject
* obj0
= 0 ;
29746 char *kwnames
[] = {
29747 (char *) "self", NULL
29750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyTextShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
29751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29755 (arg1
)->base_OnDelete();
29757 wxPyEndAllowThreads(__tstate
);
29758 if (PyErr_Occurred()) SWIG_fail
;
29760 Py_INCREF(Py_None
); resultobj
= Py_None
;
29767 static PyObject
*_wrap_PyTextShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29768 PyObject
*resultobj
;
29769 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29771 PyObject
* obj0
= 0 ;
29772 PyObject
* obj1
= 0 ;
29773 char *kwnames
[] = {
29774 (char *) "self",(char *) "dc", NULL
29777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
29778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29783 if (arg2
== NULL
) {
29784 PyErr_SetString(PyExc_TypeError
,"null reference");
29788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29789 (arg1
)->base_OnDraw(*arg2
);
29791 wxPyEndAllowThreads(__tstate
);
29792 if (PyErr_Occurred()) SWIG_fail
;
29794 Py_INCREF(Py_None
); resultobj
= Py_None
;
29801 static PyObject
*_wrap_PyTextShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29802 PyObject
*resultobj
;
29803 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29805 PyObject
* obj0
= 0 ;
29806 PyObject
* obj1
= 0 ;
29807 char *kwnames
[] = {
29808 (char *) "self",(char *) "dc", NULL
29811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
29812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29815 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29817 if (arg2
== NULL
) {
29818 PyErr_SetString(PyExc_TypeError
,"null reference");
29822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29823 (arg1
)->base_OnDrawContents(*arg2
);
29825 wxPyEndAllowThreads(__tstate
);
29826 if (PyErr_Occurred()) SWIG_fail
;
29828 Py_INCREF(Py_None
); resultobj
= Py_None
;
29835 static PyObject
*_wrap_PyTextShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29836 PyObject
*resultobj
;
29837 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29839 bool arg3
= (bool) FALSE
;
29840 PyObject
* obj0
= 0 ;
29841 PyObject
* obj1
= 0 ;
29842 PyObject
* obj2
= 0 ;
29843 char *kwnames
[] = {
29844 (char *) "self",(char *) "dc",(char *) "erase", NULL
29847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29850 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29853 if (arg2
== NULL
) {
29854 PyErr_SetString(PyExc_TypeError
,"null reference");
29858 arg3
= (bool) SWIG_AsBool(obj2
);
29859 if (PyErr_Occurred()) SWIG_fail
;
29862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29863 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
29865 wxPyEndAllowThreads(__tstate
);
29866 if (PyErr_Occurred()) SWIG_fail
;
29868 Py_INCREF(Py_None
); resultobj
= Py_None
;
29875 static PyObject
*_wrap_PyTextShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29876 PyObject
*resultobj
;
29877 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29879 PyObject
* obj0
= 0 ;
29880 PyObject
* obj1
= 0 ;
29881 char *kwnames
[] = {
29882 (char *) "self",(char *) "dc", NULL
29885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
29886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29889 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29891 if (arg2
== NULL
) {
29892 PyErr_SetString(PyExc_TypeError
,"null reference");
29896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29897 (arg1
)->base_OnMoveLinks(*arg2
);
29899 wxPyEndAllowThreads(__tstate
);
29900 if (PyErr_Occurred()) SWIG_fail
;
29902 Py_INCREF(Py_None
); resultobj
= Py_None
;
29909 static PyObject
*_wrap_PyTextShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29910 PyObject
*resultobj
;
29911 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29913 PyObject
* obj0
= 0 ;
29914 PyObject
* obj1
= 0 ;
29915 char *kwnames
[] = {
29916 (char *) "self",(char *) "dc", NULL
29919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
29920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29923 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29925 if (arg2
== NULL
) {
29926 PyErr_SetString(PyExc_TypeError
,"null reference");
29930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29931 (arg1
)->base_OnErase(*arg2
);
29933 wxPyEndAllowThreads(__tstate
);
29934 if (PyErr_Occurred()) SWIG_fail
;
29936 Py_INCREF(Py_None
); resultobj
= Py_None
;
29943 static PyObject
*_wrap_PyTextShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29944 PyObject
*resultobj
;
29945 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29947 PyObject
* obj0
= 0 ;
29948 PyObject
* obj1
= 0 ;
29949 char *kwnames
[] = {
29950 (char *) "self",(char *) "dc", NULL
29953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
29954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29957 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29959 if (arg2
== NULL
) {
29960 PyErr_SetString(PyExc_TypeError
,"null reference");
29964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29965 (arg1
)->base_OnEraseContents(*arg2
);
29967 wxPyEndAllowThreads(__tstate
);
29968 if (PyErr_Occurred()) SWIG_fail
;
29970 Py_INCREF(Py_None
); resultobj
= Py_None
;
29977 static PyObject
*_wrap_PyTextShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29978 PyObject
*resultobj
;
29979 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29981 PyObject
* obj0
= 0 ;
29982 PyObject
* obj1
= 0 ;
29983 char *kwnames
[] = {
29984 (char *) "self",(char *) "dc", NULL
29987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
29988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29991 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29993 if (arg2
== NULL
) {
29994 PyErr_SetString(PyExc_TypeError
,"null reference");
29998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29999 (arg1
)->base_OnHighlight(*arg2
);
30001 wxPyEndAllowThreads(__tstate
);
30002 if (PyErr_Occurred()) SWIG_fail
;
30004 Py_INCREF(Py_None
); resultobj
= Py_None
;
30011 static PyObject
*_wrap_PyTextShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30012 PyObject
*resultobj
;
30013 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30016 int arg4
= (int) 0 ;
30017 int arg5
= (int) 0 ;
30018 PyObject
* obj0
= 0 ;
30019 PyObject
* obj1
= 0 ;
30020 PyObject
* obj2
= 0 ;
30021 PyObject
* obj3
= 0 ;
30022 PyObject
* obj4
= 0 ;
30023 char *kwnames
[] = {
30024 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30030 arg2
= (double) SWIG_AsDouble(obj1
);
30031 if (PyErr_Occurred()) SWIG_fail
;
30032 arg3
= (double) SWIG_AsDouble(obj2
);
30033 if (PyErr_Occurred()) SWIG_fail
;
30035 arg4
= (int) SWIG_AsInt(obj3
);
30036 if (PyErr_Occurred()) SWIG_fail
;
30039 arg5
= (int) SWIG_AsInt(obj4
);
30040 if (PyErr_Occurred()) SWIG_fail
;
30043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30044 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
30046 wxPyEndAllowThreads(__tstate
);
30047 if (PyErr_Occurred()) SWIG_fail
;
30049 Py_INCREF(Py_None
); resultobj
= Py_None
;
30056 static PyObject
*_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30057 PyObject
*resultobj
;
30058 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30061 int arg4
= (int) 0 ;
30062 int arg5
= (int) 0 ;
30063 PyObject
* obj0
= 0 ;
30064 PyObject
* obj1
= 0 ;
30065 PyObject
* obj2
= 0 ;
30066 PyObject
* obj3
= 0 ;
30067 PyObject
* obj4
= 0 ;
30068 char *kwnames
[] = {
30069 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30075 arg2
= (double) SWIG_AsDouble(obj1
);
30076 if (PyErr_Occurred()) SWIG_fail
;
30077 arg3
= (double) SWIG_AsDouble(obj2
);
30078 if (PyErr_Occurred()) SWIG_fail
;
30080 arg4
= (int) SWIG_AsInt(obj3
);
30081 if (PyErr_Occurred()) SWIG_fail
;
30084 arg5
= (int) SWIG_AsInt(obj4
);
30085 if (PyErr_Occurred()) SWIG_fail
;
30088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30089 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
30091 wxPyEndAllowThreads(__tstate
);
30092 if (PyErr_Occurred()) SWIG_fail
;
30094 Py_INCREF(Py_None
); resultobj
= Py_None
;
30101 static PyObject
*_wrap_PyTextShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30102 PyObject
*resultobj
;
30103 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30106 int arg4
= (int) 0 ;
30107 int arg5
= (int) 0 ;
30108 PyObject
* obj0
= 0 ;
30109 PyObject
* obj1
= 0 ;
30110 PyObject
* obj2
= 0 ;
30111 PyObject
* obj3
= 0 ;
30112 PyObject
* obj4
= 0 ;
30113 char *kwnames
[] = {
30114 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30120 arg2
= (double) SWIG_AsDouble(obj1
);
30121 if (PyErr_Occurred()) SWIG_fail
;
30122 arg3
= (double) SWIG_AsDouble(obj2
);
30123 if (PyErr_Occurred()) SWIG_fail
;
30125 arg4
= (int) SWIG_AsInt(obj3
);
30126 if (PyErr_Occurred()) SWIG_fail
;
30129 arg5
= (int) SWIG_AsInt(obj4
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30134 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
30136 wxPyEndAllowThreads(__tstate
);
30137 if (PyErr_Occurred()) SWIG_fail
;
30139 Py_INCREF(Py_None
); resultobj
= Py_None
;
30146 static PyObject
*_wrap_PyTextShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30147 PyObject
*resultobj
;
30148 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30151 PyObject
* obj0
= 0 ;
30152 PyObject
* obj1
= 0 ;
30153 PyObject
* obj2
= 0 ;
30154 char *kwnames
[] = {
30155 (char *) "self",(char *) "x",(char *) "y", NULL
30158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30161 arg2
= (double) SWIG_AsDouble(obj1
);
30162 if (PyErr_Occurred()) SWIG_fail
;
30163 arg3
= (double) SWIG_AsDouble(obj2
);
30164 if (PyErr_Occurred()) SWIG_fail
;
30166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30167 (arg1
)->base_OnSize(arg2
,arg3
);
30169 wxPyEndAllowThreads(__tstate
);
30170 if (PyErr_Occurred()) SWIG_fail
;
30172 Py_INCREF(Py_None
); resultobj
= Py_None
;
30179 static PyObject
*_wrap_PyTextShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30180 PyObject
*resultobj
;
30181 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30187 bool arg7
= (bool) True
;
30189 PyObject
* obj0
= 0 ;
30190 PyObject
* obj1
= 0 ;
30191 PyObject
* obj2
= 0 ;
30192 PyObject
* obj3
= 0 ;
30193 PyObject
* obj4
= 0 ;
30194 PyObject
* obj5
= 0 ;
30195 PyObject
* obj6
= 0 ;
30196 char *kwnames
[] = {
30197 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyTextShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30204 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30206 if (arg2
== NULL
) {
30207 PyErr_SetString(PyExc_TypeError
,"null reference");
30210 arg3
= (double) SWIG_AsDouble(obj2
);
30211 if (PyErr_Occurred()) SWIG_fail
;
30212 arg4
= (double) SWIG_AsDouble(obj3
);
30213 if (PyErr_Occurred()) SWIG_fail
;
30214 arg5
= (double) SWIG_AsDouble(obj4
);
30215 if (PyErr_Occurred()) SWIG_fail
;
30216 arg6
= (double) SWIG_AsDouble(obj5
);
30217 if (PyErr_Occurred()) SWIG_fail
;
30219 arg7
= (bool) SWIG_AsBool(obj6
);
30220 if (PyErr_Occurred()) SWIG_fail
;
30223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30224 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30226 wxPyEndAllowThreads(__tstate
);
30227 if (PyErr_Occurred()) SWIG_fail
;
30230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30238 static PyObject
*_wrap_PyTextShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30239 PyObject
*resultobj
;
30240 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30246 bool arg7
= (bool) True
;
30247 PyObject
* obj0
= 0 ;
30248 PyObject
* obj1
= 0 ;
30249 PyObject
* obj2
= 0 ;
30250 PyObject
* obj3
= 0 ;
30251 PyObject
* obj4
= 0 ;
30252 PyObject
* obj5
= 0 ;
30253 PyObject
* obj6
= 0 ;
30254 char *kwnames
[] = {
30255 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyTextShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30262 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30264 if (arg2
== NULL
) {
30265 PyErr_SetString(PyExc_TypeError
,"null reference");
30268 arg3
= (double) SWIG_AsDouble(obj2
);
30269 if (PyErr_Occurred()) SWIG_fail
;
30270 arg4
= (double) SWIG_AsDouble(obj3
);
30271 if (PyErr_Occurred()) SWIG_fail
;
30272 arg5
= (double) SWIG_AsDouble(obj4
);
30273 if (PyErr_Occurred()) SWIG_fail
;
30274 arg6
= (double) SWIG_AsDouble(obj5
);
30275 if (PyErr_Occurred()) SWIG_fail
;
30277 arg7
= (bool) SWIG_AsBool(obj6
);
30278 if (PyErr_Occurred()) SWIG_fail
;
30281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30282 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30284 wxPyEndAllowThreads(__tstate
);
30285 if (PyErr_Occurred()) SWIG_fail
;
30287 Py_INCREF(Py_None
); resultobj
= Py_None
;
30294 static PyObject
*_wrap_PyTextShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30295 PyObject
*resultobj
;
30296 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30300 int arg5
= (int) 0 ;
30301 int arg6
= (int) 0 ;
30302 PyObject
* obj0
= 0 ;
30303 PyObject
* obj1
= 0 ;
30304 PyObject
* obj2
= 0 ;
30305 PyObject
* obj3
= 0 ;
30306 PyObject
* obj4
= 0 ;
30307 PyObject
* obj5
= 0 ;
30308 char *kwnames
[] = {
30309 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30315 arg2
= (bool) SWIG_AsBool(obj1
);
30316 if (PyErr_Occurred()) SWIG_fail
;
30317 arg3
= (double) SWIG_AsDouble(obj2
);
30318 if (PyErr_Occurred()) SWIG_fail
;
30319 arg4
= (double) SWIG_AsDouble(obj3
);
30320 if (PyErr_Occurred()) SWIG_fail
;
30322 arg5
= (int) SWIG_AsInt(obj4
);
30323 if (PyErr_Occurred()) SWIG_fail
;
30326 arg6
= (int) SWIG_AsInt(obj5
);
30327 if (PyErr_Occurred()) SWIG_fail
;
30330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30331 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30333 wxPyEndAllowThreads(__tstate
);
30334 if (PyErr_Occurred()) SWIG_fail
;
30336 Py_INCREF(Py_None
); resultobj
= Py_None
;
30343 static PyObject
*_wrap_PyTextShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30344 PyObject
*resultobj
;
30345 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30348 int arg4
= (int) 0 ;
30349 int arg5
= (int) 0 ;
30350 PyObject
* obj0
= 0 ;
30351 PyObject
* obj1
= 0 ;
30352 PyObject
* obj2
= 0 ;
30353 PyObject
* obj3
= 0 ;
30354 PyObject
* obj4
= 0 ;
30355 char *kwnames
[] = {
30356 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30362 arg2
= (double) SWIG_AsDouble(obj1
);
30363 if (PyErr_Occurred()) SWIG_fail
;
30364 arg3
= (double) SWIG_AsDouble(obj2
);
30365 if (PyErr_Occurred()) SWIG_fail
;
30367 arg4
= (int) SWIG_AsInt(obj3
);
30368 if (PyErr_Occurred()) SWIG_fail
;
30371 arg5
= (int) SWIG_AsInt(obj4
);
30372 if (PyErr_Occurred()) SWIG_fail
;
30375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30376 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
30378 wxPyEndAllowThreads(__tstate
);
30379 if (PyErr_Occurred()) SWIG_fail
;
30381 Py_INCREF(Py_None
); resultobj
= Py_None
;
30388 static PyObject
*_wrap_PyTextShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30389 PyObject
*resultobj
;
30390 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30393 int arg4
= (int) 0 ;
30394 int arg5
= (int) 0 ;
30395 PyObject
* obj0
= 0 ;
30396 PyObject
* obj1
= 0 ;
30397 PyObject
* obj2
= 0 ;
30398 PyObject
* obj3
= 0 ;
30399 PyObject
* obj4
= 0 ;
30400 char *kwnames
[] = {
30401 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30407 arg2
= (double) SWIG_AsDouble(obj1
);
30408 if (PyErr_Occurred()) SWIG_fail
;
30409 arg3
= (double) SWIG_AsDouble(obj2
);
30410 if (PyErr_Occurred()) SWIG_fail
;
30412 arg4
= (int) SWIG_AsInt(obj3
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30416 arg5
= (int) SWIG_AsInt(obj4
);
30417 if (PyErr_Occurred()) SWIG_fail
;
30420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30421 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
30423 wxPyEndAllowThreads(__tstate
);
30424 if (PyErr_Occurred()) SWIG_fail
;
30426 Py_INCREF(Py_None
); resultobj
= Py_None
;
30433 static PyObject
*_wrap_PyTextShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30434 PyObject
*resultobj
;
30435 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30439 int arg5
= (int) 0 ;
30440 int arg6
= (int) 0 ;
30441 PyObject
* obj0
= 0 ;
30442 PyObject
* obj1
= 0 ;
30443 PyObject
* obj2
= 0 ;
30444 PyObject
* obj3
= 0 ;
30445 PyObject
* obj4
= 0 ;
30446 PyObject
* obj5
= 0 ;
30447 char *kwnames
[] = {
30448 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30454 arg2
= (bool) SWIG_AsBool(obj1
);
30455 if (PyErr_Occurred()) SWIG_fail
;
30456 arg3
= (double) SWIG_AsDouble(obj2
);
30457 if (PyErr_Occurred()) SWIG_fail
;
30458 arg4
= (double) SWIG_AsDouble(obj3
);
30459 if (PyErr_Occurred()) SWIG_fail
;
30461 arg5
= (int) SWIG_AsInt(obj4
);
30462 if (PyErr_Occurred()) SWIG_fail
;
30465 arg6
= (int) SWIG_AsInt(obj5
);
30466 if (PyErr_Occurred()) SWIG_fail
;
30469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30470 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
30472 wxPyEndAllowThreads(__tstate
);
30473 if (PyErr_Occurred()) SWIG_fail
;
30475 Py_INCREF(Py_None
); resultobj
= Py_None
;
30482 static PyObject
*_wrap_PyTextShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30483 PyObject
*resultobj
;
30484 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30487 int arg4
= (int) 0 ;
30488 int arg5
= (int) 0 ;
30489 PyObject
* obj0
= 0 ;
30490 PyObject
* obj1
= 0 ;
30491 PyObject
* obj2
= 0 ;
30492 PyObject
* obj3
= 0 ;
30493 PyObject
* obj4
= 0 ;
30494 char *kwnames
[] = {
30495 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30501 arg2
= (double) SWIG_AsDouble(obj1
);
30502 if (PyErr_Occurred()) SWIG_fail
;
30503 arg3
= (double) SWIG_AsDouble(obj2
);
30504 if (PyErr_Occurred()) SWIG_fail
;
30506 arg4
= (int) SWIG_AsInt(obj3
);
30507 if (PyErr_Occurred()) SWIG_fail
;
30510 arg5
= (int) SWIG_AsInt(obj4
);
30511 if (PyErr_Occurred()) SWIG_fail
;
30514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30515 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
30517 wxPyEndAllowThreads(__tstate
);
30518 if (PyErr_Occurred()) SWIG_fail
;
30520 Py_INCREF(Py_None
); resultobj
= Py_None
;
30527 static PyObject
*_wrap_PyTextShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30528 PyObject
*resultobj
;
30529 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30532 int arg4
= (int) 0 ;
30533 int arg5
= (int) 0 ;
30534 PyObject
* obj0
= 0 ;
30535 PyObject
* obj1
= 0 ;
30536 PyObject
* obj2
= 0 ;
30537 PyObject
* obj3
= 0 ;
30538 PyObject
* obj4
= 0 ;
30539 char *kwnames
[] = {
30540 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30546 arg2
= (double) SWIG_AsDouble(obj1
);
30547 if (PyErr_Occurred()) SWIG_fail
;
30548 arg3
= (double) SWIG_AsDouble(obj2
);
30549 if (PyErr_Occurred()) SWIG_fail
;
30551 arg4
= (int) SWIG_AsInt(obj3
);
30552 if (PyErr_Occurred()) SWIG_fail
;
30555 arg5
= (int) SWIG_AsInt(obj4
);
30556 if (PyErr_Occurred()) SWIG_fail
;
30559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30560 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
30562 wxPyEndAllowThreads(__tstate
);
30563 if (PyErr_Occurred()) SWIG_fail
;
30565 Py_INCREF(Py_None
); resultobj
= Py_None
;
30572 static PyObject
*_wrap_PyTextShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30573 PyObject
*resultobj
;
30574 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30580 PyObject
* obj0
= 0 ;
30581 PyObject
* obj1
= 0 ;
30582 PyObject
* obj2
= 0 ;
30583 PyObject
* obj3
= 0 ;
30584 PyObject
* obj4
= 0 ;
30585 PyObject
* obj5
= 0 ;
30586 char *kwnames
[] = {
30587 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyTextShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30596 if (arg2
== NULL
) {
30597 PyErr_SetString(PyExc_TypeError
,"null reference");
30600 arg3
= (double) SWIG_AsDouble(obj2
);
30601 if (PyErr_Occurred()) SWIG_fail
;
30602 arg4
= (double) SWIG_AsDouble(obj3
);
30603 if (PyErr_Occurred()) SWIG_fail
;
30604 arg5
= (double) SWIG_AsDouble(obj4
);
30605 if (PyErr_Occurred()) SWIG_fail
;
30606 arg6
= (double) SWIG_AsDouble(obj5
);
30607 if (PyErr_Occurred()) SWIG_fail
;
30609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30610 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
30612 wxPyEndAllowThreads(__tstate
);
30613 if (PyErr_Occurred()) SWIG_fail
;
30615 Py_INCREF(Py_None
); resultobj
= Py_None
;
30622 static PyObject
*_wrap_PyTextShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30623 PyObject
*resultobj
;
30624 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30626 PyObject
* obj0
= 0 ;
30627 PyObject
* obj1
= 0 ;
30628 char *kwnames
[] = {
30629 (char *) "self",(char *) "dc", NULL
30632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
30633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30636 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30638 if (arg2
== NULL
) {
30639 PyErr_SetString(PyExc_TypeError
,"null reference");
30643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30644 (arg1
)->base_OnDrawControlPoints(*arg2
);
30646 wxPyEndAllowThreads(__tstate
);
30647 if (PyErr_Occurred()) SWIG_fail
;
30649 Py_INCREF(Py_None
); resultobj
= Py_None
;
30656 static PyObject
*_wrap_PyTextShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30657 PyObject
*resultobj
;
30658 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30660 PyObject
* obj0
= 0 ;
30661 PyObject
* obj1
= 0 ;
30662 char *kwnames
[] = {
30663 (char *) "self",(char *) "dc", NULL
30666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
30667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30670 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30672 if (arg2
== NULL
) {
30673 PyErr_SetString(PyExc_TypeError
,"null reference");
30677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30678 (arg1
)->base_OnEraseControlPoints(*arg2
);
30680 wxPyEndAllowThreads(__tstate
);
30681 if (PyErr_Occurred()) SWIG_fail
;
30683 Py_INCREF(Py_None
); resultobj
= Py_None
;
30690 static PyObject
*_wrap_PyTextShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30691 PyObject
*resultobj
;
30692 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30694 bool arg3
= (bool) True
;
30695 PyObject
* obj0
= 0 ;
30696 PyObject
* obj1
= 0 ;
30697 PyObject
* obj2
= 0 ;
30698 char *kwnames
[] = {
30699 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
30702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30706 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30708 if (arg2
== NULL
) {
30709 PyErr_SetString(PyExc_TypeError
,"null reference");
30713 arg3
= (bool) SWIG_AsBool(obj2
);
30714 if (PyErr_Occurred()) SWIG_fail
;
30717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30718 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
30720 wxPyEndAllowThreads(__tstate
);
30721 if (PyErr_Occurred()) SWIG_fail
;
30723 Py_INCREF(Py_None
); resultobj
= Py_None
;
30730 static PyObject
*_wrap_PyTextShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30731 PyObject
*resultobj
;
30732 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30733 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30737 int arg6
= (int) 0 ;
30738 int arg7
= (int) 0 ;
30739 PyObject
* obj0
= 0 ;
30740 PyObject
* obj1
= 0 ;
30741 PyObject
* obj2
= 0 ;
30742 PyObject
* obj3
= 0 ;
30743 PyObject
* obj4
= 0 ;
30744 PyObject
* obj5
= 0 ;
30745 PyObject
* obj6
= 0 ;
30746 char *kwnames
[] = {
30747 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyTextShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30755 arg3
= (bool) SWIG_AsBool(obj2
);
30756 if (PyErr_Occurred()) SWIG_fail
;
30757 arg4
= (double) SWIG_AsDouble(obj3
);
30758 if (PyErr_Occurred()) SWIG_fail
;
30759 arg5
= (double) SWIG_AsDouble(obj4
);
30760 if (PyErr_Occurred()) SWIG_fail
;
30762 arg6
= (int) SWIG_AsInt(obj5
);
30763 if (PyErr_Occurred()) SWIG_fail
;
30766 arg7
= (int) SWIG_AsInt(obj6
);
30767 if (PyErr_Occurred()) SWIG_fail
;
30770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30771 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30773 wxPyEndAllowThreads(__tstate
);
30774 if (PyErr_Occurred()) SWIG_fail
;
30776 Py_INCREF(Py_None
); resultobj
= Py_None
;
30783 static PyObject
*_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30784 PyObject
*resultobj
;
30785 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30786 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30789 int arg5
= (int) 0 ;
30790 int arg6
= (int) 0 ;
30791 PyObject
* obj0
= 0 ;
30792 PyObject
* obj1
= 0 ;
30793 PyObject
* obj2
= 0 ;
30794 PyObject
* obj3
= 0 ;
30795 PyObject
* obj4
= 0 ;
30796 PyObject
* obj5
= 0 ;
30797 char *kwnames
[] = {
30798 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30806 arg3
= (double) SWIG_AsDouble(obj2
);
30807 if (PyErr_Occurred()) SWIG_fail
;
30808 arg4
= (double) SWIG_AsDouble(obj3
);
30809 if (PyErr_Occurred()) SWIG_fail
;
30811 arg5
= (int) SWIG_AsInt(obj4
);
30812 if (PyErr_Occurred()) SWIG_fail
;
30815 arg6
= (int) SWIG_AsInt(obj5
);
30816 if (PyErr_Occurred()) SWIG_fail
;
30819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30820 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30822 wxPyEndAllowThreads(__tstate
);
30823 if (PyErr_Occurred()) SWIG_fail
;
30825 Py_INCREF(Py_None
); resultobj
= Py_None
;
30832 static PyObject
*_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30833 PyObject
*resultobj
;
30834 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30835 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30838 int arg5
= (int) 0 ;
30839 int arg6
= (int) 0 ;
30840 PyObject
* obj0
= 0 ;
30841 PyObject
* obj1
= 0 ;
30842 PyObject
* obj2
= 0 ;
30843 PyObject
* obj3
= 0 ;
30844 PyObject
* obj4
= 0 ;
30845 PyObject
* obj5
= 0 ;
30846 char *kwnames
[] = {
30847 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30853 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30855 arg3
= (double) SWIG_AsDouble(obj2
);
30856 if (PyErr_Occurred()) SWIG_fail
;
30857 arg4
= (double) SWIG_AsDouble(obj3
);
30858 if (PyErr_Occurred()) SWIG_fail
;
30860 arg5
= (int) SWIG_AsInt(obj4
);
30861 if (PyErr_Occurred()) SWIG_fail
;
30864 arg6
= (int) SWIG_AsInt(obj5
);
30865 if (PyErr_Occurred()) SWIG_fail
;
30868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30869 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30871 wxPyEndAllowThreads(__tstate
);
30872 if (PyErr_Occurred()) SWIG_fail
;
30874 Py_INCREF(Py_None
); resultobj
= Py_None
;
30881 static PyObject
*_wrap_PyTextShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30882 PyObject
*resultobj
;
30883 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30886 PyObject
* obj0
= 0 ;
30887 PyObject
* obj1
= 0 ;
30888 PyObject
* obj2
= 0 ;
30889 char *kwnames
[] = {
30890 (char *) "self",(char *) "w",(char *) "h", NULL
30893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30896 arg2
= (double) SWIG_AsDouble(obj1
);
30897 if (PyErr_Occurred()) SWIG_fail
;
30898 arg3
= (double) SWIG_AsDouble(obj2
);
30899 if (PyErr_Occurred()) SWIG_fail
;
30901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30902 (arg1
)->base_OnBeginSize(arg2
,arg3
);
30904 wxPyEndAllowThreads(__tstate
);
30905 if (PyErr_Occurred()) SWIG_fail
;
30907 Py_INCREF(Py_None
); resultobj
= Py_None
;
30914 static PyObject
*_wrap_PyTextShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30915 PyObject
*resultobj
;
30916 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30919 PyObject
* obj0
= 0 ;
30920 PyObject
* obj1
= 0 ;
30921 PyObject
* obj2
= 0 ;
30922 char *kwnames
[] = {
30923 (char *) "self",(char *) "w",(char *) "h", NULL
30926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30929 arg2
= (double) SWIG_AsDouble(obj1
);
30930 if (PyErr_Occurred()) SWIG_fail
;
30931 arg3
= (double) SWIG_AsDouble(obj2
);
30932 if (PyErr_Occurred()) SWIG_fail
;
30934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30935 (arg1
)->base_OnEndSize(arg2
,arg3
);
30937 wxPyEndAllowThreads(__tstate
);
30938 if (PyErr_Occurred()) SWIG_fail
;
30940 Py_INCREF(Py_None
); resultobj
= Py_None
;
30947 static PyObject
* PyTextShape_swigregister(PyObject
*self
, PyObject
*args
) {
30949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30950 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape
, obj
);
30952 return Py_BuildValue((char *)"");
30954 static PyObject
*_wrap_new_Diagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30955 PyObject
*resultobj
;
30957 char *kwnames
[] = {
30961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Diagram",kwnames
)) goto fail
;
30963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30964 result
= (wxDiagram
*)new wxDiagram();
30966 wxPyEndAllowThreads(__tstate
);
30967 if (PyErr_Occurred()) SWIG_fail
;
30970 resultobj
= wxPyMake_wxObject(result
, 1);
30978 static PyObject
*_wrap_Diagram_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30979 PyObject
*resultobj
;
30980 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30981 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
30982 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
30983 PyObject
* obj0
= 0 ;
30984 PyObject
* obj1
= 0 ;
30985 PyObject
* obj2
= 0 ;
30986 char *kwnames
[] = {
30987 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
30990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Diagram_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
30992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
30994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30996 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
30997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31001 (arg1
)->AddShape(arg2
,arg3
);
31003 wxPyEndAllowThreads(__tstate
);
31004 if (PyErr_Occurred()) SWIG_fail
;
31006 Py_INCREF(Py_None
); resultobj
= Py_None
;
31013 static PyObject
*_wrap_Diagram_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31014 PyObject
*resultobj
;
31015 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31017 PyObject
* obj0
= 0 ;
31018 PyObject
* obj1
= 0 ;
31019 char *kwnames
[] = {
31020 (char *) "self",(char *) "dc", NULL
31023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
31024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31027 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31029 if (arg2
== NULL
) {
31030 PyErr_SetString(PyExc_TypeError
,"null reference");
31034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31035 (arg1
)->Clear(*arg2
);
31037 wxPyEndAllowThreads(__tstate
);
31038 if (PyErr_Occurred()) SWIG_fail
;
31040 Py_INCREF(Py_None
); resultobj
= Py_None
;
31047 static PyObject
*_wrap_Diagram_DeleteAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31048 PyObject
*resultobj
;
31049 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31050 PyObject
* obj0
= 0 ;
31051 char *kwnames
[] = {
31052 (char *) "self", NULL
31055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_DeleteAllShapes",kwnames
,&obj0
)) goto fail
;
31056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31060 (arg1
)->DeleteAllShapes();
31062 wxPyEndAllowThreads(__tstate
);
31063 if (PyErr_Occurred()) SWIG_fail
;
31065 Py_INCREF(Py_None
); resultobj
= Py_None
;
31072 static PyObject
*_wrap_Diagram_DrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31073 PyObject
*resultobj
;
31074 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31080 PyObject
* obj0
= 0 ;
31081 PyObject
* obj1
= 0 ;
31082 PyObject
* obj2
= 0 ;
31083 PyObject
* obj3
= 0 ;
31084 PyObject
* obj4
= 0 ;
31085 PyObject
* obj5
= 0 ;
31086 char *kwnames
[] = {
31087 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Diagram_DrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31094 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31096 if (arg2
== NULL
) {
31097 PyErr_SetString(PyExc_TypeError
,"null reference");
31100 arg3
= (double) SWIG_AsDouble(obj2
);
31101 if (PyErr_Occurred()) SWIG_fail
;
31102 arg4
= (double) SWIG_AsDouble(obj3
);
31103 if (PyErr_Occurred()) SWIG_fail
;
31104 arg5
= (double) SWIG_AsDouble(obj4
);
31105 if (PyErr_Occurred()) SWIG_fail
;
31106 arg6
= (double) SWIG_AsDouble(obj5
);
31107 if (PyErr_Occurred()) SWIG_fail
;
31109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31110 (arg1
)->DrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
31112 wxPyEndAllowThreads(__tstate
);
31113 if (PyErr_Occurred()) SWIG_fail
;
31115 Py_INCREF(Py_None
); resultobj
= Py_None
;
31122 static PyObject
*_wrap_Diagram_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31123 PyObject
*resultobj
;
31124 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31127 PyObject
* obj0
= 0 ;
31128 PyObject
* obj1
= 0 ;
31129 char *kwnames
[] = {
31130 (char *) "self",(char *) "id", NULL
31133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_FindShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31136 arg2
= (long) SWIG_AsLong(obj1
);
31137 if (PyErr_Occurred()) SWIG_fail
;
31139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31140 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
);
31142 wxPyEndAllowThreads(__tstate
);
31143 if (PyErr_Occurred()) SWIG_fail
;
31146 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
31154 static PyObject
*_wrap_Diagram_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31155 PyObject
*resultobj
;
31156 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31157 wxPyShapeCanvas
*result
;
31158 PyObject
* obj0
= 0 ;
31159 char *kwnames
[] = {
31160 (char *) "self", NULL
31163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCanvas",kwnames
,&obj0
)) goto fail
;
31164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31168 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
31170 wxPyEndAllowThreads(__tstate
);
31171 if (PyErr_Occurred()) SWIG_fail
;
31174 resultobj
= wxPyMake_wxObject(result
, 0);
31182 static PyObject
*_wrap_Diagram_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31183 PyObject
*resultobj
;
31184 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31186 PyObject
* obj0
= 0 ;
31187 char *kwnames
[] = {
31188 (char *) "self", NULL
31191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCount",kwnames
,&obj0
)) goto fail
;
31192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31196 result
= (int)(arg1
)->GetCount();
31198 wxPyEndAllowThreads(__tstate
);
31199 if (PyErr_Occurred()) SWIG_fail
;
31201 resultobj
= SWIG_FromInt((int)result
);
31208 static PyObject
*_wrap_Diagram_GetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31209 PyObject
*resultobj
;
31210 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31212 PyObject
* obj0
= 0 ;
31213 char *kwnames
[] = {
31214 (char *) "self", NULL
31217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetGridSpacing",kwnames
,&obj0
)) goto fail
;
31218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31222 result
= (double)(arg1
)->GetGridSpacing();
31224 wxPyEndAllowThreads(__tstate
);
31225 if (PyErr_Occurred()) SWIG_fail
;
31227 resultobj
= SWIG_FromDouble((double)result
);
31234 static PyObject
*_wrap_Diagram_GetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31235 PyObject
*resultobj
;
31236 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31238 PyObject
* obj0
= 0 ;
31239 char *kwnames
[] = {
31240 (char *) "self", NULL
31243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetMouseTolerance",kwnames
,&obj0
)) goto fail
;
31244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31248 result
= (int)(arg1
)->GetMouseTolerance();
31250 wxPyEndAllowThreads(__tstate
);
31251 if (PyErr_Occurred()) SWIG_fail
;
31253 resultobj
= SWIG_FromInt((int)result
);
31260 static PyObject
*_wrap_Diagram_GetShapeList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31261 PyObject
*resultobj
;
31262 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31264 PyObject
* obj0
= 0 ;
31265 char *kwnames
[] = {
31266 (char *) "self", NULL
31269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetShapeList",kwnames
,&obj0
)) goto fail
;
31270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31274 result
= (PyObject
*)wxDiagram_GetShapeList(arg1
);
31276 wxPyEndAllowThreads(__tstate
);
31277 if (PyErr_Occurred()) SWIG_fail
;
31279 resultobj
= result
;
31286 static PyObject
*_wrap_Diagram_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31287 PyObject
*resultobj
;
31288 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31290 PyObject
* obj0
= 0 ;
31291 char *kwnames
[] = {
31292 (char *) "self", NULL
31295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
31296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31300 result
= (bool)(arg1
)->GetQuickEditMode();
31302 wxPyEndAllowThreads(__tstate
);
31303 if (PyErr_Occurred()) SWIG_fail
;
31306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31314 static PyObject
*_wrap_Diagram_GetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31315 PyObject
*resultobj
;
31316 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31318 PyObject
* obj0
= 0 ;
31319 char *kwnames
[] = {
31320 (char *) "self", NULL
31323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetSnapToGrid",kwnames
,&obj0
)) goto fail
;
31324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31328 result
= (bool)(arg1
)->GetSnapToGrid();
31330 wxPyEndAllowThreads(__tstate
);
31331 if (PyErr_Occurred()) SWIG_fail
;
31334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31342 static PyObject
*_wrap_Diagram_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31343 PyObject
*resultobj
;
31344 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31345 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31346 PyObject
* obj0
= 0 ;
31347 PyObject
* obj1
= 0 ;
31348 char *kwnames
[] = {
31349 (char *) "self",(char *) "shape", NULL
31352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31359 (arg1
)->InsertShape(arg2
);
31361 wxPyEndAllowThreads(__tstate
);
31362 if (PyErr_Occurred()) SWIG_fail
;
31364 Py_INCREF(Py_None
); resultobj
= Py_None
;
31371 static PyObject
*_wrap_Diagram_RecentreAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31372 PyObject
*resultobj
;
31373 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31375 PyObject
* obj0
= 0 ;
31376 PyObject
* obj1
= 0 ;
31377 char *kwnames
[] = {
31378 (char *) "self",(char *) "dc", NULL
31381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RecentreAll",kwnames
,&obj0
,&obj1
)) goto fail
;
31382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31385 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31387 if (arg2
== NULL
) {
31388 PyErr_SetString(PyExc_TypeError
,"null reference");
31392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31393 (arg1
)->RecentreAll(*arg2
);
31395 wxPyEndAllowThreads(__tstate
);
31396 if (PyErr_Occurred()) SWIG_fail
;
31398 Py_INCREF(Py_None
); resultobj
= Py_None
;
31405 static PyObject
*_wrap_Diagram_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31406 PyObject
*resultobj
;
31407 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31409 PyObject
* obj0
= 0 ;
31410 PyObject
* obj1
= 0 ;
31411 char *kwnames
[] = {
31412 (char *) "self",(char *) "dc", NULL
31415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
31416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31421 if (arg2
== NULL
) {
31422 PyErr_SetString(PyExc_TypeError
,"null reference");
31426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31427 (arg1
)->Redraw(*arg2
);
31429 wxPyEndAllowThreads(__tstate
);
31430 if (PyErr_Occurred()) SWIG_fail
;
31432 Py_INCREF(Py_None
); resultobj
= Py_None
;
31439 static PyObject
*_wrap_Diagram_RemoveAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31440 PyObject
*resultobj
;
31441 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31442 PyObject
* obj0
= 0 ;
31443 char *kwnames
[] = {
31444 (char *) "self", NULL
31447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_RemoveAllShapes",kwnames
,&obj0
)) goto fail
;
31448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31452 (arg1
)->RemoveAllShapes();
31454 wxPyEndAllowThreads(__tstate
);
31455 if (PyErr_Occurred()) SWIG_fail
;
31457 Py_INCREF(Py_None
); resultobj
= Py_None
;
31464 static PyObject
*_wrap_Diagram_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31465 PyObject
*resultobj
;
31466 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31467 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31468 PyObject
* obj0
= 0 ;
31469 PyObject
* obj1
= 0 ;
31470 char *kwnames
[] = {
31471 (char *) "self",(char *) "shape", NULL
31474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31481 (arg1
)->RemoveShape(arg2
);
31483 wxPyEndAllowThreads(__tstate
);
31484 if (PyErr_Occurred()) SWIG_fail
;
31486 Py_INCREF(Py_None
); resultobj
= Py_None
;
31493 static PyObject
*_wrap_Diagram_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31494 PyObject
*resultobj
;
31495 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31496 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
31497 PyObject
* obj0
= 0 ;
31498 PyObject
* obj1
= 0 ;
31499 char *kwnames
[] = {
31500 (char *) "self",(char *) "canvas", NULL
31503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
31504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
31507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31510 (arg1
)->SetCanvas(arg2
);
31512 wxPyEndAllowThreads(__tstate
);
31513 if (PyErr_Occurred()) SWIG_fail
;
31515 Py_INCREF(Py_None
); resultobj
= Py_None
;
31522 static PyObject
*_wrap_Diagram_SetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31523 PyObject
*resultobj
;
31524 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31526 PyObject
* obj0
= 0 ;
31527 PyObject
* obj1
= 0 ;
31528 char *kwnames
[] = {
31529 (char *) "self",(char *) "spacing", NULL
31532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetGridSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
31533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31535 arg2
= (double) SWIG_AsDouble(obj1
);
31536 if (PyErr_Occurred()) SWIG_fail
;
31538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31539 (arg1
)->SetGridSpacing(arg2
);
31541 wxPyEndAllowThreads(__tstate
);
31542 if (PyErr_Occurred()) SWIG_fail
;
31544 Py_INCREF(Py_None
); resultobj
= Py_None
;
31551 static PyObject
*_wrap_Diagram_SetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31552 PyObject
*resultobj
;
31553 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31555 PyObject
* obj0
= 0 ;
31556 PyObject
* obj1
= 0 ;
31557 char *kwnames
[] = {
31558 (char *) "self",(char *) "tolerance", NULL
31561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetMouseTolerance",kwnames
,&obj0
,&obj1
)) goto fail
;
31562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31564 arg2
= (int) SWIG_AsInt(obj1
);
31565 if (PyErr_Occurred()) SWIG_fail
;
31567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31568 (arg1
)->SetMouseTolerance(arg2
);
31570 wxPyEndAllowThreads(__tstate
);
31571 if (PyErr_Occurred()) SWIG_fail
;
31573 Py_INCREF(Py_None
); resultobj
= Py_None
;
31580 static PyObject
*_wrap_Diagram_SetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31581 PyObject
*resultobj
;
31582 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31584 PyObject
* obj0
= 0 ;
31585 PyObject
* obj1
= 0 ;
31586 char *kwnames
[] = {
31587 (char *) "self",(char *) "mode", NULL
31590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetQuickEditMode",kwnames
,&obj0
,&obj1
)) goto fail
;
31591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31593 arg2
= (bool) SWIG_AsBool(obj1
);
31594 if (PyErr_Occurred()) SWIG_fail
;
31596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31597 (arg1
)->SetQuickEditMode(arg2
);
31599 wxPyEndAllowThreads(__tstate
);
31600 if (PyErr_Occurred()) SWIG_fail
;
31602 Py_INCREF(Py_None
); resultobj
= Py_None
;
31609 static PyObject
*_wrap_Diagram_SetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31610 PyObject
*resultobj
;
31611 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31613 PyObject
* obj0
= 0 ;
31614 PyObject
* obj1
= 0 ;
31615 char *kwnames
[] = {
31616 (char *) "self",(char *) "snap", NULL
31619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetSnapToGrid",kwnames
,&obj0
,&obj1
)) goto fail
;
31620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31622 arg2
= (bool) SWIG_AsBool(obj1
);
31623 if (PyErr_Occurred()) SWIG_fail
;
31625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31626 (arg1
)->SetSnapToGrid(arg2
);
31628 wxPyEndAllowThreads(__tstate
);
31629 if (PyErr_Occurred()) SWIG_fail
;
31631 Py_INCREF(Py_None
); resultobj
= Py_None
;
31638 static PyObject
*_wrap_Diagram_ShowAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31639 PyObject
*resultobj
;
31640 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31642 PyObject
* obj0
= 0 ;
31643 PyObject
* obj1
= 0 ;
31644 char *kwnames
[] = {
31645 (char *) "self",(char *) "show", NULL
31648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_ShowAll",kwnames
,&obj0
,&obj1
)) goto fail
;
31649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31651 arg2
= (bool) SWIG_AsBool(obj1
);
31652 if (PyErr_Occurred()) SWIG_fail
;
31654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31655 (arg1
)->ShowAll(arg2
);
31657 wxPyEndAllowThreads(__tstate
);
31658 if (PyErr_Occurred()) SWIG_fail
;
31660 Py_INCREF(Py_None
); resultobj
= Py_None
;
31667 static PyObject
*_wrap_Diagram_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31668 PyObject
*resultobj
;
31669 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31670 double *arg2
= (double *) 0 ;
31671 double *arg3
= (double *) 0 ;
31674 PyObject
* obj0
= 0 ;
31675 PyObject
* obj1
= 0 ;
31676 PyObject
* obj2
= 0 ;
31677 char *kwnames
[] = {
31678 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
31681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Diagram_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31685 temp2
= PyFloat_AsDouble(obj1
);
31686 if (PyErr_Occurred()) SWIG_fail
;
31690 temp3
= PyFloat_AsDouble(obj2
);
31691 if (PyErr_Occurred()) SWIG_fail
;
31695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31696 (arg1
)->Snap(arg2
,arg3
);
31698 wxPyEndAllowThreads(__tstate
);
31699 if (PyErr_Occurred()) SWIG_fail
;
31701 Py_INCREF(Py_None
); resultobj
= Py_None
;
31703 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
31704 resultobj
= t_output_helper(resultobj
,o
);
31707 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
31708 resultobj
= t_output_helper(resultobj
,o
);
31716 static PyObject
* Diagram_swigregister(PyObject
*self
, PyObject
*args
) {
31718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31719 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram
, obj
);
31721 return Py_BuildValue((char *)"");
31723 static PyObject
*_wrap_new_PyShapeCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31724 PyObject
*resultobj
;
31725 wxWindow
*arg1
= (wxWindow
*) NULL
;
31726 int arg2
= (int) -1 ;
31727 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31728 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31729 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31730 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31731 long arg5
= (long) wxBORDER
;
31732 wxString
const &arg6_defvalue
= wxPyShapeCanvasNameStr
;
31733 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
31734 wxPyShapeCanvas
*result
;
31737 bool temp6
= False
;
31738 PyObject
* obj0
= 0 ;
31739 PyObject
* obj1
= 0 ;
31740 PyObject
* obj2
= 0 ;
31741 PyObject
* obj3
= 0 ;
31742 PyObject
* obj4
= 0 ;
31743 PyObject
* obj5
= 0 ;
31744 char *kwnames
[] = {
31745 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_PyShapeCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
31751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31754 arg2
= (int) SWIG_AsInt(obj1
);
31755 if (PyErr_Occurred()) SWIG_fail
;
31760 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31766 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31770 arg5
= (long) SWIG_AsLong(obj4
);
31771 if (PyErr_Occurred()) SWIG_fail
;
31775 arg6
= wxString_in_helper(obj5
);
31776 if (arg6
== NULL
) SWIG_fail
;
31781 if (!wxPyCheckForApp()) SWIG_fail
;
31782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31783 result
= (wxPyShapeCanvas
*)new wxPyShapeCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
31785 wxPyEndAllowThreads(__tstate
);
31786 if (PyErr_Occurred()) SWIG_fail
;
31788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyShapeCanvas
, 1);
31803 static PyObject
*_wrap_PyShapeCanvas__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31804 PyObject
*resultobj
;
31805 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31806 PyObject
*arg2
= (PyObject
*) 0 ;
31807 PyObject
*arg3
= (PyObject
*) 0 ;
31808 PyObject
* obj0
= 0 ;
31809 PyObject
* obj1
= 0 ;
31810 PyObject
* obj2
= 0 ;
31811 char *kwnames
[] = {
31812 (char *) "self",(char *) "self",(char *) "_class", NULL
31815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31822 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31824 wxPyEndAllowThreads(__tstate
);
31825 if (PyErr_Occurred()) SWIG_fail
;
31827 Py_INCREF(Py_None
); resultobj
= Py_None
;
31834 static PyObject
*_wrap_PyShapeCanvas_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31835 PyObject
*resultobj
;
31836 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31837 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31838 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
31839 PyObject
* obj0
= 0 ;
31840 PyObject
* obj1
= 0 ;
31841 PyObject
* obj2
= 0 ;
31842 char *kwnames
[] = {
31843 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
31846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31852 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
31853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31857 (arg1
)->AddShape(arg2
,arg3
);
31859 wxPyEndAllowThreads(__tstate
);
31860 if (PyErr_Occurred()) SWIG_fail
;
31862 Py_INCREF(Py_None
); resultobj
= Py_None
;
31869 static PyObject
*_wrap_PyShapeCanvas_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31870 PyObject
*resultobj
;
31871 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31874 int *arg4
= (int *) 0 ;
31875 wxClassInfo
*arg5
= (wxClassInfo
*) NULL
;
31876 wxPyShape
*arg6
= (wxPyShape
*) NULL
;
31879 PyObject
* obj0
= 0 ;
31880 PyObject
* obj1
= 0 ;
31881 PyObject
* obj2
= 0 ;
31882 PyObject
* obj3
= 0 ;
31883 PyObject
* obj4
= 0 ;
31884 char *kwnames
[] = {
31885 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
31889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeCanvas_FindShape",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31892 arg2
= (double) SWIG_AsDouble(obj1
);
31893 if (PyErr_Occurred()) SWIG_fail
;
31894 arg3
= (double) SWIG_AsDouble(obj2
);
31895 if (PyErr_Occurred()) SWIG_fail
;
31897 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxClassInfo
,
31898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31901 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg6
),SWIGTYPE_p_wxPyShape
,
31902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31906 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
,arg3
,arg4
,arg5
,arg6
);
31908 wxPyEndAllowThreads(__tstate
);
31909 if (PyErr_Occurred()) SWIG_fail
;
31912 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
31915 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
31916 resultobj
= t_output_helper(resultobj
,o
);
31924 static PyObject
*_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31925 PyObject
*resultobj
;
31926 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31929 int *arg4
= (int *) 0 ;
31933 PyObject
* obj0
= 0 ;
31934 PyObject
* obj1
= 0 ;
31935 PyObject
* obj2
= 0 ;
31936 PyObject
* obj3
= 0 ;
31937 char *kwnames
[] = {
31938 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
31942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShapeCanvas_FindFirstSensitiveShape",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31945 arg2
= (double) SWIG_AsDouble(obj1
);
31946 if (PyErr_Occurred()) SWIG_fail
;
31947 arg3
= (double) SWIG_AsDouble(obj2
);
31948 if (PyErr_Occurred()) SWIG_fail
;
31949 arg5
= (int) SWIG_AsInt(obj3
);
31950 if (PyErr_Occurred()) SWIG_fail
;
31952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31953 result
= (wxPyShape
*)(arg1
)->FindFirstSensitiveShape(arg2
,arg3
,arg4
,arg5
);
31955 wxPyEndAllowThreads(__tstate
);
31956 if (PyErr_Occurred()) SWIG_fail
;
31959 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
31962 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
31963 resultobj
= t_output_helper(resultobj
,o
);
31971 static PyObject
*_wrap_PyShapeCanvas_GetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31972 PyObject
*resultobj
;
31973 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31975 PyObject
* obj0
= 0 ;
31976 char *kwnames
[] = {
31977 (char *) "self", NULL
31980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetDiagram",kwnames
,&obj0
)) goto fail
;
31981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31985 result
= (wxDiagram
*)(arg1
)->GetDiagram();
31987 wxPyEndAllowThreads(__tstate
);
31988 if (PyErr_Occurred()) SWIG_fail
;
31991 resultobj
= wxPyMake_wxObject(result
, 0);
31999 static PyObject
*_wrap_PyShapeCanvas_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32000 PyObject
*resultobj
;
32001 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32003 PyObject
* obj0
= 0 ;
32004 char *kwnames
[] = {
32005 (char *) "self", NULL
32008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
32009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32013 result
= (bool)(arg1
)->GetQuickEditMode();
32015 wxPyEndAllowThreads(__tstate
);
32016 if (PyErr_Occurred()) SWIG_fail
;
32019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32027 static PyObject
*_wrap_PyShapeCanvas_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32028 PyObject
*resultobj
;
32029 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32030 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
32031 PyObject
* obj0
= 0 ;
32032 PyObject
* obj1
= 0 ;
32033 char *kwnames
[] = {
32034 (char *) "self",(char *) "shape", NULL
32037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
32038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
32041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32044 (arg1
)->InsertShape(arg2
);
32046 wxPyEndAllowThreads(__tstate
);
32047 if (PyErr_Occurred()) SWIG_fail
;
32049 Py_INCREF(Py_None
); resultobj
= Py_None
;
32056 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32057 PyObject
*resultobj
;
32058 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32061 int arg4
= (int) 0 ;
32062 PyObject
* obj0
= 0 ;
32063 PyObject
* obj1
= 0 ;
32064 PyObject
* obj2
= 0 ;
32065 PyObject
* obj3
= 0 ;
32066 char *kwnames
[] = {
32067 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32073 arg2
= (double) SWIG_AsDouble(obj1
);
32074 if (PyErr_Occurred()) SWIG_fail
;
32075 arg3
= (double) SWIG_AsDouble(obj2
);
32076 if (PyErr_Occurred()) SWIG_fail
;
32078 arg4
= (int) SWIG_AsInt(obj3
);
32079 if (PyErr_Occurred()) SWIG_fail
;
32082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32083 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
);
32085 wxPyEndAllowThreads(__tstate
);
32086 if (PyErr_Occurred()) SWIG_fail
;
32088 Py_INCREF(Py_None
); resultobj
= Py_None
;
32095 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32096 PyObject
*resultobj
;
32097 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32100 int arg4
= (int) 0 ;
32101 PyObject
* obj0
= 0 ;
32102 PyObject
* obj1
= 0 ;
32103 PyObject
* obj2
= 0 ;
32104 PyObject
* obj3
= 0 ;
32105 char *kwnames
[] = {
32106 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32112 arg2
= (double) SWIG_AsDouble(obj1
);
32113 if (PyErr_Occurred()) SWIG_fail
;
32114 arg3
= (double) SWIG_AsDouble(obj2
);
32115 if (PyErr_Occurred()) SWIG_fail
;
32117 arg4
= (int) SWIG_AsInt(obj3
);
32118 if (PyErr_Occurred()) SWIG_fail
;
32121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32122 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
);
32124 wxPyEndAllowThreads(__tstate
);
32125 if (PyErr_Occurred()) SWIG_fail
;
32127 Py_INCREF(Py_None
); resultobj
= Py_None
;
32134 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32135 PyObject
*resultobj
;
32136 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32139 int arg4
= (int) 0 ;
32140 PyObject
* obj0
= 0 ;
32141 PyObject
* obj1
= 0 ;
32142 PyObject
* obj2
= 0 ;
32143 PyObject
* obj3
= 0 ;
32144 char *kwnames
[] = {
32145 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32151 arg2
= (double) SWIG_AsDouble(obj1
);
32152 if (PyErr_Occurred()) SWIG_fail
;
32153 arg3
= (double) SWIG_AsDouble(obj2
);
32154 if (PyErr_Occurred()) SWIG_fail
;
32156 arg4
= (int) SWIG_AsInt(obj3
);
32157 if (PyErr_Occurred()) SWIG_fail
;
32160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32161 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
);
32163 wxPyEndAllowThreads(__tstate
);
32164 if (PyErr_Occurred()) SWIG_fail
;
32166 Py_INCREF(Py_None
); resultobj
= Py_None
;
32173 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32174 PyObject
*resultobj
;
32175 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32178 int arg4
= (int) 0 ;
32179 PyObject
* obj0
= 0 ;
32180 PyObject
* obj1
= 0 ;
32181 PyObject
* obj2
= 0 ;
32182 PyObject
* obj3
= 0 ;
32183 char *kwnames
[] = {
32184 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32190 arg2
= (double) SWIG_AsDouble(obj1
);
32191 if (PyErr_Occurred()) SWIG_fail
;
32192 arg3
= (double) SWIG_AsDouble(obj2
);
32193 if (PyErr_Occurred()) SWIG_fail
;
32195 arg4
= (int) SWIG_AsInt(obj3
);
32196 if (PyErr_Occurred()) SWIG_fail
;
32199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32200 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
);
32202 wxPyEndAllowThreads(__tstate
);
32203 if (PyErr_Occurred()) SWIG_fail
;
32205 Py_INCREF(Py_None
); resultobj
= Py_None
;
32212 static PyObject
*_wrap_PyShapeCanvas_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32213 PyObject
*resultobj
;
32214 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32218 int arg5
= (int) 0 ;
32219 PyObject
* obj0
= 0 ;
32220 PyObject
* obj1
= 0 ;
32221 PyObject
* obj2
= 0 ;
32222 PyObject
* obj3
= 0 ;
32223 PyObject
* obj4
= 0 ;
32224 char *kwnames
[] = {
32225 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShapeCanvas_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32231 arg2
= (bool) SWIG_AsBool(obj1
);
32232 if (PyErr_Occurred()) SWIG_fail
;
32233 arg3
= (double) SWIG_AsDouble(obj2
);
32234 if (PyErr_Occurred()) SWIG_fail
;
32235 arg4
= (double) SWIG_AsDouble(obj3
);
32236 if (PyErr_Occurred()) SWIG_fail
;
32238 arg5
= (int) SWIG_AsInt(obj4
);
32239 if (PyErr_Occurred()) SWIG_fail
;
32242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32243 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
);
32245 wxPyEndAllowThreads(__tstate
);
32246 if (PyErr_Occurred()) SWIG_fail
;
32248 Py_INCREF(Py_None
); resultobj
= Py_None
;
32255 static PyObject
*_wrap_PyShapeCanvas_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32256 PyObject
*resultobj
;
32257 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32261 int arg5
= (int) 0 ;
32262 PyObject
* obj0
= 0 ;
32263 PyObject
* obj1
= 0 ;
32264 PyObject
* obj2
= 0 ;
32265 PyObject
* obj3
= 0 ;
32266 PyObject
* obj4
= 0 ;
32267 char *kwnames
[] = {
32268 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShapeCanvas_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32274 arg2
= (bool) SWIG_AsBool(obj1
);
32275 if (PyErr_Occurred()) SWIG_fail
;
32276 arg3
= (double) SWIG_AsDouble(obj2
);
32277 if (PyErr_Occurred()) SWIG_fail
;
32278 arg4
= (double) SWIG_AsDouble(obj3
);
32279 if (PyErr_Occurred()) SWIG_fail
;
32281 arg5
= (int) SWIG_AsInt(obj4
);
32282 if (PyErr_Occurred()) SWIG_fail
;
32285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32286 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
);
32288 wxPyEndAllowThreads(__tstate
);
32289 if (PyErr_Occurred()) SWIG_fail
;
32291 Py_INCREF(Py_None
); resultobj
= Py_None
;
32298 static PyObject
*_wrap_PyShapeCanvas_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32299 PyObject
*resultobj
;
32300 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32303 int arg4
= (int) 0 ;
32304 PyObject
* obj0
= 0 ;
32305 PyObject
* obj1
= 0 ;
32306 PyObject
* obj2
= 0 ;
32307 PyObject
* obj3
= 0 ;
32308 char *kwnames
[] = {
32309 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32315 arg2
= (double) SWIG_AsDouble(obj1
);
32316 if (PyErr_Occurred()) SWIG_fail
;
32317 arg3
= (double) SWIG_AsDouble(obj2
);
32318 if (PyErr_Occurred()) SWIG_fail
;
32320 arg4
= (int) SWIG_AsInt(obj3
);
32321 if (PyErr_Occurred()) SWIG_fail
;
32324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32325 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
);
32327 wxPyEndAllowThreads(__tstate
);
32328 if (PyErr_Occurred()) SWIG_fail
;
32330 Py_INCREF(Py_None
); resultobj
= Py_None
;
32337 static PyObject
*_wrap_PyShapeCanvas_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32338 PyObject
*resultobj
;
32339 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32342 int arg4
= (int) 0 ;
32343 PyObject
* obj0
= 0 ;
32344 PyObject
* obj1
= 0 ;
32345 PyObject
* obj2
= 0 ;
32346 PyObject
* obj3
= 0 ;
32347 char *kwnames
[] = {
32348 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32354 arg2
= (double) SWIG_AsDouble(obj1
);
32355 if (PyErr_Occurred()) SWIG_fail
;
32356 arg3
= (double) SWIG_AsDouble(obj2
);
32357 if (PyErr_Occurred()) SWIG_fail
;
32359 arg4
= (int) SWIG_AsInt(obj3
);
32360 if (PyErr_Occurred()) SWIG_fail
;
32363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32364 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
);
32366 wxPyEndAllowThreads(__tstate
);
32367 if (PyErr_Occurred()) SWIG_fail
;
32369 Py_INCREF(Py_None
); resultobj
= Py_None
;
32376 static PyObject
*_wrap_PyShapeCanvas_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32377 PyObject
*resultobj
;
32378 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32380 PyObject
* obj0
= 0 ;
32381 PyObject
* obj1
= 0 ;
32382 char *kwnames
[] = {
32383 (char *) "self",(char *) "dc", NULL
32386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
32387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
32390 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32392 if (arg2
== NULL
) {
32393 PyErr_SetString(PyExc_TypeError
,"null reference");
32397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32398 (arg1
)->Redraw(*arg2
);
32400 wxPyEndAllowThreads(__tstate
);
32401 if (PyErr_Occurred()) SWIG_fail
;
32403 Py_INCREF(Py_None
); resultobj
= Py_None
;
32410 static PyObject
*_wrap_PyShapeCanvas_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32411 PyObject
*resultobj
;
32412 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32413 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
32414 PyObject
* obj0
= 0 ;
32415 PyObject
* obj1
= 0 ;
32416 char *kwnames
[] = {
32417 (char *) "self",(char *) "shape", NULL
32420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
32421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
32424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32427 (arg1
)->RemoveShape(arg2
);
32429 wxPyEndAllowThreads(__tstate
);
32430 if (PyErr_Occurred()) SWIG_fail
;
32432 Py_INCREF(Py_None
); resultobj
= Py_None
;
32439 static PyObject
*_wrap_PyShapeCanvas_SetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32440 PyObject
*resultobj
;
32441 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32442 wxDiagram
*arg2
= (wxDiagram
*) 0 ;
32443 PyObject
* obj0
= 0 ;
32444 PyObject
* obj1
= 0 ;
32445 char *kwnames
[] = {
32446 (char *) "self",(char *) "diagram", NULL
32449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames
,&obj0
,&obj1
)) goto fail
;
32450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32452 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDiagram
,
32453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32456 (arg1
)->SetDiagram(arg2
);
32458 wxPyEndAllowThreads(__tstate
);
32459 if (PyErr_Occurred()) SWIG_fail
;
32461 Py_INCREF(Py_None
); resultobj
= Py_None
;
32468 static PyObject
*_wrap_PyShapeCanvas_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32469 PyObject
*resultobj
;
32470 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32471 double *arg2
= (double *) 0 ;
32472 double *arg3
= (double *) 0 ;
32475 PyObject
* obj0
= 0 ;
32476 PyObject
* obj1
= 0 ;
32477 PyObject
* obj2
= 0 ;
32478 char *kwnames
[] = {
32479 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
32482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32486 temp2
= PyFloat_AsDouble(obj1
);
32487 if (PyErr_Occurred()) SWIG_fail
;
32491 temp3
= PyFloat_AsDouble(obj2
);
32492 if (PyErr_Occurred()) SWIG_fail
;
32496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32497 (arg1
)->Snap(arg2
,arg3
);
32499 wxPyEndAllowThreads(__tstate
);
32500 if (PyErr_Occurred()) SWIG_fail
;
32502 Py_INCREF(Py_None
); resultobj
= Py_None
;
32504 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
32505 resultobj
= t_output_helper(resultobj
,o
);
32508 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
32509 resultobj
= t_output_helper(resultobj
,o
);
32517 static PyObject
* PyShapeCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
32519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32520 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas
, obj
);
32522 return Py_BuildValue((char *)"");
32524 static PyObject
*_wrap_OGLInitialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32525 PyObject
*resultobj
;
32526 char *kwnames
[] = {
32530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLInitialize",kwnames
)) goto fail
;
32532 if (!wxPyCheckForApp()) SWIG_fail
;
32533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32536 wxPyEndAllowThreads(__tstate
);
32537 if (PyErr_Occurred()) SWIG_fail
;
32539 Py_INCREF(Py_None
); resultobj
= Py_None
;
32546 static PyObject
*_wrap_OGLCleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32547 PyObject
*resultobj
;
32548 char *kwnames
[] = {
32552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLCleanUp",kwnames
)) goto fail
;
32554 if (!wxPyCheckForApp()) SWIG_fail
;
32555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32558 wxPyEndAllowThreads(__tstate
);
32559 if (PyErr_Occurred()) SWIG_fail
;
32561 Py_INCREF(Py_None
); resultobj
= Py_None
;
32568 static PyMethodDef SwigMethods
[] = {
32569 { (char *)"new_ShapeRegion", (PyCFunction
) _wrap_new_ShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
32570 { (char *)"ShapeRegion_SetText", (PyCFunction
) _wrap_ShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
32571 { (char *)"ShapeRegion_SetFont", (PyCFunction
) _wrap_ShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
32572 { (char *)"ShapeRegion_SetMinSize", (PyCFunction
) _wrap_ShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
32573 { (char *)"ShapeRegion_SetSize", (PyCFunction
) _wrap_ShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
32574 { (char *)"ShapeRegion_SetPosition", (PyCFunction
) _wrap_ShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32575 { (char *)"ShapeRegion_SetProportions", (PyCFunction
) _wrap_ShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
32576 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction
) _wrap_ShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
32577 { (char *)"ShapeRegion_SetName", (PyCFunction
) _wrap_ShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
32578 { (char *)"ShapeRegion_SetColour", (PyCFunction
) _wrap_ShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
32579 { (char *)"ShapeRegion_GetText", (PyCFunction
) _wrap_ShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
32580 { (char *)"ShapeRegion_GetFont", (PyCFunction
) _wrap_ShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
32581 { (char *)"ShapeRegion_GetMinSize", (PyCFunction
) _wrap_ShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
32582 { (char *)"ShapeRegion_GetProportion", (PyCFunction
) _wrap_ShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
32583 { (char *)"ShapeRegion_GetSize", (PyCFunction
) _wrap_ShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
32584 { (char *)"ShapeRegion_GetPosition", (PyCFunction
) _wrap_ShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32585 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction
) _wrap_ShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
32586 { (char *)"ShapeRegion_GetName", (PyCFunction
) _wrap_ShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
32587 { (char *)"ShapeRegion_GetColour", (PyCFunction
) _wrap_ShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
32588 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_ShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
32589 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction
) _wrap_ShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
32590 { (char *)"ShapeRegion_GetPenColour", (PyCFunction
) _wrap_ShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
32591 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction
) _wrap_ShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
32592 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction
) _wrap_ShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
32593 { (char *)"ShapeRegion_SetPenColour", (PyCFunction
) _wrap_ShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
32594 { (char *)"ShapeRegion_GetActualPen", (PyCFunction
) _wrap_ShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
32595 { (char *)"ShapeRegion_GetWidth", (PyCFunction
) _wrap_ShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
32596 { (char *)"ShapeRegion_GetHeight", (PyCFunction
) _wrap_ShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
32597 { (char *)"ShapeRegion_ClearText", (PyCFunction
) _wrap_ShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
32598 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister
, METH_VARARGS
},
32599 { (char *)"new_AttachmentPoint", (PyCFunction
) _wrap_new_AttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
32600 { (char *)"AttachmentPoint_m_id_set", (PyCFunction
) _wrap_AttachmentPoint_m_id_set
, METH_VARARGS
| METH_KEYWORDS
},
32601 { (char *)"AttachmentPoint_m_id_get", (PyCFunction
) _wrap_AttachmentPoint_m_id_get
, METH_VARARGS
| METH_KEYWORDS
},
32602 { (char *)"AttachmentPoint_m_x_set", (PyCFunction
) _wrap_AttachmentPoint_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
32603 { (char *)"AttachmentPoint_m_x_get", (PyCFunction
) _wrap_AttachmentPoint_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
32604 { (char *)"AttachmentPoint_m_y_set", (PyCFunction
) _wrap_AttachmentPoint_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
32605 { (char *)"AttachmentPoint_m_y_get", (PyCFunction
) _wrap_AttachmentPoint_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
32606 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister
, METH_VARARGS
},
32607 { (char *)"new_PyShapeEvtHandler", (PyCFunction
) _wrap_new_PyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
32608 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32609 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
32610 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
32611 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
32612 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
32613 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
32614 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_PyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
32615 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32616 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32617 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32618 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32619 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32620 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32621 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32622 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32623 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32624 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32625 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32626 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32627 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32628 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32629 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32630 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32631 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32632 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32633 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32634 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32635 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32636 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32637 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32638 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32639 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32640 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32641 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32642 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32643 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32644 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister
, METH_VARARGS
},
32645 { (char *)"new_PyShape", (PyCFunction
) _wrap_new_PyShape
, METH_VARARGS
| METH_KEYWORDS
},
32646 { (char *)"PyShape__setCallbackInfo", (PyCFunction
) _wrap_PyShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32647 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
32648 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
32649 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction
) _wrap_PyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
32650 { (char *)"PyShape_GetCanvas", (PyCFunction
) _wrap_PyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32651 { (char *)"PyShape_SetCanvas", (PyCFunction
) _wrap_PyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32652 { (char *)"PyShape_AddToCanvas", (PyCFunction
) _wrap_PyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32653 { (char *)"PyShape_InsertInCanvas", (PyCFunction
) _wrap_PyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32654 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction
) _wrap_PyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32655 { (char *)"PyShape_GetX", (PyCFunction
) _wrap_PyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
32656 { (char *)"PyShape_GetY", (PyCFunction
) _wrap_PyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
32657 { (char *)"PyShape_SetX", (PyCFunction
) _wrap_PyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
32658 { (char *)"PyShape_SetY", (PyCFunction
) _wrap_PyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
32659 { (char *)"PyShape_GetParent", (PyCFunction
) _wrap_PyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
32660 { (char *)"PyShape_SetParent", (PyCFunction
) _wrap_PyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
32661 { (char *)"PyShape_GetTopAncestor", (PyCFunction
) _wrap_PyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
32662 { (char *)"PyShape_GetChildren", (PyCFunction
) _wrap_PyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
32663 { (char *)"PyShape_Unlink", (PyCFunction
) _wrap_PyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
32664 { (char *)"PyShape_SetDrawHandles", (PyCFunction
) _wrap_PyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
32665 { (char *)"PyShape_GetDrawHandles", (PyCFunction
) _wrap_PyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
32666 { (char *)"PyShape_MakeControlPoints", (PyCFunction
) _wrap_PyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32667 { (char *)"PyShape_DeleteControlPoints", (PyCFunction
) _wrap_PyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32668 { (char *)"PyShape_ResetControlPoints", (PyCFunction
) _wrap_PyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32669 { (char *)"PyShape_GetEventHandler", (PyCFunction
) _wrap_PyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
32670 { (char *)"PyShape_SetEventHandler", (PyCFunction
) _wrap_PyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
32671 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32672 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32673 { (char *)"PyShape_Recompute", (PyCFunction
) _wrap_PyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
32674 { (char *)"PyShape_CalculateSize", (PyCFunction
) _wrap_PyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
32675 { (char *)"PyShape_Select", (PyCFunction
) _wrap_PyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
32676 { (char *)"PyShape_SetHighlight", (PyCFunction
) _wrap_PyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32677 { (char *)"PyShape_IsHighlighted", (PyCFunction
) _wrap_PyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
32678 { (char *)"PyShape_Selected", (PyCFunction
) _wrap_PyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
32679 { (char *)"PyShape_AncestorSelected", (PyCFunction
) _wrap_PyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
32680 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction
) _wrap_PyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
32681 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction
) _wrap_PyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
32682 { (char *)"PyShape_SetDraggable", (PyCFunction
) _wrap_PyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
32683 { (char *)"PyShape_SetFixedSize", (PyCFunction
) _wrap_PyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
32684 { (char *)"PyShape_GetFixedSize", (PyCFunction
) _wrap_PyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
32685 { (char *)"PyShape_GetFixedWidth", (PyCFunction
) _wrap_PyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
32686 { (char *)"PyShape_GetFixedHeight", (PyCFunction
) _wrap_PyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
32687 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction
) _wrap_PyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32688 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction
) _wrap_PyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32689 { (char *)"PyShape_SetShadowMode", (PyCFunction
) _wrap_PyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
32690 { (char *)"PyShape_GetShadowMode", (PyCFunction
) _wrap_PyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
32691 { (char *)"PyShape_HitTest", (PyCFunction
) _wrap_PyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
32692 { (char *)"PyShape_SetCentreResize", (PyCFunction
) _wrap_PyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
32693 { (char *)"PyShape_GetCentreResize", (PyCFunction
) _wrap_PyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
32694 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
32695 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
32696 { (char *)"PyShape_GetLines", (PyCFunction
) _wrap_PyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
32697 { (char *)"PyShape_SetDisableLabel", (PyCFunction
) _wrap_PyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
32698 { (char *)"PyShape_GetDisableLabel", (PyCFunction
) _wrap_PyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
32699 { (char *)"PyShape_SetAttachmentMode", (PyCFunction
) _wrap_PyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
32700 { (char *)"PyShape_GetAttachmentMode", (PyCFunction
) _wrap_PyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
32701 { (char *)"PyShape_SetId", (PyCFunction
) _wrap_PyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
32702 { (char *)"PyShape_GetId", (PyCFunction
) _wrap_PyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
32703 { (char *)"PyShape_SetPen", (PyCFunction
) _wrap_PyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
32704 { (char *)"PyShape_SetBrush", (PyCFunction
) _wrap_PyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
32705 { (char *)"PyShape_Show", (PyCFunction
) _wrap_PyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
32706 { (char *)"PyShape_IsShown", (PyCFunction
) _wrap_PyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
32707 { (char *)"PyShape_Move", (PyCFunction
) _wrap_PyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
32708 { (char *)"PyShape_Erase", (PyCFunction
) _wrap_PyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
32709 { (char *)"PyShape_EraseContents", (PyCFunction
) _wrap_PyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32710 { (char *)"PyShape_Draw", (PyCFunction
) _wrap_PyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
32711 { (char *)"PyShape_Flash", (PyCFunction
) _wrap_PyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
32712 { (char *)"PyShape_MoveLinks", (PyCFunction
) _wrap_PyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32713 { (char *)"PyShape_DrawContents", (PyCFunction
) _wrap_PyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32714 { (char *)"PyShape_SetSize", (PyCFunction
) _wrap_PyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
32715 { (char *)"PyShape_SetAttachmentSize", (PyCFunction
) _wrap_PyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
32716 { (char *)"PyShape_Attach", (PyCFunction
) _wrap_PyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
32717 { (char *)"PyShape_Detach", (PyCFunction
) _wrap_PyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
32718 { (char *)"PyShape_Constrain", (PyCFunction
) _wrap_PyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
32719 { (char *)"PyShape_AddLine", (PyCFunction
) _wrap_PyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
32720 { (char *)"PyShape_GetLinePosition", (PyCFunction
) _wrap_PyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
32721 { (char *)"PyShape_AddText", (PyCFunction
) _wrap_PyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
32722 { (char *)"PyShape_GetPen", (PyCFunction
) _wrap_PyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
32723 { (char *)"PyShape_GetBrush", (PyCFunction
) _wrap_PyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
32724 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_PyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
32725 { (char *)"PyShape_FormatText", (PyCFunction
) _wrap_PyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
32726 { (char *)"PyShape_SetFormatMode", (PyCFunction
) _wrap_PyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
32727 { (char *)"PyShape_GetFormatMode", (PyCFunction
) _wrap_PyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
32728 { (char *)"PyShape_SetFont", (PyCFunction
) _wrap_PyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
32729 { (char *)"PyShape_GetFont", (PyCFunction
) _wrap_PyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
32730 { (char *)"PyShape_SetTextColour", (PyCFunction
) _wrap_PyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32731 { (char *)"PyShape_GetTextColour", (PyCFunction
) _wrap_PyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32732 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_PyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
32733 { (char *)"PyShape_SetRegionName", (PyCFunction
) _wrap_PyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
32734 { (char *)"PyShape_GetRegionName", (PyCFunction
) _wrap_PyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
32735 { (char *)"PyShape_GetRegionId", (PyCFunction
) _wrap_PyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
32736 { (char *)"PyShape_NameRegions", (PyCFunction
) _wrap_PyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
32737 { (char *)"PyShape_GetRegions", (PyCFunction
) _wrap_PyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
32738 { (char *)"PyShape_AddRegion", (PyCFunction
) _wrap_PyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
32739 { (char *)"PyShape_ClearRegions", (PyCFunction
) _wrap_PyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
32740 { (char *)"PyShape_AssignNewIds", (PyCFunction
) _wrap_PyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
32741 { (char *)"PyShape_FindRegion", (PyCFunction
) _wrap_PyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
32742 { (char *)"PyShape_FindRegionNames", (PyCFunction
) _wrap_PyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
32743 { (char *)"PyShape_ClearText", (PyCFunction
) _wrap_PyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
32744 { (char *)"PyShape_RemoveLine", (PyCFunction
) _wrap_PyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
32745 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction
) _wrap_PyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
32746 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_PyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32747 { (char *)"PyShape_AttachmentIsValid", (PyCFunction
) _wrap_PyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
32748 { (char *)"PyShape_GetAttachments", (PyCFunction
) _wrap_PyShape_GetAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32749 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_PyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
32750 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_PyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
32751 { (char *)"PyShape_AttachmentSortTest", (PyCFunction
) _wrap_PyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
32752 { (char *)"PyShape_EraseLinks", (PyCFunction
) _wrap_PyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
32753 { (char *)"PyShape_DrawLinks", (PyCFunction
) _wrap_PyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
32754 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_PyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
32755 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_PyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
32756 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
32757 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
32758 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
32759 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_PyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
32760 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction
) _wrap_PyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
32761 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction
) _wrap_PyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
32762 { (char *)"PyShape_SetBranchStemLength", (PyCFunction
) _wrap_PyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
32763 { (char *)"PyShape_GetBranchStemLength", (PyCFunction
) _wrap_PyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
32764 { (char *)"PyShape_SetBranchSpacing", (PyCFunction
) _wrap_PyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
32765 { (char *)"PyShape_GetBranchSpacing", (PyCFunction
) _wrap_PyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
32766 { (char *)"PyShape_SetBranchStyle", (PyCFunction
) _wrap_PyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
32767 { (char *)"PyShape_GetBranchStyle", (PyCFunction
) _wrap_PyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
32768 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_PyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
32769 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_PyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
32770 { (char *)"PyShape_Draggable", (PyCFunction
) _wrap_PyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
32771 { (char *)"PyShape_HasDescendant", (PyCFunction
) _wrap_PyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
32772 { (char *)"PyShape_CreateNewCopy", (PyCFunction
) _wrap_PyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
32773 { (char *)"PyShape_Copy", (PyCFunction
) _wrap_PyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
32774 { (char *)"PyShape_CopyWithHandler", (PyCFunction
) _wrap_PyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
32775 { (char *)"PyShape_Rotate", (PyCFunction
) _wrap_PyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
32776 { (char *)"PyShape_GetRotation", (PyCFunction
) _wrap_PyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
32777 { (char *)"PyShape_SetRotation", (PyCFunction
) _wrap_PyShape_SetRotation
, METH_VARARGS
| METH_KEYWORDS
},
32778 { (char *)"PyShape_ClearAttachments", (PyCFunction
) _wrap_PyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32779 { (char *)"PyShape_Recentre", (PyCFunction
) _wrap_PyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
32780 { (char *)"PyShape_ClearPointList", (PyCFunction
) _wrap_PyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
32781 { (char *)"PyShape_GetBackgroundPen", (PyCFunction
) _wrap_PyShape_GetBackgroundPen
, METH_VARARGS
| METH_KEYWORDS
},
32782 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction
) _wrap_PyShape_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
},
32783 { (char *)"PyShape_base_OnDelete", (PyCFunction
) _wrap_PyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32784 { (char *)"PyShape_base_OnDraw", (PyCFunction
) _wrap_PyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32785 { (char *)"PyShape_base_OnDrawContents", (PyCFunction
) _wrap_PyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32786 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32787 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32788 { (char *)"PyShape_base_OnErase", (PyCFunction
) _wrap_PyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32789 { (char *)"PyShape_base_OnEraseContents", (PyCFunction
) _wrap_PyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32790 { (char *)"PyShape_base_OnHighlight", (PyCFunction
) _wrap_PyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32791 { (char *)"PyShape_base_OnLeftClick", (PyCFunction
) _wrap_PyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32792 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32793 { (char *)"PyShape_base_OnRightClick", (PyCFunction
) _wrap_PyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32794 { (char *)"PyShape_base_OnSize", (PyCFunction
) _wrap_PyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32795 { (char *)"PyShape_base_OnMovePre", (PyCFunction
) _wrap_PyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32796 { (char *)"PyShape_base_OnMovePost", (PyCFunction
) _wrap_PyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32797 { (char *)"PyShape_base_OnDragLeft", (PyCFunction
) _wrap_PyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32798 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32799 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32800 { (char *)"PyShape_base_OnDragRight", (PyCFunction
) _wrap_PyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32801 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32802 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32803 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32804 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32805 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32806 { (char *)"PyShape_base_OnMoveLink", (PyCFunction
) _wrap_PyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32807 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32808 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32809 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32810 { (char *)"PyShape_base_OnBeginSize", (PyCFunction
) _wrap_PyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32811 { (char *)"PyShape_base_OnEndSize", (PyCFunction
) _wrap_PyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32812 { (char *)"PyShape_swigregister", PyShape_swigregister
, METH_VARARGS
},
32813 { (char *)"new_PseudoMetaFile", (PyCFunction
) _wrap_new_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32814 { (char *)"delete_PseudoMetaFile", (PyCFunction
) _wrap_delete_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32815 { (char *)"PseudoMetaFile_Draw", (PyCFunction
) _wrap_PseudoMetaFile_Draw
, METH_VARARGS
| METH_KEYWORDS
},
32816 { (char *)"PseudoMetaFile_Clear", (PyCFunction
) _wrap_PseudoMetaFile_Clear
, METH_VARARGS
| METH_KEYWORDS
},
32817 { (char *)"PseudoMetaFile_Copy", (PyCFunction
) _wrap_PseudoMetaFile_Copy
, METH_VARARGS
| METH_KEYWORDS
},
32818 { (char *)"PseudoMetaFile_Scale", (PyCFunction
) _wrap_PseudoMetaFile_Scale
, METH_VARARGS
| METH_KEYWORDS
},
32819 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction
) _wrap_PseudoMetaFile_ScaleTo
, METH_VARARGS
| METH_KEYWORDS
},
32820 { (char *)"PseudoMetaFile_Translate", (PyCFunction
) _wrap_PseudoMetaFile_Translate
, METH_VARARGS
| METH_KEYWORDS
},
32821 { (char *)"PseudoMetaFile_Rotate", (PyCFunction
) _wrap_PseudoMetaFile_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
32822 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction
) _wrap_PseudoMetaFile_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32823 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction
) _wrap_PseudoMetaFile_GetBounds
, METH_VARARGS
| METH_KEYWORDS
},
32824 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction
) _wrap_PseudoMetaFile_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
32825 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_SetRotateable
, METH_VARARGS
| METH_KEYWORDS
},
32826 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_GetRotateable
, METH_VARARGS
| METH_KEYWORDS
},
32827 { (char *)"PseudoMetaFile_SetSize", (PyCFunction
) _wrap_PseudoMetaFile_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
32828 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetFillBrush
, METH_VARARGS
| METH_KEYWORDS
},
32829 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_GetFillBrush
, METH_VARARGS
| METH_KEYWORDS
},
32830 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
},
32831 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
},
32832 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
},
32833 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
},
32834 { (char *)"PseudoMetaFile_IsValid", (PyCFunction
) _wrap_PseudoMetaFile_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
32835 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction
) _wrap_PseudoMetaFile_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
32836 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
32837 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
32838 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
32839 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
32840 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
32841 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction
) _wrap_PseudoMetaFile_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
32842 { (char *)"PseudoMetaFile_DrawText", (PyCFunction
) _wrap_PseudoMetaFile_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
32843 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction
) _wrap_PseudoMetaFile_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
32844 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction
) _wrap_PseudoMetaFile_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
32845 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction
) _wrap_PseudoMetaFile_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
32846 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
32847 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
32848 { (char *)"PseudoMetaFile_SetPen", (PyCFunction
) _wrap_PseudoMetaFile_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
32849 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
32850 { (char *)"PseudoMetaFile_SetFont", (PyCFunction
) _wrap_PseudoMetaFile_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
32851 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction
) _wrap_PseudoMetaFile_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32852 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32853 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
32854 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister
, METH_VARARGS
},
32855 { (char *)"new_PyRectangleShape", (PyCFunction
) _wrap_new_PyRectangleShape
, METH_VARARGS
| METH_KEYWORDS
},
32856 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction
) _wrap_PyRectangleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32857 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
32858 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_GetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
32859 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction
) _wrap_PyRectangleShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32860 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction
) _wrap_PyRectangleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32861 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32862 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32863 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32864 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction
) _wrap_PyRectangleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32865 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32866 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction
) _wrap_PyRectangleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32867 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32868 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32869 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32870 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32871 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32872 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32873 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32874 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32875 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32876 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32877 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32878 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32879 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32880 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32881 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32882 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32883 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32884 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32885 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32886 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32887 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32888 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister
, METH_VARARGS
},
32889 { (char *)"new_PyControlPoint", (PyCFunction
) _wrap_new_PyControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
32890 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction
) _wrap_PyControlPoint__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32891 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction
) _wrap_PyControlPoint_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
32892 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction
) _wrap_PyControlPoint_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32893 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction
) _wrap_PyControlPoint_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32894 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32895 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32896 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32897 { (char *)"PyControlPoint_base_OnErase", (PyCFunction
) _wrap_PyControlPoint_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32898 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32899 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction
) _wrap_PyControlPoint_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32900 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32901 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32902 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction
) _wrap_PyControlPoint_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32903 { (char *)"PyControlPoint_base_OnSize", (PyCFunction
) _wrap_PyControlPoint_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32904 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32905 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32906 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32907 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32908 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32909 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32910 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32911 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32912 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32913 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32914 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32915 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32916 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32917 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32918 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32919 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32920 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction
) _wrap_PyControlPoint_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32921 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister
, METH_VARARGS
},
32922 { (char *)"new_PyBitmapShape", (PyCFunction
) _wrap_new_PyBitmapShape
, METH_VARARGS
| METH_KEYWORDS
},
32923 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32924 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction
) _wrap_PyBitmapShape_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
32925 { (char *)"PyBitmapShape_GetFilename", (PyCFunction
) _wrap_PyBitmapShape_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
32926 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction
) _wrap_PyBitmapShape_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
32927 { (char *)"PyBitmapShape_SetFilename", (PyCFunction
) _wrap_PyBitmapShape_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
32928 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction
) _wrap_PyBitmapShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32929 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction
) _wrap_PyBitmapShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32930 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32931 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32932 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32933 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction
) _wrap_PyBitmapShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32934 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32935 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction
) _wrap_PyBitmapShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32936 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32937 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32938 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32939 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32940 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32941 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32942 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32943 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32944 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32945 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32946 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32947 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32948 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32949 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32950 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32951 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32952 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32953 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32954 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32955 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32956 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32957 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister
, METH_VARARGS
},
32958 { (char *)"new_PyDrawnShape", (PyCFunction
) _wrap_new_PyDrawnShape
, METH_VARARGS
| METH_KEYWORDS
},
32959 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction
) _wrap_PyDrawnShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32960 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction
) _wrap_PyDrawnShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
32961 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction
) _wrap_PyDrawnShape_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
32962 { (char *)"PyDrawnShape_DrawArc", (PyCFunction
) _wrap_PyDrawnShape_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
32963 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction
) _wrap_PyDrawnShape_DrawAtAngle
, METH_VARARGS
| METH_KEYWORDS
},
32964 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction
) _wrap_PyDrawnShape_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
32965 { (char *)"PyDrawnShape_DrawLine", (PyCFunction
) _wrap_PyDrawnShape_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
32966 { (char *)"PyDrawnShape_DrawLines", (PyCFunction
) _wrap_PyDrawnShape_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
32967 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction
) _wrap_PyDrawnShape_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
32968 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction
) _wrap_PyDrawnShape_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
32969 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
32970 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
32971 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction
) _wrap_PyDrawnShape_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
32972 { (char *)"PyDrawnShape_DrawText", (PyCFunction
) _wrap_PyDrawnShape_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
32973 { (char *)"PyDrawnShape_GetAngle", (PyCFunction
) _wrap_PyDrawnShape_GetAngle
, METH_VARARGS
| METH_KEYWORDS
},
32974 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction
) _wrap_PyDrawnShape_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32975 { (char *)"PyDrawnShape_GetRotation", (PyCFunction
) _wrap_PyDrawnShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
32976 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction
) _wrap_PyDrawnShape_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32977 { (char *)"PyDrawnShape_Rotate", (PyCFunction
) _wrap_PyDrawnShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
32978 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction
) _wrap_PyDrawnShape_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
32979 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32980 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
32981 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBrush
, METH_VARARGS
| METH_KEYWORDS
},
32982 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnFont
, METH_VARARGS
| METH_KEYWORDS
},
32983 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnPen
, METH_VARARGS
| METH_KEYWORDS
},
32984 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32985 { (char *)"PyDrawnShape_Scale", (PyCFunction
) _wrap_PyDrawnShape_Scale
, METH_VARARGS
| METH_KEYWORDS
},
32986 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction
) _wrap_PyDrawnShape_SetSaveToFile
, METH_VARARGS
| METH_KEYWORDS
},
32987 { (char *)"PyDrawnShape_Translate", (PyCFunction
) _wrap_PyDrawnShape_Translate
, METH_VARARGS
| METH_KEYWORDS
},
32988 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction
) _wrap_PyDrawnShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32989 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction
) _wrap_PyDrawnShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32990 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32991 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32992 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32993 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction
) _wrap_PyDrawnShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32994 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32995 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction
) _wrap_PyDrawnShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32996 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32997 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32998 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32999 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33000 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33001 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33002 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33003 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33004 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33005 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33006 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33007 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33008 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33009 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33010 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33011 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33012 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33013 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33014 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33015 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33016 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33017 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister
, METH_VARARGS
},
33018 { (char *)"new_OGLConstraint", (PyCFunction
) _wrap_new_OGLConstraint
, METH_VARARGS
| METH_KEYWORDS
},
33019 { (char *)"OGLConstraint_Evaluate", (PyCFunction
) _wrap_OGLConstraint_Evaluate
, METH_VARARGS
| METH_KEYWORDS
},
33020 { (char *)"OGLConstraint_SetSpacing", (PyCFunction
) _wrap_OGLConstraint_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33021 { (char *)"OGLConstraint_Equals", (PyCFunction
) _wrap_OGLConstraint_Equals
, METH_VARARGS
| METH_KEYWORDS
},
33022 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister
, METH_VARARGS
},
33023 { (char *)"new_PyCompositeShape", (PyCFunction
) _wrap_new_PyCompositeShape
, METH_VARARGS
| METH_KEYWORDS
},
33024 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction
) _wrap_PyCompositeShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33025 { (char *)"PyCompositeShape_AddChild", (PyCFunction
) _wrap_PyCompositeShape_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
33026 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddConstraint
, METH_VARARGS
| METH_KEYWORDS
},
33027 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction
) _wrap_PyCompositeShape_AddConstrainedShapes
, METH_VARARGS
| METH_KEYWORDS
},
33028 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddSimpleConstraint
, METH_VARARGS
| METH_KEYWORDS
},
33029 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction
) _wrap_PyCompositeShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
33030 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction
) _wrap_PyCompositeShape_ContainsDivision
, METH_VARARGS
| METH_KEYWORDS
},
33031 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraint
, METH_VARARGS
| METH_KEYWORDS
},
33032 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild
, METH_VARARGS
| METH_KEYWORDS
},
33033 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction
) _wrap_PyCompositeShape_FindContainerImage
, METH_VARARGS
| METH_KEYWORDS
},
33034 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction
) _wrap_PyCompositeShape_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
33035 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction
) _wrap_PyCompositeShape_GetDivisions
, METH_VARARGS
| METH_KEYWORDS
},
33036 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction
) _wrap_PyCompositeShape_MakeContainer
, METH_VARARGS
| METH_KEYWORDS
},
33037 { (char *)"PyCompositeShape_Recompute", (PyCFunction
) _wrap_PyCompositeShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
33038 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction
) _wrap_PyCompositeShape_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
33039 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction
) _wrap_PyCompositeShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33040 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction
) _wrap_PyCompositeShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33041 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33042 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33043 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33044 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction
) _wrap_PyCompositeShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33045 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33046 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction
) _wrap_PyCompositeShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33047 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33048 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33049 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33050 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33051 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33052 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33053 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33054 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33055 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33056 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33057 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33058 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33059 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33060 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33061 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33062 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33063 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33064 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33065 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33066 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33067 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33068 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister
, METH_VARARGS
},
33069 { (char *)"new_PyDividedShape", (PyCFunction
) _wrap_new_PyDividedShape
, METH_VARARGS
| METH_KEYWORDS
},
33070 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction
) _wrap_PyDividedShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33071 { (char *)"PyDividedShape_EditRegions", (PyCFunction
) _wrap_PyDividedShape_EditRegions
, METH_VARARGS
| METH_KEYWORDS
},
33072 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction
) _wrap_PyDividedShape_SetRegionSizes
, METH_VARARGS
| METH_KEYWORDS
},
33073 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction
) _wrap_PyDividedShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33074 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction
) _wrap_PyDividedShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33075 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33076 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33077 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33078 { (char *)"PyDividedShape_base_OnErase", (PyCFunction
) _wrap_PyDividedShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33079 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33080 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction
) _wrap_PyDividedShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33081 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33082 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33083 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction
) _wrap_PyDividedShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33084 { (char *)"PyDividedShape_base_OnSize", (PyCFunction
) _wrap_PyDividedShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33085 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33086 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33087 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33088 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33089 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33090 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33091 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33092 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33093 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33094 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33095 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33096 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33097 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33098 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33099 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33100 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33101 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction
) _wrap_PyDividedShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33102 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister
, METH_VARARGS
},
33103 { (char *)"new_PyDivisionShape", (PyCFunction
) _wrap_new_PyDivisionShape
, METH_VARARGS
| METH_KEYWORDS
},
33104 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction
) _wrap_PyDivisionShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33105 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction
) _wrap_PyDivisionShape_AdjustBottom
, METH_VARARGS
| METH_KEYWORDS
},
33106 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction
) _wrap_PyDivisionShape_AdjustLeft
, METH_VARARGS
| METH_KEYWORDS
},
33107 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction
) _wrap_PyDivisionShape_AdjustRight
, METH_VARARGS
| METH_KEYWORDS
},
33108 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction
) _wrap_PyDivisionShape_AdjustTop
, METH_VARARGS
| METH_KEYWORDS
},
33109 { (char *)"PyDivisionShape_Divide", (PyCFunction
) _wrap_PyDivisionShape_Divide
, METH_VARARGS
| METH_KEYWORDS
},
33110 { (char *)"PyDivisionShape_EditEdge", (PyCFunction
) _wrap_PyDivisionShape_EditEdge
, METH_VARARGS
| METH_KEYWORDS
},
33111 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_GetBottomSide
, METH_VARARGS
| METH_KEYWORDS
},
33112 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_GetHandleSide
, METH_VARARGS
| METH_KEYWORDS
},
33113 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSide
, METH_VARARGS
| METH_KEYWORDS
},
33114 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
},
33115 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
},
33116 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction
) _wrap_PyDivisionShape_GetRightSide
, METH_VARARGS
| METH_KEYWORDS
},
33117 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction
) _wrap_PyDivisionShape_GetTopSide
, METH_VARARGS
| METH_KEYWORDS
},
33118 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
},
33119 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction
) _wrap_PyDivisionShape_ResizeAdjoining
, METH_VARARGS
| METH_KEYWORDS
},
33120 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction
) _wrap_PyDivisionShape_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
33121 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_SetBottomSide
, METH_VARARGS
| METH_KEYWORDS
},
33122 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_SetHandleSide
, METH_VARARGS
| METH_KEYWORDS
},
33123 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSide
, METH_VARARGS
| METH_KEYWORDS
},
33124 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
},
33125 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
},
33126 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction
) _wrap_PyDivisionShape_SetRightSide
, METH_VARARGS
| METH_KEYWORDS
},
33127 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction
) _wrap_PyDivisionShape_SetTopSide
, METH_VARARGS
| METH_KEYWORDS
},
33128 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetTopSideColour
, METH_VARARGS
| METH_KEYWORDS
},
33129 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
},
33130 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction
) _wrap_PyDivisionShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33131 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction
) _wrap_PyDivisionShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33132 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33133 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33134 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33135 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction
) _wrap_PyDivisionShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33136 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33137 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction
) _wrap_PyDivisionShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33138 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33139 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33140 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33141 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33142 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33143 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33144 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33145 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33146 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33147 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33148 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33149 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33150 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33151 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33152 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33153 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33154 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33155 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33156 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33157 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33158 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33159 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister
, METH_VARARGS
},
33160 { (char *)"new_PyEllipseShape", (PyCFunction
) _wrap_new_PyEllipseShape
, METH_VARARGS
| METH_KEYWORDS
},
33161 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction
) _wrap_PyEllipseShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33162 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction
) _wrap_PyEllipseShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33163 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33164 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33165 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33166 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction
) _wrap_PyEllipseShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33167 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33168 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction
) _wrap_PyEllipseShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33169 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33170 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33171 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33172 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33173 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33174 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33175 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33176 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33177 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33178 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33179 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33180 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33181 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33182 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33183 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33184 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33185 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33186 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33187 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33188 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33189 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33190 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister
, METH_VARARGS
},
33191 { (char *)"new_PyCircleShape", (PyCFunction
) _wrap_new_PyCircleShape
, METH_VARARGS
| METH_KEYWORDS
},
33192 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction
) _wrap_PyCircleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33193 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction
) _wrap_PyCircleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33194 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33195 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33196 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33197 { (char *)"PyCircleShape_base_OnErase", (PyCFunction
) _wrap_PyCircleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33198 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33199 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction
) _wrap_PyCircleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33200 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33201 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33202 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction
) _wrap_PyCircleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33203 { (char *)"PyCircleShape_base_OnSize", (PyCFunction
) _wrap_PyCircleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33204 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33205 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33206 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33207 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33208 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33209 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33210 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33211 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33212 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33213 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33214 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33215 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33216 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33217 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33218 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33219 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33220 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction
) _wrap_PyCircleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33221 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister
, METH_VARARGS
},
33222 { (char *)"new_ArrowHead", (PyCFunction
) _wrap_new_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
33223 { (char *)"delete_ArrowHead", (PyCFunction
) _wrap_delete_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
33224 { (char *)"ArrowHead__GetType", (PyCFunction
) _wrap_ArrowHead__GetType
, METH_VARARGS
| METH_KEYWORDS
},
33225 { (char *)"ArrowHead_GetPosition", (PyCFunction
) _wrap_ArrowHead_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
33226 { (char *)"ArrowHead_SetPosition", (PyCFunction
) _wrap_ArrowHead_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
33227 { (char *)"ArrowHead_GetXOffset", (PyCFunction
) _wrap_ArrowHead_GetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
33228 { (char *)"ArrowHead_GetYOffset", (PyCFunction
) _wrap_ArrowHead_GetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
33229 { (char *)"ArrowHead_GetSpacing", (PyCFunction
) _wrap_ArrowHead_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33230 { (char *)"ArrowHead_GetSize", (PyCFunction
) _wrap_ArrowHead_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
33231 { (char *)"ArrowHead_GetName", (PyCFunction
) _wrap_ArrowHead_GetName
, METH_VARARGS
| METH_KEYWORDS
},
33232 { (char *)"ArrowHead_SetXOffset", (PyCFunction
) _wrap_ArrowHead_SetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
33233 { (char *)"ArrowHead_SetYOffset", (PyCFunction
) _wrap_ArrowHead_SetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
33234 { (char *)"ArrowHead_GetMetaFile", (PyCFunction
) _wrap_ArrowHead_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
33235 { (char *)"ArrowHead_GetId", (PyCFunction
) _wrap_ArrowHead_GetId
, METH_VARARGS
| METH_KEYWORDS
},
33236 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction
) _wrap_ArrowHead_GetArrowEnd
, METH_VARARGS
| METH_KEYWORDS
},
33237 { (char *)"ArrowHead_GetArrowSize", (PyCFunction
) _wrap_ArrowHead_GetArrowSize
, METH_VARARGS
| METH_KEYWORDS
},
33238 { (char *)"ArrowHead_SetSize", (PyCFunction
) _wrap_ArrowHead_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
33239 { (char *)"ArrowHead_SetSpacing", (PyCFunction
) _wrap_ArrowHead_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33240 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister
, METH_VARARGS
},
33241 { (char *)"new_PyLineShape", (PyCFunction
) _wrap_new_PyLineShape
, METH_VARARGS
| METH_KEYWORDS
},
33242 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction
) _wrap_PyLineShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33243 { (char *)"PyLineShape_AddArrow", (PyCFunction
) _wrap_PyLineShape_AddArrow
, METH_VARARGS
| METH_KEYWORDS
},
33244 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction
) _wrap_PyLineShape_AddArrowOrdered
, METH_VARARGS
| METH_KEYWORDS
},
33245 { (char *)"PyLineShape_ClearArrow", (PyCFunction
) _wrap_PyLineShape_ClearArrow
, METH_VARARGS
| METH_KEYWORDS
},
33246 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction
) _wrap_PyLineShape_ClearArrowsAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
33247 { (char *)"PyLineShape_DrawArrow", (PyCFunction
) _wrap_PyLineShape_DrawArrow
, METH_VARARGS
| METH_KEYWORDS
},
33248 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
33249 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
33250 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction
) _wrap_PyLineShape_DeleteLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
33251 { (char *)"PyLineShape_DrawArrows", (PyCFunction
) _wrap_PyLineShape_DrawArrows
, METH_VARARGS
| METH_KEYWORDS
},
33252 { (char *)"PyLineShape_DrawRegion", (PyCFunction
) _wrap_PyLineShape_DrawRegion
, METH_VARARGS
| METH_KEYWORDS
},
33253 { (char *)"PyLineShape_EraseRegion", (PyCFunction
) _wrap_PyLineShape_EraseRegion
, METH_VARARGS
| METH_KEYWORDS
},
33254 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction
) _wrap_PyLineShape_FindArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
33255 { (char *)"PyLineShape_FindArrowHead", (PyCFunction
) _wrap_PyLineShape_FindArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
33256 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction
) _wrap_PyLineShape_FindLineEndPoints
, METH_VARARGS
| METH_KEYWORDS
},
33257 { (char *)"PyLineShape_FindLinePosition", (PyCFunction
) _wrap_PyLineShape_FindLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
33258 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction
) _wrap_PyLineShape_FindMinimumWidth
, METH_VARARGS
| METH_KEYWORDS
},
33259 { (char *)"PyLineShape_FindNth", (PyCFunction
) _wrap_PyLineShape_FindNth
, METH_VARARGS
| METH_KEYWORDS
},
33260 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_GetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
33261 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_GetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
33262 { (char *)"PyLineShape_GetEnds", (PyCFunction
) _wrap_PyLineShape_GetEnds
, METH_VARARGS
| METH_KEYWORDS
},
33263 { (char *)"PyLineShape_GetFrom", (PyCFunction
) _wrap_PyLineShape_GetFrom
, METH_VARARGS
| METH_KEYWORDS
},
33264 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction
) _wrap_PyLineShape_GetLabelPosition
, METH_VARARGS
| METH_KEYWORDS
},
33265 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction
) _wrap_PyLineShape_GetNextControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
33266 { (char *)"PyLineShape_GetTo", (PyCFunction
) _wrap_PyLineShape_GetTo
, METH_VARARGS
| METH_KEYWORDS
},
33267 { (char *)"PyLineShape_Initialise", (PyCFunction
) _wrap_PyLineShape_Initialise
, METH_VARARGS
| METH_KEYWORDS
},
33268 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction
) _wrap_PyLineShape_InsertLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
33269 { (char *)"PyLineShape_IsEnd", (PyCFunction
) _wrap_PyLineShape_IsEnd
, METH_VARARGS
| METH_KEYWORDS
},
33270 { (char *)"PyLineShape_IsSpline", (PyCFunction
) _wrap_PyLineShape_IsSpline
, METH_VARARGS
| METH_KEYWORDS
},
33271 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction
) _wrap_PyLineShape_MakeLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33272 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction
) _wrap_PyLineShape_GetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33273 { (char *)"PyLineShape_SetLineControlPoints", (PyCFunction
) _wrap_PyLineShape_SetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33274 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_SetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
33275 { (char *)"PyLineShape_SetAttachments", (PyCFunction
) _wrap_PyLineShape_SetAttachments
, METH_VARARGS
| METH_KEYWORDS
},
33276 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_SetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
33277 { (char *)"PyLineShape_SetEnds", (PyCFunction
) _wrap_PyLineShape_SetEnds
, METH_VARARGS
| METH_KEYWORDS
},
33278 { (char *)"PyLineShape_SetFrom", (PyCFunction
) _wrap_PyLineShape_SetFrom
, METH_VARARGS
| METH_KEYWORDS
},
33279 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction
) _wrap_PyLineShape_SetIgnoreOffsets
, METH_VARARGS
| METH_KEYWORDS
},
33280 { (char *)"PyLineShape_SetSpline", (PyCFunction
) _wrap_PyLineShape_SetSpline
, METH_VARARGS
| METH_KEYWORDS
},
33281 { (char *)"PyLineShape_SetTo", (PyCFunction
) _wrap_PyLineShape_SetTo
, METH_VARARGS
| METH_KEYWORDS
},
33282 { (char *)"PyLineShape_Straighten", (PyCFunction
) _wrap_PyLineShape_Straighten
, METH_VARARGS
| METH_KEYWORDS
},
33283 { (char *)"PyLineShape_Unlink", (PyCFunction
) _wrap_PyLineShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
33284 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_SetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
},
33285 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction
) _wrap_PyLineShape_SetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
},
33286 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_GetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
},
33287 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction
) _wrap_PyLineShape_GetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
},
33288 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction
) _wrap_PyLineShape_GetAlignmentStart
, METH_VARARGS
| METH_KEYWORDS
},
33289 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction
) _wrap_PyLineShape_GetAlignmentEnd
, METH_VARARGS
| METH_KEYWORDS
},
33290 { (char *)"PyLineShape_base_OnDraw", (PyCFunction
) _wrap_PyLineShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33291 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction
) _wrap_PyLineShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33292 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyLineShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33293 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33294 { (char *)"PyLineShape_base_OnErase", (PyCFunction
) _wrap_PyLineShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33295 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction
) _wrap_PyLineShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33296 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction
) _wrap_PyLineShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33297 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33298 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33299 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction
) _wrap_PyLineShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33300 { (char *)"PyLineShape_base_OnSize", (PyCFunction
) _wrap_PyLineShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33301 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction
) _wrap_PyLineShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33302 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction
) _wrap_PyLineShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33303 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33304 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33305 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33306 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33307 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33308 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33309 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyLineShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33310 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33311 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33312 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33313 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33314 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33315 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33316 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction
) _wrap_PyLineShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33317 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction
) _wrap_PyLineShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33318 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister
, METH_VARARGS
},
33319 { (char *)"new_PyPolygonShape", (PyCFunction
) _wrap_new_PyPolygonShape
, METH_VARARGS
| METH_KEYWORDS
},
33320 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction
) _wrap_PyPolygonShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33321 { (char *)"PyPolygonShape_Create", (PyCFunction
) _wrap_PyPolygonShape_Create
, METH_VARARGS
| METH_KEYWORDS
},
33322 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_AddPolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
33323 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction
) _wrap_PyPolygonShape_CalculatePolygonCentre
, METH_VARARGS
| METH_KEYWORDS
},
33324 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_DeletePolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
33325 { (char *)"PyPolygonShape_GetPoints", (PyCFunction
) _wrap_PyPolygonShape_GetPoints
, METH_VARARGS
| METH_KEYWORDS
},
33326 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
},
33327 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
},
33328 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
},
33329 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
},
33330 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
},
33331 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_UpdateOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
},
33332 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction
) _wrap_PyPolygonShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33333 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33334 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33335 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33336 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction
) _wrap_PyPolygonShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33337 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33338 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction
) _wrap_PyPolygonShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33339 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33340 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33341 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33342 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33343 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33344 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33345 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33346 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33347 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33348 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33349 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33350 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33351 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33352 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33353 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33354 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33355 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33356 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33357 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33358 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33359 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33360 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister
, METH_VARARGS
},
33361 { (char *)"new_PyTextShape", (PyCFunction
) _wrap_new_PyTextShape
, METH_VARARGS
| METH_KEYWORDS
},
33362 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction
) _wrap_PyTextShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33363 { (char *)"PyTextShape_base_OnDelete", (PyCFunction
) _wrap_PyTextShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33364 { (char *)"PyTextShape_base_OnDraw", (PyCFunction
) _wrap_PyTextShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33365 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction
) _wrap_PyTextShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33366 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyTextShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33367 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33368 { (char *)"PyTextShape_base_OnErase", (PyCFunction
) _wrap_PyTextShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33369 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction
) _wrap_PyTextShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33370 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction
) _wrap_PyTextShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33371 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33372 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33373 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction
) _wrap_PyTextShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33374 { (char *)"PyTextShape_base_OnSize", (PyCFunction
) _wrap_PyTextShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33375 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction
) _wrap_PyTextShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33376 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction
) _wrap_PyTextShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33377 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33378 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33379 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33380 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33381 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33382 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33383 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyTextShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33384 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33385 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33386 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33387 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33388 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33389 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33390 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction
) _wrap_PyTextShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33391 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction
) _wrap_PyTextShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33392 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister
, METH_VARARGS
},
33393 { (char *)"new_Diagram", (PyCFunction
) _wrap_new_Diagram
, METH_VARARGS
| METH_KEYWORDS
},
33394 { (char *)"Diagram_AddShape", (PyCFunction
) _wrap_Diagram_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
33395 { (char *)"Diagram_Clear", (PyCFunction
) _wrap_Diagram_Clear
, METH_VARARGS
| METH_KEYWORDS
},
33396 { (char *)"Diagram_DeleteAllShapes", (PyCFunction
) _wrap_Diagram_DeleteAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
33397 { (char *)"Diagram_DrawOutline", (PyCFunction
) _wrap_Diagram_DrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33398 { (char *)"Diagram_FindShape", (PyCFunction
) _wrap_Diagram_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
33399 { (char *)"Diagram_GetCanvas", (PyCFunction
) _wrap_Diagram_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33400 { (char *)"Diagram_GetCount", (PyCFunction
) _wrap_Diagram_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
33401 { (char *)"Diagram_GetGridSpacing", (PyCFunction
) _wrap_Diagram_GetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33402 { (char *)"Diagram_GetMouseTolerance", (PyCFunction
) _wrap_Diagram_GetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
33403 { (char *)"Diagram_GetShapeList", (PyCFunction
) _wrap_Diagram_GetShapeList
, METH_VARARGS
| METH_KEYWORDS
},
33404 { (char *)"Diagram_GetQuickEditMode", (PyCFunction
) _wrap_Diagram_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
33405 { (char *)"Diagram_GetSnapToGrid", (PyCFunction
) _wrap_Diagram_GetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
33406 { (char *)"Diagram_InsertShape", (PyCFunction
) _wrap_Diagram_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
33407 { (char *)"Diagram_RecentreAll", (PyCFunction
) _wrap_Diagram_RecentreAll
, METH_VARARGS
| METH_KEYWORDS
},
33408 { (char *)"Diagram_Redraw", (PyCFunction
) _wrap_Diagram_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
33409 { (char *)"Diagram_RemoveAllShapes", (PyCFunction
) _wrap_Diagram_RemoveAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
33410 { (char *)"Diagram_RemoveShape", (PyCFunction
) _wrap_Diagram_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
33411 { (char *)"Diagram_SetCanvas", (PyCFunction
) _wrap_Diagram_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33412 { (char *)"Diagram_SetGridSpacing", (PyCFunction
) _wrap_Diagram_SetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33413 { (char *)"Diagram_SetMouseTolerance", (PyCFunction
) _wrap_Diagram_SetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
33414 { (char *)"Diagram_SetQuickEditMode", (PyCFunction
) _wrap_Diagram_SetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
33415 { (char *)"Diagram_SetSnapToGrid", (PyCFunction
) _wrap_Diagram_SetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
33416 { (char *)"Diagram_ShowAll", (PyCFunction
) _wrap_Diagram_ShowAll
, METH_VARARGS
| METH_KEYWORDS
},
33417 { (char *)"Diagram_Snap", (PyCFunction
) _wrap_Diagram_Snap
, METH_VARARGS
| METH_KEYWORDS
},
33418 { (char *)"Diagram_swigregister", Diagram_swigregister
, METH_VARARGS
},
33419 { (char *)"new_PyShapeCanvas", (PyCFunction
) _wrap_new_PyShapeCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33420 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction
) _wrap_PyShapeCanvas__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33421 { (char *)"PyShapeCanvas_AddShape", (PyCFunction
) _wrap_PyShapeCanvas_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
33422 { (char *)"PyShapeCanvas_FindShape", (PyCFunction
) _wrap_PyShapeCanvas_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
33423 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction
) _wrap_PyShapeCanvas_FindFirstSensitiveShape
, METH_VARARGS
| METH_KEYWORDS
},
33424 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_GetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
33425 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction
) _wrap_PyShapeCanvas_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
33426 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction
) _wrap_PyShapeCanvas_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
33427 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33428 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33429 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33430 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33431 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33432 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33433 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33434 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33435 { (char *)"PyShapeCanvas_Redraw", (PyCFunction
) _wrap_PyShapeCanvas_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
33436 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction
) _wrap_PyShapeCanvas_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
33437 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_SetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
33438 { (char *)"PyShapeCanvas_Snap", (PyCFunction
) _wrap_PyShapeCanvas_Snap
, METH_VARARGS
| METH_KEYWORDS
},
33439 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister
, METH_VARARGS
},
33440 { (char *)"OGLInitialize", (PyCFunction
) _wrap_OGLInitialize
, METH_VARARGS
| METH_KEYWORDS
},
33441 { (char *)"OGLCleanUp", (PyCFunction
) _wrap_OGLCleanUp
, METH_VARARGS
| METH_KEYWORDS
},
33446 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33448 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33449 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33451 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33452 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33454 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33455 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33457 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33458 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33460 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33461 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33463 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33464 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33466 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33467 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33469 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33470 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33472 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33473 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33475 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x
) {
33476 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33478 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33479 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33481 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33482 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33484 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x
) {
33485 return (void *)((wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33487 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33488 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33490 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33491 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33493 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33494 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33496 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33497 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33499 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33500 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33502 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33503 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33505 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33506 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33508 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33509 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33511 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33512 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33514 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33515 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33517 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33518 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33520 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33521 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33523 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33524 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33526 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33527 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33529 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33530 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33532 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33533 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33535 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33536 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33538 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33539 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33541 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33542 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33544 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33545 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33547 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33548 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33550 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33551 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33553 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33554 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33556 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33557 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33559 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33560 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33562 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33563 return (void *)((wxWindow
*) ((wxControl
*) x
));
33565 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33566 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33568 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33569 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33571 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33572 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33574 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33575 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33577 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33578 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33580 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33581 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33583 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x
) {
33584 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33586 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33587 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33589 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33590 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33592 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33593 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33595 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33596 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33598 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33599 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33601 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33602 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33604 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33605 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33607 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33608 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33610 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33611 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33613 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
33614 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
33616 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
33617 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
33619 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33620 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33622 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33623 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33625 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
33626 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
33628 static void *_p_wxPyControlPointTo_p_wxObject(void *x
) {
33629 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
33631 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
33632 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33634 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
33635 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33637 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33638 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33640 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33641 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33643 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33644 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33646 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33647 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33649 static void *_p_wxOGLConstraintTo_p_wxObject(void *x
) {
33650 return (void *)((wxObject
*) ((wxOGLConstraint
*) x
));
33652 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33653 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33655 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33656 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33658 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33659 return (void *)((wxObject
*) ((wxSizer
*) x
));
33661 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x
) {
33662 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
33664 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x
) {
33665 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
33667 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x
) {
33668 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyPolygonShape
*) x
));
33670 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33671 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33673 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33674 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33676 static void *_p_wxArrowHeadTo_p_wxObject(void *x
) {
33677 return (void *)((wxObject
*) ((wxArrowHead
*) x
));
33679 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
33680 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
33682 static void *_p_wxEventTo_p_wxObject(void *x
) {
33683 return (void *)((wxObject
*) ((wxEvent
*) x
));
33685 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
33686 return (void *)((wxObject
*) ((wxFontData
*) x
));
33688 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
33689 return (void *)((wxObject
*) ((wxPrintData
*) x
));
33691 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33692 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33694 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33695 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33697 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33698 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33700 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
33701 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
33703 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
33704 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
33706 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
33707 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33709 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33710 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33712 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33713 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33715 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33716 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33718 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33719 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33721 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33722 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33724 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33725 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33727 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
33728 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33730 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x
) {
33731 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33733 static void *_p_wxControlTo_p_wxObject(void *x
) {
33734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33736 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x
) {
33737 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyEllipseShape
*) x
));
33739 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33740 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33742 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
33743 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33745 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33746 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33748 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
33749 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
33751 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x
) {
33752 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
33754 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33755 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33757 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
33758 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33760 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
33761 return (void *)((wxObject
*) ((wxColourData
*) x
));
33763 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33764 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33766 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33767 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33769 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
33770 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
33772 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
33773 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33775 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
33776 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33778 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
33779 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33781 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
33782 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33784 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
33785 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33787 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
33788 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33790 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
33791 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33793 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
33794 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33796 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33797 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33799 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
33800 return (void *)((wxObject
*) ((wxPrinter
*) x
));
33802 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33803 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33805 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33806 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33808 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33809 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33811 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33812 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33814 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33815 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33817 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33818 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33820 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33821 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33823 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33824 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33826 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33827 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33829 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33830 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33832 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33833 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33835 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33836 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33838 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33839 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33841 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33842 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33844 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33845 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33847 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33848 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33850 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33851 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33853 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33854 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33856 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33857 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33859 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33860 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33862 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33863 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33865 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33866 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33868 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
33869 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
33871 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x
) {
33872 return (void *)((wxObject
*) ((wxPyShapeEvtHandler
*) x
));
33874 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
33875 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33877 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
33878 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33880 static void *_p_wxPyTextShapeTo_p_wxObject(void *x
) {
33881 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
33883 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33884 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33886 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x
) {
33887 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
33889 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
33890 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33892 static void *_p_wxImageTo_p_wxObject(void *x
) {
33893 return (void *)((wxObject
*) ((wxImage
*) x
));
33895 static void *_p_wxFrameTo_p_wxObject(void *x
) {
33896 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
33898 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
33899 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
33901 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33902 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33904 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
33905 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
33907 static void *_p_wxDiagramTo_p_wxObject(void *x
) {
33908 return (void *)((wxObject
*) ((wxDiagram
*) x
));
33910 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
33911 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
33913 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
33914 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33916 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33917 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33919 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33920 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33922 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33923 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33925 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33926 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33928 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33929 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33931 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33932 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33934 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
33935 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
33937 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
33938 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
33940 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
33941 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
33943 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
33944 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
33946 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
33947 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
33949 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
33950 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33952 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
33953 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
33955 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
33956 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33958 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
33959 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33961 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
33962 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33964 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
33965 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
33967 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
33968 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33970 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
33971 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
33973 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
33974 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
33976 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
33977 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33979 static void *_p_wxPanelTo_p_wxObject(void *x
) {
33980 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
33982 static void *_p_wxDialogTo_p_wxObject(void *x
) {
33983 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
33985 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
33986 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33988 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
33989 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33991 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
33992 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33994 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
33995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
33997 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
33998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
34000 static void *_p_wxAttachmentPointTo_p_wxObject(void *x
) {
34001 return (void *)((wxObject
*) ((wxAttachmentPoint
*) x
));
34003 static void *_p_wxPyShapeTo_p_wxObject(void *x
) {
34004 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
34006 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
34007 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
34009 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
34010 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
34012 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
34013 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
34015 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
34016 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
34018 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
34019 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
34021 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
34022 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
34024 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
34025 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
34027 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
34028 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
34030 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
34031 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
34033 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
34034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
34036 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
34037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
34039 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
34040 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
34042 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
34043 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
34045 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
34046 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
34048 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x
) {
34049 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyRectangleShape
*) x
));
34051 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x
) {
34052 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34054 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x
) {
34055 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34057 static void *_p_wxPyLineShapeTo_p_wxObject(void *x
) {
34058 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyLineShape
*) x
));
34060 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x
) {
34061 return (void *)((wxObject
*) ((wxPseudoMetaFile
*) x
));
34063 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
34064 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34066 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
34067 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
34069 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
34070 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
34072 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
34073 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
34075 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
34076 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
34078 static void *_p_wxShapeRegionTo_p_wxObject(void *x
) {
34079 return (void *)((wxObject
*) ((wxShapeRegion
*) x
));
34081 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34082 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyRectangleShape
*) x
));
34084 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34085 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34087 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34088 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34090 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34091 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34093 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34094 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyLineShape
*) x
));
34096 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34097 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34099 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x
) {
34100 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34102 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34103 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34105 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34106 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34108 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34109 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyPolygonShape
*) x
));
34111 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34112 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34114 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34115 return (void *)((wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
34117 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34118 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyEllipseShape
*) x
));
34120 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
34121 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
34123 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
34124 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
34126 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
34127 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
34129 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
34130 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
34132 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
34133 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
34135 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
34136 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
34138 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
34139 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
34141 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
34142 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
34144 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
34145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
34147 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
34148 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
34150 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
34151 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
34153 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
34154 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
34156 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
34157 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
34159 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
34160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
34162 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
34163 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
34165 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
34166 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
34168 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
34169 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
34171 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
34172 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
34174 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
34175 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
34177 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
34178 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
34180 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
34181 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
34183 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
34184 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
34186 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
34187 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
34189 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
34190 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
34192 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
34193 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
34195 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
34196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
34198 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
34199 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
34201 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
34202 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
34204 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
34205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
34207 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
34208 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
34210 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
34211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
34213 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
34214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
34216 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
34217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
34219 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
34220 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
34222 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
34223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34225 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
34226 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
34228 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
34229 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
34231 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x
) {
34232 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
34234 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
34235 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
34237 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
34238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
34240 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34241 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
34243 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
34246 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
34247 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
34249 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
34250 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
34252 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
34253 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
34255 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
34256 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
34258 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
34259 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
34261 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
34262 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
34264 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
34265 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
34267 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
34268 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
34270 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
34271 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
34273 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x
) {
34274 return (void *)((wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34276 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x
) {
34277 return (void *)((wxPyShape
*) ((wxPyRectangleShape
*) x
));
34279 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x
) {
34280 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34282 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x
) {
34283 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34285 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x
) {
34286 return (void *)((wxPyShape
*) (wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34288 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x
) {
34289 return (void *)((wxPyShape
*) ((wxPyLineShape
*) x
));
34291 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x
) {
34292 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34294 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x
) {
34295 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34297 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x
) {
34298 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34300 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x
) {
34301 return (void *)((wxPyShape
*) (wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34303 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x
) {
34304 return (void *)((wxPyShape
*) ((wxPyPolygonShape
*) x
));
34306 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x
) {
34307 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34309 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x
) {
34310 return (void *)((wxPyShape
*) ((wxPyEllipseShape
*) x
));
34312 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x
) {
34313 return (void *)((wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34315 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x
) {
34316 return (void *)((wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34318 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x
) {
34319 return (void *)((wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34321 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x
) {
34322 return (void *)((wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34324 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x
) {
34325 return (void *)((wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34327 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x
) {
34328 return (void *)((wxPyRectangleShape
*) (wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34330 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x
) {
34331 return (void *)((wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34333 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x
) {
34334 return (void *)((wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34336 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}};
34337 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}};
34338 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}};
34339 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}};
34340 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}};
34341 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}};
34342 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}};
34343 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}};
34344 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}};
34345 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}};
34346 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34347 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}};
34348 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}};
34349 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}};
34350 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34351 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34352 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}};
34353 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}};
34354 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}};
34355 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}};
34356 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}};
34357 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxOGLConstraint", _p_wxOGLConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxArrowHead", _p_wxArrowHeadTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyShapeEvtHandler", _p_wxPyShapeEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDiagram", _p_wxDiagramTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAttachmentPoint", _p_wxAttachmentPointTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPseudoMetaFile", _p_wxPseudoMetaFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShapeRegion", _p_wxShapeRegionTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34358 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}};
34359 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}};
34360 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34361 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}};
34362 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}};
34363 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}};
34364 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}};
34365 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}};
34366 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}};
34367 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}};
34368 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}};
34369 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}};
34370 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}};
34371 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}};
34372 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}};
34373 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}};
34374 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}};
34375 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}};
34376 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}};
34378 static swig_type_info
*swig_types_initial
[] = {
34379 _swigt__p_wxOGLConstraint
,
34381 _swigt__p_wxColour
,
34382 _swigt__p_wxShapeRegion
,
34384 _swigt__p_wxRealPoint
,
34385 _swigt__p_wxPyControlPoint
,
34386 _swigt__p_wxArrowHead
,
34388 _swigt__p_wxStringList
,
34393 _swigt__p_wxScrolledWindow
,
34394 _swigt__p_wxWindow
,
34396 _swigt__p_wxPyDivisionShape
,
34397 _swigt__p_wxPyDrawnShape
,
34398 _swigt__p_wxPyPolygonShape
,
34399 _swigt__p_wxBitmap
,
34400 _swigt__p_wxObject
,
34401 _swigt__p_wxPyBitmapShape
,
34402 _swigt__p_wxPyShapeEvtHandler
,
34403 _swigt__p_wxEvtHandler
,
34404 _swigt__p_wxPyEllipseShape
,
34405 _swigt__p_wxPyShapeCanvas
,
34407 _swigt__p_wxDiagram
,
34408 _swigt__p_wxPyShape
,
34409 _swigt__p_wxAttachmentPoint
,
34410 _swigt__p_wxClassInfo
,
34411 _swigt__p_wxPyLineShape
,
34412 _swigt__p_wxPyRectangleShape
,
34413 _swigt__p_wxPyCompositeShape
,
34414 _swigt__p_wxPyCircleShape
,
34417 _swigt__p_wxPseudoMetaFile
,
34418 _swigt__p_wxPyTextShape
,
34419 _swigt__p_wxPyDividedShape
,
34424 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34426 static swig_const_info swig_const_table
[] = {
34436 SWIGEXPORT(void) SWIG_init(void) {
34437 static PyObject
*SWIG_globals
= 0;
34438 static int typeinit
= 0;
34441 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
34442 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34443 d
= PyModule_GetDict(m
);
34446 for (i
= 0; swig_types_initial
[i
]; i
++) {
34447 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
34451 SWIG_InstallConstants(d
,swig_const_table
);
34453 PyDict_SetItemString(d
,"oglMETAFLAGS_OUTLINE", SWIG_FromInt((int)oglMETAFLAGS_OUTLINE
));
34454 PyDict_SetItemString(d
,"oglMETAFLAGS_ATTACHMENTS", SWIG_FromInt((int)oglMETAFLAGS_ATTACHMENTS
));
34455 PyDict_SetItemString(d
,"KEY_SHIFT", SWIG_FromInt((int)KEY_SHIFT
));
34456 PyDict_SetItemString(d
,"KEY_CTRL", SWIG_FromInt((int)KEY_CTRL
));
34457 PyDict_SetItemString(d
,"ARROW_NONE", SWIG_FromInt((int)ARROW_NONE
));
34458 PyDict_SetItemString(d
,"ARROW_END", SWIG_FromInt((int)ARROW_END
));
34459 PyDict_SetItemString(d
,"ARROW_BOTH", SWIG_FromInt((int)ARROW_BOTH
));
34460 PyDict_SetItemString(d
,"ARROW_MIDDLE", SWIG_FromInt((int)ARROW_MIDDLE
));
34461 PyDict_SetItemString(d
,"ARROW_START", SWIG_FromInt((int)ARROW_START
));
34462 PyDict_SetItemString(d
,"ARROW_HOLLOW_CIRCLE", SWIG_FromInt((int)ARROW_HOLLOW_CIRCLE
));
34463 PyDict_SetItemString(d
,"ARROW_FILLED_CIRCLE", SWIG_FromInt((int)ARROW_FILLED_CIRCLE
));
34464 PyDict_SetItemString(d
,"ARROW_ARROW", SWIG_FromInt((int)ARROW_ARROW
));
34465 PyDict_SetItemString(d
,"ARROW_SINGLE_OBLIQUE", SWIG_FromInt((int)ARROW_SINGLE_OBLIQUE
));
34466 PyDict_SetItemString(d
,"ARROW_DOUBLE_OBLIQUE", SWIG_FromInt((int)ARROW_DOUBLE_OBLIQUE
));
34467 PyDict_SetItemString(d
,"ARROW_METAFILE", SWIG_FromInt((int)ARROW_METAFILE
));
34468 PyDict_SetItemString(d
,"ARROW_POSITION_END", SWIG_FromInt((int)ARROW_POSITION_END
));
34469 PyDict_SetItemString(d
,"ARROW_POSITION_START", SWIG_FromInt((int)ARROW_POSITION_START
));
34470 PyDict_SetItemString(d
,"CONTROL_POINT_VERTICAL", SWIG_FromInt((int)CONTROL_POINT_VERTICAL
));
34471 PyDict_SetItemString(d
,"CONTROL_POINT_HORIZONTAL", SWIG_FromInt((int)CONTROL_POINT_HORIZONTAL
));
34472 PyDict_SetItemString(d
,"CONTROL_POINT_DIAGONAL", SWIG_FromInt((int)CONTROL_POINT_DIAGONAL
));
34473 PyDict_SetItemString(d
,"CONTROL_POINT_ENDPOINT_TO", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_TO
));
34474 PyDict_SetItemString(d
,"CONTROL_POINT_ENDPOINT_FROM", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_FROM
));
34475 PyDict_SetItemString(d
,"CONTROL_POINT_LINE", SWIG_FromInt((int)CONTROL_POINT_LINE
));
34476 PyDict_SetItemString(d
,"FORMAT_NONE", SWIG_FromInt((int)FORMAT_NONE
));
34477 PyDict_SetItemString(d
,"FORMAT_CENTRE_HORIZ", SWIG_FromInt((int)FORMAT_CENTRE_HORIZ
));
34478 PyDict_SetItemString(d
,"FORMAT_CENTRE_VERT", SWIG_FromInt((int)FORMAT_CENTRE_VERT
));
34479 PyDict_SetItemString(d
,"FORMAT_SIZE_TO_CONTENTS", SWIG_FromInt((int)FORMAT_SIZE_TO_CONTENTS
));
34480 PyDict_SetItemString(d
,"LINE_ALIGNMENT_HORIZ", SWIG_FromInt((int)LINE_ALIGNMENT_HORIZ
));
34481 PyDict_SetItemString(d
,"LINE_ALIGNMENT_VERT", SWIG_FromInt((int)LINE_ALIGNMENT_VERT
));
34482 PyDict_SetItemString(d
,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_FromInt((int)LINE_ALIGNMENT_TO_NEXT_HANDLE
));
34483 PyDict_SetItemString(d
,"LINE_ALIGNMENT_NONE", SWIG_FromInt((int)LINE_ALIGNMENT_NONE
));
34484 PyDict_SetItemString(d
,"SHADOW_NONE", SWIG_FromInt((int)SHADOW_NONE
));
34485 PyDict_SetItemString(d
,"SHADOW_LEFT", SWIG_FromInt((int)SHADOW_LEFT
));
34486 PyDict_SetItemString(d
,"SHADOW_RIGHT", SWIG_FromInt((int)SHADOW_RIGHT
));
34487 PyDict_SetItemString(d
,"OP_CLICK_LEFT", SWIG_FromInt((int)OP_CLICK_LEFT
));
34488 PyDict_SetItemString(d
,"OP_CLICK_RIGHT", SWIG_FromInt((int)OP_CLICK_RIGHT
));
34489 PyDict_SetItemString(d
,"OP_DRAG_LEFT", SWIG_FromInt((int)OP_DRAG_LEFT
));
34490 PyDict_SetItemString(d
,"OP_DRAG_RIGHT", SWIG_FromInt((int)OP_DRAG_RIGHT
));
34491 PyDict_SetItemString(d
,"OP_ALL", SWIG_FromInt((int)OP_ALL
));
34492 PyDict_SetItemString(d
,"ATTACHMENT_MODE_NONE", SWIG_FromInt((int)ATTACHMENT_MODE_NONE
));
34493 PyDict_SetItemString(d
,"ATTACHMENT_MODE_EDGE", SWIG_FromInt((int)ATTACHMENT_MODE_EDGE
));
34494 PyDict_SetItemString(d
,"ATTACHMENT_MODE_BRANCHING", SWIG_FromInt((int)ATTACHMENT_MODE_BRANCHING
));
34495 PyDict_SetItemString(d
,"BRANCHING_ATTACHMENT_NORMAL", SWIG_FromInt((int)BRANCHING_ATTACHMENT_NORMAL
));
34496 PyDict_SetItemString(d
,"BRANCHING_ATTACHMENT_BLOB", SWIG_FromInt((int)BRANCHING_ATTACHMENT_BLOB
));
34497 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_VERTICALLY
));
34498 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_HORIZONTALLY
));
34499 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_BOTH", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_BOTH
));
34500 PyDict_SetItemString(d
,"gyCONSTRAINT_LEFT_OF", SWIG_FromInt((int)gyCONSTRAINT_LEFT_OF
));
34501 PyDict_SetItemString(d
,"gyCONSTRAINT_RIGHT_OF", SWIG_FromInt((int)gyCONSTRAINT_RIGHT_OF
));
34502 PyDict_SetItemString(d
,"gyCONSTRAINT_ABOVE", SWIG_FromInt((int)gyCONSTRAINT_ABOVE
));
34503 PyDict_SetItemString(d
,"gyCONSTRAINT_BELOW", SWIG_FromInt((int)gyCONSTRAINT_BELOW
));
34504 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_TOP
));
34505 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_BOTTOM
));
34506 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_LEFT
));
34507 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_RIGHT
));
34508 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_TOP
));
34509 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_BOTTOM
));
34510 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_LEFT
));
34511 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_RIGHT
));
34512 PyDict_SetItemString(d
,"DIVISION_SIDE_NONE", SWIG_FromInt((int)DIVISION_SIDE_NONE
));
34513 PyDict_SetItemString(d
,"DIVISION_SIDE_LEFT", SWIG_FromInt((int)DIVISION_SIDE_LEFT
));
34514 PyDict_SetItemString(d
,"DIVISION_SIDE_TOP", SWIG_FromInt((int)DIVISION_SIDE_TOP
));
34515 PyDict_SetItemString(d
,"DIVISION_SIDE_RIGHT", SWIG_FromInt((int)DIVISION_SIDE_RIGHT
));
34516 PyDict_SetItemString(d
,"DIVISION_SIDE_BOTTOM", SWIG_FromInt((int)DIVISION_SIDE_BOTTOM
));
34519 // initoglbasicc();
34520 // initoglshapesc();
34521 // initoglshapes2c();
34522 // initoglcanvasc();
34525 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
34526 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
34527 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
34528 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
34529 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
34530 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
34531 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
34532 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
34533 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
34534 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
34535 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
34536 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
34537 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
34538 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");