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
) {
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
, 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
);
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
;
2002 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
2010 static PyObject
*_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
*resultobj
;
2012 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2013 PyObject
*arg2
= (PyObject
*) 0 ;
2014 PyObject
*arg3
= (PyObject
*) 0 ;
2015 PyObject
* obj0
= 0 ;
2016 PyObject
* obj1
= 0 ;
2017 PyObject
* obj2
= 0 ;
2019 (char *) "self",(char *) "self",(char *) "_class", NULL
2022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2029 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2031 wxPyEndAllowThreads(__tstate
);
2032 if (PyErr_Occurred()) SWIG_fail
;
2034 Py_INCREF(Py_None
); resultobj
= Py_None
;
2041 static PyObject
*_wrap_PyShapeEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2042 PyObject
*resultobj
;
2043 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2044 PyObject
*arg2
= (PyObject
*) 0 ;
2045 PyObject
* obj0
= 0 ;
2046 PyObject
* obj1
= 0 ;
2048 (char *) "self",(char *) "_self", NULL
2051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2057 wxPyShapeEvtHandler__setOORInfo(arg1
,arg2
);
2059 wxPyEndAllowThreads(__tstate
);
2060 if (PyErr_Occurred()) SWIG_fail
;
2062 Py_INCREF(Py_None
); resultobj
= Py_None
;
2069 static PyObject
*_wrap_PyShapeEvtHandler_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
*resultobj
;
2071 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2072 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
2073 PyObject
* obj0
= 0 ;
2074 PyObject
* obj1
= 0 ;
2076 (char *) "self",(char *) "sh", NULL
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
2083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2086 (arg1
)->SetShape(arg2
);
2088 wxPyEndAllowThreads(__tstate
);
2089 if (PyErr_Occurred()) SWIG_fail
;
2091 Py_INCREF(Py_None
); resultobj
= Py_None
;
2098 static PyObject
*_wrap_PyShapeEvtHandler_GetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
*resultobj
;
2100 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2102 PyObject
* obj0
= 0 ;
2104 (char *) "self", NULL
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetShape",kwnames
,&obj0
)) goto fail
;
2108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2112 result
= (wxPyShape
*)(arg1
)->GetShape();
2114 wxPyEndAllowThreads(__tstate
);
2115 if (PyErr_Occurred()) SWIG_fail
;
2118 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
2126 static PyObject
*_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
*resultobj
;
2128 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2129 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
2130 PyObject
* obj0
= 0 ;
2131 PyObject
* obj1
= 0 ;
2133 (char *) "self",(char *) "handler", NULL
2136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
2137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2143 (arg1
)->SetPreviousHandler(arg2
);
2145 wxPyEndAllowThreads(__tstate
);
2146 if (PyErr_Occurred()) SWIG_fail
;
2148 Py_INCREF(Py_None
); resultobj
= Py_None
;
2155 static PyObject
*_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2156 PyObject
*resultobj
;
2157 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2158 wxPyShapeEvtHandler
*result
;
2159 PyObject
* obj0
= 0 ;
2161 (char *) "self", NULL
2164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
2165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2169 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetPreviousHandler();
2171 wxPyEndAllowThreads(__tstate
);
2172 if (PyErr_Occurred()) SWIG_fail
;
2175 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
2183 static PyObject
*_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2184 PyObject
*resultobj
;
2185 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2186 wxPyShapeEvtHandler
*result
;
2187 PyObject
* obj0
= 0 ;
2189 (char *) "self", NULL
2192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames
,&obj0
)) goto fail
;
2193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2197 result
= (wxPyShapeEvtHandler
*)(arg1
)->CreateNewCopy();
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) SWIG_fail
;
2203 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
2211 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
*resultobj
;
2213 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2214 PyObject
* obj0
= 0 ;
2216 (char *) "self", NULL
2219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames
,&obj0
)) goto fail
;
2220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2224 (arg1
)->base_OnDelete();
2226 wxPyEndAllowThreads(__tstate
);
2227 if (PyErr_Occurred()) SWIG_fail
;
2229 Py_INCREF(Py_None
); resultobj
= Py_None
;
2236 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2237 PyObject
*resultobj
;
2238 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2240 PyObject
* obj0
= 0 ;
2241 PyObject
* obj1
= 0 ;
2243 (char *) "self",(char *) "dc", NULL
2246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
2247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2250 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2253 PyErr_SetString(PyExc_TypeError
,"null reference");
2257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2258 (arg1
)->base_OnDraw(*arg2
);
2260 wxPyEndAllowThreads(__tstate
);
2261 if (PyErr_Occurred()) SWIG_fail
;
2263 Py_INCREF(Py_None
); resultobj
= Py_None
;
2270 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2271 PyObject
*resultobj
;
2272 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2274 PyObject
* obj0
= 0 ;
2275 PyObject
* obj1
= 0 ;
2277 (char *) "self",(char *) "dc", NULL
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
2281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2284 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2287 PyErr_SetString(PyExc_TypeError
,"null reference");
2291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2292 (arg1
)->base_OnDrawContents(*arg2
);
2294 wxPyEndAllowThreads(__tstate
);
2295 if (PyErr_Occurred()) SWIG_fail
;
2297 Py_INCREF(Py_None
); resultobj
= Py_None
;
2304 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2305 PyObject
*resultobj
;
2306 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2308 bool arg3
= (bool) False
;
2309 PyObject
* obj0
= 0 ;
2310 PyObject
* obj1
= 0 ;
2311 PyObject
* obj2
= 0 ;
2313 (char *) "self",(char *) "dc",(char *) "erase", NULL
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2320 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2323 PyErr_SetString(PyExc_TypeError
,"null reference");
2327 arg3
= (bool) SWIG_AsBool(obj2
);
2328 if (PyErr_Occurred()) SWIG_fail
;
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) SWIG_fail
;
2337 Py_INCREF(Py_None
); resultobj
= Py_None
;
2344 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
*resultobj
;
2346 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2348 PyObject
* obj0
= 0 ;
2349 PyObject
* obj1
= 0 ;
2351 (char *) "self",(char *) "dc", NULL
2354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
2355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2361 PyErr_SetString(PyExc_TypeError
,"null reference");
2365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2366 (arg1
)->base_OnMoveLinks(*arg2
);
2368 wxPyEndAllowThreads(__tstate
);
2369 if (PyErr_Occurred()) SWIG_fail
;
2371 Py_INCREF(Py_None
); resultobj
= Py_None
;
2378 static PyObject
*_wrap_PyShapeEvtHandler_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
*resultobj
;
2380 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2382 PyObject
* obj0
= 0 ;
2383 PyObject
* obj1
= 0 ;
2385 (char *) "self",(char *) "dc", NULL
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
2389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2392 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2395 PyErr_SetString(PyExc_TypeError
,"null reference");
2399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2400 (arg1
)->base_OnErase(*arg2
);
2402 wxPyEndAllowThreads(__tstate
);
2403 if (PyErr_Occurred()) SWIG_fail
;
2405 Py_INCREF(Py_None
); resultobj
= Py_None
;
2412 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2413 PyObject
*resultobj
;
2414 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2416 PyObject
* obj0
= 0 ;
2417 PyObject
* obj1
= 0 ;
2419 (char *) "self",(char *) "dc", NULL
2422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
2423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2426 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2429 PyErr_SetString(PyExc_TypeError
,"null reference");
2433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2434 (arg1
)->base_OnEraseContents(*arg2
);
2436 wxPyEndAllowThreads(__tstate
);
2437 if (PyErr_Occurred()) SWIG_fail
;
2439 Py_INCREF(Py_None
); resultobj
= Py_None
;
2446 static PyObject
*_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
*resultobj
;
2448 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2450 PyObject
* obj0
= 0 ;
2451 PyObject
* obj1
= 0 ;
2453 (char *) "self",(char *) "dc", NULL
2456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
2457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2460 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2463 PyErr_SetString(PyExc_TypeError
,"null reference");
2467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2468 (arg1
)->base_OnHighlight(*arg2
);
2470 wxPyEndAllowThreads(__tstate
);
2471 if (PyErr_Occurred()) SWIG_fail
;
2473 Py_INCREF(Py_None
); resultobj
= Py_None
;
2480 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2481 PyObject
*resultobj
;
2482 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2485 int arg4
= (int) 0 ;
2486 int arg5
= (int) 0 ;
2487 PyObject
* obj0
= 0 ;
2488 PyObject
* obj1
= 0 ;
2489 PyObject
* obj2
= 0 ;
2490 PyObject
* obj3
= 0 ;
2491 PyObject
* obj4
= 0 ;
2493 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2499 arg2
= (double) SWIG_AsDouble(obj1
);
2500 if (PyErr_Occurred()) SWIG_fail
;
2501 arg3
= (double) SWIG_AsDouble(obj2
);
2502 if (PyErr_Occurred()) SWIG_fail
;
2504 arg4
= (int) SWIG_AsInt(obj3
);
2505 if (PyErr_Occurred()) SWIG_fail
;
2508 arg5
= (int) SWIG_AsInt(obj4
);
2509 if (PyErr_Occurred()) SWIG_fail
;
2512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2513 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
2515 wxPyEndAllowThreads(__tstate
);
2516 if (PyErr_Occurred()) SWIG_fail
;
2518 Py_INCREF(Py_None
); resultobj
= Py_None
;
2525 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2526 PyObject
*resultobj
;
2527 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2530 int arg4
= (int) 0 ;
2531 int arg5
= (int) 0 ;
2532 PyObject
* obj0
= 0 ;
2533 PyObject
* obj1
= 0 ;
2534 PyObject
* obj2
= 0 ;
2535 PyObject
* obj3
= 0 ;
2536 PyObject
* obj4
= 0 ;
2538 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2544 arg2
= (double) SWIG_AsDouble(obj1
);
2545 if (PyErr_Occurred()) SWIG_fail
;
2546 arg3
= (double) SWIG_AsDouble(obj2
);
2547 if (PyErr_Occurred()) SWIG_fail
;
2549 arg4
= (int) SWIG_AsInt(obj3
);
2550 if (PyErr_Occurred()) SWIG_fail
;
2553 arg5
= (int) SWIG_AsInt(obj4
);
2554 if (PyErr_Occurred()) SWIG_fail
;
2557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2558 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
2560 wxPyEndAllowThreads(__tstate
);
2561 if (PyErr_Occurred()) SWIG_fail
;
2563 Py_INCREF(Py_None
); resultobj
= Py_None
;
2570 static PyObject
*_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2571 PyObject
*resultobj
;
2572 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2575 int arg4
= (int) 0 ;
2576 int arg5
= (int) 0 ;
2577 PyObject
* obj0
= 0 ;
2578 PyObject
* obj1
= 0 ;
2579 PyObject
* obj2
= 0 ;
2580 PyObject
* obj3
= 0 ;
2581 PyObject
* obj4
= 0 ;
2583 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2589 arg2
= (double) SWIG_AsDouble(obj1
);
2590 if (PyErr_Occurred()) SWIG_fail
;
2591 arg3
= (double) SWIG_AsDouble(obj2
);
2592 if (PyErr_Occurred()) SWIG_fail
;
2594 arg4
= (int) SWIG_AsInt(obj3
);
2595 if (PyErr_Occurred()) SWIG_fail
;
2598 arg5
= (int) SWIG_AsInt(obj4
);
2599 if (PyErr_Occurred()) SWIG_fail
;
2602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2603 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
2605 wxPyEndAllowThreads(__tstate
);
2606 if (PyErr_Occurred()) SWIG_fail
;
2608 Py_INCREF(Py_None
); resultobj
= Py_None
;
2615 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
*resultobj
;
2617 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2620 PyObject
* obj0
= 0 ;
2621 PyObject
* obj1
= 0 ;
2622 PyObject
* obj2
= 0 ;
2624 (char *) "self",(char *) "x",(char *) "y", NULL
2627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2630 arg2
= (double) SWIG_AsDouble(obj1
);
2631 if (PyErr_Occurred()) SWIG_fail
;
2632 arg3
= (double) SWIG_AsDouble(obj2
);
2633 if (PyErr_Occurred()) SWIG_fail
;
2635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2636 (arg1
)->base_OnSize(arg2
,arg3
);
2638 wxPyEndAllowThreads(__tstate
);
2639 if (PyErr_Occurred()) SWIG_fail
;
2641 Py_INCREF(Py_None
); resultobj
= Py_None
;
2648 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2649 PyObject
*resultobj
;
2650 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2656 bool arg7
= (bool) True
;
2658 PyObject
* obj0
= 0 ;
2659 PyObject
* obj1
= 0 ;
2660 PyObject
* obj2
= 0 ;
2661 PyObject
* obj3
= 0 ;
2662 PyObject
* obj4
= 0 ;
2663 PyObject
* obj5
= 0 ;
2664 PyObject
* obj6
= 0 ;
2666 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2673 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2676 PyErr_SetString(PyExc_TypeError
,"null reference");
2679 arg3
= (double) SWIG_AsDouble(obj2
);
2680 if (PyErr_Occurred()) SWIG_fail
;
2681 arg4
= (double) SWIG_AsDouble(obj3
);
2682 if (PyErr_Occurred()) SWIG_fail
;
2683 arg5
= (double) SWIG_AsDouble(obj4
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2685 arg6
= (double) SWIG_AsDouble(obj5
);
2686 if (PyErr_Occurred()) SWIG_fail
;
2688 arg7
= (bool) SWIG_AsBool(obj6
);
2689 if (PyErr_Occurred()) SWIG_fail
;
2692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2693 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2695 wxPyEndAllowThreads(__tstate
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2707 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2708 PyObject
*resultobj
;
2709 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2715 bool arg7
= (bool) True
;
2716 PyObject
* obj0
= 0 ;
2717 PyObject
* obj1
= 0 ;
2718 PyObject
* obj2
= 0 ;
2719 PyObject
* obj3
= 0 ;
2720 PyObject
* obj4
= 0 ;
2721 PyObject
* obj5
= 0 ;
2722 PyObject
* obj6
= 0 ;
2724 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2731 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2734 PyErr_SetString(PyExc_TypeError
,"null reference");
2737 arg3
= (double) SWIG_AsDouble(obj2
);
2738 if (PyErr_Occurred()) SWIG_fail
;
2739 arg4
= (double) SWIG_AsDouble(obj3
);
2740 if (PyErr_Occurred()) SWIG_fail
;
2741 arg5
= (double) SWIG_AsDouble(obj4
);
2742 if (PyErr_Occurred()) SWIG_fail
;
2743 arg6
= (double) SWIG_AsDouble(obj5
);
2744 if (PyErr_Occurred()) SWIG_fail
;
2746 arg7
= (bool) SWIG_AsBool(obj6
);
2747 if (PyErr_Occurred()) SWIG_fail
;
2750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2751 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2753 wxPyEndAllowThreads(__tstate
);
2754 if (PyErr_Occurred()) SWIG_fail
;
2756 Py_INCREF(Py_None
); resultobj
= Py_None
;
2763 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2764 PyObject
*resultobj
;
2765 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2769 int arg5
= (int) 0 ;
2770 int arg6
= (int) 0 ;
2771 PyObject
* obj0
= 0 ;
2772 PyObject
* obj1
= 0 ;
2773 PyObject
* obj2
= 0 ;
2774 PyObject
* obj3
= 0 ;
2775 PyObject
* obj4
= 0 ;
2776 PyObject
* obj5
= 0 ;
2778 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2784 arg2
= (bool) SWIG_AsBool(obj1
);
2785 if (PyErr_Occurred()) SWIG_fail
;
2786 arg3
= (double) SWIG_AsDouble(obj2
);
2787 if (PyErr_Occurred()) SWIG_fail
;
2788 arg4
= (double) SWIG_AsDouble(obj3
);
2789 if (PyErr_Occurred()) SWIG_fail
;
2791 arg5
= (int) SWIG_AsInt(obj4
);
2792 if (PyErr_Occurred()) SWIG_fail
;
2795 arg6
= (int) SWIG_AsInt(obj5
);
2796 if (PyErr_Occurred()) SWIG_fail
;
2799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2800 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
2802 wxPyEndAllowThreads(__tstate
);
2803 if (PyErr_Occurred()) SWIG_fail
;
2805 Py_INCREF(Py_None
); resultobj
= Py_None
;
2812 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2813 PyObject
*resultobj
;
2814 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2817 int arg4
= (int) 0 ;
2818 int arg5
= (int) 0 ;
2819 PyObject
* obj0
= 0 ;
2820 PyObject
* obj1
= 0 ;
2821 PyObject
* obj2
= 0 ;
2822 PyObject
* obj3
= 0 ;
2823 PyObject
* obj4
= 0 ;
2825 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2831 arg2
= (double) SWIG_AsDouble(obj1
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2833 arg3
= (double) SWIG_AsDouble(obj2
);
2834 if (PyErr_Occurred()) SWIG_fail
;
2836 arg4
= (int) SWIG_AsInt(obj3
);
2837 if (PyErr_Occurred()) SWIG_fail
;
2840 arg5
= (int) SWIG_AsInt(obj4
);
2841 if (PyErr_Occurred()) SWIG_fail
;
2844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2845 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
2847 wxPyEndAllowThreads(__tstate
);
2848 if (PyErr_Occurred()) SWIG_fail
;
2850 Py_INCREF(Py_None
); resultobj
= Py_None
;
2857 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2858 PyObject
*resultobj
;
2859 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2862 int arg4
= (int) 0 ;
2863 int arg5
= (int) 0 ;
2864 PyObject
* obj0
= 0 ;
2865 PyObject
* obj1
= 0 ;
2866 PyObject
* obj2
= 0 ;
2867 PyObject
* obj3
= 0 ;
2868 PyObject
* obj4
= 0 ;
2870 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2876 arg2
= (double) SWIG_AsDouble(obj1
);
2877 if (PyErr_Occurred()) SWIG_fail
;
2878 arg3
= (double) SWIG_AsDouble(obj2
);
2879 if (PyErr_Occurred()) SWIG_fail
;
2881 arg4
= (int) SWIG_AsInt(obj3
);
2882 if (PyErr_Occurred()) SWIG_fail
;
2885 arg5
= (int) SWIG_AsInt(obj4
);
2886 if (PyErr_Occurred()) SWIG_fail
;
2889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2890 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
2892 wxPyEndAllowThreads(__tstate
);
2893 if (PyErr_Occurred()) SWIG_fail
;
2895 Py_INCREF(Py_None
); resultobj
= Py_None
;
2902 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2903 PyObject
*resultobj
;
2904 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2908 int arg5
= (int) 0 ;
2909 int arg6
= (int) 0 ;
2910 PyObject
* obj0
= 0 ;
2911 PyObject
* obj1
= 0 ;
2912 PyObject
* obj2
= 0 ;
2913 PyObject
* obj3
= 0 ;
2914 PyObject
* obj4
= 0 ;
2915 PyObject
* obj5
= 0 ;
2917 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2923 arg2
= (bool) SWIG_AsBool(obj1
);
2924 if (PyErr_Occurred()) SWIG_fail
;
2925 arg3
= (double) SWIG_AsDouble(obj2
);
2926 if (PyErr_Occurred()) SWIG_fail
;
2927 arg4
= (double) SWIG_AsDouble(obj3
);
2928 if (PyErr_Occurred()) SWIG_fail
;
2930 arg5
= (int) SWIG_AsInt(obj4
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2934 arg6
= (int) SWIG_AsInt(obj5
);
2935 if (PyErr_Occurred()) SWIG_fail
;
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2944 Py_INCREF(Py_None
); resultobj
= Py_None
;
2951 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2952 PyObject
*resultobj
;
2953 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2956 int arg4
= (int) 0 ;
2957 int arg5
= (int) 0 ;
2958 PyObject
* obj0
= 0 ;
2959 PyObject
* obj1
= 0 ;
2960 PyObject
* obj2
= 0 ;
2961 PyObject
* obj3
= 0 ;
2962 PyObject
* obj4
= 0 ;
2964 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2970 arg2
= (double) SWIG_AsDouble(obj1
);
2971 if (PyErr_Occurred()) SWIG_fail
;
2972 arg3
= (double) SWIG_AsDouble(obj2
);
2973 if (PyErr_Occurred()) SWIG_fail
;
2975 arg4
= (int) SWIG_AsInt(obj3
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2979 arg5
= (int) SWIG_AsInt(obj4
);
2980 if (PyErr_Occurred()) SWIG_fail
;
2983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2984 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
2986 wxPyEndAllowThreads(__tstate
);
2987 if (PyErr_Occurred()) SWIG_fail
;
2989 Py_INCREF(Py_None
); resultobj
= Py_None
;
2996 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
*resultobj
;
2998 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3001 int arg4
= (int) 0 ;
3002 int arg5
= (int) 0 ;
3003 PyObject
* obj0
= 0 ;
3004 PyObject
* obj1
= 0 ;
3005 PyObject
* obj2
= 0 ;
3006 PyObject
* obj3
= 0 ;
3007 PyObject
* obj4
= 0 ;
3009 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3015 arg2
= (double) SWIG_AsDouble(obj1
);
3016 if (PyErr_Occurred()) SWIG_fail
;
3017 arg3
= (double) SWIG_AsDouble(obj2
);
3018 if (PyErr_Occurred()) SWIG_fail
;
3020 arg4
= (int) SWIG_AsInt(obj3
);
3021 if (PyErr_Occurred()) SWIG_fail
;
3024 arg5
= (int) SWIG_AsInt(obj4
);
3025 if (PyErr_Occurred()) SWIG_fail
;
3028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3029 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
3031 wxPyEndAllowThreads(__tstate
);
3032 if (PyErr_Occurred()) SWIG_fail
;
3034 Py_INCREF(Py_None
); resultobj
= Py_None
;
3041 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3042 PyObject
*resultobj
;
3043 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3049 PyObject
* obj0
= 0 ;
3050 PyObject
* obj1
= 0 ;
3051 PyObject
* obj2
= 0 ;
3052 PyObject
* obj3
= 0 ;
3053 PyObject
* obj4
= 0 ;
3054 PyObject
* obj5
= 0 ;
3056 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShapeEvtHandler_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3063 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3066 PyErr_SetString(PyExc_TypeError
,"null reference");
3069 arg3
= (double) SWIG_AsDouble(obj2
);
3070 if (PyErr_Occurred()) SWIG_fail
;
3071 arg4
= (double) SWIG_AsDouble(obj3
);
3072 if (PyErr_Occurred()) SWIG_fail
;
3073 arg5
= (double) SWIG_AsDouble(obj4
);
3074 if (PyErr_Occurred()) SWIG_fail
;
3075 arg6
= (double) SWIG_AsDouble(obj5
);
3076 if (PyErr_Occurred()) SWIG_fail
;
3078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3079 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
3081 wxPyEndAllowThreads(__tstate
);
3082 if (PyErr_Occurred()) SWIG_fail
;
3084 Py_INCREF(Py_None
); resultobj
= Py_None
;
3091 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
*resultobj
;
3093 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3095 PyObject
* obj0
= 0 ;
3096 PyObject
* obj1
= 0 ;
3098 (char *) "self",(char *) "dc", NULL
3101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3104 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3105 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3108 PyErr_SetString(PyExc_TypeError
,"null reference");
3112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3113 (arg1
)->base_OnDrawControlPoints(*arg2
);
3115 wxPyEndAllowThreads(__tstate
);
3116 if (PyErr_Occurred()) SWIG_fail
;
3118 Py_INCREF(Py_None
); resultobj
= Py_None
;
3125 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
*resultobj
;
3127 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3129 PyObject
* obj0
= 0 ;
3130 PyObject
* obj1
= 0 ;
3132 (char *) "self",(char *) "dc", NULL
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3138 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3139 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3142 PyErr_SetString(PyExc_TypeError
,"null reference");
3146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3147 (arg1
)->base_OnEraseControlPoints(*arg2
);
3149 wxPyEndAllowThreads(__tstate
);
3150 if (PyErr_Occurred()) SWIG_fail
;
3152 Py_INCREF(Py_None
); resultobj
= Py_None
;
3159 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
*resultobj
;
3161 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3163 bool arg3
= (bool) True
;
3164 PyObject
* obj0
= 0 ;
3165 PyObject
* obj1
= 0 ;
3166 PyObject
* obj2
= 0 ;
3168 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3175 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3178 PyErr_SetString(PyExc_TypeError
,"null reference");
3182 arg3
= (bool) SWIG_AsBool(obj2
);
3183 if (PyErr_Occurred()) SWIG_fail
;
3186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3187 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
3189 wxPyEndAllowThreads(__tstate
);
3190 if (PyErr_Occurred()) SWIG_fail
;
3192 Py_INCREF(Py_None
); resultobj
= Py_None
;
3199 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
*resultobj
;
3201 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3202 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3206 int arg6
= (int) 0 ;
3207 int arg7
= (int) 0 ;
3208 PyObject
* obj0
= 0 ;
3209 PyObject
* obj1
= 0 ;
3210 PyObject
* obj2
= 0 ;
3211 PyObject
* obj3
= 0 ;
3212 PyObject
* obj4
= 0 ;
3213 PyObject
* obj5
= 0 ;
3214 PyObject
* obj6
= 0 ;
3216 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
3223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3224 arg3
= (bool) SWIG_AsBool(obj2
);
3225 if (PyErr_Occurred()) SWIG_fail
;
3226 arg4
= (double) SWIG_AsDouble(obj3
);
3227 if (PyErr_Occurred()) SWIG_fail
;
3228 arg5
= (double) SWIG_AsDouble(obj4
);
3229 if (PyErr_Occurred()) SWIG_fail
;
3231 arg6
= (int) SWIG_AsInt(obj5
);
3232 if (PyErr_Occurred()) SWIG_fail
;
3235 arg7
= (int) SWIG_AsInt(obj6
);
3236 if (PyErr_Occurred()) SWIG_fail
;
3239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3240 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
3242 wxPyEndAllowThreads(__tstate
);
3243 if (PyErr_Occurred()) SWIG_fail
;
3245 Py_INCREF(Py_None
); resultobj
= Py_None
;
3252 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
*resultobj
;
3254 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3255 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3258 int arg5
= (int) 0 ;
3259 int arg6
= (int) 0 ;
3260 PyObject
* obj0
= 0 ;
3261 PyObject
* obj1
= 0 ;
3262 PyObject
* obj2
= 0 ;
3263 PyObject
* obj3
= 0 ;
3264 PyObject
* obj4
= 0 ;
3265 PyObject
* obj5
= 0 ;
3267 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
3274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3275 arg3
= (double) SWIG_AsDouble(obj2
);
3276 if (PyErr_Occurred()) SWIG_fail
;
3277 arg4
= (double) SWIG_AsDouble(obj3
);
3278 if (PyErr_Occurred()) SWIG_fail
;
3280 arg5
= (int) SWIG_AsInt(obj4
);
3281 if (PyErr_Occurred()) SWIG_fail
;
3284 arg6
= (int) SWIG_AsInt(obj5
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3289 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
3291 wxPyEndAllowThreads(__tstate
);
3292 if (PyErr_Occurred()) SWIG_fail
;
3294 Py_INCREF(Py_None
); resultobj
= Py_None
;
3301 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3302 PyObject
*resultobj
;
3303 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3304 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3307 int arg5
= (int) 0 ;
3308 int arg6
= (int) 0 ;
3309 PyObject
* obj0
= 0 ;
3310 PyObject
* obj1
= 0 ;
3311 PyObject
* obj2
= 0 ;
3312 PyObject
* obj3
= 0 ;
3313 PyObject
* obj4
= 0 ;
3314 PyObject
* obj5
= 0 ;
3316 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
3323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3324 arg3
= (double) SWIG_AsDouble(obj2
);
3325 if (PyErr_Occurred()) SWIG_fail
;
3326 arg4
= (double) SWIG_AsDouble(obj3
);
3327 if (PyErr_Occurred()) SWIG_fail
;
3329 arg5
= (int) SWIG_AsInt(obj4
);
3330 if (PyErr_Occurred()) SWIG_fail
;
3333 arg6
= (int) SWIG_AsInt(obj5
);
3334 if (PyErr_Occurred()) SWIG_fail
;
3337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3338 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
3340 wxPyEndAllowThreads(__tstate
);
3341 if (PyErr_Occurred()) SWIG_fail
;
3343 Py_INCREF(Py_None
); resultobj
= Py_None
;
3350 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
*resultobj
;
3352 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3355 PyObject
* obj0
= 0 ;
3356 PyObject
* obj1
= 0 ;
3357 PyObject
* obj2
= 0 ;
3359 (char *) "self",(char *) "w",(char *) "h", NULL
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3365 arg2
= (double) SWIG_AsDouble(obj1
);
3366 if (PyErr_Occurred()) SWIG_fail
;
3367 arg3
= (double) SWIG_AsDouble(obj2
);
3368 if (PyErr_Occurred()) SWIG_fail
;
3370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3371 (arg1
)->base_OnBeginSize(arg2
,arg3
);
3373 wxPyEndAllowThreads(__tstate
);
3374 if (PyErr_Occurred()) SWIG_fail
;
3376 Py_INCREF(Py_None
); resultobj
= Py_None
;
3383 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3384 PyObject
*resultobj
;
3385 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3388 PyObject
* obj0
= 0 ;
3389 PyObject
* obj1
= 0 ;
3390 PyObject
* obj2
= 0 ;
3392 (char *) "self",(char *) "w",(char *) "h", NULL
3395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3398 arg2
= (double) SWIG_AsDouble(obj1
);
3399 if (PyErr_Occurred()) SWIG_fail
;
3400 arg3
= (double) SWIG_AsDouble(obj2
);
3401 if (PyErr_Occurred()) SWIG_fail
;
3403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3404 (arg1
)->base_OnEndSize(arg2
,arg3
);
3406 wxPyEndAllowThreads(__tstate
);
3407 if (PyErr_Occurred()) SWIG_fail
;
3409 Py_INCREF(Py_None
); resultobj
= Py_None
;
3416 static PyObject
* PyShapeEvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
3418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3419 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler
, obj
);
3421 return Py_BuildValue((char *)"");
3423 static PyObject
*_wrap_new_PyShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
*resultobj
;
3425 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
3427 PyObject
* obj0
= 0 ;
3429 (char *) "can", NULL
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyShape",kwnames
,&obj0
)) goto fail
;
3434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
3435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3439 result
= (wxPyShape
*)new wxPyShape(arg1
);
3441 wxPyEndAllowThreads(__tstate
);
3442 if (PyErr_Occurred()) SWIG_fail
;
3445 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3453 static PyObject
*_wrap_PyShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3454 PyObject
*resultobj
;
3455 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3456 PyObject
*arg2
= (PyObject
*) 0 ;
3457 PyObject
*arg3
= (PyObject
*) 0 ;
3458 PyObject
* obj0
= 0 ;
3459 PyObject
* obj1
= 0 ;
3460 PyObject
* obj2
= 0 ;
3462 (char *) "self",(char *) "self",(char *) "_class", NULL
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3472 (arg1
)->_setCallbackInfo(arg2
,arg3
);
3474 wxPyEndAllowThreads(__tstate
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3477 Py_INCREF(Py_None
); resultobj
= Py_None
;
3484 static PyObject
*_wrap_PyShape_GetBoundingBoxMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3485 PyObject
*resultobj
;
3486 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3487 double *arg2
= (double *) 0 ;
3488 double *arg3
= (double *) 0 ;
3491 PyObject
* obj0
= 0 ;
3493 (char *) "self", NULL
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMax",kwnames
,&obj0
)) goto fail
;
3499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 (arg1
)->GetBoundingBoxMax(arg2
,arg3
);
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3508 Py_INCREF(Py_None
); resultobj
= Py_None
;
3510 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
3511 resultobj
= t_output_helper(resultobj
,o
);
3514 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
3515 resultobj
= t_output_helper(resultobj
,o
);
3523 static PyObject
*_wrap_PyShape_GetBoundingBoxMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3524 PyObject
*resultobj
;
3525 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3526 double *arg2
= (double *) 0 ;
3527 double *arg3
= (double *) 0 ;
3530 PyObject
* obj0
= 0 ;
3532 (char *) "self", NULL
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMin",kwnames
,&obj0
)) goto fail
;
3538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 (arg1
)->GetBoundingBoxMin(arg2
,arg3
);
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3547 Py_INCREF(Py_None
); resultobj
= Py_None
;
3549 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
3550 resultobj
= t_output_helper(resultobj
,o
);
3553 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
3554 resultobj
= t_output_helper(resultobj
,o
);
3562 static PyObject
*_wrap_PyShape_GetPerimeterPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3563 PyObject
*resultobj
;
3564 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3569 double *arg6
= (double *) 0 ;
3570 double *arg7
= (double *) 0 ;
3574 PyObject
* obj0
= 0 ;
3575 PyObject
* obj1
= 0 ;
3576 PyObject
* obj2
= 0 ;
3577 PyObject
* obj3
= 0 ;
3578 PyObject
* obj4
= 0 ;
3580 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
3585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_GetPerimeterPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3588 arg2
= (double) SWIG_AsDouble(obj1
);
3589 if (PyErr_Occurred()) SWIG_fail
;
3590 arg3
= (double) SWIG_AsDouble(obj2
);
3591 if (PyErr_Occurred()) SWIG_fail
;
3592 arg4
= (double) SWIG_AsDouble(obj3
);
3593 if (PyErr_Occurred()) SWIG_fail
;
3594 arg5
= (double) SWIG_AsDouble(obj4
);
3595 if (PyErr_Occurred()) SWIG_fail
;
3597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3598 result
= (bool)(arg1
)->GetPerimeterPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
3600 wxPyEndAllowThreads(__tstate
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3607 PyObject
*o
= PyFloat_FromDouble((double) (*arg6
));
3608 resultobj
= t_output_helper(resultobj
,o
);
3611 PyObject
*o
= PyFloat_FromDouble((double) (*arg7
));
3612 resultobj
= t_output_helper(resultobj
,o
);
3620 static PyObject
*_wrap_PyShape_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
*resultobj
;
3622 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3623 wxPyShapeCanvas
*result
;
3624 PyObject
* obj0
= 0 ;
3626 (char *) "self", NULL
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCanvas",kwnames
,&obj0
)) goto fail
;
3630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3634 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
3636 wxPyEndAllowThreads(__tstate
);
3637 if (PyErr_Occurred()) SWIG_fail
;
3640 resultobj
= wxPyMake_wxObject(result
);
3648 static PyObject
*_wrap_PyShape_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
*resultobj
;
3650 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3651 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3652 PyObject
* obj0
= 0 ;
3653 PyObject
* obj1
= 0 ;
3655 (char *) "self",(char *) "the_canvas", NULL
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 (arg1
)->SetCanvas(arg2
);
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3670 Py_INCREF(Py_None
); resultobj
= Py_None
;
3677 static PyObject
*_wrap_PyShape_AddToCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
*resultobj
;
3679 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3680 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3681 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
3682 PyObject
* obj0
= 0 ;
3683 PyObject
* obj1
= 0 ;
3684 PyObject
* obj2
= 0 ;
3686 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
3689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_AddToCanvas",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3695 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
3696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3700 (arg1
)->AddToCanvas(arg2
,arg3
);
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3705 Py_INCREF(Py_None
); resultobj
= Py_None
;
3712 static PyObject
*_wrap_PyShape_InsertInCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3713 PyObject
*resultobj
;
3714 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3715 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3716 PyObject
* obj0
= 0 ;
3717 PyObject
* obj1
= 0 ;
3719 (char *) "self",(char *) "the_canvas", NULL
3722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_InsertInCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 (arg1
)->InsertInCanvas(arg2
);
3731 wxPyEndAllowThreads(__tstate
);
3732 if (PyErr_Occurred()) SWIG_fail
;
3734 Py_INCREF(Py_None
); resultobj
= Py_None
;
3741 static PyObject
*_wrap_PyShape_RemoveFromCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
*resultobj
;
3743 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3744 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3745 PyObject
* obj0
= 0 ;
3746 PyObject
* obj1
= 0 ;
3748 (char *) "self",(char *) "the_canvas", NULL
3751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveFromCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3758 (arg1
)->RemoveFromCanvas(arg2
);
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) SWIG_fail
;
3763 Py_INCREF(Py_None
); resultobj
= Py_None
;
3770 static PyObject
*_wrap_PyShape_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3771 PyObject
*resultobj
;
3772 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3774 PyObject
* obj0
= 0 ;
3776 (char *) "self", NULL
3779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetX",kwnames
,&obj0
)) goto fail
;
3780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3784 result
= (double)(arg1
)->GetX();
3786 wxPyEndAllowThreads(__tstate
);
3787 if (PyErr_Occurred()) SWIG_fail
;
3789 resultobj
= SWIG_FromDouble((double)result
);
3796 static PyObject
*_wrap_PyShape_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3797 PyObject
*resultobj
;
3798 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3800 PyObject
* obj0
= 0 ;
3802 (char *) "self", NULL
3805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetY",kwnames
,&obj0
)) goto fail
;
3806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3810 result
= (double)(arg1
)->GetY();
3812 wxPyEndAllowThreads(__tstate
);
3813 if (PyErr_Occurred()) SWIG_fail
;
3815 resultobj
= SWIG_FromDouble((double)result
);
3822 static PyObject
*_wrap_PyShape_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
*resultobj
;
3824 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3826 PyObject
* obj0
= 0 ;
3827 PyObject
* obj1
= 0 ;
3829 (char *) "self",(char *) "x", NULL
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3835 arg2
= (double) SWIG_AsDouble(obj1
);
3836 if (PyErr_Occurred()) SWIG_fail
;
3838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3841 wxPyEndAllowThreads(__tstate
);
3842 if (PyErr_Occurred()) SWIG_fail
;
3844 Py_INCREF(Py_None
); resultobj
= Py_None
;
3851 static PyObject
*_wrap_PyShape_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
*resultobj
;
3853 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3855 PyObject
* obj0
= 0 ;
3856 PyObject
* obj1
= 0 ;
3858 (char *) "self",(char *) "y", NULL
3861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3864 arg2
= (double) SWIG_AsDouble(obj1
);
3865 if (PyErr_Occurred()) SWIG_fail
;
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3870 wxPyEndAllowThreads(__tstate
);
3871 if (PyErr_Occurred()) SWIG_fail
;
3873 Py_INCREF(Py_None
); resultobj
= Py_None
;
3880 static PyObject
*_wrap_PyShape_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3881 PyObject
*resultobj
;
3882 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3884 PyObject
* obj0
= 0 ;
3886 (char *) "self", NULL
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetParent",kwnames
,&obj0
)) goto fail
;
3890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3894 result
= (wxPyShape
*)(arg1
)->GetParent();
3896 wxPyEndAllowThreads(__tstate
);
3897 if (PyErr_Occurred()) SWIG_fail
;
3900 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3908 static PyObject
*_wrap_PyShape_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
*resultobj
;
3910 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3911 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
3912 PyObject
* obj0
= 0 ;
3913 PyObject
* obj1
= 0 ;
3915 (char *) "self",(char *) "p", NULL
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
3919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
3922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 (arg1
)->SetParent(arg2
);
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3930 Py_INCREF(Py_None
); resultobj
= Py_None
;
3937 static PyObject
*_wrap_PyShape_GetTopAncestor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3939 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3941 PyObject
* obj0
= 0 ;
3943 (char *) "self", NULL
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetTopAncestor",kwnames
,&obj0
)) goto fail
;
3947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 result
= (wxPyShape
*)(arg1
)->GetTopAncestor();
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3957 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3965 static PyObject
*_wrap_PyShape_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
;
3967 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3969 PyObject
* obj0
= 0 ;
3971 (char *) "self", NULL
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetChildren",kwnames
,&obj0
)) goto fail
;
3975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3979 result
= (PyObject
*)wxPyShape_GetChildren(arg1
);
3981 wxPyEndAllowThreads(__tstate
);
3982 if (PyErr_Occurred()) SWIG_fail
;
3991 static PyObject
*_wrap_PyShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
*resultobj
;
3993 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3994 PyObject
* obj0
= 0 ;
3996 (char *) "self", NULL
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Unlink",kwnames
,&obj0
)) goto fail
;
4000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 wxPyEndAllowThreads(__tstate
);
4007 if (PyErr_Occurred()) SWIG_fail
;
4009 Py_INCREF(Py_None
); resultobj
= Py_None
;
4016 static PyObject
*_wrap_PyShape_SetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4017 PyObject
*resultobj
;
4018 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4020 PyObject
* obj0
= 0 ;
4021 PyObject
* obj1
= 0 ;
4023 (char *) "self",(char *) "drawH", NULL
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDrawHandles",kwnames
,&obj0
,&obj1
)) goto fail
;
4027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4029 arg2
= (bool) SWIG_AsBool(obj1
);
4030 if (PyErr_Occurred()) SWIG_fail
;
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 (arg1
)->SetDrawHandles(arg2
);
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4038 Py_INCREF(Py_None
); resultobj
= Py_None
;
4045 static PyObject
*_wrap_PyShape_GetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
*resultobj
;
4047 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4049 PyObject
* obj0
= 0 ;
4051 (char *) "self", NULL
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDrawHandles",kwnames
,&obj0
)) goto fail
;
4055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 result
= (bool)(arg1
)->GetDrawHandles();
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4073 static PyObject
*_wrap_PyShape_MakeControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
*resultobj
;
4075 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4076 PyObject
* obj0
= 0 ;
4078 (char *) "self", NULL
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeControlPoints",kwnames
,&obj0
)) goto fail
;
4082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 (arg1
)->MakeControlPoints();
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4091 Py_INCREF(Py_None
); resultobj
= Py_None
;
4098 static PyObject
*_wrap_PyShape_DeleteControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
*resultobj
;
4100 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4101 wxDC
*arg2
= (wxDC
*) NULL
;
4102 PyObject
* obj0
= 0 ;
4103 PyObject
* obj1
= 0 ;
4105 (char *) "self",(char *) "dc", NULL
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_DeleteControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4112 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
4113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 (arg1
)->DeleteControlPoints(arg2
);
4119 wxPyEndAllowThreads(__tstate
);
4120 if (PyErr_Occurred()) SWIG_fail
;
4122 Py_INCREF(Py_None
); resultobj
= Py_None
;
4129 static PyObject
*_wrap_PyShape_ResetControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
*resultobj
;
4131 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4132 PyObject
* obj0
= 0 ;
4134 (char *) "self", NULL
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetControlPoints",kwnames
,&obj0
)) goto fail
;
4138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 (arg1
)->ResetControlPoints();
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 Py_INCREF(Py_None
); resultobj
= Py_None
;
4154 static PyObject
*_wrap_PyShape_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
*resultobj
;
4156 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4157 wxPyShapeEvtHandler
*result
;
4158 PyObject
* obj0
= 0 ;
4160 (char *) "self", NULL
4163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetEventHandler",kwnames
,&obj0
)) goto fail
;
4164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetEventHandler();
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
4182 static PyObject
*_wrap_PyShape_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
*resultobj
;
4184 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4185 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
4186 PyObject
* obj0
= 0 ;
4187 PyObject
* obj1
= 0 ;
4189 (char *) "self",(char *) "handler", NULL
4192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
4193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeEvtHandler
,
4196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 (arg1
)->SetEventHandler(arg2
);
4201 wxPyEndAllowThreads(__tstate
);
4202 if (PyErr_Occurred()) SWIG_fail
;
4204 Py_INCREF(Py_None
); resultobj
= Py_None
;
4211 static PyObject
*_wrap_PyShape_MakeMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
*resultobj
;
4213 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4214 PyObject
* obj0
= 0 ;
4216 (char *) "self", NULL
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
4220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 (arg1
)->MakeMandatoryControlPoints();
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 Py_INCREF(Py_None
); resultobj
= Py_None
;
4236 static PyObject
*_wrap_PyShape_ResetMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
*resultobj
;
4238 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4239 PyObject
* obj0
= 0 ;
4241 (char *) "self", NULL
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
4245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 (arg1
)->ResetMandatoryControlPoints();
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4254 Py_INCREF(Py_None
); resultobj
= Py_None
;
4261 static PyObject
*_wrap_PyShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
*resultobj
;
4263 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4265 PyObject
* obj0
= 0 ;
4267 (char *) "self", NULL
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Recompute",kwnames
,&obj0
)) goto fail
;
4271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 result
= (bool)(arg1
)->Recompute();
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4289 static PyObject
*_wrap_PyShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
*resultobj
;
4291 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4292 PyObject
* obj0
= 0 ;
4294 (char *) "self", NULL
4297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
4298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4302 (arg1
)->CalculateSize();
4304 wxPyEndAllowThreads(__tstate
);
4305 if (PyErr_Occurred()) SWIG_fail
;
4307 Py_INCREF(Py_None
); resultobj
= Py_None
;
4314 static PyObject
*_wrap_PyShape_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
*resultobj
;
4316 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4317 bool arg2
= (bool) True
;
4318 wxDC
*arg3
= (wxDC
*) NULL
;
4319 PyObject
* obj0
= 0 ;
4320 PyObject
* obj1
= 0 ;
4321 PyObject
* obj2
= 0 ;
4323 (char *) "self",(char *) "select",(char *) "dc", NULL
4326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4330 arg2
= (bool) SWIG_AsBool(obj1
);
4331 if (PyErr_Occurred()) SWIG_fail
;
4334 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
4335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 (arg1
)->Select(arg2
,arg3
);
4341 wxPyEndAllowThreads(__tstate
);
4342 if (PyErr_Occurred()) SWIG_fail
;
4344 Py_INCREF(Py_None
); resultobj
= Py_None
;
4351 static PyObject
*_wrap_PyShape_SetHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4352 PyObject
*resultobj
;
4353 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4354 bool arg2
= (bool) True
;
4355 bool arg3
= (bool) False
;
4356 PyObject
* obj0
= 0 ;
4357 PyObject
* obj1
= 0 ;
4358 PyObject
* obj2
= 0 ;
4360 (char *) "self",(char *) "hi",(char *) "recurse", NULL
4363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4367 arg2
= (bool) SWIG_AsBool(obj1
);
4368 if (PyErr_Occurred()) SWIG_fail
;
4371 arg3
= (bool) SWIG_AsBool(obj2
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4376 (arg1
)->SetHighlight(arg2
,arg3
);
4378 wxPyEndAllowThreads(__tstate
);
4379 if (PyErr_Occurred()) SWIG_fail
;
4381 Py_INCREF(Py_None
); resultobj
= Py_None
;
4388 static PyObject
*_wrap_PyShape_IsHighlighted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4389 PyObject
*resultobj
;
4390 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4392 PyObject
* obj0
= 0 ;
4394 (char *) "self", NULL
4397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsHighlighted",kwnames
,&obj0
)) goto fail
;
4398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 result
= (bool)(arg1
)->IsHighlighted();
4404 wxPyEndAllowThreads(__tstate
);
4405 if (PyErr_Occurred()) SWIG_fail
;
4408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4416 static PyObject
*_wrap_PyShape_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
*resultobj
;
4418 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4420 PyObject
* obj0
= 0 ;
4422 (char *) "self", NULL
4425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Selected",kwnames
,&obj0
)) goto fail
;
4426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4430 result
= (bool)(arg1
)->Selected();
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4444 static PyObject
*_wrap_PyShape_AncestorSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4445 PyObject
*resultobj
;
4446 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4448 PyObject
* obj0
= 0 ;
4450 (char *) "self", NULL
4453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AncestorSelected",kwnames
,&obj0
)) goto fail
;
4454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 result
= (bool)(arg1
)->AncestorSelected();
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) SWIG_fail
;
4464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4472 static PyObject
*_wrap_PyShape_SetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
*resultobj
;
4474 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4475 int arg2
= (int) OP_ALL
;
4476 bool arg3
= (bool) False
;
4477 PyObject
* obj0
= 0 ;
4478 PyObject
* obj1
= 0 ;
4479 PyObject
* obj2
= 0 ;
4481 (char *) "self",(char *) "sens",(char *) "recursive", NULL
4484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetSensitivityFilter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4488 arg2
= (int) SWIG_AsInt(obj1
);
4489 if (PyErr_Occurred()) SWIG_fail
;
4492 arg3
= (bool) SWIG_AsBool(obj2
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4497 (arg1
)->SetSensitivityFilter(arg2
,arg3
);
4499 wxPyEndAllowThreads(__tstate
);
4500 if (PyErr_Occurred()) SWIG_fail
;
4502 Py_INCREF(Py_None
); resultobj
= Py_None
;
4509 static PyObject
*_wrap_PyShape_GetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
*resultobj
;
4511 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4513 PyObject
* obj0
= 0 ;
4515 (char *) "self", NULL
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSensitivityFilter",kwnames
,&obj0
)) goto fail
;
4519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4523 result
= (int)(arg1
)->GetSensitivityFilter();
4525 wxPyEndAllowThreads(__tstate
);
4526 if (PyErr_Occurred()) SWIG_fail
;
4528 resultobj
= SWIG_FromInt((int)result
);
4535 static PyObject
*_wrap_PyShape_SetDraggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4536 PyObject
*resultobj
;
4537 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4539 bool arg3
= (bool) False
;
4540 PyObject
* obj0
= 0 ;
4541 PyObject
* obj1
= 0 ;
4542 PyObject
* obj2
= 0 ;
4544 (char *) "self",(char *) "drag",(char *) "recursive", NULL
4547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetDraggable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4550 arg2
= (bool) SWIG_AsBool(obj1
);
4551 if (PyErr_Occurred()) SWIG_fail
;
4553 arg3
= (bool) SWIG_AsBool(obj2
);
4554 if (PyErr_Occurred()) SWIG_fail
;
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 (arg1
)->SetDraggable(arg2
,arg3
);
4560 wxPyEndAllowThreads(__tstate
);
4561 if (PyErr_Occurred()) SWIG_fail
;
4563 Py_INCREF(Py_None
); resultobj
= Py_None
;
4570 static PyObject
*_wrap_PyShape_SetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4571 PyObject
*resultobj
;
4572 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4575 PyObject
* obj0
= 0 ;
4576 PyObject
* obj1
= 0 ;
4577 PyObject
* obj2
= 0 ;
4579 (char *) "self",(char *) "x",(char *) "y", NULL
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetFixedSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4585 arg2
= (bool) SWIG_AsBool(obj1
);
4586 if (PyErr_Occurred()) SWIG_fail
;
4587 arg3
= (bool) SWIG_AsBool(obj2
);
4588 if (PyErr_Occurred()) SWIG_fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 (arg1
)->SetFixedSize(arg2
,arg3
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 Py_INCREF(Py_None
); resultobj
= Py_None
;
4603 static PyObject
*_wrap_PyShape_GetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
*resultobj
;
4605 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4606 bool *arg2
= (bool *) 0 ;
4607 bool *arg3
= (bool *) 0 ;
4610 PyObject
* obj0
= 0 ;
4612 (char *) "self", NULL
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedSize",kwnames
,&obj0
)) goto fail
;
4618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 (arg1
)->GetFixedSize(arg2
,arg3
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 Py_INCREF(Py_None
); resultobj
= Py_None
;
4629 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4630 resultobj
= t_output_helper(resultobj
,o
);
4633 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4634 resultobj
= t_output_helper(resultobj
,o
);
4642 static PyObject
*_wrap_PyShape_GetFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
*resultobj
;
4644 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4646 PyObject
* obj0
= 0 ;
4648 (char *) "self", NULL
4651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedWidth",kwnames
,&obj0
)) goto fail
;
4652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 result
= (bool)(arg1
)->GetFixedWidth();
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4670 static PyObject
*_wrap_PyShape_GetFixedHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4671 PyObject
*resultobj
;
4672 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4674 PyObject
* obj0
= 0 ;
4676 (char *) "self", NULL
4679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedHeight",kwnames
,&obj0
)) goto fail
;
4680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4684 result
= (bool)(arg1
)->GetFixedHeight();
4686 wxPyEndAllowThreads(__tstate
);
4687 if (PyErr_Occurred()) SWIG_fail
;
4690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4698 static PyObject
*_wrap_PyShape_SetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4699 PyObject
*resultobj
;
4700 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4702 PyObject
* obj0
= 0 ;
4703 PyObject
* obj1
= 0 ;
4705 (char *) "self",(char *) "sp", NULL
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetSpaceAttachments",kwnames
,&obj0
,&obj1
)) goto fail
;
4709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4711 arg2
= (bool) SWIG_AsBool(obj1
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4715 (arg1
)->SetSpaceAttachments(arg2
);
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4720 Py_INCREF(Py_None
); resultobj
= Py_None
;
4727 static PyObject
*_wrap_PyShape_GetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
*resultobj
;
4729 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4731 PyObject
* obj0
= 0 ;
4733 (char *) "self", NULL
4736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSpaceAttachments",kwnames
,&obj0
)) goto fail
;
4737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 result
= (bool)(arg1
)->GetSpaceAttachments();
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) SWIG_fail
;
4747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4755 static PyObject
*_wrap_PyShape_SetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
*resultobj
;
4757 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4759 bool arg3
= (bool) False
;
4760 PyObject
* obj0
= 0 ;
4761 PyObject
* obj1
= 0 ;
4762 PyObject
* obj2
= 0 ;
4764 (char *) "self",(char *) "mode",(char *) "redraw", NULL
4767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetShadowMode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4770 arg2
= (int) SWIG_AsInt(obj1
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4773 arg3
= (bool) SWIG_AsBool(obj2
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4778 (arg1
)->SetShadowMode(arg2
,arg3
);
4780 wxPyEndAllowThreads(__tstate
);
4781 if (PyErr_Occurred()) SWIG_fail
;
4783 Py_INCREF(Py_None
); resultobj
= Py_None
;
4790 static PyObject
*_wrap_PyShape_GetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4791 PyObject
*resultobj
;
4792 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4794 PyObject
* obj0
= 0 ;
4796 (char *) "self", NULL
4799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetShadowMode",kwnames
,&obj0
)) goto fail
;
4800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4804 result
= (int)(arg1
)->GetShadowMode();
4806 wxPyEndAllowThreads(__tstate
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4809 resultobj
= SWIG_FromInt((int)result
);
4816 static PyObject
*_wrap_PyShape_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4817 PyObject
*resultobj
;
4818 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4821 int *arg4
= (int *) 0 ;
4822 double *arg5
= (double *) 0 ;
4826 PyObject
* obj0
= 0 ;
4827 PyObject
* obj1
= 0 ;
4828 PyObject
* obj2
= 0 ;
4830 (char *) "self",(char *) "x",(char *) "y", NULL
4835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_HitTest",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4838 arg2
= (double) SWIG_AsDouble(obj1
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4840 arg3
= (double) SWIG_AsDouble(obj2
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 result
= (bool)(arg1
)->HitTest(arg2
,arg3
,arg4
,arg5
);
4846 wxPyEndAllowThreads(__tstate
);
4847 if (PyErr_Occurred()) SWIG_fail
;
4850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4853 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4854 resultobj
= t_output_helper(resultobj
,o
);
4857 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
4858 resultobj
= t_output_helper(resultobj
,o
);
4866 static PyObject
*_wrap_PyShape_SetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
*resultobj
;
4868 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4870 PyObject
* obj0
= 0 ;
4871 PyObject
* obj1
= 0 ;
4873 (char *) "self",(char *) "cr", NULL
4876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCentreResize",kwnames
,&obj0
,&obj1
)) goto fail
;
4877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4879 arg2
= (bool) SWIG_AsBool(obj1
);
4880 if (PyErr_Occurred()) SWIG_fail
;
4882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4883 (arg1
)->SetCentreResize(arg2
);
4885 wxPyEndAllowThreads(__tstate
);
4886 if (PyErr_Occurred()) SWIG_fail
;
4888 Py_INCREF(Py_None
); resultobj
= Py_None
;
4895 static PyObject
*_wrap_PyShape_GetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
*resultobj
;
4897 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4899 PyObject
* obj0
= 0 ;
4901 (char *) "self", NULL
4904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCentreResize",kwnames
,&obj0
)) goto fail
;
4905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 result
= (bool)(arg1
)->GetCentreResize();
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4923 static PyObject
*_wrap_PyShape_SetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4924 PyObject
*resultobj
;
4925 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4927 PyObject
* obj0
= 0 ;
4928 PyObject
* obj1
= 0 ;
4930 (char *) "self",(char *) "ar", NULL
4933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
4934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4936 arg2
= (bool) SWIG_AsBool(obj1
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 (arg1
)->SetMaintainAspectRatio(arg2
);
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) SWIG_fail
;
4945 Py_INCREF(Py_None
); resultobj
= Py_None
;
4952 static PyObject
*_wrap_PyShape_GetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
*resultobj
;
4954 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4956 PyObject
* obj0
= 0 ;
4958 (char *) "self", NULL
4961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames
,&obj0
)) goto fail
;
4962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 result
= (bool)(arg1
)->GetMaintainAspectRatio();
4968 wxPyEndAllowThreads(__tstate
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4980 static PyObject
*_wrap_PyShape_GetLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
*resultobj
;
4982 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4984 PyObject
* obj0
= 0 ;
4986 (char *) "self", NULL
4989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetLines",kwnames
,&obj0
)) goto fail
;
4990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4994 result
= (PyObject
*)wxPyShape_GetLines(arg1
);
4996 wxPyEndAllowThreads(__tstate
);
4997 if (PyErr_Occurred()) SWIG_fail
;
5006 static PyObject
*_wrap_PyShape_SetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
*resultobj
;
5008 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5010 PyObject
* obj0
= 0 ;
5011 PyObject
* obj1
= 0 ;
5013 (char *) "self",(char *) "flag", NULL
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDisableLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
5017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5019 arg2
= (bool) SWIG_AsBool(obj1
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5023 (arg1
)->SetDisableLabel(arg2
);
5025 wxPyEndAllowThreads(__tstate
);
5026 if (PyErr_Occurred()) SWIG_fail
;
5028 Py_INCREF(Py_None
); resultobj
= Py_None
;
5035 static PyObject
*_wrap_PyShape_GetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5036 PyObject
*resultobj
;
5037 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5039 PyObject
* obj0
= 0 ;
5041 (char *) "self", NULL
5044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDisableLabel",kwnames
,&obj0
)) goto fail
;
5045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 result
= (bool)(arg1
)->GetDisableLabel();
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5063 static PyObject
*_wrap_PyShape_SetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
;
5065 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5067 PyObject
* obj0
= 0 ;
5068 PyObject
* obj1
= 0 ;
5070 (char *) "self",(char *) "mode", NULL
5073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetAttachmentMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5076 arg2
= (int) SWIG_AsInt(obj1
);
5077 if (PyErr_Occurred()) SWIG_fail
;
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 (arg1
)->SetAttachmentMode(arg2
);
5082 wxPyEndAllowThreads(__tstate
);
5083 if (PyErr_Occurred()) SWIG_fail
;
5085 Py_INCREF(Py_None
); resultobj
= Py_None
;
5092 static PyObject
*_wrap_PyShape_GetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
*resultobj
;
5094 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5096 PyObject
* obj0
= 0 ;
5098 (char *) "self", NULL
5101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachmentMode",kwnames
,&obj0
)) goto fail
;
5102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5106 result
= (int)(arg1
)->GetAttachmentMode();
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5111 resultobj
= SWIG_FromInt((int)result
);
5118 static PyObject
*_wrap_PyShape_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5119 PyObject
*resultobj
;
5120 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5122 PyObject
* obj0
= 0 ;
5123 PyObject
* obj1
= 0 ;
5125 (char *) "self",(char *) "i", NULL
5128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
5129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5131 arg2
= (long) SWIG_AsLong(obj1
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 (arg1
)->SetId(arg2
);
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5140 Py_INCREF(Py_None
); resultobj
= Py_None
;
5147 static PyObject
*_wrap_PyShape_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
;
5149 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5151 PyObject
* obj0
= 0 ;
5153 (char *) "self", NULL
5156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetId",kwnames
,&obj0
)) goto fail
;
5157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 result
= (long)(arg1
)->GetId();
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5166 resultobj
= SWIG_FromLong((long)result
);
5173 static PyObject
*_wrap_PyShape_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5174 PyObject
*resultobj
;
5175 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5176 wxPen
*arg2
= (wxPen
*) 0 ;
5177 PyObject
* obj0
= 0 ;
5178 PyObject
* obj1
= 0 ;
5180 (char *) "self",(char *) "pen", NULL
5183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
5184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5189 if (obj1
== Py_None
) {
5192 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
5193 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
5198 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 (arg1
)->SetPen(arg2
);
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 Py_INCREF(Py_None
); resultobj
= Py_None
;
5218 static PyObject
*_wrap_PyShape_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5219 PyObject
*resultobj
;
5220 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5221 wxBrush
*arg2
= (wxBrush
*) 0 ;
5222 PyObject
* obj0
= 0 ;
5223 PyObject
* obj1
= 0 ;
5225 (char *) "self",(char *) "brush", NULL
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
5229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5234 if (obj1
== Py_None
) {
5237 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
5238 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
5243 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
5248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5249 (arg1
)->SetBrush(arg2
);
5251 wxPyEndAllowThreads(__tstate
);
5252 if (PyErr_Occurred()) SWIG_fail
;
5254 Py_INCREF(Py_None
); resultobj
= Py_None
;
5261 static PyObject
*_wrap_PyShape_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5262 PyObject
*resultobj
;
5263 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5265 PyObject
* obj0
= 0 ;
5266 PyObject
* obj1
= 0 ;
5268 (char *) "self",(char *) "show", NULL
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5274 arg2
= (bool) SWIG_AsBool(obj1
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5283 Py_INCREF(Py_None
); resultobj
= Py_None
;
5290 static PyObject
*_wrap_PyShape_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
*resultobj
;
5292 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5294 PyObject
* obj0
= 0 ;
5296 (char *) "self", NULL
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsShown",kwnames
,&obj0
)) goto fail
;
5300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 result
= (bool)(arg1
)->IsShown();
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5318 static PyObject
*_wrap_PyShape_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5319 PyObject
*resultobj
;
5320 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5324 bool arg5
= (bool) True
;
5325 PyObject
* obj0
= 0 ;
5326 PyObject
* obj1
= 0 ;
5327 PyObject
* obj2
= 0 ;
5328 PyObject
* obj3
= 0 ;
5329 PyObject
* obj4
= 0 ;
5331 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
5334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShape_Move",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5338 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5341 PyErr_SetString(PyExc_TypeError
,"null reference");
5344 arg3
= (double) SWIG_AsDouble(obj2
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5346 arg4
= (double) SWIG_AsDouble(obj3
);
5347 if (PyErr_Occurred()) SWIG_fail
;
5349 arg5
= (bool) SWIG_AsBool(obj4
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 (arg1
)->Move(*arg2
,arg3
,arg4
,arg5
);
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5359 Py_INCREF(Py_None
); resultobj
= Py_None
;
5366 static PyObject
*_wrap_PyShape_Erase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
*resultobj
;
5368 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5370 PyObject
* obj0
= 0 ;
5371 PyObject
* obj1
= 0 ;
5373 (char *) "self",(char *) "dc", NULL
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Erase",kwnames
,&obj0
,&obj1
)) goto fail
;
5377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5379 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5380 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5383 PyErr_SetString(PyExc_TypeError
,"null reference");
5387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5388 (arg1
)->Erase(*arg2
);
5390 wxPyEndAllowThreads(__tstate
);
5391 if (PyErr_Occurred()) SWIG_fail
;
5393 Py_INCREF(Py_None
); resultobj
= Py_None
;
5400 static PyObject
*_wrap_PyShape_EraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
*resultobj
;
5402 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5404 PyObject
* obj0
= 0 ;
5405 PyObject
* obj1
= 0 ;
5407 (char *) "self",(char *) "dc", NULL
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_EraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
5411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5414 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5417 PyErr_SetString(PyExc_TypeError
,"null reference");
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 (arg1
)->EraseContents(*arg2
);
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5427 Py_INCREF(Py_None
); resultobj
= Py_None
;
5434 static PyObject
*_wrap_PyShape_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
*resultobj
;
5436 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5438 PyObject
* obj0
= 0 ;
5439 PyObject
* obj1
= 0 ;
5441 (char *) "self",(char *) "dc", NULL
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Draw",kwnames
,&obj0
,&obj1
)) goto fail
;
5445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5451 PyErr_SetString(PyExc_TypeError
,"null reference");
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 (arg1
)->Draw(*arg2
);
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5461 Py_INCREF(Py_None
); resultobj
= Py_None
;
5468 static PyObject
*_wrap_PyShape_Flash(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
*resultobj
;
5470 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5471 PyObject
* obj0
= 0 ;
5473 (char *) "self", NULL
5476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Flash",kwnames
,&obj0
)) goto fail
;
5477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 wxPyEndAllowThreads(__tstate
);
5484 if (PyErr_Occurred()) SWIG_fail
;
5486 Py_INCREF(Py_None
); resultobj
= Py_None
;
5493 static PyObject
*_wrap_PyShape_MoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5494 PyObject
*resultobj
;
5495 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5497 PyObject
* obj0
= 0 ;
5498 PyObject
* obj1
= 0 ;
5500 (char *) "self",(char *) "dc", NULL
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_MoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
5504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5507 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5510 PyErr_SetString(PyExc_TypeError
,"null reference");
5514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5515 (arg1
)->MoveLinks(*arg2
);
5517 wxPyEndAllowThreads(__tstate
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5520 Py_INCREF(Py_None
); resultobj
= Py_None
;
5527 static PyObject
*_wrap_PyShape_DrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5528 PyObject
*resultobj
;
5529 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5531 PyObject
* obj0
= 0 ;
5532 PyObject
* obj1
= 0 ;
5534 (char *) "self",(char *) "dc", NULL
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_DrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
5538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5540 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5541 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5544 PyErr_SetString(PyExc_TypeError
,"null reference");
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 (arg1
)->DrawContents(*arg2
);
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5554 Py_INCREF(Py_None
); resultobj
= Py_None
;
5561 static PyObject
*_wrap_PyShape_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
*resultobj
;
5563 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5566 bool arg4
= (bool) True
;
5567 PyObject
* obj0
= 0 ;
5568 PyObject
* obj1
= 0 ;
5569 PyObject
* obj2
= 0 ;
5570 PyObject
* obj3
= 0 ;
5572 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShape_SetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5578 arg2
= (double) SWIG_AsDouble(obj1
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5580 arg3
= (double) SWIG_AsDouble(obj2
);
5581 if (PyErr_Occurred()) SWIG_fail
;
5583 arg4
= (bool) SWIG_AsBool(obj3
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 (arg1
)->SetSize(arg2
,arg3
,arg4
);
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5593 Py_INCREF(Py_None
); resultobj
= Py_None
;
5600 static PyObject
*_wrap_PyShape_SetAttachmentSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
*resultobj
;
5602 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5605 PyObject
* obj0
= 0 ;
5606 PyObject
* obj1
= 0 ;
5607 PyObject
* obj2
= 0 ;
5609 (char *) "self",(char *) "x",(char *) "y", NULL
5612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetAttachmentSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5615 arg2
= (double) SWIG_AsDouble(obj1
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5617 arg3
= (double) SWIG_AsDouble(obj2
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5621 (arg1
)->SetAttachmentSize(arg2
,arg3
);
5623 wxPyEndAllowThreads(__tstate
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5626 Py_INCREF(Py_None
); resultobj
= Py_None
;
5633 static PyObject
*_wrap_PyShape_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5634 PyObject
*resultobj
;
5635 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5636 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
5637 PyObject
* obj0
= 0 ;
5638 PyObject
* obj1
= 0 ;
5640 (char *) "self",(char *) "can", NULL
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
5644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
5647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 (arg1
)->Attach(arg2
);
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5655 Py_INCREF(Py_None
); resultobj
= Py_None
;
5662 static PyObject
*_wrap_PyShape_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
*resultobj
;
5664 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5665 PyObject
* obj0
= 0 ;
5667 (char *) "self", NULL
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Detach",kwnames
,&obj0
)) goto fail
;
5671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5680 Py_INCREF(Py_None
); resultobj
= Py_None
;
5687 static PyObject
*_wrap_PyShape_Constrain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
;
5689 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5691 PyObject
* obj0
= 0 ;
5693 (char *) "self", NULL
5696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Constrain",kwnames
,&obj0
)) goto fail
;
5697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 result
= (bool)(arg1
)->Constrain();
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5715 static PyObject
*_wrap_PyShape_AddLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
*resultobj
;
5717 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5718 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5719 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
5720 int arg4
= (int) 0 ;
5721 int arg5
= (int) 0 ;
5722 int arg6
= (int) -1 ;
5723 int arg7
= (int) -1 ;
5724 PyObject
* obj0
= 0 ;
5725 PyObject
* obj1
= 0 ;
5726 PyObject
* obj2
= 0 ;
5727 PyObject
* obj3
= 0 ;
5728 PyObject
* obj4
= 0 ;
5729 PyObject
* obj5
= 0 ;
5730 PyObject
* obj6
= 0 ;
5732 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:PyShape_AddLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyLineShape
,
5739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5740 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
5741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5743 arg4
= (int) SWIG_AsInt(obj3
);
5744 if (PyErr_Occurred()) SWIG_fail
;
5747 arg5
= (int) SWIG_AsInt(obj4
);
5748 if (PyErr_Occurred()) SWIG_fail
;
5751 arg6
= (int) SWIG_AsInt(obj5
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5755 arg7
= (int) SWIG_AsInt(obj6
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 (arg1
)->AddLine(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 Py_INCREF(Py_None
); resultobj
= Py_None
;
5772 static PyObject
*_wrap_PyShape_GetLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
;
5774 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5775 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5777 PyObject
* obj0
= 0 ;
5778 PyObject
* obj1
= 0 ;
5780 (char *) "self",(char *) "line", NULL
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetLinePosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyLineShape
,
5787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5790 result
= (int)(arg1
)->GetLinePosition(arg2
);
5792 wxPyEndAllowThreads(__tstate
);
5793 if (PyErr_Occurred()) SWIG_fail
;
5795 resultobj
= SWIG_FromInt((int)result
);
5802 static PyObject
*_wrap_PyShape_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
*resultobj
;
5804 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5805 wxString
*arg2
= 0 ;
5806 bool temp2
= False
;
5807 PyObject
* obj0
= 0 ;
5808 PyObject
* obj1
= 0 ;
5810 (char *) "self",(char *) "string", NULL
5813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddText",kwnames
,&obj0
,&obj1
)) goto fail
;
5814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5817 arg2
= wxString_in_helper(obj1
);
5818 if (arg2
== NULL
) SWIG_fail
;
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 (arg1
)->AddText((wxString
const &)*arg2
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5828 Py_INCREF(Py_None
); resultobj
= Py_None
;
5843 static PyObject
*_wrap_PyShape_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
*resultobj
;
5845 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5847 PyObject
* obj0
= 0 ;
5849 (char *) "self", NULL
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetPen",kwnames
,&obj0
)) goto fail
;
5853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5857 result
= (wxPen
*)(arg1
)->GetPen();
5859 wxPyEndAllowThreads(__tstate
);
5860 if (PyErr_Occurred()) SWIG_fail
;
5862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
5869 static PyObject
*_wrap_PyShape_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
*resultobj
;
5871 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5873 PyObject
* obj0
= 0 ;
5875 (char *) "self", NULL
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBrush",kwnames
,&obj0
)) goto fail
;
5879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 result
= (wxBrush
*)(arg1
)->GetBrush();
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) SWIG_fail
;
5888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
5895 static PyObject
*_wrap_PyShape_SetDefaultRegionSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
*resultobj
;
5897 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5898 PyObject
* obj0
= 0 ;
5900 (char *) "self", NULL
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_SetDefaultRegionSize",kwnames
,&obj0
)) goto fail
;
5904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 (arg1
)->SetDefaultRegionSize();
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5913 Py_INCREF(Py_None
); resultobj
= Py_None
;
5920 static PyObject
*_wrap_PyShape_FormatText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
;
5922 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5924 wxString
*arg3
= 0 ;
5925 int arg4
= (int) 0 ;
5926 bool temp3
= False
;
5927 PyObject
* obj0
= 0 ;
5928 PyObject
* obj1
= 0 ;
5929 PyObject
* obj2
= 0 ;
5930 PyObject
* obj3
= 0 ;
5932 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShape_FormatText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5942 PyErr_SetString(PyExc_TypeError
,"null reference");
5946 arg3
= wxString_in_helper(obj2
);
5947 if (arg3
== NULL
) SWIG_fail
;
5951 arg4
= (int) SWIG_AsInt(obj3
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 (arg1
)->FormatText(*arg2
,(wxString
const &)*arg3
,arg4
);
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5961 Py_INCREF(Py_None
); resultobj
= Py_None
;
5976 static PyObject
*_wrap_PyShape_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5977 PyObject
*resultobj
;
5978 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5980 int arg3
= (int) 0 ;
5981 PyObject
* obj0
= 0 ;
5982 PyObject
* obj1
= 0 ;
5983 PyObject
* obj2
= 0 ;
5985 (char *) "self",(char *) "mode",(char *) "regionId", NULL
5988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetFormatMode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5991 arg2
= (int) SWIG_AsInt(obj1
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5994 arg3
= (int) SWIG_AsInt(obj2
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 (arg1
)->SetFormatMode(arg2
,arg3
);
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6004 Py_INCREF(Py_None
); resultobj
= Py_None
;
6011 static PyObject
*_wrap_PyShape_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
;
6013 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6014 int arg2
= (int) 0 ;
6016 PyObject
* obj0
= 0 ;
6017 PyObject
* obj1
= 0 ;
6019 (char *) "self",(char *) "regionId", NULL
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetFormatMode",kwnames
,&obj0
,&obj1
)) goto fail
;
6023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6026 arg2
= (int) SWIG_AsInt(obj1
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 result
= (int)(arg1
)->GetFormatMode(arg2
);
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6036 resultobj
= SWIG_FromInt((int)result
);
6043 static PyObject
*_wrap_PyShape_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
*resultobj
;
6045 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6046 wxFont
*arg2
= (wxFont
*) 0 ;
6047 int arg3
= (int) 0 ;
6048 PyObject
* obj0
= 0 ;
6049 PyObject
* obj1
= 0 ;
6050 PyObject
* obj2
= 0 ;
6052 (char *) "self",(char *) "font",(char *) "regionId", NULL
6055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6061 if (obj1
== Py_None
) {
6064 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
6065 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
6070 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
6074 temp
->GetUnderlined(),
6075 temp
->GetFaceName(),
6076 temp
->GetEncoding());
6081 arg3
= (int) SWIG_AsInt(obj2
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 (arg1
)->SetFont(arg2
,arg3
);
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6091 Py_INCREF(Py_None
); resultobj
= Py_None
;
6098 static PyObject
*_wrap_PyShape_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
;
6100 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6101 int arg2
= (int) 0 ;
6103 PyObject
* obj0
= 0 ;
6104 PyObject
* obj1
= 0 ;
6106 (char *) "self",(char *) "regionId", NULL
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6113 arg2
= (int) SWIG_AsInt(obj1
);
6114 if (PyErr_Occurred()) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
6130 static PyObject
*_wrap_PyShape_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6132 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6133 wxString
*arg2
= 0 ;
6134 int arg3
= (int) 0 ;
6135 bool temp2
= False
;
6136 PyObject
* obj0
= 0 ;
6137 PyObject
* obj1
= 0 ;
6138 PyObject
* obj2
= 0 ;
6140 (char *) "self",(char *) "colour",(char *) "regionId", NULL
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6147 arg2
= wxString_in_helper(obj1
);
6148 if (arg2
== NULL
) SWIG_fail
;
6152 arg3
= (int) SWIG_AsInt(obj2
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 (arg1
)->SetTextColour((wxString
const &)*arg2
,arg3
);
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 Py_INCREF(Py_None
); resultobj
= Py_None
;
6177 static PyObject
*_wrap_PyShape_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
*resultobj
;
6179 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6180 int arg2
= (int) 0 ;
6182 PyObject
* obj0
= 0 ;
6183 PyObject
* obj1
= 0 ;
6185 (char *) "self",(char *) "regionId", NULL
6188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6192 arg2
= (int) SWIG_AsInt(obj1
);
6193 if (PyErr_Occurred()) SWIG_fail
;
6196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6197 result
= (arg1
)->GetTextColour(arg2
);
6199 wxPyEndAllowThreads(__tstate
);
6200 if (PyErr_Occurred()) SWIG_fail
;
6204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6215 static PyObject
*_wrap_PyShape_GetNumberOfTextRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6216 PyObject
*resultobj
;
6217 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6219 PyObject
* obj0
= 0 ;
6221 (char *) "self", NULL
6224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames
,&obj0
)) goto fail
;
6225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6229 result
= (int)(arg1
)->GetNumberOfTextRegions();
6231 wxPyEndAllowThreads(__tstate
);
6232 if (PyErr_Occurred()) SWIG_fail
;
6234 resultobj
= SWIG_FromInt((int)result
);
6241 static PyObject
*_wrap_PyShape_SetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
*resultobj
;
6243 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6244 wxString
*arg2
= 0 ;
6245 int arg3
= (int) 0 ;
6246 bool temp2
= False
;
6247 PyObject
* obj0
= 0 ;
6248 PyObject
* obj1
= 0 ;
6249 PyObject
* obj2
= 0 ;
6251 (char *) "self",(char *) "name",(char *) "regionId", NULL
6254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetRegionName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6258 arg2
= wxString_in_helper(obj1
);
6259 if (arg2
== NULL
) SWIG_fail
;
6263 arg3
= (int) SWIG_AsInt(obj2
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 (arg1
)->SetRegionName((wxString
const &)*arg2
,arg3
);
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 Py_INCREF(Py_None
); resultobj
= Py_None
;
6288 static PyObject
*_wrap_PyShape_GetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6289 PyObject
*resultobj
;
6290 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6293 PyObject
* obj0
= 0 ;
6294 PyObject
* obj1
= 0 ;
6296 (char *) "self",(char *) "regionId", NULL
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionName",kwnames
,&obj0
,&obj1
)) goto fail
;
6300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6302 arg2
= (int) SWIG_AsInt(obj1
);
6303 if (PyErr_Occurred()) SWIG_fail
;
6305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6306 result
= (arg1
)->GetRegionName(arg2
);
6308 wxPyEndAllowThreads(__tstate
);
6309 if (PyErr_Occurred()) SWIG_fail
;
6313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6324 static PyObject
*_wrap_PyShape_GetRegionId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6325 PyObject
*resultobj
;
6326 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6327 wxString
*arg2
= 0 ;
6329 bool temp2
= False
;
6330 PyObject
* obj0
= 0 ;
6331 PyObject
* obj1
= 0 ;
6333 (char *) "self",(char *) "name", NULL
6336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionId",kwnames
,&obj0
,&obj1
)) goto fail
;
6337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6340 arg2
= wxString_in_helper(obj1
);
6341 if (arg2
== NULL
) SWIG_fail
;
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 result
= (int)(arg1
)->GetRegionId((wxString
const &)*arg2
);
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6351 resultobj
= SWIG_FromInt((int)result
);
6366 static PyObject
*_wrap_PyShape_NameRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
*resultobj
;
6368 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6369 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6370 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6371 bool temp2
= False
;
6372 PyObject
* obj0
= 0 ;
6373 PyObject
* obj1
= 0 ;
6375 (char *) "self",(char *) "parentName", NULL
6378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_NameRegions",kwnames
,&obj0
,&obj1
)) goto fail
;
6379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6383 arg2
= wxString_in_helper(obj1
);
6384 if (arg2
== NULL
) SWIG_fail
;
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 (arg1
)->NameRegions((wxString
const &)*arg2
);
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) SWIG_fail
;
6395 Py_INCREF(Py_None
); resultobj
= Py_None
;
6410 static PyObject
*_wrap_PyShape_GetRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
*resultobj
;
6412 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6414 PyObject
* obj0
= 0 ;
6416 (char *) "self", NULL
6419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRegions",kwnames
,&obj0
)) goto fail
;
6420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6424 result
= (PyObject
*)wxPyShape_GetRegions(arg1
);
6426 wxPyEndAllowThreads(__tstate
);
6427 if (PyErr_Occurred()) SWIG_fail
;
6436 static PyObject
*_wrap_PyShape_AddRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6437 PyObject
*resultobj
;
6438 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6439 wxShapeRegion
*arg2
= (wxShapeRegion
*) 0 ;
6440 PyObject
* obj0
= 0 ;
6441 PyObject
* obj1
= 0 ;
6443 (char *) "self",(char *) "region", NULL
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6449 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxShapeRegion
,
6450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 (arg1
)->AddRegion(arg2
);
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6458 Py_INCREF(Py_None
); resultobj
= Py_None
;
6465 static PyObject
*_wrap_PyShape_ClearRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
;
6467 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6468 PyObject
* obj0
= 0 ;
6470 (char *) "self", NULL
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearRegions",kwnames
,&obj0
)) goto fail
;
6474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 (arg1
)->ClearRegions();
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6483 Py_INCREF(Py_None
); resultobj
= Py_None
;
6490 static PyObject
*_wrap_PyShape_AssignNewIds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
*resultobj
;
6492 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6493 PyObject
* obj0
= 0 ;
6495 (char *) "self", NULL
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AssignNewIds",kwnames
,&obj0
)) goto fail
;
6499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 (arg1
)->AssignNewIds();
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6508 Py_INCREF(Py_None
); resultobj
= Py_None
;
6515 static PyObject
*_wrap_PyShape_FindRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
*resultobj
;
6517 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6518 wxString
*arg2
= 0 ;
6519 int *arg3
= (int *) 0 ;
6521 bool temp2
= False
;
6523 PyObject
* obj0
= 0 ;
6524 PyObject
* obj1
= 0 ;
6526 (char *) "self",(char *) "regionName", NULL
6530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6534 arg2
= wxString_in_helper(obj1
);
6535 if (arg2
== NULL
) SWIG_fail
;
6539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6540 result
= (wxPyShape
*)(arg1
)->FindRegion((wxString
const &)*arg2
,arg3
);
6542 wxPyEndAllowThreads(__tstate
);
6543 if (PyErr_Occurred()) SWIG_fail
;
6546 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
6549 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
6550 resultobj
= t_output_helper(resultobj
,o
);
6566 static PyObject
*_wrap_PyShape_FindRegionNames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
*resultobj
;
6568 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6569 wxStringList
*arg2
= 0 ;
6570 PyObject
* obj0
= 0 ;
6571 PyObject
* obj1
= 0 ;
6573 (char *) "self",(char *) "list", NULL
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegionNames",kwnames
,&obj0
,&obj1
)) goto fail
;
6577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStringList
,
6580 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6583 PyErr_SetString(PyExc_TypeError
,"null reference");
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 (arg1
)->FindRegionNames(*arg2
);
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 Py_INCREF(Py_None
); resultobj
= Py_None
;
6600 static PyObject
*_wrap_PyShape_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
;
6602 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6603 int arg2
= (int) 0 ;
6604 PyObject
* obj0
= 0 ;
6605 PyObject
* obj1
= 0 ;
6607 (char *) "self",(char *) "regionId", NULL
6610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_ClearText",kwnames
,&obj0
,&obj1
)) goto fail
;
6611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6614 arg2
= (int) SWIG_AsInt(obj1
);
6615 if (PyErr_Occurred()) SWIG_fail
;
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 (arg1
)->ClearText(arg2
);
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6624 Py_INCREF(Py_None
); resultobj
= Py_None
;
6631 static PyObject
*_wrap_PyShape_RemoveLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6632 PyObject
*resultobj
;
6633 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6634 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
6635 PyObject
* obj0
= 0 ;
6636 PyObject
* obj1
= 0 ;
6638 (char *) "self",(char *) "line", NULL
6641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveLine",kwnames
,&obj0
,&obj1
)) goto fail
;
6642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyLineShape
,
6645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6648 (arg1
)->RemoveLine(arg2
);
6650 wxPyEndAllowThreads(__tstate
);
6651 if (PyErr_Occurred()) SWIG_fail
;
6653 Py_INCREF(Py_None
); resultobj
= Py_None
;
6660 static PyObject
*_wrap_PyShape_GetAttachmentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6661 PyObject
*resultobj
;
6662 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6664 double *arg3
= (double *) 0 ;
6665 double *arg4
= (double *) 0 ;
6666 int arg5
= (int) 0 ;
6667 int arg6
= (int) 1 ;
6668 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
6672 PyObject
* obj0
= 0 ;
6673 PyObject
* obj1
= 0 ;
6674 PyObject
* obj2
= 0 ;
6675 PyObject
* obj3
= 0 ;
6676 PyObject
* obj4
= 0 ;
6678 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PyShape_GetAttachmentPosition",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6686 arg2
= (int) SWIG_AsInt(obj1
);
6687 if (PyErr_Occurred()) SWIG_fail
;
6689 arg5
= (int) SWIG_AsInt(obj2
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6693 arg6
= (int) SWIG_AsInt(obj3
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6697 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg7
),SWIGTYPE_p_wxPyLineShape
,
6698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6702 result
= (bool)(arg1
)->GetAttachmentPosition(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
6704 wxPyEndAllowThreads(__tstate
);
6705 if (PyErr_Occurred()) SWIG_fail
;
6708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6711 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
6712 resultobj
= t_output_helper(resultobj
,o
);
6715 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
6716 resultobj
= t_output_helper(resultobj
,o
);
6724 static PyObject
*_wrap_PyShape_GetNumberOfAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6725 PyObject
*resultobj
;
6726 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6728 PyObject
* obj0
= 0 ;
6730 (char *) "self", NULL
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfAttachments",kwnames
,&obj0
)) goto fail
;
6734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6738 result
= (int)(arg1
)->GetNumberOfAttachments();
6740 wxPyEndAllowThreads(__tstate
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6743 resultobj
= SWIG_FromInt((int)result
);
6750 static PyObject
*_wrap_PyShape_AttachmentIsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
*resultobj
;
6752 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6755 PyObject
* obj0
= 0 ;
6756 PyObject
* obj1
= 0 ;
6758 (char *) "self",(char *) "attachment", NULL
6761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AttachmentIsValid",kwnames
,&obj0
,&obj1
)) goto fail
;
6762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6764 arg2
= (int) SWIG_AsInt(obj1
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6768 result
= (bool)(arg1
)->AttachmentIsValid(arg2
);
6770 wxPyEndAllowThreads(__tstate
);
6771 if (PyErr_Occurred()) SWIG_fail
;
6774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6782 static PyObject
*_wrap_PyShape_GetAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
*resultobj
;
6784 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6786 PyObject
* obj0
= 0 ;
6788 (char *) "self", NULL
6791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachments",kwnames
,&obj0
)) goto fail
;
6792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 result
= (PyObject
*)wxPyShape_GetAttachments(arg1
);
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) SWIG_fail
;
6808 static PyObject
*_wrap_PyShape_GetAttachmentPositionEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
*resultobj
;
6810 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6812 double *arg3
= (double *) 0 ;
6813 double *arg4
= (double *) 0 ;
6814 int arg5
= (int) 0 ;
6815 int arg6
= (int) 1 ;
6816 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
6820 PyObject
* obj0
= 0 ;
6821 PyObject
* obj1
= 0 ;
6822 PyObject
* obj2
= 0 ;
6823 PyObject
* obj3
= 0 ;
6824 PyObject
* obj4
= 0 ;
6826 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PyShape_GetAttachmentPositionEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6834 arg2
= (int) SWIG_AsInt(obj1
);
6835 if (PyErr_Occurred()) SWIG_fail
;
6837 arg5
= (int) SWIG_AsInt(obj2
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6841 arg6
= (int) SWIG_AsInt(obj3
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6845 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg7
),SWIGTYPE_p_wxPyLineShape
,
6846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 result
= (bool)(arg1
)->GetAttachmentPositionEdge(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6859 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
6860 resultobj
= t_output_helper(resultobj
,o
);
6863 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
6864 resultobj
= t_output_helper(resultobj
,o
);
6872 static PyObject
*_wrap_PyShape_CalcSimpleAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6873 PyObject
*resultobj
;
6874 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6875 wxRealPoint
*arg2
= 0 ;
6876 wxRealPoint
*arg3
= 0 ;
6879 wxPyLineShape
*arg6
= (wxPyLineShape
*) 0 ;
6883 PyObject
* obj0
= 0 ;
6884 PyObject
* obj1
= 0 ;
6885 PyObject
* obj2
= 0 ;
6886 PyObject
* obj3
= 0 ;
6887 PyObject
* obj4
= 0 ;
6888 PyObject
* obj5
= 0 ;
6890 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_CalcSimpleAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6898 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6902 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6904 arg4
= (int) SWIG_AsInt(obj3
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6906 arg5
= (int) SWIG_AsInt(obj4
);
6907 if (PyErr_Occurred()) SWIG_fail
;
6908 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyLineShape
,
6909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6912 result
= (arg1
)->CalcSimpleAttachment((wxRealPoint
const &)*arg2
,(wxRealPoint
const &)*arg3
,arg4
,arg5
,arg6
);
6914 wxPyEndAllowThreads(__tstate
);
6915 if (PyErr_Occurred()) SWIG_fail
;
6918 wxRealPoint
* resultptr
;
6919 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
6920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
6928 static PyObject
*_wrap_PyShape_AttachmentSortTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
*resultobj
;
6930 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6932 wxRealPoint
*arg3
= 0 ;
6933 wxRealPoint
*arg4
= 0 ;
6937 PyObject
* obj0
= 0 ;
6938 PyObject
* obj1
= 0 ;
6939 PyObject
* obj2
= 0 ;
6940 PyObject
* obj3
= 0 ;
6942 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
6945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShape_AttachmentSortTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6948 arg2
= (int) SWIG_AsInt(obj1
);
6949 if (PyErr_Occurred()) SWIG_fail
;
6952 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6956 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6960 result
= (bool)(arg1
)->AttachmentSortTest(arg2
,(wxRealPoint
const &)*arg3
,(wxRealPoint
const &)*arg4
);
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6974 static PyObject
*_wrap_PyShape_EraseLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
*resultobj
;
6976 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6978 int arg3
= (int) -1 ;
6979 bool arg4
= (bool) False
;
6980 PyObject
* obj0
= 0 ;
6981 PyObject
* obj1
= 0 ;
6982 PyObject
* obj2
= 0 ;
6983 PyObject
* obj3
= 0 ;
6985 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PyShape_EraseLinks",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6992 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6995 PyErr_SetString(PyExc_TypeError
,"null reference");
6999 arg3
= (int) SWIG_AsInt(obj2
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7003 arg4
= (bool) SWIG_AsBool(obj3
);
7004 if (PyErr_Occurred()) SWIG_fail
;
7007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7008 (arg1
)->EraseLinks(*arg2
,arg3
,arg4
);
7010 wxPyEndAllowThreads(__tstate
);
7011 if (PyErr_Occurred()) SWIG_fail
;
7013 Py_INCREF(Py_None
); resultobj
= Py_None
;
7020 static PyObject
*_wrap_PyShape_DrawLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
*resultobj
;
7022 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7024 int arg3
= (int) -1 ;
7025 bool arg4
= (bool) False
;
7026 PyObject
* obj0
= 0 ;
7027 PyObject
* obj1
= 0 ;
7028 PyObject
* obj2
= 0 ;
7029 PyObject
* obj3
= 0 ;
7031 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
7034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PyShape_DrawLinks",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7041 PyErr_SetString(PyExc_TypeError
,"null reference");
7045 arg3
= (int) SWIG_AsInt(obj2
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7049 arg4
= (bool) SWIG_AsBool(obj3
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 (arg1
)->DrawLinks(*arg2
,arg3
,arg4
);
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7059 Py_INCREF(Py_None
); resultobj
= Py_None
;
7066 static PyObject
*_wrap_PyShape_MoveLineToNewAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7067 PyObject
*resultobj
;
7068 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7070 wxPyLineShape
*arg3
= (wxPyLineShape
*) 0 ;
7074 PyObject
* obj0
= 0 ;
7075 PyObject
* obj1
= 0 ;
7076 PyObject
* obj2
= 0 ;
7077 PyObject
* obj3
= 0 ;
7078 PyObject
* obj4
= 0 ;
7080 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_MoveLineToNewAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7087 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7090 PyErr_SetString(PyExc_TypeError
,"null reference");
7093 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyLineShape
,
7094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7095 arg4
= (double) SWIG_AsDouble(obj3
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7097 arg5
= (double) SWIG_AsDouble(obj4
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7101 result
= (bool)(arg1
)->MoveLineToNewAttachment(*arg2
,arg3
,arg4
,arg5
);
7103 wxPyEndAllowThreads(__tstate
);
7104 if (PyErr_Occurred()) SWIG_fail
;
7107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7115 static PyObject
*_wrap_PyShape_ApplyAttachmentOrdering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
*resultobj
;
7117 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7118 PyObject
*arg2
= (PyObject
*) 0 ;
7119 PyObject
* obj0
= 0 ;
7120 PyObject
* obj1
= 0 ;
7122 (char *) "self",(char *) "linesToSort", NULL
7125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames
,&obj0
,&obj1
)) goto fail
;
7126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7131 wxPyShape_ApplyAttachmentOrdering(arg1
,arg2
);
7133 wxPyEndAllowThreads(__tstate
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7136 Py_INCREF(Py_None
); resultobj
= Py_None
;
7143 static PyObject
*_wrap_PyShape_GetBranchingAttachmentRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
;
7145 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7148 PyObject
* obj0
= 0 ;
7149 PyObject
* obj1
= 0 ;
7151 (char *) "self",(char *) "attachment", NULL
7154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetBranchingAttachmentRoot",kwnames
,&obj0
,&obj1
)) goto fail
;
7155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7157 arg2
= (int) SWIG_AsInt(obj1
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7161 result
= (arg1
)->GetBranchingAttachmentRoot(arg2
);
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7167 wxRealPoint
* resultptr
;
7168 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
7169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
7177 static PyObject
*_wrap_PyShape_GetBranchingAttachmentInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
*resultobj
;
7179 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7181 wxRealPoint
*arg3
= 0 ;
7182 wxRealPoint
*arg4
= 0 ;
7183 wxRealPoint
*arg5
= 0 ;
7184 wxRealPoint
*arg6
= 0 ;
7190 PyObject
* obj0
= 0 ;
7191 PyObject
* obj1
= 0 ;
7192 PyObject
* obj2
= 0 ;
7193 PyObject
* obj3
= 0 ;
7194 PyObject
* obj4
= 0 ;
7195 PyObject
* obj5
= 0 ;
7197 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
7200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_GetBranchingAttachmentInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7203 arg2
= (int) SWIG_AsInt(obj1
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7207 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7211 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7215 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7219 if ( ! wxRealPoint_helper(obj5
, &arg6
)) SWIG_fail
;
7222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7223 result
= (bool)(arg1
)->GetBranchingAttachmentInfo(arg2
,*arg3
,*arg4
,*arg5
,*arg6
);
7225 wxPyEndAllowThreads(__tstate
);
7226 if (PyErr_Occurred()) SWIG_fail
;
7229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7237 static PyObject
*_wrap_PyShape_GetBranchingAttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7238 PyObject
*resultobj
;
7239 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7242 wxRealPoint
*arg4
= 0 ;
7243 wxRealPoint
*arg5
= 0 ;
7247 PyObject
* obj0
= 0 ;
7248 PyObject
* obj1
= 0 ;
7249 PyObject
* obj2
= 0 ;
7250 PyObject
* obj3
= 0 ;
7251 PyObject
* obj4
= 0 ;
7253 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_GetBranchingAttachmentPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7259 arg2
= (int) SWIG_AsInt(obj1
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7261 arg3
= (int) SWIG_AsInt(obj2
);
7262 if (PyErr_Occurred()) SWIG_fail
;
7265 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7269 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7273 result
= (bool)(arg1
)->GetBranchingAttachmentPoint(arg2
,arg3
,*arg4
,*arg5
);
7275 wxPyEndAllowThreads(__tstate
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7287 static PyObject
*_wrap_PyShape_GetAttachmentLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7288 PyObject
*resultobj
;
7289 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7292 PyObject
* obj0
= 0 ;
7293 PyObject
* obj1
= 0 ;
7295 (char *) "self",(char *) "attachment", NULL
7298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetAttachmentLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7301 arg2
= (int) SWIG_AsInt(obj1
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 result
= (int)(arg1
)->GetAttachmentLineCount(arg2
);
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7310 resultobj
= SWIG_FromInt((int)result
);
7317 static PyObject
*_wrap_PyShape_SetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
*resultobj
;
7319 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7321 PyObject
* obj0
= 0 ;
7322 PyObject
* obj1
= 0 ;
7324 (char *) "self",(char *) "len", NULL
7327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchNeckLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7330 arg2
= (int) SWIG_AsInt(obj1
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 (arg1
)->SetBranchNeckLength(arg2
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 Py_INCREF(Py_None
); resultobj
= Py_None
;
7346 static PyObject
*_wrap_PyShape_GetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
*resultobj
;
7348 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7350 PyObject
* obj0
= 0 ;
7352 (char *) "self", NULL
7355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchNeckLength",kwnames
,&obj0
)) goto fail
;
7356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 result
= (int)(arg1
)->GetBranchNeckLength();
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 resultobj
= SWIG_FromInt((int)result
);
7372 static PyObject
*_wrap_PyShape_SetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7373 PyObject
*resultobj
;
7374 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7376 PyObject
* obj0
= 0 ;
7377 PyObject
* obj1
= 0 ;
7379 (char *) "self",(char *) "len", NULL
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchStemLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7385 arg2
= (int) SWIG_AsInt(obj1
);
7386 if (PyErr_Occurred()) SWIG_fail
;
7388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7389 (arg1
)->SetBranchStemLength(arg2
);
7391 wxPyEndAllowThreads(__tstate
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7394 Py_INCREF(Py_None
); resultobj
= Py_None
;
7401 static PyObject
*_wrap_PyShape_GetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
*resultobj
;
7403 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7405 PyObject
* obj0
= 0 ;
7407 (char *) "self", NULL
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStemLength",kwnames
,&obj0
)) goto fail
;
7411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7415 result
= (int)(arg1
)->GetBranchStemLength();
7417 wxPyEndAllowThreads(__tstate
);
7418 if (PyErr_Occurred()) SWIG_fail
;
7420 resultobj
= SWIG_FromInt((int)result
);
7427 static PyObject
*_wrap_PyShape_SetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7428 PyObject
*resultobj
;
7429 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7431 PyObject
* obj0
= 0 ;
7432 PyObject
* obj1
= 0 ;
7434 (char *) "self",(char *) "len", NULL
7437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
7438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7440 arg2
= (int) SWIG_AsInt(obj1
);
7441 if (PyErr_Occurred()) SWIG_fail
;
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 (arg1
)->SetBranchSpacing(arg2
);
7446 wxPyEndAllowThreads(__tstate
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7449 Py_INCREF(Py_None
); resultobj
= Py_None
;
7456 static PyObject
*_wrap_PyShape_GetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7457 PyObject
*resultobj
;
7458 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7460 PyObject
* obj0
= 0 ;
7462 (char *) "self", NULL
7465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchSpacing",kwnames
,&obj0
)) goto fail
;
7466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 result
= (int)(arg1
)->GetBranchSpacing();
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7475 resultobj
= SWIG_FromInt((int)result
);
7482 static PyObject
*_wrap_PyShape_SetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
*resultobj
;
7484 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7486 PyObject
* obj0
= 0 ;
7487 PyObject
* obj1
= 0 ;
7489 (char *) "self",(char *) "style", NULL
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7495 arg2
= (long) SWIG_AsLong(obj1
);
7496 if (PyErr_Occurred()) SWIG_fail
;
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 (arg1
)->SetBranchStyle(arg2
);
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) SWIG_fail
;
7504 Py_INCREF(Py_None
); resultobj
= Py_None
;
7511 static PyObject
*_wrap_PyShape_GetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7512 PyObject
*resultobj
;
7513 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7515 PyObject
* obj0
= 0 ;
7517 (char *) "self", NULL
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStyle",kwnames
,&obj0
)) goto fail
;
7521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 result
= (long)(arg1
)->GetBranchStyle();
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 resultobj
= SWIG_FromLong((long)result
);
7537 static PyObject
*_wrap_PyShape_PhysicalToLogicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
;
7539 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7542 PyObject
* obj0
= 0 ;
7543 PyObject
* obj1
= 0 ;
7545 (char *) "self",(char *) "physicalAttachment", NULL
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_PhysicalToLogicalAttachment",kwnames
,&obj0
,&obj1
)) goto fail
;
7549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7551 arg2
= (int) SWIG_AsInt(obj1
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7555 result
= (int)(arg1
)->PhysicalToLogicalAttachment(arg2
);
7557 wxPyEndAllowThreads(__tstate
);
7558 if (PyErr_Occurred()) SWIG_fail
;
7560 resultobj
= SWIG_FromInt((int)result
);
7567 static PyObject
*_wrap_PyShape_LogicalToPhysicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7568 PyObject
*resultobj
;
7569 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7572 PyObject
* obj0
= 0 ;
7573 PyObject
* obj1
= 0 ;
7575 (char *) "self",(char *) "logicalAttachment", NULL
7578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_LogicalToPhysicalAttachment",kwnames
,&obj0
,&obj1
)) goto fail
;
7579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7581 arg2
= (int) SWIG_AsInt(obj1
);
7582 if (PyErr_Occurred()) SWIG_fail
;
7584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7585 result
= (int)(arg1
)->LogicalToPhysicalAttachment(arg2
);
7587 wxPyEndAllowThreads(__tstate
);
7588 if (PyErr_Occurred()) SWIG_fail
;
7590 resultobj
= SWIG_FromInt((int)result
);
7597 static PyObject
*_wrap_PyShape_Draggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7598 PyObject
*resultobj
;
7599 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7601 PyObject
* obj0
= 0 ;
7603 (char *) "self", NULL
7606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Draggable",kwnames
,&obj0
)) goto fail
;
7607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 result
= (bool)(arg1
)->Draggable();
7613 wxPyEndAllowThreads(__tstate
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7625 static PyObject
*_wrap_PyShape_HasDescendant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7626 PyObject
*resultobj
;
7627 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7628 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
7630 PyObject
* obj0
= 0 ;
7631 PyObject
* obj1
= 0 ;
7633 (char *) "self",(char *) "image", NULL
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_HasDescendant",kwnames
,&obj0
,&obj1
)) goto fail
;
7637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
7640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7643 result
= (bool)(arg1
)->HasDescendant(arg2
);
7645 wxPyEndAllowThreads(__tstate
);
7646 if (PyErr_Occurred()) SWIG_fail
;
7649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7657 static PyObject
*_wrap_PyShape_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7658 PyObject
*resultobj
;
7659 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7660 bool arg2
= (bool) True
;
7661 bool arg3
= (bool) True
;
7663 PyObject
* obj0
= 0 ;
7664 PyObject
* obj1
= 0 ;
7665 PyObject
* obj2
= 0 ;
7667 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_CreateNewCopy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7674 arg2
= (bool) SWIG_AsBool(obj1
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7678 arg3
= (bool) SWIG_AsBool(obj2
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7683 result
= (wxPyShape
*)(arg1
)->CreateNewCopy(arg2
,arg3
);
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7689 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
7697 static PyObject
*_wrap_PyShape_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
*resultobj
;
7699 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7700 wxPyShape
*arg2
= 0 ;
7701 PyObject
* obj0
= 0 ;
7702 PyObject
* obj1
= 0 ;
7704 (char *) "self",(char *) "copy", NULL
7707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
7708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
7711 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7714 PyErr_SetString(PyExc_TypeError
,"null reference");
7718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 (arg1
)->Copy(*arg2
);
7721 wxPyEndAllowThreads(__tstate
);
7722 if (PyErr_Occurred()) SWIG_fail
;
7724 Py_INCREF(Py_None
); resultobj
= Py_None
;
7731 static PyObject
*_wrap_PyShape_CopyWithHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7732 PyObject
*resultobj
;
7733 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7734 wxPyShape
*arg2
= 0 ;
7735 PyObject
* obj0
= 0 ;
7736 PyObject
* obj1
= 0 ;
7738 (char *) "self",(char *) "copy", NULL
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_CopyWithHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
7742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
7745 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7748 PyErr_SetString(PyExc_TypeError
,"null reference");
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 (arg1
)->CopyWithHandler(*arg2
);
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7758 Py_INCREF(Py_None
); resultobj
= Py_None
;
7765 static PyObject
*_wrap_PyShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
*resultobj
;
7767 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7771 PyObject
* obj0
= 0 ;
7772 PyObject
* obj1
= 0 ;
7773 PyObject
* obj2
= 0 ;
7774 PyObject
* obj3
= 0 ;
7776 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShape_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7782 arg2
= (double) SWIG_AsDouble(obj1
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7784 arg3
= (double) SWIG_AsDouble(obj2
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7786 arg4
= (double) SWIG_AsDouble(obj3
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 (arg1
)->Rotate(arg2
,arg3
,arg4
);
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7795 Py_INCREF(Py_None
); resultobj
= Py_None
;
7802 static PyObject
*_wrap_PyShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7803 PyObject
*resultobj
;
7804 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7806 PyObject
* obj0
= 0 ;
7808 (char *) "self", NULL
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRotation",kwnames
,&obj0
)) goto fail
;
7812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7816 result
= (double)(arg1
)->GetRotation();
7818 wxPyEndAllowThreads(__tstate
);
7819 if (PyErr_Occurred()) SWIG_fail
;
7821 resultobj
= SWIG_FromDouble((double)result
);
7828 static PyObject
*_wrap_PyShape_SetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7829 PyObject
*resultobj
;
7830 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7832 PyObject
* obj0
= 0 ;
7833 PyObject
* obj1
= 0 ;
7835 (char *) "self",(char *) "rotation", NULL
7838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetRotation",kwnames
,&obj0
,&obj1
)) goto fail
;
7839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7841 arg2
= (double) SWIG_AsDouble(obj1
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7845 (arg1
)->SetRotation(arg2
);
7847 wxPyEndAllowThreads(__tstate
);
7848 if (PyErr_Occurred()) SWIG_fail
;
7850 Py_INCREF(Py_None
); resultobj
= Py_None
;
7857 static PyObject
*_wrap_PyShape_ClearAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
*resultobj
;
7859 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7860 PyObject
* obj0
= 0 ;
7862 (char *) "self", NULL
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearAttachments",kwnames
,&obj0
)) goto fail
;
7866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7870 (arg1
)->ClearAttachments();
7872 wxPyEndAllowThreads(__tstate
);
7873 if (PyErr_Occurred()) SWIG_fail
;
7875 Py_INCREF(Py_None
); resultobj
= Py_None
;
7882 static PyObject
*_wrap_PyShape_Recentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
*resultobj
;
7884 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7886 PyObject
* obj0
= 0 ;
7887 PyObject
* obj1
= 0 ;
7889 (char *) "self",(char *) "dc", NULL
7892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Recentre",kwnames
,&obj0
,&obj1
)) goto fail
;
7893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7896 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7899 PyErr_SetString(PyExc_TypeError
,"null reference");
7903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7904 (arg1
)->Recentre(*arg2
);
7906 wxPyEndAllowThreads(__tstate
);
7907 if (PyErr_Occurred()) SWIG_fail
;
7909 Py_INCREF(Py_None
); resultobj
= Py_None
;
7916 static PyObject
*_wrap_PyShape_ClearPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7917 PyObject
*resultobj
;
7918 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7920 PyObject
* obj0
= 0 ;
7921 PyObject
* obj1
= 0 ;
7923 (char *) "self",(char *) "list", NULL
7926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ClearPointList",kwnames
,&obj0
,&obj1
)) goto fail
;
7927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxList
,
7930 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7933 PyErr_SetString(PyExc_TypeError
,"null reference");
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 (arg1
)->ClearPointList(*arg2
);
7940 wxPyEndAllowThreads(__tstate
);
7941 if (PyErr_Occurred()) SWIG_fail
;
7943 Py_INCREF(Py_None
); resultobj
= Py_None
;
7950 static PyObject
*_wrap_PyShape_GetBackgroundPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7951 PyObject
*resultobj
;
7952 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7954 PyObject
* obj0
= 0 ;
7956 (char *) "self", NULL
7959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundPen",kwnames
,&obj0
)) goto fail
;
7960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 result
= (arg1
)->GetBackgroundPen();
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7971 resultptr
= new wxPen((wxPen
&) result
);
7972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPen
, 1);
7980 static PyObject
*_wrap_PyShape_GetBackgroundBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7981 PyObject
*resultobj
;
7982 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7984 PyObject
* obj0
= 0 ;
7986 (char *) "self", NULL
7989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundBrush",kwnames
,&obj0
)) goto fail
;
7990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7994 result
= (arg1
)->GetBackgroundBrush();
7996 wxPyEndAllowThreads(__tstate
);
7997 if (PyErr_Occurred()) SWIG_fail
;
8000 wxBrush
* resultptr
;
8001 resultptr
= new wxBrush((wxBrush
&) result
);
8002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
8010 static PyObject
*_wrap_PyShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
;
8012 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8013 PyObject
* obj0
= 0 ;
8015 (char *) "self", NULL
8018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
8019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 (arg1
)->base_OnDelete();
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8028 Py_INCREF(Py_None
); resultobj
= Py_None
;
8035 static PyObject
*_wrap_PyShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
;
8037 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8039 PyObject
* obj0
= 0 ;
8040 PyObject
* obj1
= 0 ;
8042 (char *) "self",(char *) "dc", NULL
8045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
8046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8049 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8052 PyErr_SetString(PyExc_TypeError
,"null reference");
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8057 (arg1
)->base_OnDraw(*arg2
);
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8062 Py_INCREF(Py_None
); resultobj
= Py_None
;
8069 static PyObject
*_wrap_PyShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
*resultobj
;
8071 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8073 PyObject
* obj0
= 0 ;
8074 PyObject
* obj1
= 0 ;
8076 (char *) "self",(char *) "dc", NULL
8079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
8080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8083 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8086 PyErr_SetString(PyExc_TypeError
,"null reference");
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 (arg1
)->base_OnDrawContents(*arg2
);
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8096 Py_INCREF(Py_None
); resultobj
= Py_None
;
8103 static PyObject
*_wrap_PyShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8104 PyObject
*resultobj
;
8105 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8107 bool arg3
= (bool) False
;
8108 PyObject
* obj0
= 0 ;
8109 PyObject
* obj1
= 0 ;
8110 PyObject
* obj2
= 0 ;
8112 (char *) "self",(char *) "dc",(char *) "erase", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8118 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8119 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8122 PyErr_SetString(PyExc_TypeError
,"null reference");
8126 arg3
= (bool) SWIG_AsBool(obj2
);
8127 if (PyErr_Occurred()) SWIG_fail
;
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
8133 wxPyEndAllowThreads(__tstate
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8136 Py_INCREF(Py_None
); resultobj
= Py_None
;
8143 static PyObject
*_wrap_PyShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8144 PyObject
*resultobj
;
8145 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8147 PyObject
* obj0
= 0 ;
8148 PyObject
* obj1
= 0 ;
8150 (char *) "self",(char *) "dc", NULL
8153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
8154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8157 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8160 PyErr_SetString(PyExc_TypeError
,"null reference");
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 (arg1
)->base_OnMoveLinks(*arg2
);
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8170 Py_INCREF(Py_None
); resultobj
= Py_None
;
8177 static PyObject
*_wrap_PyShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
*resultobj
;
8179 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8181 PyObject
* obj0
= 0 ;
8182 PyObject
* obj1
= 0 ;
8184 (char *) "self",(char *) "dc", NULL
8187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
8188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8191 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8194 PyErr_SetString(PyExc_TypeError
,"null reference");
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 (arg1
)->base_OnErase(*arg2
);
8201 wxPyEndAllowThreads(__tstate
);
8202 if (PyErr_Occurred()) SWIG_fail
;
8204 Py_INCREF(Py_None
); resultobj
= Py_None
;
8211 static PyObject
*_wrap_PyShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
;
8213 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8215 PyObject
* obj0
= 0 ;
8216 PyObject
* obj1
= 0 ;
8218 (char *) "self",(char *) "dc", NULL
8221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
8222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8228 PyErr_SetString(PyExc_TypeError
,"null reference");
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 (arg1
)->base_OnEraseContents(*arg2
);
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8238 Py_INCREF(Py_None
); resultobj
= Py_None
;
8245 static PyObject
*_wrap_PyShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8246 PyObject
*resultobj
;
8247 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8249 PyObject
* obj0
= 0 ;
8250 PyObject
* obj1
= 0 ;
8252 (char *) "self",(char *) "dc", NULL
8255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
8256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8259 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8262 PyErr_SetString(PyExc_TypeError
,"null reference");
8266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8267 (arg1
)->base_OnHighlight(*arg2
);
8269 wxPyEndAllowThreads(__tstate
);
8270 if (PyErr_Occurred()) SWIG_fail
;
8272 Py_INCREF(Py_None
); resultobj
= Py_None
;
8279 static PyObject
*_wrap_PyShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
*resultobj
;
8281 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8284 int arg4
= (int) 0 ;
8285 int arg5
= (int) 0 ;
8286 PyObject
* obj0
= 0 ;
8287 PyObject
* obj1
= 0 ;
8288 PyObject
* obj2
= 0 ;
8289 PyObject
* obj3
= 0 ;
8290 PyObject
* obj4
= 0 ;
8292 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8298 arg2
= (double) SWIG_AsDouble(obj1
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8300 arg3
= (double) SWIG_AsDouble(obj2
);
8301 if (PyErr_Occurred()) SWIG_fail
;
8303 arg4
= (int) SWIG_AsInt(obj3
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8307 arg5
= (int) SWIG_AsInt(obj4
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8312 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
8314 wxPyEndAllowThreads(__tstate
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8317 Py_INCREF(Py_None
); resultobj
= Py_None
;
8324 static PyObject
*_wrap_PyShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8325 PyObject
*resultobj
;
8326 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8329 int arg4
= (int) 0 ;
8330 int arg5
= (int) 0 ;
8331 PyObject
* obj0
= 0 ;
8332 PyObject
* obj1
= 0 ;
8333 PyObject
* obj2
= 0 ;
8334 PyObject
* obj3
= 0 ;
8335 PyObject
* obj4
= 0 ;
8337 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8343 arg2
= (double) SWIG_AsDouble(obj1
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8345 arg3
= (double) SWIG_AsDouble(obj2
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8348 arg4
= (int) SWIG_AsInt(obj3
);
8349 if (PyErr_Occurred()) SWIG_fail
;
8352 arg5
= (int) SWIG_AsInt(obj4
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8357 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
8359 wxPyEndAllowThreads(__tstate
);
8360 if (PyErr_Occurred()) SWIG_fail
;
8362 Py_INCREF(Py_None
); resultobj
= Py_None
;
8369 static PyObject
*_wrap_PyShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8370 PyObject
*resultobj
;
8371 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8374 int arg4
= (int) 0 ;
8375 int arg5
= (int) 0 ;
8376 PyObject
* obj0
= 0 ;
8377 PyObject
* obj1
= 0 ;
8378 PyObject
* obj2
= 0 ;
8379 PyObject
* obj3
= 0 ;
8380 PyObject
* obj4
= 0 ;
8382 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8388 arg2
= (double) SWIG_AsDouble(obj1
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8390 arg3
= (double) SWIG_AsDouble(obj2
);
8391 if (PyErr_Occurred()) SWIG_fail
;
8393 arg4
= (int) SWIG_AsInt(obj3
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8397 arg5
= (int) SWIG_AsInt(obj4
);
8398 if (PyErr_Occurred()) SWIG_fail
;
8401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8402 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
8404 wxPyEndAllowThreads(__tstate
);
8405 if (PyErr_Occurred()) SWIG_fail
;
8407 Py_INCREF(Py_None
); resultobj
= Py_None
;
8414 static PyObject
*_wrap_PyShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8415 PyObject
*resultobj
;
8416 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8419 PyObject
* obj0
= 0 ;
8420 PyObject
* obj1
= 0 ;
8421 PyObject
* obj2
= 0 ;
8423 (char *) "self",(char *) "x",(char *) "y", NULL
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8429 arg2
= (double) SWIG_AsDouble(obj1
);
8430 if (PyErr_Occurred()) SWIG_fail
;
8431 arg3
= (double) SWIG_AsDouble(obj2
);
8432 if (PyErr_Occurred()) SWIG_fail
;
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 (arg1
)->base_OnSize(arg2
,arg3
);
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 Py_INCREF(Py_None
); resultobj
= Py_None
;
8447 static PyObject
*_wrap_PyShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8448 PyObject
*resultobj
;
8449 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8455 bool arg7
= (bool) True
;
8457 PyObject
* obj0
= 0 ;
8458 PyObject
* obj1
= 0 ;
8459 PyObject
* obj2
= 0 ;
8460 PyObject
* obj3
= 0 ;
8461 PyObject
* obj4
= 0 ;
8462 PyObject
* obj5
= 0 ;
8463 PyObject
* obj6
= 0 ;
8465 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8475 PyErr_SetString(PyExc_TypeError
,"null reference");
8478 arg3
= (double) SWIG_AsDouble(obj2
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8480 arg4
= (double) SWIG_AsDouble(obj3
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8482 arg5
= (double) SWIG_AsDouble(obj4
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8484 arg6
= (double) SWIG_AsDouble(obj5
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8487 arg7
= (bool) SWIG_AsBool(obj6
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8492 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8494 wxPyEndAllowThreads(__tstate
);
8495 if (PyErr_Occurred()) SWIG_fail
;
8498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8506 static PyObject
*_wrap_PyShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8507 PyObject
*resultobj
;
8508 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8514 bool arg7
= (bool) True
;
8515 PyObject
* obj0
= 0 ;
8516 PyObject
* obj1
= 0 ;
8517 PyObject
* obj2
= 0 ;
8518 PyObject
* obj3
= 0 ;
8519 PyObject
* obj4
= 0 ;
8520 PyObject
* obj5
= 0 ;
8521 PyObject
* obj6
= 0 ;
8523 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8533 PyErr_SetString(PyExc_TypeError
,"null reference");
8536 arg3
= (double) SWIG_AsDouble(obj2
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8538 arg4
= (double) SWIG_AsDouble(obj3
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8540 arg5
= (double) SWIG_AsDouble(obj4
);
8541 if (PyErr_Occurred()) SWIG_fail
;
8542 arg6
= (double) SWIG_AsDouble(obj5
);
8543 if (PyErr_Occurred()) SWIG_fail
;
8545 arg7
= (bool) SWIG_AsBool(obj6
);
8546 if (PyErr_Occurred()) SWIG_fail
;
8549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8550 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8552 wxPyEndAllowThreads(__tstate
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8555 Py_INCREF(Py_None
); resultobj
= Py_None
;
8562 static PyObject
*_wrap_PyShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8563 PyObject
*resultobj
;
8564 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8568 int arg5
= (int) 0 ;
8569 int arg6
= (int) 0 ;
8570 PyObject
* obj0
= 0 ;
8571 PyObject
* obj1
= 0 ;
8572 PyObject
* obj2
= 0 ;
8573 PyObject
* obj3
= 0 ;
8574 PyObject
* obj4
= 0 ;
8575 PyObject
* obj5
= 0 ;
8577 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8583 arg2
= (bool) SWIG_AsBool(obj1
);
8584 if (PyErr_Occurred()) SWIG_fail
;
8585 arg3
= (double) SWIG_AsDouble(obj2
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8587 arg4
= (double) SWIG_AsDouble(obj3
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8590 arg5
= (int) SWIG_AsInt(obj4
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8594 arg6
= (int) SWIG_AsInt(obj5
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8599 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
8601 wxPyEndAllowThreads(__tstate
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8604 Py_INCREF(Py_None
); resultobj
= Py_None
;
8611 static PyObject
*_wrap_PyShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8612 PyObject
*resultobj
;
8613 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8616 int arg4
= (int) 0 ;
8617 int arg5
= (int) 0 ;
8618 PyObject
* obj0
= 0 ;
8619 PyObject
* obj1
= 0 ;
8620 PyObject
* obj2
= 0 ;
8621 PyObject
* obj3
= 0 ;
8622 PyObject
* obj4
= 0 ;
8624 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8630 arg2
= (double) SWIG_AsDouble(obj1
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8632 arg3
= (double) SWIG_AsDouble(obj2
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8635 arg4
= (int) SWIG_AsInt(obj3
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8639 arg5
= (int) SWIG_AsInt(obj4
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8644 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
8646 wxPyEndAllowThreads(__tstate
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8649 Py_INCREF(Py_None
); resultobj
= Py_None
;
8656 static PyObject
*_wrap_PyShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8657 PyObject
*resultobj
;
8658 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8661 int arg4
= (int) 0 ;
8662 int arg5
= (int) 0 ;
8663 PyObject
* obj0
= 0 ;
8664 PyObject
* obj1
= 0 ;
8665 PyObject
* obj2
= 0 ;
8666 PyObject
* obj3
= 0 ;
8667 PyObject
* obj4
= 0 ;
8669 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8675 arg2
= (double) SWIG_AsDouble(obj1
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8677 arg3
= (double) SWIG_AsDouble(obj2
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8680 arg4
= (int) SWIG_AsInt(obj3
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8684 arg5
= (int) SWIG_AsInt(obj4
);
8685 if (PyErr_Occurred()) SWIG_fail
;
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 Py_INCREF(Py_None
); resultobj
= Py_None
;
8701 static PyObject
*_wrap_PyShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
;
8703 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8707 int arg5
= (int) 0 ;
8708 int arg6
= (int) 0 ;
8709 PyObject
* obj0
= 0 ;
8710 PyObject
* obj1
= 0 ;
8711 PyObject
* obj2
= 0 ;
8712 PyObject
* obj3
= 0 ;
8713 PyObject
* obj4
= 0 ;
8714 PyObject
* obj5
= 0 ;
8716 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8722 arg2
= (bool) SWIG_AsBool(obj1
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8724 arg3
= (double) SWIG_AsDouble(obj2
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8726 arg4
= (double) SWIG_AsDouble(obj3
);
8727 if (PyErr_Occurred()) SWIG_fail
;
8729 arg5
= (int) SWIG_AsInt(obj4
);
8730 if (PyErr_Occurred()) SWIG_fail
;
8733 arg6
= (int) SWIG_AsInt(obj5
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 Py_INCREF(Py_None
); resultobj
= Py_None
;
8750 static PyObject
*_wrap_PyShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
;
8752 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8755 int arg4
= (int) 0 ;
8756 int arg5
= (int) 0 ;
8757 PyObject
* obj0
= 0 ;
8758 PyObject
* obj1
= 0 ;
8759 PyObject
* obj2
= 0 ;
8760 PyObject
* obj3
= 0 ;
8761 PyObject
* obj4
= 0 ;
8763 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8769 arg2
= (double) SWIG_AsDouble(obj1
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8771 arg3
= (double) SWIG_AsDouble(obj2
);
8772 if (PyErr_Occurred()) SWIG_fail
;
8774 arg4
= (int) SWIG_AsInt(obj3
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8778 arg5
= (int) SWIG_AsInt(obj4
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8788 Py_INCREF(Py_None
); resultobj
= Py_None
;
8795 static PyObject
*_wrap_PyShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
;
8797 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8800 int arg4
= (int) 0 ;
8801 int arg5
= (int) 0 ;
8802 PyObject
* obj0
= 0 ;
8803 PyObject
* obj1
= 0 ;
8804 PyObject
* obj2
= 0 ;
8805 PyObject
* obj3
= 0 ;
8806 PyObject
* obj4
= 0 ;
8808 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8814 arg2
= (double) SWIG_AsDouble(obj1
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8816 arg3
= (double) SWIG_AsDouble(obj2
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8819 arg4
= (int) SWIG_AsInt(obj3
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8823 arg5
= (int) SWIG_AsInt(obj4
);
8824 if (PyErr_Occurred()) SWIG_fail
;
8827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8828 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8833 Py_INCREF(Py_None
); resultobj
= Py_None
;
8840 static PyObject
*_wrap_PyShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8841 PyObject
*resultobj
;
8842 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8848 PyObject
* obj0
= 0 ;
8849 PyObject
* obj1
= 0 ;
8850 PyObject
* obj2
= 0 ;
8851 PyObject
* obj3
= 0 ;
8852 PyObject
* obj4
= 0 ;
8853 PyObject
* obj5
= 0 ;
8855 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8862 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8865 PyErr_SetString(PyExc_TypeError
,"null reference");
8868 arg3
= (double) SWIG_AsDouble(obj2
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8870 arg4
= (double) SWIG_AsDouble(obj3
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8872 arg5
= (double) SWIG_AsDouble(obj4
);
8873 if (PyErr_Occurred()) SWIG_fail
;
8874 arg6
= (double) SWIG_AsDouble(obj5
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8878 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
8880 wxPyEndAllowThreads(__tstate
);
8881 if (PyErr_Occurred()) SWIG_fail
;
8883 Py_INCREF(Py_None
); resultobj
= Py_None
;
8890 static PyObject
*_wrap_PyShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
*resultobj
;
8892 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8894 PyObject
* obj0
= 0 ;
8895 PyObject
* obj1
= 0 ;
8897 (char *) "self",(char *) "dc", NULL
8900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
8901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8904 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8907 PyErr_SetString(PyExc_TypeError
,"null reference");
8911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8912 (arg1
)->base_OnDrawControlPoints(*arg2
);
8914 wxPyEndAllowThreads(__tstate
);
8915 if (PyErr_Occurred()) SWIG_fail
;
8917 Py_INCREF(Py_None
); resultobj
= Py_None
;
8924 static PyObject
*_wrap_PyShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
*resultobj
;
8926 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8928 PyObject
* obj0
= 0 ;
8929 PyObject
* obj1
= 0 ;
8931 (char *) "self",(char *) "dc", NULL
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
8935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8937 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8938 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8941 PyErr_SetString(PyExc_TypeError
,"null reference");
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 (arg1
)->base_OnEraseControlPoints(*arg2
);
8948 wxPyEndAllowThreads(__tstate
);
8949 if (PyErr_Occurred()) SWIG_fail
;
8951 Py_INCREF(Py_None
); resultobj
= Py_None
;
8958 static PyObject
*_wrap_PyShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
*resultobj
;
8960 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8962 bool arg3
= (bool) True
;
8963 PyObject
* obj0
= 0 ;
8964 PyObject
* obj1
= 0 ;
8965 PyObject
* obj2
= 0 ;
8967 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
8970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8977 PyErr_SetString(PyExc_TypeError
,"null reference");
8981 arg3
= (bool) SWIG_AsBool(obj2
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
8988 wxPyEndAllowThreads(__tstate
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8991 Py_INCREF(Py_None
); resultobj
= Py_None
;
8998 static PyObject
*_wrap_PyShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
*resultobj
;
9000 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9001 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9005 int arg6
= (int) 0 ;
9006 int arg7
= (int) 0 ;
9007 PyObject
* obj0
= 0 ;
9008 PyObject
* obj1
= 0 ;
9009 PyObject
* obj2
= 0 ;
9010 PyObject
* obj3
= 0 ;
9011 PyObject
* obj4
= 0 ;
9012 PyObject
* obj5
= 0 ;
9013 PyObject
* obj6
= 0 ;
9015 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9021 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
9022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9023 arg3
= (bool) SWIG_AsBool(obj2
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9025 arg4
= (double) SWIG_AsDouble(obj3
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9027 arg5
= (double) SWIG_AsDouble(obj4
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9030 arg6
= (int) SWIG_AsInt(obj5
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9034 arg7
= (int) SWIG_AsInt(obj6
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) SWIG_fail
;
9044 Py_INCREF(Py_None
); resultobj
= Py_None
;
9051 static PyObject
*_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9052 PyObject
*resultobj
;
9053 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9054 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9057 int arg5
= (int) 0 ;
9058 int arg6
= (int) 0 ;
9059 PyObject
* obj0
= 0 ;
9060 PyObject
* obj1
= 0 ;
9061 PyObject
* obj2
= 0 ;
9062 PyObject
* obj3
= 0 ;
9063 PyObject
* obj4
= 0 ;
9064 PyObject
* obj5
= 0 ;
9066 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9072 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
9073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9074 arg3
= (double) SWIG_AsDouble(obj2
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9076 arg4
= (double) SWIG_AsDouble(obj3
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9079 arg5
= (int) SWIG_AsInt(obj4
);
9080 if (PyErr_Occurred()) SWIG_fail
;
9083 arg6
= (int) SWIG_AsInt(obj5
);
9084 if (PyErr_Occurred()) SWIG_fail
;
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9093 Py_INCREF(Py_None
); resultobj
= Py_None
;
9100 static PyObject
*_wrap_PyShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9101 PyObject
*resultobj
;
9102 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9103 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9106 int arg5
= (int) 0 ;
9107 int arg6
= (int) 0 ;
9108 PyObject
* obj0
= 0 ;
9109 PyObject
* obj1
= 0 ;
9110 PyObject
* obj2
= 0 ;
9111 PyObject
* obj3
= 0 ;
9112 PyObject
* obj4
= 0 ;
9113 PyObject
* obj5
= 0 ;
9115 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
9122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9123 arg3
= (double) SWIG_AsDouble(obj2
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9125 arg4
= (double) SWIG_AsDouble(obj3
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 arg5
= (int) SWIG_AsInt(obj4
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9132 arg6
= (int) SWIG_AsInt(obj5
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9137 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9139 wxPyEndAllowThreads(__tstate
);
9140 if (PyErr_Occurred()) SWIG_fail
;
9142 Py_INCREF(Py_None
); resultobj
= Py_None
;
9149 static PyObject
*_wrap_PyShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9150 PyObject
*resultobj
;
9151 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9154 PyObject
* obj0
= 0 ;
9155 PyObject
* obj1
= 0 ;
9156 PyObject
* obj2
= 0 ;
9158 (char *) "self",(char *) "w",(char *) "h", NULL
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9164 arg2
= (double) SWIG_AsDouble(obj1
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9166 arg3
= (double) SWIG_AsDouble(obj2
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9170 (arg1
)->base_OnBeginSize(arg2
,arg3
);
9172 wxPyEndAllowThreads(__tstate
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9175 Py_INCREF(Py_None
); resultobj
= Py_None
;
9182 static PyObject
*_wrap_PyShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
*resultobj
;
9184 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9187 PyObject
* obj0
= 0 ;
9188 PyObject
* obj1
= 0 ;
9189 PyObject
* obj2
= 0 ;
9191 (char *) "self",(char *) "w",(char *) "h", NULL
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9197 arg2
= (double) SWIG_AsDouble(obj1
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9199 arg3
= (double) SWIG_AsDouble(obj2
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9203 (arg1
)->base_OnEndSize(arg2
,arg3
);
9205 wxPyEndAllowThreads(__tstate
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9208 Py_INCREF(Py_None
); resultobj
= Py_None
;
9215 static PyObject
* PyShape_swigregister(PyObject
*self
, PyObject
*args
) {
9217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9218 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape
, obj
);
9220 return Py_BuildValue((char *)"");
9222 static PyObject
*_wrap_new_PseudoMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9223 PyObject
*resultobj
;
9224 wxPseudoMetaFile
*result
;
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PseudoMetaFile",kwnames
)) goto fail
;
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9232 result
= (wxPseudoMetaFile
*)new wxPseudoMetaFile();
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9238 resultobj
= wxPyMake_wxObject(result
);
9246 static PyObject
*_wrap_delete_PseudoMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
*resultobj
;
9248 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9249 PyObject
* obj0
= 0 ;
9251 (char *) "self", NULL
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PseudoMetaFile",kwnames
,&obj0
)) goto fail
;
9255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9264 Py_INCREF(Py_None
); resultobj
= Py_None
;
9271 static PyObject
*_wrap_PseudoMetaFile_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
;
9273 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9277 PyObject
* obj0
= 0 ;
9278 PyObject
* obj1
= 0 ;
9279 PyObject
* obj2
= 0 ;
9280 PyObject
* obj3
= 0 ;
9282 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
9285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9288 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
9289 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9292 PyErr_SetString(PyExc_TypeError
,"null reference");
9295 arg3
= (double) SWIG_AsDouble(obj2
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9297 arg4
= (double) SWIG_AsDouble(obj3
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 (arg1
)->Draw(*arg2
,arg3
,arg4
);
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9306 Py_INCREF(Py_None
); resultobj
= Py_None
;
9313 static PyObject
*_wrap_PseudoMetaFile_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9314 PyObject
*resultobj
;
9315 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9316 PyObject
* obj0
= 0 ;
9318 (char *) "self", NULL
9321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_Clear",kwnames
,&obj0
)) goto fail
;
9322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 wxPyEndAllowThreads(__tstate
);
9329 if (PyErr_Occurred()) SWIG_fail
;
9331 Py_INCREF(Py_None
); resultobj
= Py_None
;
9338 static PyObject
*_wrap_PseudoMetaFile_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9339 PyObject
*resultobj
;
9340 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9341 wxPseudoMetaFile
*arg2
= 0 ;
9342 PyObject
* obj0
= 0 ;
9343 PyObject
* obj1
= 0 ;
9345 (char *) "self",(char *) "copy", NULL
9348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
9349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPseudoMetaFile
,
9352 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9355 PyErr_SetString(PyExc_TypeError
,"null reference");
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 (arg1
)->Copy(*arg2
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 Py_INCREF(Py_None
); resultobj
= Py_None
;
9372 static PyObject
*_wrap_PseudoMetaFile_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
*resultobj
;
9374 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9377 PyObject
* obj0
= 0 ;
9378 PyObject
* obj1
= 0 ;
9379 PyObject
* obj2
= 0 ;
9381 (char *) "self",(char *) "sx",(char *) "sy", NULL
9384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9387 arg2
= (double) SWIG_AsDouble(obj1
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9389 arg3
= (double) SWIG_AsDouble(obj2
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 (arg1
)->Scale(arg2
,arg3
);
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9398 Py_INCREF(Py_None
); resultobj
= Py_None
;
9405 static PyObject
*_wrap_PseudoMetaFile_ScaleTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
*resultobj
;
9407 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9410 PyObject
* obj0
= 0 ;
9411 PyObject
* obj1
= 0 ;
9412 PyObject
* obj2
= 0 ;
9414 (char *) "self",(char *) "w",(char *) "h", NULL
9417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_ScaleTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9420 arg2
= (double) SWIG_AsDouble(obj1
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9422 arg3
= (double) SWIG_AsDouble(obj2
);
9423 if (PyErr_Occurred()) SWIG_fail
;
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 (arg1
)->ScaleTo(arg2
,arg3
);
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9431 Py_INCREF(Py_None
); resultobj
= Py_None
;
9438 static PyObject
*_wrap_PseudoMetaFile_Translate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9440 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9443 PyObject
* obj0
= 0 ;
9444 PyObject
* obj1
= 0 ;
9445 PyObject
* obj2
= 0 ;
9447 (char *) "self",(char *) "x",(char *) "y", NULL
9450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9453 arg2
= (double) SWIG_AsDouble(obj1
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9455 arg3
= (double) SWIG_AsDouble(obj2
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 (arg1
)->Translate(arg2
,arg3
);
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9464 Py_INCREF(Py_None
); resultobj
= Py_None
;
9471 static PyObject
*_wrap_PseudoMetaFile_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
;
9473 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9477 PyObject
* obj0
= 0 ;
9478 PyObject
* obj1
= 0 ;
9479 PyObject
* obj2
= 0 ;
9480 PyObject
* obj3
= 0 ;
9482 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
9485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9488 arg2
= (double) SWIG_AsDouble(obj1
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9490 arg3
= (double) SWIG_AsDouble(obj2
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9492 arg4
= (double) SWIG_AsDouble(obj3
);
9493 if (PyErr_Occurred()) SWIG_fail
;
9495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9496 (arg1
)->Rotate(arg2
,arg3
,arg4
);
9498 wxPyEndAllowThreads(__tstate
);
9499 if (PyErr_Occurred()) SWIG_fail
;
9501 Py_INCREF(Py_None
); resultobj
= Py_None
;
9508 static PyObject
*_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9509 PyObject
*resultobj
;
9510 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9511 wxString
*arg2
= 0 ;
9512 double *arg3
= (double *) 0 ;
9513 double *arg4
= (double *) 0 ;
9515 bool temp2
= False
;
9516 PyObject
* obj0
= 0 ;
9517 PyObject
* obj1
= 0 ;
9518 PyObject
* obj2
= 0 ;
9519 PyObject
* obj3
= 0 ;
9521 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
9524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9528 arg2
= wxString_in_helper(obj1
);
9529 if (arg2
== NULL
) SWIG_fail
;
9532 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_double
,
9533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9534 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_double
,
9535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
,arg3
,arg4
);
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9560 static PyObject
*_wrap_PseudoMetaFile_GetBounds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
*resultobj
;
9562 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9563 double *arg2
= (double *) 0 ;
9564 double *arg3
= (double *) 0 ;
9565 double *arg4
= (double *) 0 ;
9566 double *arg5
= (double *) 0 ;
9567 PyObject
* obj0
= 0 ;
9568 PyObject
* obj1
= 0 ;
9569 PyObject
* obj2
= 0 ;
9570 PyObject
* obj3
= 0 ;
9571 PyObject
* obj4
= 0 ;
9573 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
9576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_double
,
9580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9581 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_double
,
9582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9583 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_double
,
9584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9585 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_double
,
9586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9589 (arg1
)->GetBounds(arg2
,arg3
,arg4
,arg5
);
9591 wxPyEndAllowThreads(__tstate
);
9592 if (PyErr_Occurred()) SWIG_fail
;
9594 Py_INCREF(Py_None
); resultobj
= Py_None
;
9601 static PyObject
*_wrap_PseudoMetaFile_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
*resultobj
;
9603 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9604 wxPyDrawnShape
*arg2
= (wxPyDrawnShape
*) 0 ;
9605 PyObject
* obj0
= 0 ;
9606 PyObject
* obj1
= 0 ;
9608 (char *) "self",(char *) "shape", NULL
9611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDrawnShape
,
9615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9618 (arg1
)->CalculateSize(arg2
);
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9623 Py_INCREF(Py_None
); resultobj
= Py_None
;
9630 static PyObject
*_wrap_PseudoMetaFile_SetRotateable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
;
9632 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9634 PyObject
* obj0
= 0 ;
9635 PyObject
* obj1
= 0 ;
9637 (char *) "self",(char *) "rot", NULL
9640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames
,&obj0
,&obj1
)) goto fail
;
9641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9643 arg2
= (bool) SWIG_AsBool(obj1
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9647 (arg1
)->SetRotateable(arg2
);
9649 wxPyEndAllowThreads(__tstate
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9652 Py_INCREF(Py_None
); resultobj
= Py_None
;
9659 static PyObject
*_wrap_PseudoMetaFile_GetRotateable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9660 PyObject
*resultobj
;
9661 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9663 PyObject
* obj0
= 0 ;
9665 (char *) "self", NULL
9668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetRotateable",kwnames
,&obj0
)) goto fail
;
9669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9673 result
= (bool)(arg1
)->GetRotateable();
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9687 static PyObject
*_wrap_PseudoMetaFile_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9688 PyObject
*resultobj
;
9689 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9694 PyObject
* obj2
= 0 ;
9696 (char *) "self",(char *) "w",(char *) "h", NULL
9699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9702 arg2
= (double) SWIG_AsDouble(obj1
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9704 arg3
= (double) SWIG_AsDouble(obj2
);
9705 if (PyErr_Occurred()) SWIG_fail
;
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 (arg1
)->SetSize(arg2
,arg3
);
9710 wxPyEndAllowThreads(__tstate
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9713 Py_INCREF(Py_None
); resultobj
= Py_None
;
9720 static PyObject
*_wrap_PseudoMetaFile_SetFillBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9721 PyObject
*resultobj
;
9722 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9723 wxBrush
*arg2
= (wxBrush
*) 0 ;
9724 PyObject
* obj0
= 0 ;
9725 PyObject
* obj1
= 0 ;
9727 (char *) "self",(char *) "brush", NULL
9730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
9731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9736 if (obj1
== Py_None
) {
9739 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
9740 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
9745 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 (arg1
)->SetFillBrush(arg2
);
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9756 Py_INCREF(Py_None
); resultobj
= Py_None
;
9763 static PyObject
*_wrap_PseudoMetaFile_GetFillBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
*resultobj
;
9765 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9767 PyObject
* obj0
= 0 ;
9769 (char *) "self", NULL
9772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames
,&obj0
)) goto fail
;
9773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9777 result
= (wxBrush
*)(arg1
)->GetFillBrush();
9779 wxPyEndAllowThreads(__tstate
);
9780 if (PyErr_Occurred()) SWIG_fail
;
9782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
9789 static PyObject
*_wrap_PseudoMetaFile_SetOutlinePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9790 PyObject
*resultobj
;
9791 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9792 wxPen
*arg2
= (wxPen
*) 0 ;
9793 PyObject
* obj0
= 0 ;
9794 PyObject
* obj1
= 0 ;
9796 (char *) "self",(char *) "pen", NULL
9799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames
,&obj0
,&obj1
)) goto fail
;
9800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9805 if (obj1
== Py_None
) {
9808 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
9809 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
9814 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 (arg1
)->SetOutlinePen(arg2
);
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9827 Py_INCREF(Py_None
); resultobj
= Py_None
;
9834 static PyObject
*_wrap_PseudoMetaFile_GetOutlinePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9835 PyObject
*resultobj
;
9836 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9838 PyObject
* obj0
= 0 ;
9840 (char *) "self", NULL
9843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames
,&obj0
)) goto fail
;
9844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 result
= (wxPen
*)(arg1
)->GetOutlinePen();
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
9860 static PyObject
*_wrap_PseudoMetaFile_SetOutlineOp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
;
9862 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9864 PyObject
* obj0
= 0 ;
9865 PyObject
* obj1
= 0 ;
9867 (char *) "self",(char *) "op", NULL
9870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlineOp",kwnames
,&obj0
,&obj1
)) goto fail
;
9871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9873 arg2
= (int) SWIG_AsInt(obj1
);
9874 if (PyErr_Occurred()) SWIG_fail
;
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 (arg1
)->SetOutlineOp(arg2
);
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 Py_INCREF(Py_None
); resultobj
= Py_None
;
9889 static PyObject
*_wrap_PseudoMetaFile_GetOutlineOp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
;
9891 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9893 PyObject
* obj0
= 0 ;
9895 (char *) "self", NULL
9898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames
,&obj0
)) goto fail
;
9899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 result
= (int)(arg1
)->GetOutlineOp();
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9908 resultobj
= SWIG_FromInt((int)result
);
9915 static PyObject
*_wrap_PseudoMetaFile_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9916 PyObject
*resultobj
;
9917 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9919 PyObject
* obj0
= 0 ;
9921 (char *) "self", NULL
9924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_IsValid",kwnames
,&obj0
)) goto fail
;
9925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9929 result
= (bool)(arg1
)->IsValid();
9931 wxPyEndAllowThreads(__tstate
);
9932 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9943 static PyObject
*_wrap_PseudoMetaFile_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9944 PyObject
*resultobj
;
9945 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9950 PyObject
* obj0
= 0 ;
9951 PyObject
* obj1
= 0 ;
9952 PyObject
* obj2
= 0 ;
9954 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
9957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9962 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9966 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9975 Py_INCREF(Py_None
); resultobj
= Py_None
;
9982 static PyObject
*_wrap_PseudoMetaFile_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9983 PyObject
*resultobj
;
9984 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9987 PyObject
* obj0
= 0 ;
9988 PyObject
* obj1
= 0 ;
9990 (char *) "self",(char *) "rect", NULL
9993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
9994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9998 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10007 Py_INCREF(Py_None
); resultobj
= Py_None
;
10014 static PyObject
*_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10015 PyObject
*resultobj
;
10016 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10020 PyObject
* obj0
= 0 ;
10021 PyObject
* obj1
= 0 ;
10022 PyObject
* obj2
= 0 ;
10023 char *kwnames
[] = {
10024 (char *) "self",(char *) "rect",(char *) "radius", NULL
10027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10032 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10034 arg3
= (double) SWIG_AsDouble(obj2
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10043 Py_INCREF(Py_None
); resultobj
= Py_None
;
10050 static PyObject
*_wrap_PseudoMetaFile_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10051 PyObject
*resultobj
;
10052 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10053 wxPoint
*arg2
= 0 ;
10054 wxPoint
*arg3
= 0 ;
10055 wxPoint
*arg4
= 0 ;
10059 PyObject
* obj0
= 0 ;
10060 PyObject
* obj1
= 0 ;
10061 PyObject
* obj2
= 0 ;
10062 PyObject
* obj3
= 0 ;
10063 char *kwnames
[] = {
10064 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
10067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10072 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10076 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10080 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10084 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10086 wxPyEndAllowThreads(__tstate
);
10087 if (PyErr_Occurred()) SWIG_fail
;
10089 Py_INCREF(Py_None
); resultobj
= Py_None
;
10096 static PyObject
*_wrap_PseudoMetaFile_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10097 PyObject
*resultobj
;
10098 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10103 PyObject
* obj0
= 0 ;
10104 PyObject
* obj1
= 0 ;
10105 PyObject
* obj2
= 0 ;
10106 PyObject
* obj3
= 0 ;
10107 char *kwnames
[] = {
10108 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
10111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10116 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10118 arg3
= (double) SWIG_AsDouble(obj2
);
10119 if (PyErr_Occurred()) SWIG_fail
;
10120 arg4
= (double) SWIG_AsDouble(obj3
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10124 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10129 Py_INCREF(Py_None
); resultobj
= Py_None
;
10136 static PyObject
*_wrap_PseudoMetaFile_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
*resultobj
;
10138 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10141 PyObject
* obj0
= 0 ;
10142 PyObject
* obj1
= 0 ;
10143 char *kwnames
[] = {
10144 (char *) "self",(char *) "rect", NULL
10147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames
,&obj0
,&obj1
)) goto fail
;
10148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10152 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10161 Py_INCREF(Py_None
); resultobj
= Py_None
;
10168 static PyObject
*_wrap_PseudoMetaFile_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10169 PyObject
*resultobj
;
10170 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10171 wxPoint
*arg2
= 0 ;
10173 PyObject
* obj0
= 0 ;
10174 PyObject
* obj1
= 0 ;
10175 char *kwnames
[] = {
10176 (char *) "self",(char *) "pt", NULL
10179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10184 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10188 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10190 wxPyEndAllowThreads(__tstate
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10193 Py_INCREF(Py_None
); resultobj
= Py_None
;
10200 static PyObject
*_wrap_PseudoMetaFile_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10201 PyObject
*resultobj
;
10202 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10203 wxString
*arg2
= 0 ;
10204 wxPoint
*arg3
= 0 ;
10205 bool temp2
= False
;
10207 PyObject
* obj0
= 0 ;
10208 PyObject
* obj1
= 0 ;
10209 PyObject
* obj2
= 0 ;
10210 char *kwnames
[] = {
10211 (char *) "self",(char *) "text",(char *) "pt", NULL
10214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10218 arg2
= wxString_in_helper(obj1
);
10219 if (arg2
== NULL
) SWIG_fail
;
10224 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10233 Py_INCREF(Py_None
); resultobj
= Py_None
;
10248 static PyObject
*_wrap_PseudoMetaFile_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10249 PyObject
*resultobj
;
10250 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10252 wxPoint
*arg3
= (wxPoint
*) 0 ;
10253 PyObject
* obj0
= 0 ;
10254 PyObject
* obj1
= 0 ;
10255 char *kwnames
[] = {
10256 (char *) "self",(char *) "points", NULL
10259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawLines",kwnames
,&obj0
,&obj1
)) goto fail
;
10260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10263 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10264 if (arg3
== NULL
) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 (arg1
)->DrawLines(arg2
,arg3
);
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 Py_INCREF(Py_None
); resultobj
= Py_None
;
10275 if (arg3
) delete [] arg3
;
10280 if (arg3
) delete [] arg3
;
10286 static PyObject
*_wrap_PseudoMetaFile_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
*resultobj
;
10288 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10290 wxPoint
*arg3
= (wxPoint
*) 0 ;
10291 int arg4
= (int) 0 ;
10292 PyObject
* obj0
= 0 ;
10293 PyObject
* obj1
= 0 ;
10294 PyObject
* obj2
= 0 ;
10295 char *kwnames
[] = {
10296 (char *) "self",(char *) "points",(char *) "flags", NULL
10299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10303 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10304 if (arg3
== NULL
) SWIG_fail
;
10307 arg4
= (int) SWIG_AsInt(obj2
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10312 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10317 Py_INCREF(Py_None
); resultobj
= Py_None
;
10319 if (arg3
) delete [] arg3
;
10324 if (arg3
) delete [] arg3
;
10330 static PyObject
*_wrap_PseudoMetaFile_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10331 PyObject
*resultobj
;
10332 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10334 wxPoint
*arg3
= (wxPoint
*) 0 ;
10335 PyObject
* obj0
= 0 ;
10336 PyObject
* obj1
= 0 ;
10337 char *kwnames
[] = {
10338 (char *) "self",(char *) "points", NULL
10341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
10342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10345 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10346 if (arg3
== NULL
) SWIG_fail
;
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 (arg1
)->DrawSpline(arg2
,arg3
);
10352 wxPyEndAllowThreads(__tstate
);
10353 if (PyErr_Occurred()) SWIG_fail
;
10355 Py_INCREF(Py_None
); resultobj
= Py_None
;
10357 if (arg3
) delete [] arg3
;
10362 if (arg3
) delete [] arg3
;
10368 static PyObject
*_wrap_PseudoMetaFile_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
;
10370 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10373 PyObject
* obj0
= 0 ;
10374 PyObject
* obj1
= 0 ;
10375 char *kwnames
[] = {
10376 (char *) "self",(char *) "rect", NULL
10379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10384 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 Py_INCREF(Py_None
); resultobj
= Py_None
;
10400 static PyObject
*_wrap_PseudoMetaFile_DestroyClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
;
10402 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10403 PyObject
* obj0
= 0 ;
10404 char *kwnames
[] = {
10405 (char *) "self", NULL
10408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
10409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 (arg1
)->DestroyClippingRect();
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 Py_INCREF(Py_None
); resultobj
= Py_None
;
10425 static PyObject
*_wrap_PseudoMetaFile_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
;
10427 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10428 wxPen
*arg2
= (wxPen
*) 0 ;
10429 bool arg3
= (bool) FALSE
;
10430 PyObject
* obj0
= 0 ;
10431 PyObject
* obj1
= 0 ;
10432 PyObject
* obj2
= 0 ;
10433 char *kwnames
[] = {
10434 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
10437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10443 if (obj1
== Py_None
) {
10446 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
10447 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
10452 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
10459 arg3
= (bool) SWIG_AsBool(obj2
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10464 (arg1
)->SetPen(arg2
,arg3
);
10466 wxPyEndAllowThreads(__tstate
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10469 Py_INCREF(Py_None
); resultobj
= Py_None
;
10476 static PyObject
*_wrap_PseudoMetaFile_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10477 PyObject
*resultobj
;
10478 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10479 wxBrush
*arg2
= (wxBrush
*) 0 ;
10480 bool arg3
= (bool) FALSE
;
10481 PyObject
* obj0
= 0 ;
10482 PyObject
* obj1
= 0 ;
10483 PyObject
* obj2
= 0 ;
10484 char *kwnames
[] = {
10485 (char *) "self",(char *) "brush",(char *) "isFill", NULL
10488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10494 if (obj1
== Py_None
) {
10497 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
10498 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
10503 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
10508 arg3
= (bool) SWIG_AsBool(obj2
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 (arg1
)->SetBrush(arg2
,arg3
);
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 Py_INCREF(Py_None
); resultobj
= Py_None
;
10525 static PyObject
*_wrap_PseudoMetaFile_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
;
10527 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10528 wxFont
*arg2
= (wxFont
*) 0 ;
10529 PyObject
* obj0
= 0 ;
10530 PyObject
* obj1
= 0 ;
10531 char *kwnames
[] = {
10532 (char *) "self",(char *) "font", NULL
10535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10541 if (obj1
== Py_None
) {
10544 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
10545 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
10550 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
10554 temp
->GetUnderlined(),
10555 temp
->GetFaceName(),
10556 temp
->GetEncoding());
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 (arg1
)->SetFont(arg2
);
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10567 Py_INCREF(Py_None
); resultobj
= Py_None
;
10574 static PyObject
*_wrap_PseudoMetaFile_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10575 PyObject
*resultobj
;
10576 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10577 wxColour
*arg2
= 0 ;
10579 PyObject
* obj0
= 0 ;
10580 PyObject
* obj1
= 0 ;
10581 char *kwnames
[] = {
10582 (char *) "self",(char *) "colour", NULL
10585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10590 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10594 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10599 Py_INCREF(Py_None
); resultobj
= Py_None
;
10606 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
;
10608 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10609 wxColour
*arg2
= 0 ;
10611 PyObject
* obj0
= 0 ;
10612 PyObject
* obj1
= 0 ;
10613 char *kwnames
[] = {
10614 (char *) "self",(char *) "colour", NULL
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10622 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10626 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10628 wxPyEndAllowThreads(__tstate
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10631 Py_INCREF(Py_None
); resultobj
= Py_None
;
10638 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10639 PyObject
*resultobj
;
10640 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10642 PyObject
* obj0
= 0 ;
10643 PyObject
* obj1
= 0 ;
10644 char *kwnames
[] = {
10645 (char *) "self",(char *) "mode", NULL
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
10649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10651 arg2
= (int) SWIG_AsInt(obj1
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 (arg1
)->SetBackgroundMode(arg2
);
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 Py_INCREF(Py_None
); resultobj
= Py_None
;
10667 static PyObject
* PseudoMetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
10669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10670 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile
, obj
);
10672 return Py_BuildValue((char *)"");
10674 static PyObject
*_wrap_new_PyRectangleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
*resultobj
;
10676 double arg1
= (double) 0.0 ;
10677 double arg2
= (double) 0.0 ;
10678 wxPyRectangleShape
*result
;
10679 PyObject
* obj0
= 0 ;
10680 PyObject
* obj1
= 0 ;
10681 char *kwnames
[] = {
10682 (char *) "width",(char *) "height", NULL
10685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyRectangleShape",kwnames
,&obj0
,&obj1
)) goto fail
;
10687 arg1
= (double) SWIG_AsDouble(obj0
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10691 arg2
= (double) SWIG_AsDouble(obj1
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 result
= (wxPyRectangleShape
*)new wxPyRectangleShape(arg1
,arg2
);
10698 wxPyEndAllowThreads(__tstate
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyRectangleShape
, 1);
10708 static PyObject
*_wrap_PyRectangleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10709 PyObject
*resultobj
;
10710 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10711 PyObject
*arg2
= (PyObject
*) 0 ;
10712 PyObject
*arg3
= (PyObject
*) 0 ;
10713 PyObject
* obj0
= 0 ;
10714 PyObject
* obj1
= 0 ;
10715 PyObject
* obj2
= 0 ;
10716 char *kwnames
[] = {
10717 (char *) "self",(char *) "self",(char *) "_class", NULL
10720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) SWIG_fail
;
10732 Py_INCREF(Py_None
); resultobj
= Py_None
;
10739 static PyObject
*_wrap_PyRectangleShape_SetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
*resultobj
;
10741 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10743 PyObject
* obj0
= 0 ;
10744 PyObject
* obj1
= 0 ;
10745 char *kwnames
[] = {
10746 (char *) "self",(char *) "radius", NULL
10749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_SetCornerRadius",kwnames
,&obj0
,&obj1
)) goto fail
;
10750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10752 arg2
= (double) SWIG_AsDouble(obj1
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 (arg1
)->SetCornerRadius(arg2
);
10758 wxPyEndAllowThreads(__tstate
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10761 Py_INCREF(Py_None
); resultobj
= Py_None
;
10768 static PyObject
*_wrap_PyRectangleShape_GetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10769 PyObject
*resultobj
;
10770 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10772 PyObject
* obj0
= 0 ;
10773 char *kwnames
[] = {
10774 (char *) "self", NULL
10777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames
,&obj0
)) goto fail
;
10778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10782 result
= (double)(arg1
)->GetCornerRadius();
10784 wxPyEndAllowThreads(__tstate
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10787 resultobj
= SWIG_FromDouble((double)result
);
10794 static PyObject
*_wrap_PyRectangleShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
*resultobj
;
10796 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10797 PyObject
* obj0
= 0 ;
10798 char *kwnames
[] = {
10799 (char *) "self", NULL
10802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
10803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 (arg1
)->base_OnDelete();
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 Py_INCREF(Py_None
); resultobj
= Py_None
;
10819 static PyObject
*_wrap_PyRectangleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10820 PyObject
*resultobj
;
10821 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10823 PyObject
* obj0
= 0 ;
10824 PyObject
* obj1
= 0 ;
10825 char *kwnames
[] = {
10826 (char *) "self",(char *) "dc", NULL
10829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
10830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10832 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10833 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10835 if (arg2
== NULL
) {
10836 PyErr_SetString(PyExc_TypeError
,"null reference");
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 (arg1
)->base_OnDraw(*arg2
);
10843 wxPyEndAllowThreads(__tstate
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10846 Py_INCREF(Py_None
); resultobj
= Py_None
;
10853 static PyObject
*_wrap_PyRectangleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10854 PyObject
*resultobj
;
10855 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10857 PyObject
* obj0
= 0 ;
10858 PyObject
* obj1
= 0 ;
10859 char *kwnames
[] = {
10860 (char *) "self",(char *) "dc", NULL
10863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10866 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10867 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10869 if (arg2
== NULL
) {
10870 PyErr_SetString(PyExc_TypeError
,"null reference");
10874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10875 (arg1
)->base_OnDrawContents(*arg2
);
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10880 Py_INCREF(Py_None
); resultobj
= Py_None
;
10887 static PyObject
*_wrap_PyRectangleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
;
10889 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10891 bool arg3
= (bool) FALSE
;
10892 PyObject
* obj0
= 0 ;
10893 PyObject
* obj1
= 0 ;
10894 PyObject
* obj2
= 0 ;
10895 char *kwnames
[] = {
10896 (char *) "self",(char *) "dc",(char *) "erase", NULL
10899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10902 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10903 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10905 if (arg2
== NULL
) {
10906 PyErr_SetString(PyExc_TypeError
,"null reference");
10910 arg3
= (bool) SWIG_AsBool(obj2
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10915 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
10917 wxPyEndAllowThreads(__tstate
);
10918 if (PyErr_Occurred()) SWIG_fail
;
10920 Py_INCREF(Py_None
); resultobj
= Py_None
;
10927 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10928 PyObject
*resultobj
;
10929 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10931 PyObject
* obj0
= 0 ;
10932 PyObject
* obj1
= 0 ;
10933 char *kwnames
[] = {
10934 (char *) "self",(char *) "dc", NULL
10937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
10938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10941 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10943 if (arg2
== NULL
) {
10944 PyErr_SetString(PyExc_TypeError
,"null reference");
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 (arg1
)->base_OnMoveLinks(*arg2
);
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10954 Py_INCREF(Py_None
); resultobj
= Py_None
;
10961 static PyObject
*_wrap_PyRectangleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10962 PyObject
*resultobj
;
10963 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10965 PyObject
* obj0
= 0 ;
10966 PyObject
* obj1
= 0 ;
10967 char *kwnames
[] = {
10968 (char *) "self",(char *) "dc", NULL
10971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
10972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10975 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10977 if (arg2
== NULL
) {
10978 PyErr_SetString(PyExc_TypeError
,"null reference");
10982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10983 (arg1
)->base_OnErase(*arg2
);
10985 wxPyEndAllowThreads(__tstate
);
10986 if (PyErr_Occurred()) SWIG_fail
;
10988 Py_INCREF(Py_None
); resultobj
= Py_None
;
10995 static PyObject
*_wrap_PyRectangleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10996 PyObject
*resultobj
;
10997 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10999 PyObject
* obj0
= 0 ;
11000 PyObject
* obj1
= 0 ;
11001 char *kwnames
[] = {
11002 (char *) "self",(char *) "dc", NULL
11005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
11006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11009 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11011 if (arg2
== NULL
) {
11012 PyErr_SetString(PyExc_TypeError
,"null reference");
11016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11017 (arg1
)->base_OnEraseContents(*arg2
);
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11022 Py_INCREF(Py_None
); resultobj
= Py_None
;
11029 static PyObject
*_wrap_PyRectangleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11030 PyObject
*resultobj
;
11031 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11033 PyObject
* obj0
= 0 ;
11034 PyObject
* obj1
= 0 ;
11035 char *kwnames
[] = {
11036 (char *) "self",(char *) "dc", NULL
11039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
11040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11043 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11045 if (arg2
== NULL
) {
11046 PyErr_SetString(PyExc_TypeError
,"null reference");
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11051 (arg1
)->base_OnHighlight(*arg2
);
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11056 Py_INCREF(Py_None
); resultobj
= Py_None
;
11063 static PyObject
*_wrap_PyRectangleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
*resultobj
;
11065 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11068 int arg4
= (int) 0 ;
11069 int arg5
= (int) 0 ;
11070 PyObject
* obj0
= 0 ;
11071 PyObject
* obj1
= 0 ;
11072 PyObject
* obj2
= 0 ;
11073 PyObject
* obj3
= 0 ;
11074 PyObject
* obj4
= 0 ;
11075 char *kwnames
[] = {
11076 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11082 arg2
= (double) SWIG_AsDouble(obj1
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11084 arg3
= (double) SWIG_AsDouble(obj2
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11087 arg4
= (int) SWIG_AsInt(obj3
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11091 arg5
= (int) SWIG_AsInt(obj4
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11096 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
11098 wxPyEndAllowThreads(__tstate
);
11099 if (PyErr_Occurred()) SWIG_fail
;
11101 Py_INCREF(Py_None
); resultobj
= Py_None
;
11108 static PyObject
*_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11109 PyObject
*resultobj
;
11110 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11113 int arg4
= (int) 0 ;
11114 int arg5
= (int) 0 ;
11115 PyObject
* obj0
= 0 ;
11116 PyObject
* obj1
= 0 ;
11117 PyObject
* obj2
= 0 ;
11118 PyObject
* obj3
= 0 ;
11119 PyObject
* obj4
= 0 ;
11120 char *kwnames
[] = {
11121 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11127 arg2
= (double) SWIG_AsDouble(obj1
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11129 arg3
= (double) SWIG_AsDouble(obj2
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11132 arg4
= (int) SWIG_AsInt(obj3
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11136 arg5
= (int) SWIG_AsInt(obj4
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11146 Py_INCREF(Py_None
); resultobj
= Py_None
;
11153 static PyObject
*_wrap_PyRectangleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11154 PyObject
*resultobj
;
11155 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11158 int arg4
= (int) 0 ;
11159 int arg5
= (int) 0 ;
11160 PyObject
* obj0
= 0 ;
11161 PyObject
* obj1
= 0 ;
11162 PyObject
* obj2
= 0 ;
11163 PyObject
* obj3
= 0 ;
11164 PyObject
* obj4
= 0 ;
11165 char *kwnames
[] = {
11166 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11172 arg2
= (double) SWIG_AsDouble(obj1
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11174 arg3
= (double) SWIG_AsDouble(obj2
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 arg4
= (int) SWIG_AsInt(obj3
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11181 arg5
= (int) SWIG_AsInt(obj4
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11191 Py_INCREF(Py_None
); resultobj
= Py_None
;
11198 static PyObject
*_wrap_PyRectangleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11199 PyObject
*resultobj
;
11200 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11203 PyObject
* obj0
= 0 ;
11204 PyObject
* obj1
= 0 ;
11205 PyObject
* obj2
= 0 ;
11206 char *kwnames
[] = {
11207 (char *) "self",(char *) "x",(char *) "y", NULL
11210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11213 arg2
= (double) SWIG_AsDouble(obj1
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11215 arg3
= (double) SWIG_AsDouble(obj2
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11219 (arg1
)->base_OnSize(arg2
,arg3
);
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11224 Py_INCREF(Py_None
); resultobj
= Py_None
;
11231 static PyObject
*_wrap_PyRectangleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
;
11233 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11239 bool arg7
= (bool) True
;
11241 PyObject
* obj0
= 0 ;
11242 PyObject
* obj1
= 0 ;
11243 PyObject
* obj2
= 0 ;
11244 PyObject
* obj3
= 0 ;
11245 PyObject
* obj4
= 0 ;
11246 PyObject
* obj5
= 0 ;
11247 PyObject
* obj6
= 0 ;
11248 char *kwnames
[] = {
11249 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11255 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11256 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11258 if (arg2
== NULL
) {
11259 PyErr_SetString(PyExc_TypeError
,"null reference");
11262 arg3
= (double) SWIG_AsDouble(obj2
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11264 arg4
= (double) SWIG_AsDouble(obj3
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11266 arg5
= (double) SWIG_AsDouble(obj4
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11268 arg6
= (double) SWIG_AsDouble(obj5
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 arg7
= (bool) SWIG_AsBool(obj6
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11278 wxPyEndAllowThreads(__tstate
);
11279 if (PyErr_Occurred()) SWIG_fail
;
11282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11290 static PyObject
*_wrap_PyRectangleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
;
11292 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11298 bool arg7
= (bool) True
;
11299 PyObject
* obj0
= 0 ;
11300 PyObject
* obj1
= 0 ;
11301 PyObject
* obj2
= 0 ;
11302 PyObject
* obj3
= 0 ;
11303 PyObject
* obj4
= 0 ;
11304 PyObject
* obj5
= 0 ;
11305 PyObject
* obj6
= 0 ;
11306 char *kwnames
[] = {
11307 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11314 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11316 if (arg2
== NULL
) {
11317 PyErr_SetString(PyExc_TypeError
,"null reference");
11320 arg3
= (double) SWIG_AsDouble(obj2
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11322 arg4
= (double) SWIG_AsDouble(obj3
);
11323 if (PyErr_Occurred()) SWIG_fail
;
11324 arg5
= (double) SWIG_AsDouble(obj4
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11326 arg6
= (double) SWIG_AsDouble(obj5
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11329 arg7
= (bool) SWIG_AsBool(obj6
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11334 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11336 wxPyEndAllowThreads(__tstate
);
11337 if (PyErr_Occurred()) SWIG_fail
;
11339 Py_INCREF(Py_None
); resultobj
= Py_None
;
11346 static PyObject
*_wrap_PyRectangleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11347 PyObject
*resultobj
;
11348 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11352 int arg5
= (int) 0 ;
11353 int arg6
= (int) 0 ;
11354 PyObject
* obj0
= 0 ;
11355 PyObject
* obj1
= 0 ;
11356 PyObject
* obj2
= 0 ;
11357 PyObject
* obj3
= 0 ;
11358 PyObject
* obj4
= 0 ;
11359 PyObject
* obj5
= 0 ;
11360 char *kwnames
[] = {
11361 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11367 arg2
= (bool) SWIG_AsBool(obj1
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11369 arg3
= (double) SWIG_AsDouble(obj2
);
11370 if (PyErr_Occurred()) SWIG_fail
;
11371 arg4
= (double) SWIG_AsDouble(obj3
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 arg5
= (int) SWIG_AsInt(obj4
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11378 arg6
= (int) SWIG_AsInt(obj5
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11383 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11385 wxPyEndAllowThreads(__tstate
);
11386 if (PyErr_Occurred()) SWIG_fail
;
11388 Py_INCREF(Py_None
); resultobj
= Py_None
;
11395 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11396 PyObject
*resultobj
;
11397 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11400 int arg4
= (int) 0 ;
11401 int arg5
= (int) 0 ;
11402 PyObject
* obj0
= 0 ;
11403 PyObject
* obj1
= 0 ;
11404 PyObject
* obj2
= 0 ;
11405 PyObject
* obj3
= 0 ;
11406 PyObject
* obj4
= 0 ;
11407 char *kwnames
[] = {
11408 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11414 arg2
= (double) SWIG_AsDouble(obj1
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11416 arg3
= (double) SWIG_AsDouble(obj2
);
11417 if (PyErr_Occurred()) SWIG_fail
;
11419 arg4
= (int) SWIG_AsInt(obj3
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11423 arg5
= (int) SWIG_AsInt(obj4
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
11430 wxPyEndAllowThreads(__tstate
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11433 Py_INCREF(Py_None
); resultobj
= Py_None
;
11440 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
*resultobj
;
11442 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11445 int arg4
= (int) 0 ;
11446 int arg5
= (int) 0 ;
11447 PyObject
* obj0
= 0 ;
11448 PyObject
* obj1
= 0 ;
11449 PyObject
* obj2
= 0 ;
11450 PyObject
* obj3
= 0 ;
11451 PyObject
* obj4
= 0 ;
11452 char *kwnames
[] = {
11453 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11459 arg2
= (double) SWIG_AsDouble(obj1
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11461 arg3
= (double) SWIG_AsDouble(obj2
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11464 arg4
= (int) SWIG_AsInt(obj3
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11468 arg5
= (int) SWIG_AsInt(obj4
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11473 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11478 Py_INCREF(Py_None
); resultobj
= Py_None
;
11485 static PyObject
*_wrap_PyRectangleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
*resultobj
;
11487 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11491 int arg5
= (int) 0 ;
11492 int arg6
= (int) 0 ;
11493 PyObject
* obj0
= 0 ;
11494 PyObject
* obj1
= 0 ;
11495 PyObject
* obj2
= 0 ;
11496 PyObject
* obj3
= 0 ;
11497 PyObject
* obj4
= 0 ;
11498 PyObject
* obj5
= 0 ;
11499 char *kwnames
[] = {
11500 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11506 arg2
= (bool) SWIG_AsBool(obj1
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11508 arg3
= (double) SWIG_AsDouble(obj2
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11510 arg4
= (double) SWIG_AsDouble(obj3
);
11511 if (PyErr_Occurred()) SWIG_fail
;
11513 arg5
= (int) SWIG_AsInt(obj4
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11517 arg6
= (int) SWIG_AsInt(obj5
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11522 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
11524 wxPyEndAllowThreads(__tstate
);
11525 if (PyErr_Occurred()) SWIG_fail
;
11527 Py_INCREF(Py_None
); resultobj
= Py_None
;
11534 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11535 PyObject
*resultobj
;
11536 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11539 int arg4
= (int) 0 ;
11540 int arg5
= (int) 0 ;
11541 PyObject
* obj0
= 0 ;
11542 PyObject
* obj1
= 0 ;
11543 PyObject
* obj2
= 0 ;
11544 PyObject
* obj3
= 0 ;
11545 PyObject
* obj4
= 0 ;
11546 char *kwnames
[] = {
11547 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11553 arg2
= (double) SWIG_AsDouble(obj1
);
11554 if (PyErr_Occurred()) SWIG_fail
;
11555 arg3
= (double) SWIG_AsDouble(obj2
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11558 arg4
= (int) SWIG_AsInt(obj3
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11562 arg5
= (int) SWIG_AsInt(obj4
);
11563 if (PyErr_Occurred()) SWIG_fail
;
11566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11567 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
11569 wxPyEndAllowThreads(__tstate
);
11570 if (PyErr_Occurred()) SWIG_fail
;
11572 Py_INCREF(Py_None
); resultobj
= Py_None
;
11579 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11580 PyObject
*resultobj
;
11581 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11584 int arg4
= (int) 0 ;
11585 int arg5
= (int) 0 ;
11586 PyObject
* obj0
= 0 ;
11587 PyObject
* obj1
= 0 ;
11588 PyObject
* obj2
= 0 ;
11589 PyObject
* obj3
= 0 ;
11590 PyObject
* obj4
= 0 ;
11591 char *kwnames
[] = {
11592 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11598 arg2
= (double) SWIG_AsDouble(obj1
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11600 arg3
= (double) SWIG_AsDouble(obj2
);
11601 if (PyErr_Occurred()) SWIG_fail
;
11603 arg4
= (int) SWIG_AsInt(obj3
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11607 arg5
= (int) SWIG_AsInt(obj4
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
11614 wxPyEndAllowThreads(__tstate
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11617 Py_INCREF(Py_None
); resultobj
= Py_None
;
11624 static PyObject
*_wrap_PyRectangleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11625 PyObject
*resultobj
;
11626 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11632 PyObject
* obj0
= 0 ;
11633 PyObject
* obj1
= 0 ;
11634 PyObject
* obj2
= 0 ;
11635 PyObject
* obj3
= 0 ;
11636 PyObject
* obj4
= 0 ;
11637 PyObject
* obj5
= 0 ;
11638 char *kwnames
[] = {
11639 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyRectangleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11646 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11648 if (arg2
== NULL
) {
11649 PyErr_SetString(PyExc_TypeError
,"null reference");
11652 arg3
= (double) SWIG_AsDouble(obj2
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11654 arg4
= (double) SWIG_AsDouble(obj3
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11656 arg5
= (double) SWIG_AsDouble(obj4
);
11657 if (PyErr_Occurred()) SWIG_fail
;
11658 arg6
= (double) SWIG_AsDouble(obj5
);
11659 if (PyErr_Occurred()) SWIG_fail
;
11661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11662 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
11664 wxPyEndAllowThreads(__tstate
);
11665 if (PyErr_Occurred()) SWIG_fail
;
11667 Py_INCREF(Py_None
); resultobj
= Py_None
;
11674 static PyObject
*_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11675 PyObject
*resultobj
;
11676 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11678 PyObject
* obj0
= 0 ;
11679 PyObject
* obj1
= 0 ;
11680 char *kwnames
[] = {
11681 (char *) "self",(char *) "dc", NULL
11684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11688 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11690 if (arg2
== NULL
) {
11691 PyErr_SetString(PyExc_TypeError
,"null reference");
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11696 (arg1
)->base_OnDrawControlPoints(*arg2
);
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 Py_INCREF(Py_None
); resultobj
= Py_None
;
11708 static PyObject
*_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11709 PyObject
*resultobj
;
11710 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11712 PyObject
* obj0
= 0 ;
11713 PyObject
* obj1
= 0 ;
11714 char *kwnames
[] = {
11715 (char *) "self",(char *) "dc", NULL
11718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11724 if (arg2
== NULL
) {
11725 PyErr_SetString(PyExc_TypeError
,"null reference");
11729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11730 (arg1
)->base_OnEraseControlPoints(*arg2
);
11732 wxPyEndAllowThreads(__tstate
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11735 Py_INCREF(Py_None
); resultobj
= Py_None
;
11742 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11743 PyObject
*resultobj
;
11744 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11746 bool arg3
= (bool) True
;
11747 PyObject
* obj0
= 0 ;
11748 PyObject
* obj1
= 0 ;
11749 PyObject
* obj2
= 0 ;
11750 char *kwnames
[] = {
11751 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11760 if (arg2
== NULL
) {
11761 PyErr_SetString(PyExc_TypeError
,"null reference");
11765 arg3
= (bool) SWIG_AsBool(obj2
);
11766 if (PyErr_Occurred()) SWIG_fail
;
11769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11770 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
11772 wxPyEndAllowThreads(__tstate
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11775 Py_INCREF(Py_None
); resultobj
= Py_None
;
11782 static PyObject
*_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
;
11784 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11785 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11789 int arg6
= (int) 0 ;
11790 int arg7
= (int) 0 ;
11791 PyObject
* obj0
= 0 ;
11792 PyObject
* obj1
= 0 ;
11793 PyObject
* obj2
= 0 ;
11794 PyObject
* obj3
= 0 ;
11795 PyObject
* obj4
= 0 ;
11796 PyObject
* obj5
= 0 ;
11797 PyObject
* obj6
= 0 ;
11798 char *kwnames
[] = {
11799 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyRectangleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11807 arg3
= (bool) SWIG_AsBool(obj2
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11809 arg4
= (double) SWIG_AsDouble(obj3
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11811 arg5
= (double) SWIG_AsDouble(obj4
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11814 arg6
= (int) SWIG_AsInt(obj5
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11818 arg7
= (int) SWIG_AsInt(obj6
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11823 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11825 wxPyEndAllowThreads(__tstate
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11828 Py_INCREF(Py_None
); resultobj
= Py_None
;
11835 static PyObject
*_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11836 PyObject
*resultobj
;
11837 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11838 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11841 int arg5
= (int) 0 ;
11842 int arg6
= (int) 0 ;
11843 PyObject
* obj0
= 0 ;
11844 PyObject
* obj1
= 0 ;
11845 PyObject
* obj2
= 0 ;
11846 PyObject
* obj3
= 0 ;
11847 PyObject
* obj4
= 0 ;
11848 PyObject
* obj5
= 0 ;
11849 char *kwnames
[] = {
11850 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11858 arg3
= (double) SWIG_AsDouble(obj2
);
11859 if (PyErr_Occurred()) SWIG_fail
;
11860 arg4
= (double) SWIG_AsDouble(obj3
);
11861 if (PyErr_Occurred()) SWIG_fail
;
11863 arg5
= (int) SWIG_AsInt(obj4
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11867 arg6
= (int) SWIG_AsInt(obj5
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11872 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11874 wxPyEndAllowThreads(__tstate
);
11875 if (PyErr_Occurred()) SWIG_fail
;
11877 Py_INCREF(Py_None
); resultobj
= Py_None
;
11884 static PyObject
*_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11885 PyObject
*resultobj
;
11886 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11887 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11890 int arg5
= (int) 0 ;
11891 int arg6
= (int) 0 ;
11892 PyObject
* obj0
= 0 ;
11893 PyObject
* obj1
= 0 ;
11894 PyObject
* obj2
= 0 ;
11895 PyObject
* obj3
= 0 ;
11896 PyObject
* obj4
= 0 ;
11897 PyObject
* obj5
= 0 ;
11898 char *kwnames
[] = {
11899 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11905 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11907 arg3
= (double) SWIG_AsDouble(obj2
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11909 arg4
= (double) SWIG_AsDouble(obj3
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11912 arg5
= (int) SWIG_AsInt(obj4
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11916 arg6
= (int) SWIG_AsInt(obj5
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11926 Py_INCREF(Py_None
); resultobj
= Py_None
;
11933 static PyObject
*_wrap_PyRectangleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11934 PyObject
*resultobj
;
11935 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11938 PyObject
* obj0
= 0 ;
11939 PyObject
* obj1
= 0 ;
11940 PyObject
* obj2
= 0 ;
11941 char *kwnames
[] = {
11942 (char *) "self",(char *) "w",(char *) "h", NULL
11945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11948 arg2
= (double) SWIG_AsDouble(obj1
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11950 arg3
= (double) SWIG_AsDouble(obj2
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11954 (arg1
)->base_OnBeginSize(arg2
,arg3
);
11956 wxPyEndAllowThreads(__tstate
);
11957 if (PyErr_Occurred()) SWIG_fail
;
11959 Py_INCREF(Py_None
); resultobj
= Py_None
;
11966 static PyObject
*_wrap_PyRectangleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11967 PyObject
*resultobj
;
11968 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11971 PyObject
* obj0
= 0 ;
11972 PyObject
* obj1
= 0 ;
11973 PyObject
* obj2
= 0 ;
11974 char *kwnames
[] = {
11975 (char *) "self",(char *) "w",(char *) "h", NULL
11978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11981 arg2
= (double) SWIG_AsDouble(obj1
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11983 arg3
= (double) SWIG_AsDouble(obj2
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11987 (arg1
)->base_OnEndSize(arg2
,arg3
);
11989 wxPyEndAllowThreads(__tstate
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11992 Py_INCREF(Py_None
); resultobj
= Py_None
;
11999 static PyObject
* PyRectangleShape_swigregister(PyObject
*self
, PyObject
*args
) {
12001 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12002 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape
, obj
);
12004 return Py_BuildValue((char *)"");
12006 static PyObject
*_wrap_new_PyControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12007 PyObject
*resultobj
;
12008 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
12009 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
12010 double arg3
= (double) 0.0 ;
12011 double arg4
= (double) 0.0 ;
12012 double arg5
= (double) 0.0 ;
12013 int arg6
= (int) 0 ;
12014 wxPyControlPoint
*result
;
12015 PyObject
* obj0
= 0 ;
12016 PyObject
* obj1
= 0 ;
12017 PyObject
* obj2
= 0 ;
12018 PyObject
* obj3
= 0 ;
12019 PyObject
* obj4
= 0 ;
12020 PyObject
* obj5
= 0 ;
12021 char *kwnames
[] = {
12022 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
12025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_PyControlPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
12028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
12032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12035 arg3
= (double) SWIG_AsDouble(obj2
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12039 arg4
= (double) SWIG_AsDouble(obj3
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12043 arg5
= (double) SWIG_AsDouble(obj4
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12047 arg6
= (int) SWIG_AsInt(obj5
);
12048 if (PyErr_Occurred()) SWIG_fail
;
12051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12052 result
= (wxPyControlPoint
*)new wxPyControlPoint(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControlPoint
, 1);
12064 static PyObject
*_wrap_PyControlPoint__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12065 PyObject
*resultobj
;
12066 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12067 PyObject
*arg2
= (PyObject
*) 0 ;
12068 PyObject
*arg3
= (PyObject
*) 0 ;
12069 PyObject
* obj0
= 0 ;
12070 PyObject
* obj1
= 0 ;
12071 PyObject
* obj2
= 0 ;
12072 char *kwnames
[] = {
12073 (char *) "self",(char *) "self",(char *) "_class", NULL
12076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12083 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12085 wxPyEndAllowThreads(__tstate
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12088 Py_INCREF(Py_None
); resultobj
= Py_None
;
12095 static PyObject
*_wrap_PyControlPoint_SetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12096 PyObject
*resultobj
;
12097 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12099 PyObject
* obj0
= 0 ;
12100 PyObject
* obj1
= 0 ;
12101 char *kwnames
[] = {
12102 (char *) "self",(char *) "radius", NULL
12105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_SetCornerRadius",kwnames
,&obj0
,&obj1
)) goto fail
;
12106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12108 arg2
= (double) SWIG_AsDouble(obj1
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12112 (arg1
)->SetCornerRadius(arg2
);
12114 wxPyEndAllowThreads(__tstate
);
12115 if (PyErr_Occurred()) SWIG_fail
;
12117 Py_INCREF(Py_None
); resultobj
= Py_None
;
12124 static PyObject
*_wrap_PyControlPoint_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12125 PyObject
*resultobj
;
12126 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12127 PyObject
* obj0
= 0 ;
12128 char *kwnames
[] = {
12129 (char *) "self", NULL
12132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControlPoint_base_OnDelete",kwnames
,&obj0
)) goto fail
;
12133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12137 (arg1
)->base_OnDelete();
12139 wxPyEndAllowThreads(__tstate
);
12140 if (PyErr_Occurred()) SWIG_fail
;
12142 Py_INCREF(Py_None
); resultobj
= Py_None
;
12149 static PyObject
*_wrap_PyControlPoint_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12150 PyObject
*resultobj
;
12151 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12153 PyObject
* obj0
= 0 ;
12154 PyObject
* obj1
= 0 ;
12155 char *kwnames
[] = {
12156 (char *) "self",(char *) "dc", NULL
12159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
12160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12163 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12165 if (arg2
== NULL
) {
12166 PyErr_SetString(PyExc_TypeError
,"null reference");
12170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12171 (arg1
)->base_OnDraw(*arg2
);
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12176 Py_INCREF(Py_None
); resultobj
= Py_None
;
12183 static PyObject
*_wrap_PyControlPoint_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12184 PyObject
*resultobj
;
12185 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12187 PyObject
* obj0
= 0 ;
12188 PyObject
* obj1
= 0 ;
12189 char *kwnames
[] = {
12190 (char *) "self",(char *) "dc", NULL
12193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12197 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12199 if (arg2
== NULL
) {
12200 PyErr_SetString(PyExc_TypeError
,"null reference");
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12205 (arg1
)->base_OnDrawContents(*arg2
);
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12210 Py_INCREF(Py_None
); resultobj
= Py_None
;
12217 static PyObject
*_wrap_PyControlPoint_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12218 PyObject
*resultobj
;
12219 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12221 bool arg3
= (bool) FALSE
;
12222 PyObject
* obj0
= 0 ;
12223 PyObject
* obj1
= 0 ;
12224 PyObject
* obj2
= 0 ;
12225 char *kwnames
[] = {
12226 (char *) "self",(char *) "dc",(char *) "erase", NULL
12229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12235 if (arg2
== NULL
) {
12236 PyErr_SetString(PyExc_TypeError
,"null reference");
12240 arg3
= (bool) SWIG_AsBool(obj2
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12250 Py_INCREF(Py_None
); resultobj
= Py_None
;
12257 static PyObject
*_wrap_PyControlPoint_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12258 PyObject
*resultobj
;
12259 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12261 PyObject
* obj0
= 0 ;
12262 PyObject
* obj1
= 0 ;
12263 char *kwnames
[] = {
12264 (char *) "self",(char *) "dc", NULL
12267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
12268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12271 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12273 if (arg2
== NULL
) {
12274 PyErr_SetString(PyExc_TypeError
,"null reference");
12278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12279 (arg1
)->base_OnMoveLinks(*arg2
);
12281 wxPyEndAllowThreads(__tstate
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12284 Py_INCREF(Py_None
); resultobj
= Py_None
;
12291 static PyObject
*_wrap_PyControlPoint_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12292 PyObject
*resultobj
;
12293 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12295 PyObject
* obj0
= 0 ;
12296 PyObject
* obj1
= 0 ;
12297 char *kwnames
[] = {
12298 (char *) "self",(char *) "dc", NULL
12301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
12302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12305 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12307 if (arg2
== NULL
) {
12308 PyErr_SetString(PyExc_TypeError
,"null reference");
12312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12313 (arg1
)->base_OnErase(*arg2
);
12315 wxPyEndAllowThreads(__tstate
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12318 Py_INCREF(Py_None
); resultobj
= Py_None
;
12325 static PyObject
*_wrap_PyControlPoint_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12326 PyObject
*resultobj
;
12327 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12329 PyObject
* obj0
= 0 ;
12330 PyObject
* obj1
= 0 ;
12331 char *kwnames
[] = {
12332 (char *) "self",(char *) "dc", NULL
12335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12338 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12339 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12341 if (arg2
== NULL
) {
12342 PyErr_SetString(PyExc_TypeError
,"null reference");
12346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12347 (arg1
)->base_OnEraseContents(*arg2
);
12349 wxPyEndAllowThreads(__tstate
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12352 Py_INCREF(Py_None
); resultobj
= Py_None
;
12359 static PyObject
*_wrap_PyControlPoint_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12360 PyObject
*resultobj
;
12361 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12363 PyObject
* obj0
= 0 ;
12364 PyObject
* obj1
= 0 ;
12365 char *kwnames
[] = {
12366 (char *) "self",(char *) "dc", NULL
12369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
12370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12372 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12373 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12375 if (arg2
== NULL
) {
12376 PyErr_SetString(PyExc_TypeError
,"null reference");
12380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12381 (arg1
)->base_OnHighlight(*arg2
);
12383 wxPyEndAllowThreads(__tstate
);
12384 if (PyErr_Occurred()) SWIG_fail
;
12386 Py_INCREF(Py_None
); resultobj
= Py_None
;
12393 static PyObject
*_wrap_PyControlPoint_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12394 PyObject
*resultobj
;
12395 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12398 int arg4
= (int) 0 ;
12399 int arg5
= (int) 0 ;
12400 PyObject
* obj0
= 0 ;
12401 PyObject
* obj1
= 0 ;
12402 PyObject
* obj2
= 0 ;
12403 PyObject
* obj3
= 0 ;
12404 PyObject
* obj4
= 0 ;
12405 char *kwnames
[] = {
12406 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12412 arg2
= (double) SWIG_AsDouble(obj1
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12414 arg3
= (double) SWIG_AsDouble(obj2
);
12415 if (PyErr_Occurred()) SWIG_fail
;
12417 arg4
= (int) SWIG_AsInt(obj3
);
12418 if (PyErr_Occurred()) SWIG_fail
;
12421 arg5
= (int) SWIG_AsInt(obj4
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12426 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
12428 wxPyEndAllowThreads(__tstate
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12431 Py_INCREF(Py_None
); resultobj
= Py_None
;
12438 static PyObject
*_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12439 PyObject
*resultobj
;
12440 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12443 int arg4
= (int) 0 ;
12444 int arg5
= (int) 0 ;
12445 PyObject
* obj0
= 0 ;
12446 PyObject
* obj1
= 0 ;
12447 PyObject
* obj2
= 0 ;
12448 PyObject
* obj3
= 0 ;
12449 PyObject
* obj4
= 0 ;
12450 char *kwnames
[] = {
12451 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12457 arg2
= (double) SWIG_AsDouble(obj1
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12459 arg3
= (double) SWIG_AsDouble(obj2
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12462 arg4
= (int) SWIG_AsInt(obj3
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12466 arg5
= (int) SWIG_AsInt(obj4
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12471 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
12473 wxPyEndAllowThreads(__tstate
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12476 Py_INCREF(Py_None
); resultobj
= Py_None
;
12483 static PyObject
*_wrap_PyControlPoint_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12484 PyObject
*resultobj
;
12485 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12488 int arg4
= (int) 0 ;
12489 int arg5
= (int) 0 ;
12490 PyObject
* obj0
= 0 ;
12491 PyObject
* obj1
= 0 ;
12492 PyObject
* obj2
= 0 ;
12493 PyObject
* obj3
= 0 ;
12494 PyObject
* obj4
= 0 ;
12495 char *kwnames
[] = {
12496 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12502 arg2
= (double) SWIG_AsDouble(obj1
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12504 arg3
= (double) SWIG_AsDouble(obj2
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12507 arg4
= (int) SWIG_AsInt(obj3
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12511 arg5
= (int) SWIG_AsInt(obj4
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12521 Py_INCREF(Py_None
); resultobj
= Py_None
;
12528 static PyObject
*_wrap_PyControlPoint_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
;
12530 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12533 PyObject
* obj0
= 0 ;
12534 PyObject
* obj1
= 0 ;
12535 PyObject
* obj2
= 0 ;
12536 char *kwnames
[] = {
12537 (char *) "self",(char *) "x",(char *) "y", NULL
12540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12543 arg2
= (double) SWIG_AsDouble(obj1
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12545 arg3
= (double) SWIG_AsDouble(obj2
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12549 (arg1
)->base_OnSize(arg2
,arg3
);
12551 wxPyEndAllowThreads(__tstate
);
12552 if (PyErr_Occurred()) SWIG_fail
;
12554 Py_INCREF(Py_None
); resultobj
= Py_None
;
12561 static PyObject
*_wrap_PyControlPoint_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12562 PyObject
*resultobj
;
12563 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12569 bool arg7
= (bool) True
;
12571 PyObject
* obj0
= 0 ;
12572 PyObject
* obj1
= 0 ;
12573 PyObject
* obj2
= 0 ;
12574 PyObject
* obj3
= 0 ;
12575 PyObject
* obj4
= 0 ;
12576 PyObject
* obj5
= 0 ;
12577 PyObject
* obj6
= 0 ;
12578 char *kwnames
[] = {
12579 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12586 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12588 if (arg2
== NULL
) {
12589 PyErr_SetString(PyExc_TypeError
,"null reference");
12592 arg3
= (double) SWIG_AsDouble(obj2
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12594 arg4
= (double) SWIG_AsDouble(obj3
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12596 arg5
= (double) SWIG_AsDouble(obj4
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12598 arg6
= (double) SWIG_AsDouble(obj5
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12601 arg7
= (bool) SWIG_AsBool(obj6
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12606 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12620 static PyObject
*_wrap_PyControlPoint_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12621 PyObject
*resultobj
;
12622 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12628 bool arg7
= (bool) True
;
12629 PyObject
* obj0
= 0 ;
12630 PyObject
* obj1
= 0 ;
12631 PyObject
* obj2
= 0 ;
12632 PyObject
* obj3
= 0 ;
12633 PyObject
* obj4
= 0 ;
12634 PyObject
* obj5
= 0 ;
12635 PyObject
* obj6
= 0 ;
12636 char *kwnames
[] = {
12637 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12643 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12644 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12646 if (arg2
== NULL
) {
12647 PyErr_SetString(PyExc_TypeError
,"null reference");
12650 arg3
= (double) SWIG_AsDouble(obj2
);
12651 if (PyErr_Occurred()) SWIG_fail
;
12652 arg4
= (double) SWIG_AsDouble(obj3
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12654 arg5
= (double) SWIG_AsDouble(obj4
);
12655 if (PyErr_Occurred()) SWIG_fail
;
12656 arg6
= (double) SWIG_AsDouble(obj5
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12659 arg7
= (bool) SWIG_AsBool(obj6
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12669 Py_INCREF(Py_None
); resultobj
= Py_None
;
12676 static PyObject
*_wrap_PyControlPoint_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12677 PyObject
*resultobj
;
12678 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12682 int arg5
= (int) 0 ;
12683 int arg6
= (int) 0 ;
12684 PyObject
* obj0
= 0 ;
12685 PyObject
* obj1
= 0 ;
12686 PyObject
* obj2
= 0 ;
12687 PyObject
* obj3
= 0 ;
12688 PyObject
* obj4
= 0 ;
12689 PyObject
* obj5
= 0 ;
12690 char *kwnames
[] = {
12691 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12697 arg2
= (bool) SWIG_AsBool(obj1
);
12698 if (PyErr_Occurred()) SWIG_fail
;
12699 arg3
= (double) SWIG_AsDouble(obj2
);
12700 if (PyErr_Occurred()) SWIG_fail
;
12701 arg4
= (double) SWIG_AsDouble(obj3
);
12702 if (PyErr_Occurred()) SWIG_fail
;
12704 arg5
= (int) SWIG_AsInt(obj4
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12708 arg6
= (int) SWIG_AsInt(obj5
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12713 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
12715 wxPyEndAllowThreads(__tstate
);
12716 if (PyErr_Occurred()) SWIG_fail
;
12718 Py_INCREF(Py_None
); resultobj
= Py_None
;
12725 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
*resultobj
;
12727 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12730 int arg4
= (int) 0 ;
12731 int arg5
= (int) 0 ;
12732 PyObject
* obj0
= 0 ;
12733 PyObject
* obj1
= 0 ;
12734 PyObject
* obj2
= 0 ;
12735 PyObject
* obj3
= 0 ;
12736 PyObject
* obj4
= 0 ;
12737 char *kwnames
[] = {
12738 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12744 arg2
= (double) SWIG_AsDouble(obj1
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12746 arg3
= (double) SWIG_AsDouble(obj2
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12749 arg4
= (int) SWIG_AsInt(obj3
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12753 arg5
= (int) SWIG_AsInt(obj4
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12758 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
12760 wxPyEndAllowThreads(__tstate
);
12761 if (PyErr_Occurred()) SWIG_fail
;
12763 Py_INCREF(Py_None
); resultobj
= Py_None
;
12770 static PyObject
*_wrap_PyControlPoint_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12771 PyObject
*resultobj
;
12772 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12775 int arg4
= (int) 0 ;
12776 int arg5
= (int) 0 ;
12777 PyObject
* obj0
= 0 ;
12778 PyObject
* obj1
= 0 ;
12779 PyObject
* obj2
= 0 ;
12780 PyObject
* obj3
= 0 ;
12781 PyObject
* obj4
= 0 ;
12782 char *kwnames
[] = {
12783 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12789 arg2
= (double) SWIG_AsDouble(obj1
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12791 arg3
= (double) SWIG_AsDouble(obj2
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12794 arg4
= (int) SWIG_AsInt(obj3
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12798 arg5
= (int) SWIG_AsInt(obj4
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12803 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
12805 wxPyEndAllowThreads(__tstate
);
12806 if (PyErr_Occurred()) SWIG_fail
;
12808 Py_INCREF(Py_None
); resultobj
= Py_None
;
12815 static PyObject
*_wrap_PyControlPoint_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12816 PyObject
*resultobj
;
12817 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12821 int arg5
= (int) 0 ;
12822 int arg6
= (int) 0 ;
12823 PyObject
* obj0
= 0 ;
12824 PyObject
* obj1
= 0 ;
12825 PyObject
* obj2
= 0 ;
12826 PyObject
* obj3
= 0 ;
12827 PyObject
* obj4
= 0 ;
12828 PyObject
* obj5
= 0 ;
12829 char *kwnames
[] = {
12830 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12836 arg2
= (bool) SWIG_AsBool(obj1
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12838 arg3
= (double) SWIG_AsDouble(obj2
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12840 arg4
= (double) SWIG_AsDouble(obj3
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12843 arg5
= (int) SWIG_AsInt(obj4
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12847 arg6
= (int) SWIG_AsInt(obj5
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
12854 wxPyEndAllowThreads(__tstate
);
12855 if (PyErr_Occurred()) SWIG_fail
;
12857 Py_INCREF(Py_None
); resultobj
= Py_None
;
12864 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
;
12866 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12869 int arg4
= (int) 0 ;
12870 int arg5
= (int) 0 ;
12871 PyObject
* obj0
= 0 ;
12872 PyObject
* obj1
= 0 ;
12873 PyObject
* obj2
= 0 ;
12874 PyObject
* obj3
= 0 ;
12875 PyObject
* obj4
= 0 ;
12876 char *kwnames
[] = {
12877 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12883 arg2
= (double) SWIG_AsDouble(obj1
);
12884 if (PyErr_Occurred()) SWIG_fail
;
12885 arg3
= (double) SWIG_AsDouble(obj2
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12888 arg4
= (int) SWIG_AsInt(obj3
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12892 arg5
= (int) SWIG_AsInt(obj4
);
12893 if (PyErr_Occurred()) SWIG_fail
;
12896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12897 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
12899 wxPyEndAllowThreads(__tstate
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12902 Py_INCREF(Py_None
); resultobj
= Py_None
;
12909 static PyObject
*_wrap_PyControlPoint_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
*resultobj
;
12911 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12914 int arg4
= (int) 0 ;
12915 int arg5
= (int) 0 ;
12916 PyObject
* obj0
= 0 ;
12917 PyObject
* obj1
= 0 ;
12918 PyObject
* obj2
= 0 ;
12919 PyObject
* obj3
= 0 ;
12920 PyObject
* obj4
= 0 ;
12921 char *kwnames
[] = {
12922 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12928 arg2
= (double) SWIG_AsDouble(obj1
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12930 arg3
= (double) SWIG_AsDouble(obj2
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12933 arg4
= (int) SWIG_AsInt(obj3
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12937 arg5
= (int) SWIG_AsInt(obj4
);
12938 if (PyErr_Occurred()) SWIG_fail
;
12941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12942 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
12944 wxPyEndAllowThreads(__tstate
);
12945 if (PyErr_Occurred()) SWIG_fail
;
12947 Py_INCREF(Py_None
); resultobj
= Py_None
;
12954 static PyObject
*_wrap_PyControlPoint_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12955 PyObject
*resultobj
;
12956 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12962 PyObject
* obj0
= 0 ;
12963 PyObject
* obj1
= 0 ;
12964 PyObject
* obj2
= 0 ;
12965 PyObject
* obj3
= 0 ;
12966 PyObject
* obj4
= 0 ;
12967 PyObject
* obj5
= 0 ;
12968 char *kwnames
[] = {
12969 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
12972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyControlPoint_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12976 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12978 if (arg2
== NULL
) {
12979 PyErr_SetString(PyExc_TypeError
,"null reference");
12982 arg3
= (double) SWIG_AsDouble(obj2
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12984 arg4
= (double) SWIG_AsDouble(obj3
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12986 arg5
= (double) SWIG_AsDouble(obj4
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12988 arg6
= (double) SWIG_AsDouble(obj5
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12992 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
12994 wxPyEndAllowThreads(__tstate
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12997 Py_INCREF(Py_None
); resultobj
= Py_None
;
13004 static PyObject
*_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13005 PyObject
*resultobj
;
13006 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13008 PyObject
* obj0
= 0 ;
13009 PyObject
* obj1
= 0 ;
13010 char *kwnames
[] = {
13011 (char *) "self",(char *) "dc", NULL
13014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13018 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13020 if (arg2
== NULL
) {
13021 PyErr_SetString(PyExc_TypeError
,"null reference");
13025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13026 (arg1
)->base_OnDrawControlPoints(*arg2
);
13028 wxPyEndAllowThreads(__tstate
);
13029 if (PyErr_Occurred()) SWIG_fail
;
13031 Py_INCREF(Py_None
); resultobj
= Py_None
;
13038 static PyObject
*_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13039 PyObject
*resultobj
;
13040 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13042 PyObject
* obj0
= 0 ;
13043 PyObject
* obj1
= 0 ;
13044 char *kwnames
[] = {
13045 (char *) "self",(char *) "dc", NULL
13048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13052 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13054 if (arg2
== NULL
) {
13055 PyErr_SetString(PyExc_TypeError
,"null reference");
13059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13060 (arg1
)->base_OnEraseControlPoints(*arg2
);
13062 wxPyEndAllowThreads(__tstate
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13065 Py_INCREF(Py_None
); resultobj
= Py_None
;
13072 static PyObject
*_wrap_PyControlPoint_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
;
13074 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13076 bool arg3
= (bool) True
;
13077 PyObject
* obj0
= 0 ;
13078 PyObject
* obj1
= 0 ;
13079 PyObject
* obj2
= 0 ;
13080 char *kwnames
[] = {
13081 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13088 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13090 if (arg2
== NULL
) {
13091 PyErr_SetString(PyExc_TypeError
,"null reference");
13095 arg3
= (bool) SWIG_AsBool(obj2
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13100 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
13102 wxPyEndAllowThreads(__tstate
);
13103 if (PyErr_Occurred()) SWIG_fail
;
13105 Py_INCREF(Py_None
); resultobj
= Py_None
;
13112 static PyObject
*_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13113 PyObject
*resultobj
;
13114 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13115 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13119 int arg6
= (int) 0 ;
13120 int arg7
= (int) 0 ;
13121 PyObject
* obj0
= 0 ;
13122 PyObject
* obj1
= 0 ;
13123 PyObject
* obj2
= 0 ;
13124 PyObject
* obj3
= 0 ;
13125 PyObject
* obj4
= 0 ;
13126 PyObject
* obj5
= 0 ;
13127 PyObject
* obj6
= 0 ;
13128 char *kwnames
[] = {
13129 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyControlPoint_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13137 arg3
= (bool) SWIG_AsBool(obj2
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13139 arg4
= (double) SWIG_AsDouble(obj3
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13141 arg5
= (double) SWIG_AsDouble(obj4
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13144 arg6
= (int) SWIG_AsInt(obj5
);
13145 if (PyErr_Occurred()) SWIG_fail
;
13148 arg7
= (int) SWIG_AsInt(obj6
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13158 Py_INCREF(Py_None
); resultobj
= Py_None
;
13165 static PyObject
*_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13166 PyObject
*resultobj
;
13167 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13168 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13171 int arg5
= (int) 0 ;
13172 int arg6
= (int) 0 ;
13173 PyObject
* obj0
= 0 ;
13174 PyObject
* obj1
= 0 ;
13175 PyObject
* obj2
= 0 ;
13176 PyObject
* obj3
= 0 ;
13177 PyObject
* obj4
= 0 ;
13178 PyObject
* obj5
= 0 ;
13179 char *kwnames
[] = {
13180 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13188 arg3
= (double) SWIG_AsDouble(obj2
);
13189 if (PyErr_Occurred()) SWIG_fail
;
13190 arg4
= (double) SWIG_AsDouble(obj3
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13193 arg5
= (int) SWIG_AsInt(obj4
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13197 arg6
= (int) SWIG_AsInt(obj5
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13204 wxPyEndAllowThreads(__tstate
);
13205 if (PyErr_Occurred()) SWIG_fail
;
13207 Py_INCREF(Py_None
); resultobj
= Py_None
;
13214 static PyObject
*_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13215 PyObject
*resultobj
;
13216 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13217 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13220 int arg5
= (int) 0 ;
13221 int arg6
= (int) 0 ;
13222 PyObject
* obj0
= 0 ;
13223 PyObject
* obj1
= 0 ;
13224 PyObject
* obj2
= 0 ;
13225 PyObject
* obj3
= 0 ;
13226 PyObject
* obj4
= 0 ;
13227 PyObject
* obj5
= 0 ;
13228 char *kwnames
[] = {
13229 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13237 arg3
= (double) SWIG_AsDouble(obj2
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13239 arg4
= (double) SWIG_AsDouble(obj3
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13242 arg5
= (int) SWIG_AsInt(obj4
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13246 arg6
= (int) SWIG_AsInt(obj5
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13251 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13253 wxPyEndAllowThreads(__tstate
);
13254 if (PyErr_Occurred()) SWIG_fail
;
13256 Py_INCREF(Py_None
); resultobj
= Py_None
;
13263 static PyObject
*_wrap_PyControlPoint_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
*resultobj
;
13265 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13268 PyObject
* obj0
= 0 ;
13269 PyObject
* obj1
= 0 ;
13270 PyObject
* obj2
= 0 ;
13271 char *kwnames
[] = {
13272 (char *) "self",(char *) "w",(char *) "h", NULL
13275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13278 arg2
= (double) SWIG_AsDouble(obj1
);
13279 if (PyErr_Occurred()) SWIG_fail
;
13280 arg3
= (double) SWIG_AsDouble(obj2
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13284 (arg1
)->base_OnBeginSize(arg2
,arg3
);
13286 wxPyEndAllowThreads(__tstate
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13289 Py_INCREF(Py_None
); resultobj
= Py_None
;
13296 static PyObject
*_wrap_PyControlPoint_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13297 PyObject
*resultobj
;
13298 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13301 PyObject
* obj0
= 0 ;
13302 PyObject
* obj1
= 0 ;
13303 PyObject
* obj2
= 0 ;
13304 char *kwnames
[] = {
13305 (char *) "self",(char *) "w",(char *) "h", NULL
13308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13311 arg2
= (double) SWIG_AsDouble(obj1
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13313 arg3
= (double) SWIG_AsDouble(obj2
);
13314 if (PyErr_Occurred()) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 (arg1
)->base_OnEndSize(arg2
,arg3
);
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 Py_INCREF(Py_None
); resultobj
= Py_None
;
13329 static PyObject
* PyControlPoint_swigregister(PyObject
*self
, PyObject
*args
) {
13331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13332 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint
, obj
);
13334 return Py_BuildValue((char *)"");
13336 static PyObject
*_wrap_new_PyBitmapShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13337 PyObject
*resultobj
;
13338 wxPyBitmapShape
*result
;
13339 char *kwnames
[] = {
13343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyBitmapShape",kwnames
)) goto fail
;
13345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13346 result
= (wxPyBitmapShape
*)new wxPyBitmapShape();
13348 wxPyEndAllowThreads(__tstate
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapShape
, 1);
13358 static PyObject
*_wrap_PyBitmapShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13359 PyObject
*resultobj
;
13360 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13361 PyObject
*arg2
= (PyObject
*) 0 ;
13362 PyObject
*arg3
= (PyObject
*) 0 ;
13363 PyObject
* obj0
= 0 ;
13364 PyObject
* obj1
= 0 ;
13365 PyObject
* obj2
= 0 ;
13366 char *kwnames
[] = {
13367 (char *) "self",(char *) "self",(char *) "_class", NULL
13370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13377 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13379 wxPyEndAllowThreads(__tstate
);
13380 if (PyErr_Occurred()) SWIG_fail
;
13382 Py_INCREF(Py_None
); resultobj
= Py_None
;
13389 static PyObject
*_wrap_PyBitmapShape_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13390 PyObject
*resultobj
;
13391 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13393 PyObject
* obj0
= 0 ;
13394 char *kwnames
[] = {
13395 (char *) "self", NULL
13398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetBitmap",kwnames
,&obj0
)) goto fail
;
13399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13404 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
13405 result
= (wxBitmap
*) &_result_ref
;
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13412 wxBitmap
* resultptr
= new wxBitmap(*result
);
13413 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13421 static PyObject
*_wrap_PyBitmapShape_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13422 PyObject
*resultobj
;
13423 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13425 PyObject
* obj0
= 0 ;
13426 char *kwnames
[] = {
13427 (char *) "self", NULL
13430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetFilename",kwnames
,&obj0
)) goto fail
;
13431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13435 result
= (arg1
)->GetFilename();
13437 wxPyEndAllowThreads(__tstate
);
13438 if (PyErr_Occurred()) SWIG_fail
;
13442 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13444 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13453 static PyObject
*_wrap_PyBitmapShape_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13454 PyObject
*resultobj
;
13455 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13456 wxBitmap
*arg2
= 0 ;
13457 PyObject
* obj0
= 0 ;
13458 PyObject
* obj1
= 0 ;
13459 char *kwnames
[] = {
13460 (char *) "self",(char *) "bitmap", NULL
13463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
13467 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13469 if (arg2
== NULL
) {
13470 PyErr_SetString(PyExc_TypeError
,"null reference");
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13480 Py_INCREF(Py_None
); resultobj
= Py_None
;
13487 static PyObject
*_wrap_PyBitmapShape_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13488 PyObject
*resultobj
;
13489 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13490 wxString
*arg2
= 0 ;
13491 bool temp2
= False
;
13492 PyObject
* obj0
= 0 ;
13493 PyObject
* obj1
= 0 ;
13494 char *kwnames
[] = {
13495 (char *) "self",(char *) "filename", NULL
13498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
13499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13502 arg2
= wxString_in_helper(obj1
);
13503 if (arg2
== NULL
) SWIG_fail
;
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 (arg1
)->SetFilename((wxString
const &)*arg2
);
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13513 Py_INCREF(Py_None
); resultobj
= Py_None
;
13528 static PyObject
*_wrap_PyBitmapShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13529 PyObject
*resultobj
;
13530 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13531 PyObject
* obj0
= 0 ;
13532 char *kwnames
[] = {
13533 (char *) "self", NULL
13536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
13537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13541 (arg1
)->base_OnDelete();
13543 wxPyEndAllowThreads(__tstate
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13546 Py_INCREF(Py_None
); resultobj
= Py_None
;
13553 static PyObject
*_wrap_PyBitmapShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13554 PyObject
*resultobj
;
13555 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13557 PyObject
* obj0
= 0 ;
13558 PyObject
* obj1
= 0 ;
13559 char *kwnames
[] = {
13560 (char *) "self",(char *) "dc", NULL
13563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
13564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13567 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13569 if (arg2
== NULL
) {
13570 PyErr_SetString(PyExc_TypeError
,"null reference");
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 (arg1
)->base_OnDraw(*arg2
);
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13580 Py_INCREF(Py_None
); resultobj
= Py_None
;
13587 static PyObject
*_wrap_PyBitmapShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
;
13589 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13591 PyObject
* obj0
= 0 ;
13592 PyObject
* obj1
= 0 ;
13593 char *kwnames
[] = {
13594 (char *) "self",(char *) "dc", NULL
13597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13600 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13601 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13603 if (arg2
== NULL
) {
13604 PyErr_SetString(PyExc_TypeError
,"null reference");
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 (arg1
)->base_OnDrawContents(*arg2
);
13611 wxPyEndAllowThreads(__tstate
);
13612 if (PyErr_Occurred()) SWIG_fail
;
13614 Py_INCREF(Py_None
); resultobj
= Py_None
;
13621 static PyObject
*_wrap_PyBitmapShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13622 PyObject
*resultobj
;
13623 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13625 bool arg3
= (bool) FALSE
;
13626 PyObject
* obj0
= 0 ;
13627 PyObject
* obj1
= 0 ;
13628 PyObject
* obj2
= 0 ;
13629 char *kwnames
[] = {
13630 (char *) "self",(char *) "dc",(char *) "erase", NULL
13633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13637 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13639 if (arg2
== NULL
) {
13640 PyErr_SetString(PyExc_TypeError
,"null reference");
13644 arg3
= (bool) SWIG_AsBool(obj2
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13649 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
13651 wxPyEndAllowThreads(__tstate
);
13652 if (PyErr_Occurred()) SWIG_fail
;
13654 Py_INCREF(Py_None
); resultobj
= Py_None
;
13661 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13662 PyObject
*resultobj
;
13663 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13665 PyObject
* obj0
= 0 ;
13666 PyObject
* obj1
= 0 ;
13667 char *kwnames
[] = {
13668 (char *) "self",(char *) "dc", NULL
13671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
13672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13675 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13677 if (arg2
== NULL
) {
13678 PyErr_SetString(PyExc_TypeError
,"null reference");
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 (arg1
)->base_OnMoveLinks(*arg2
);
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13688 Py_INCREF(Py_None
); resultobj
= Py_None
;
13695 static PyObject
*_wrap_PyBitmapShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13696 PyObject
*resultobj
;
13697 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13699 PyObject
* obj0
= 0 ;
13700 PyObject
* obj1
= 0 ;
13701 char *kwnames
[] = {
13702 (char *) "self",(char *) "dc", NULL
13705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
13706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13711 if (arg2
== NULL
) {
13712 PyErr_SetString(PyExc_TypeError
,"null reference");
13716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13717 (arg1
)->base_OnErase(*arg2
);
13719 wxPyEndAllowThreads(__tstate
);
13720 if (PyErr_Occurred()) SWIG_fail
;
13722 Py_INCREF(Py_None
); resultobj
= Py_None
;
13729 static PyObject
*_wrap_PyBitmapShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13730 PyObject
*resultobj
;
13731 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13733 PyObject
* obj0
= 0 ;
13734 PyObject
* obj1
= 0 ;
13735 char *kwnames
[] = {
13736 (char *) "self",(char *) "dc", NULL
13739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13743 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13745 if (arg2
== NULL
) {
13746 PyErr_SetString(PyExc_TypeError
,"null reference");
13750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13751 (arg1
)->base_OnEraseContents(*arg2
);
13753 wxPyEndAllowThreads(__tstate
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13756 Py_INCREF(Py_None
); resultobj
= Py_None
;
13763 static PyObject
*_wrap_PyBitmapShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13764 PyObject
*resultobj
;
13765 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13767 PyObject
* obj0
= 0 ;
13768 PyObject
* obj1
= 0 ;
13769 char *kwnames
[] = {
13770 (char *) "self",(char *) "dc", NULL
13773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
13774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13777 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13779 if (arg2
== NULL
) {
13780 PyErr_SetString(PyExc_TypeError
,"null reference");
13784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13785 (arg1
)->base_OnHighlight(*arg2
);
13787 wxPyEndAllowThreads(__tstate
);
13788 if (PyErr_Occurred()) SWIG_fail
;
13790 Py_INCREF(Py_None
); resultobj
= Py_None
;
13797 static PyObject
*_wrap_PyBitmapShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13798 PyObject
*resultobj
;
13799 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13802 int arg4
= (int) 0 ;
13803 int arg5
= (int) 0 ;
13804 PyObject
* obj0
= 0 ;
13805 PyObject
* obj1
= 0 ;
13806 PyObject
* obj2
= 0 ;
13807 PyObject
* obj3
= 0 ;
13808 PyObject
* obj4
= 0 ;
13809 char *kwnames
[] = {
13810 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13816 arg2
= (double) SWIG_AsDouble(obj1
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13818 arg3
= (double) SWIG_AsDouble(obj2
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13821 arg4
= (int) SWIG_AsInt(obj3
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13825 arg5
= (int) SWIG_AsInt(obj4
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13830 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
13832 wxPyEndAllowThreads(__tstate
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13835 Py_INCREF(Py_None
); resultobj
= Py_None
;
13842 static PyObject
*_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13843 PyObject
*resultobj
;
13844 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13847 int arg4
= (int) 0 ;
13848 int arg5
= (int) 0 ;
13849 PyObject
* obj0
= 0 ;
13850 PyObject
* obj1
= 0 ;
13851 PyObject
* obj2
= 0 ;
13852 PyObject
* obj3
= 0 ;
13853 PyObject
* obj4
= 0 ;
13854 char *kwnames
[] = {
13855 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13861 arg2
= (double) SWIG_AsDouble(obj1
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13863 arg3
= (double) SWIG_AsDouble(obj2
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13866 arg4
= (int) SWIG_AsInt(obj3
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13870 arg5
= (int) SWIG_AsInt(obj4
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13875 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
13877 wxPyEndAllowThreads(__tstate
);
13878 if (PyErr_Occurred()) SWIG_fail
;
13880 Py_INCREF(Py_None
); resultobj
= Py_None
;
13887 static PyObject
*_wrap_PyBitmapShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13888 PyObject
*resultobj
;
13889 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13892 int arg4
= (int) 0 ;
13893 int arg5
= (int) 0 ;
13894 PyObject
* obj0
= 0 ;
13895 PyObject
* obj1
= 0 ;
13896 PyObject
* obj2
= 0 ;
13897 PyObject
* obj3
= 0 ;
13898 PyObject
* obj4
= 0 ;
13899 char *kwnames
[] = {
13900 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13906 arg2
= (double) SWIG_AsDouble(obj1
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13908 arg3
= (double) SWIG_AsDouble(obj2
);
13909 if (PyErr_Occurred()) SWIG_fail
;
13911 arg4
= (int) SWIG_AsInt(obj3
);
13912 if (PyErr_Occurred()) SWIG_fail
;
13915 arg5
= (int) SWIG_AsInt(obj4
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13920 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
13922 wxPyEndAllowThreads(__tstate
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13925 Py_INCREF(Py_None
); resultobj
= Py_None
;
13932 static PyObject
*_wrap_PyBitmapShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13933 PyObject
*resultobj
;
13934 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13937 PyObject
* obj0
= 0 ;
13938 PyObject
* obj1
= 0 ;
13939 PyObject
* obj2
= 0 ;
13940 char *kwnames
[] = {
13941 (char *) "self",(char *) "x",(char *) "y", NULL
13944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13947 arg2
= (double) SWIG_AsDouble(obj1
);
13948 if (PyErr_Occurred()) SWIG_fail
;
13949 arg3
= (double) SWIG_AsDouble(obj2
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13953 (arg1
)->base_OnSize(arg2
,arg3
);
13955 wxPyEndAllowThreads(__tstate
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13958 Py_INCREF(Py_None
); resultobj
= Py_None
;
13965 static PyObject
*_wrap_PyBitmapShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13966 PyObject
*resultobj
;
13967 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13973 bool arg7
= (bool) True
;
13975 PyObject
* obj0
= 0 ;
13976 PyObject
* obj1
= 0 ;
13977 PyObject
* obj2
= 0 ;
13978 PyObject
* obj3
= 0 ;
13979 PyObject
* obj4
= 0 ;
13980 PyObject
* obj5
= 0 ;
13981 PyObject
* obj6
= 0 ;
13982 char *kwnames
[] = {
13983 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13990 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13992 if (arg2
== NULL
) {
13993 PyErr_SetString(PyExc_TypeError
,"null reference");
13996 arg3
= (double) SWIG_AsDouble(obj2
);
13997 if (PyErr_Occurred()) SWIG_fail
;
13998 arg4
= (double) SWIG_AsDouble(obj3
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14000 arg5
= (double) SWIG_AsDouble(obj4
);
14001 if (PyErr_Occurred()) SWIG_fail
;
14002 arg6
= (double) SWIG_AsDouble(obj5
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14005 arg7
= (bool) SWIG_AsBool(obj6
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14010 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14012 wxPyEndAllowThreads(__tstate
);
14013 if (PyErr_Occurred()) SWIG_fail
;
14016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14024 static PyObject
*_wrap_PyBitmapShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14025 PyObject
*resultobj
;
14026 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14032 bool arg7
= (bool) True
;
14033 PyObject
* obj0
= 0 ;
14034 PyObject
* obj1
= 0 ;
14035 PyObject
* obj2
= 0 ;
14036 PyObject
* obj3
= 0 ;
14037 PyObject
* obj4
= 0 ;
14038 PyObject
* obj5
= 0 ;
14039 PyObject
* obj6
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14048 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14050 if (arg2
== NULL
) {
14051 PyErr_SetString(PyExc_TypeError
,"null reference");
14054 arg3
= (double) SWIG_AsDouble(obj2
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14056 arg4
= (double) SWIG_AsDouble(obj3
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14058 arg5
= (double) SWIG_AsDouble(obj4
);
14059 if (PyErr_Occurred()) SWIG_fail
;
14060 arg6
= (double) SWIG_AsDouble(obj5
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14063 arg7
= (bool) SWIG_AsBool(obj6
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14070 wxPyEndAllowThreads(__tstate
);
14071 if (PyErr_Occurred()) SWIG_fail
;
14073 Py_INCREF(Py_None
); resultobj
= Py_None
;
14080 static PyObject
*_wrap_PyBitmapShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14081 PyObject
*resultobj
;
14082 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14086 int arg5
= (int) 0 ;
14087 int arg6
= (int) 0 ;
14088 PyObject
* obj0
= 0 ;
14089 PyObject
* obj1
= 0 ;
14090 PyObject
* obj2
= 0 ;
14091 PyObject
* obj3
= 0 ;
14092 PyObject
* obj4
= 0 ;
14093 PyObject
* obj5
= 0 ;
14094 char *kwnames
[] = {
14095 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14101 arg2
= (bool) SWIG_AsBool(obj1
);
14102 if (PyErr_Occurred()) SWIG_fail
;
14103 arg3
= (double) SWIG_AsDouble(obj2
);
14104 if (PyErr_Occurred()) SWIG_fail
;
14105 arg4
= (double) SWIG_AsDouble(obj3
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14108 arg5
= (int) SWIG_AsInt(obj4
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14112 arg6
= (int) SWIG_AsInt(obj5
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14117 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14119 wxPyEndAllowThreads(__tstate
);
14120 if (PyErr_Occurred()) SWIG_fail
;
14122 Py_INCREF(Py_None
); resultobj
= Py_None
;
14129 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14130 PyObject
*resultobj
;
14131 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14134 int arg4
= (int) 0 ;
14135 int arg5
= (int) 0 ;
14136 PyObject
* obj0
= 0 ;
14137 PyObject
* obj1
= 0 ;
14138 PyObject
* obj2
= 0 ;
14139 PyObject
* obj3
= 0 ;
14140 PyObject
* obj4
= 0 ;
14141 char *kwnames
[] = {
14142 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14148 arg2
= (double) SWIG_AsDouble(obj1
);
14149 if (PyErr_Occurred()) SWIG_fail
;
14150 arg3
= (double) SWIG_AsDouble(obj2
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14153 arg4
= (int) SWIG_AsInt(obj3
);
14154 if (PyErr_Occurred()) SWIG_fail
;
14157 arg5
= (int) SWIG_AsInt(obj4
);
14158 if (PyErr_Occurred()) SWIG_fail
;
14161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14162 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
14164 wxPyEndAllowThreads(__tstate
);
14165 if (PyErr_Occurred()) SWIG_fail
;
14167 Py_INCREF(Py_None
); resultobj
= Py_None
;
14174 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14175 PyObject
*resultobj
;
14176 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14179 int arg4
= (int) 0 ;
14180 int arg5
= (int) 0 ;
14181 PyObject
* obj0
= 0 ;
14182 PyObject
* obj1
= 0 ;
14183 PyObject
* obj2
= 0 ;
14184 PyObject
* obj3
= 0 ;
14185 PyObject
* obj4
= 0 ;
14186 char *kwnames
[] = {
14187 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14193 arg2
= (double) SWIG_AsDouble(obj1
);
14194 if (PyErr_Occurred()) SWIG_fail
;
14195 arg3
= (double) SWIG_AsDouble(obj2
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14198 arg4
= (int) SWIG_AsInt(obj3
);
14199 if (PyErr_Occurred()) SWIG_fail
;
14202 arg5
= (int) SWIG_AsInt(obj4
);
14203 if (PyErr_Occurred()) SWIG_fail
;
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
14209 wxPyEndAllowThreads(__tstate
);
14210 if (PyErr_Occurred()) SWIG_fail
;
14212 Py_INCREF(Py_None
); resultobj
= Py_None
;
14219 static PyObject
*_wrap_PyBitmapShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
;
14221 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14225 int arg5
= (int) 0 ;
14226 int arg6
= (int) 0 ;
14227 PyObject
* obj0
= 0 ;
14228 PyObject
* obj1
= 0 ;
14229 PyObject
* obj2
= 0 ;
14230 PyObject
* obj3
= 0 ;
14231 PyObject
* obj4
= 0 ;
14232 PyObject
* obj5
= 0 ;
14233 char *kwnames
[] = {
14234 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14240 arg2
= (bool) SWIG_AsBool(obj1
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14242 arg3
= (double) SWIG_AsDouble(obj2
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14244 arg4
= (double) SWIG_AsDouble(obj3
);
14245 if (PyErr_Occurred()) SWIG_fail
;
14247 arg5
= (int) SWIG_AsInt(obj4
);
14248 if (PyErr_Occurred()) SWIG_fail
;
14251 arg6
= (int) SWIG_AsInt(obj5
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14256 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
14258 wxPyEndAllowThreads(__tstate
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14261 Py_INCREF(Py_None
); resultobj
= Py_None
;
14268 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14269 PyObject
*resultobj
;
14270 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14273 int arg4
= (int) 0 ;
14274 int arg5
= (int) 0 ;
14275 PyObject
* obj0
= 0 ;
14276 PyObject
* obj1
= 0 ;
14277 PyObject
* obj2
= 0 ;
14278 PyObject
* obj3
= 0 ;
14279 PyObject
* obj4
= 0 ;
14280 char *kwnames
[] = {
14281 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14287 arg2
= (double) SWIG_AsDouble(obj1
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14289 arg3
= (double) SWIG_AsDouble(obj2
);
14290 if (PyErr_Occurred()) SWIG_fail
;
14292 arg4
= (int) SWIG_AsInt(obj3
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14296 arg5
= (int) SWIG_AsInt(obj4
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
14303 wxPyEndAllowThreads(__tstate
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14306 Py_INCREF(Py_None
); resultobj
= Py_None
;
14313 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14314 PyObject
*resultobj
;
14315 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14318 int arg4
= (int) 0 ;
14319 int arg5
= (int) 0 ;
14320 PyObject
* obj0
= 0 ;
14321 PyObject
* obj1
= 0 ;
14322 PyObject
* obj2
= 0 ;
14323 PyObject
* obj3
= 0 ;
14324 PyObject
* obj4
= 0 ;
14325 char *kwnames
[] = {
14326 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14332 arg2
= (double) SWIG_AsDouble(obj1
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14334 arg3
= (double) SWIG_AsDouble(obj2
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14337 arg4
= (int) SWIG_AsInt(obj3
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14341 arg5
= (int) SWIG_AsInt(obj4
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14351 Py_INCREF(Py_None
); resultobj
= Py_None
;
14358 static PyObject
*_wrap_PyBitmapShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14359 PyObject
*resultobj
;
14360 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14366 PyObject
* obj0
= 0 ;
14367 PyObject
* obj1
= 0 ;
14368 PyObject
* obj2
= 0 ;
14369 PyObject
* obj3
= 0 ;
14370 PyObject
* obj4
= 0 ;
14371 PyObject
* obj5
= 0 ;
14372 char *kwnames
[] = {
14373 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyBitmapShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14379 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14380 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14382 if (arg2
== NULL
) {
14383 PyErr_SetString(PyExc_TypeError
,"null reference");
14386 arg3
= (double) SWIG_AsDouble(obj2
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14388 arg4
= (double) SWIG_AsDouble(obj3
);
14389 if (PyErr_Occurred()) SWIG_fail
;
14390 arg5
= (double) SWIG_AsDouble(obj4
);
14391 if (PyErr_Occurred()) SWIG_fail
;
14392 arg6
= (double) SWIG_AsDouble(obj5
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14396 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
14398 wxPyEndAllowThreads(__tstate
);
14399 if (PyErr_Occurred()) SWIG_fail
;
14401 Py_INCREF(Py_None
); resultobj
= Py_None
;
14408 static PyObject
*_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14409 PyObject
*resultobj
;
14410 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14412 PyObject
* obj0
= 0 ;
14413 PyObject
* obj1
= 0 ;
14414 char *kwnames
[] = {
14415 (char *) "self",(char *) "dc", NULL
14418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14422 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14424 if (arg2
== NULL
) {
14425 PyErr_SetString(PyExc_TypeError
,"null reference");
14429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14430 (arg1
)->base_OnDrawControlPoints(*arg2
);
14432 wxPyEndAllowThreads(__tstate
);
14433 if (PyErr_Occurred()) SWIG_fail
;
14435 Py_INCREF(Py_None
); resultobj
= Py_None
;
14442 static PyObject
*_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14443 PyObject
*resultobj
;
14444 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14446 PyObject
* obj0
= 0 ;
14447 PyObject
* obj1
= 0 ;
14448 char *kwnames
[] = {
14449 (char *) "self",(char *) "dc", NULL
14452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14456 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14458 if (arg2
== NULL
) {
14459 PyErr_SetString(PyExc_TypeError
,"null reference");
14463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14464 (arg1
)->base_OnEraseControlPoints(*arg2
);
14466 wxPyEndAllowThreads(__tstate
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14469 Py_INCREF(Py_None
); resultobj
= Py_None
;
14476 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14477 PyObject
*resultobj
;
14478 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14480 bool arg3
= (bool) True
;
14481 PyObject
* obj0
= 0 ;
14482 PyObject
* obj1
= 0 ;
14483 PyObject
* obj2
= 0 ;
14484 char *kwnames
[] = {
14485 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
14488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14492 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14494 if (arg2
== NULL
) {
14495 PyErr_SetString(PyExc_TypeError
,"null reference");
14499 arg3
= (bool) SWIG_AsBool(obj2
);
14500 if (PyErr_Occurred()) SWIG_fail
;
14503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14504 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
14506 wxPyEndAllowThreads(__tstate
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14509 Py_INCREF(Py_None
); resultobj
= Py_None
;
14516 static PyObject
*_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14517 PyObject
*resultobj
;
14518 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14519 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14523 int arg6
= (int) 0 ;
14524 int arg7
= (int) 0 ;
14525 PyObject
* obj0
= 0 ;
14526 PyObject
* obj1
= 0 ;
14527 PyObject
* obj2
= 0 ;
14528 PyObject
* obj3
= 0 ;
14529 PyObject
* obj4
= 0 ;
14530 PyObject
* obj5
= 0 ;
14531 PyObject
* obj6
= 0 ;
14532 char *kwnames
[] = {
14533 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyBitmapShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14539 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14541 arg3
= (bool) SWIG_AsBool(obj2
);
14542 if (PyErr_Occurred()) SWIG_fail
;
14543 arg4
= (double) SWIG_AsDouble(obj3
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14545 arg5
= (double) SWIG_AsDouble(obj4
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14548 arg6
= (int) SWIG_AsInt(obj5
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14552 arg7
= (int) SWIG_AsInt(obj6
);
14553 if (PyErr_Occurred()) SWIG_fail
;
14556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14557 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14559 wxPyEndAllowThreads(__tstate
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14562 Py_INCREF(Py_None
); resultobj
= Py_None
;
14569 static PyObject
*_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14570 PyObject
*resultobj
;
14571 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14572 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14575 int arg5
= (int) 0 ;
14576 int arg6
= (int) 0 ;
14577 PyObject
* obj0
= 0 ;
14578 PyObject
* obj1
= 0 ;
14579 PyObject
* obj2
= 0 ;
14580 PyObject
* obj3
= 0 ;
14581 PyObject
* obj4
= 0 ;
14582 PyObject
* obj5
= 0 ;
14583 char *kwnames
[] = {
14584 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14592 arg3
= (double) SWIG_AsDouble(obj2
);
14593 if (PyErr_Occurred()) SWIG_fail
;
14594 arg4
= (double) SWIG_AsDouble(obj3
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14597 arg5
= (int) SWIG_AsInt(obj4
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14601 arg6
= (int) SWIG_AsInt(obj5
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14608 wxPyEndAllowThreads(__tstate
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14611 Py_INCREF(Py_None
); resultobj
= Py_None
;
14618 static PyObject
*_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14619 PyObject
*resultobj
;
14620 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14621 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14624 int arg5
= (int) 0 ;
14625 int arg6
= (int) 0 ;
14626 PyObject
* obj0
= 0 ;
14627 PyObject
* obj1
= 0 ;
14628 PyObject
* obj2
= 0 ;
14629 PyObject
* obj3
= 0 ;
14630 PyObject
* obj4
= 0 ;
14631 PyObject
* obj5
= 0 ;
14632 char *kwnames
[] = {
14633 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14641 arg3
= (double) SWIG_AsDouble(obj2
);
14642 if (PyErr_Occurred()) SWIG_fail
;
14643 arg4
= (double) SWIG_AsDouble(obj3
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14646 arg5
= (int) SWIG_AsInt(obj4
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14650 arg6
= (int) SWIG_AsInt(obj5
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14655 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14657 wxPyEndAllowThreads(__tstate
);
14658 if (PyErr_Occurred()) SWIG_fail
;
14660 Py_INCREF(Py_None
); resultobj
= Py_None
;
14667 static PyObject
*_wrap_PyBitmapShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14668 PyObject
*resultobj
;
14669 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14672 PyObject
* obj0
= 0 ;
14673 PyObject
* obj1
= 0 ;
14674 PyObject
* obj2
= 0 ;
14675 char *kwnames
[] = {
14676 (char *) "self",(char *) "w",(char *) "h", NULL
14679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14682 arg2
= (double) SWIG_AsDouble(obj1
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14684 arg3
= (double) SWIG_AsDouble(obj2
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14688 (arg1
)->base_OnBeginSize(arg2
,arg3
);
14690 wxPyEndAllowThreads(__tstate
);
14691 if (PyErr_Occurred()) SWIG_fail
;
14693 Py_INCREF(Py_None
); resultobj
= Py_None
;
14700 static PyObject
*_wrap_PyBitmapShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14701 PyObject
*resultobj
;
14702 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14705 PyObject
* obj0
= 0 ;
14706 PyObject
* obj1
= 0 ;
14707 PyObject
* obj2
= 0 ;
14708 char *kwnames
[] = {
14709 (char *) "self",(char *) "w",(char *) "h", NULL
14712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14715 arg2
= (double) SWIG_AsDouble(obj1
);
14716 if (PyErr_Occurred()) SWIG_fail
;
14717 arg3
= (double) SWIG_AsDouble(obj2
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14721 (arg1
)->base_OnEndSize(arg2
,arg3
);
14723 wxPyEndAllowThreads(__tstate
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14726 Py_INCREF(Py_None
); resultobj
= Py_None
;
14733 static PyObject
* PyBitmapShape_swigregister(PyObject
*self
, PyObject
*args
) {
14735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14736 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape
, obj
);
14738 return Py_BuildValue((char *)"");
14740 static PyObject
*_wrap_new_PyDrawnShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14741 PyObject
*resultobj
;
14742 wxPyDrawnShape
*result
;
14743 char *kwnames
[] = {
14747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDrawnShape",kwnames
)) goto fail
;
14749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14750 result
= (wxPyDrawnShape
*)new wxPyDrawnShape();
14752 wxPyEndAllowThreads(__tstate
);
14753 if (PyErr_Occurred()) SWIG_fail
;
14755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDrawnShape
, 1);
14762 static PyObject
*_wrap_PyDrawnShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14763 PyObject
*resultobj
;
14764 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14765 PyObject
*arg2
= (PyObject
*) 0 ;
14766 PyObject
*arg3
= (PyObject
*) 0 ;
14767 PyObject
* obj0
= 0 ;
14768 PyObject
* obj1
= 0 ;
14769 PyObject
* obj2
= 0 ;
14770 char *kwnames
[] = {
14771 (char *) "self",(char *) "self",(char *) "_class", NULL
14774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14781 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14783 wxPyEndAllowThreads(__tstate
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14786 Py_INCREF(Py_None
); resultobj
= Py_None
;
14793 static PyObject
*_wrap_PyDrawnShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14794 PyObject
*resultobj
;
14795 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14796 PyObject
* obj0
= 0 ;
14797 char *kwnames
[] = {
14798 (char *) "self", NULL
14801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
14802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14806 (arg1
)->CalculateSize();
14808 wxPyEndAllowThreads(__tstate
);
14809 if (PyErr_Occurred()) SWIG_fail
;
14811 Py_INCREF(Py_None
); resultobj
= Py_None
;
14818 static PyObject
*_wrap_PyDrawnShape_DestroyClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14819 PyObject
*resultobj
;
14820 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14821 PyObject
* obj0
= 0 ;
14822 char *kwnames
[] = {
14823 (char *) "self", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
14827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14831 (arg1
)->DestroyClippingRect();
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14836 Py_INCREF(Py_None
); resultobj
= Py_None
;
14843 static PyObject
*_wrap_PyDrawnShape_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14844 PyObject
*resultobj
;
14845 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14846 wxPoint
*arg2
= 0 ;
14847 wxPoint
*arg3
= 0 ;
14848 wxPoint
*arg4
= 0 ;
14852 PyObject
* obj0
= 0 ;
14853 PyObject
* obj1
= 0 ;
14854 PyObject
* obj2
= 0 ;
14855 PyObject
* obj3
= 0 ;
14856 char *kwnames
[] = {
14857 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
14860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14865 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14869 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14873 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14877 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
14879 wxPyEndAllowThreads(__tstate
);
14880 if (PyErr_Occurred()) SWIG_fail
;
14882 Py_INCREF(Py_None
); resultobj
= Py_None
;
14889 static PyObject
*_wrap_PyDrawnShape_DrawAtAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14890 PyObject
*resultobj
;
14891 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14893 PyObject
* obj0
= 0 ;
14894 PyObject
* obj1
= 0 ;
14895 char *kwnames
[] = {
14896 (char *) "self",(char *) "angle", NULL
14899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawAtAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
14900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14902 arg2
= (int) SWIG_AsInt(obj1
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14906 (arg1
)->DrawAtAngle(arg2
);
14908 wxPyEndAllowThreads(__tstate
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14911 Py_INCREF(Py_None
); resultobj
= Py_None
;
14918 static PyObject
*_wrap_PyDrawnShape_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14919 PyObject
*resultobj
;
14920 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14925 PyObject
* obj0
= 0 ;
14926 PyObject
* obj1
= 0 ;
14927 PyObject
* obj2
= 0 ;
14928 PyObject
* obj3
= 0 ;
14929 char *kwnames
[] = {
14930 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
14933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14938 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14940 arg3
= (double) SWIG_AsDouble(obj2
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14942 arg4
= (double) SWIG_AsDouble(obj3
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14946 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
14948 wxPyEndAllowThreads(__tstate
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14951 Py_INCREF(Py_None
); resultobj
= Py_None
;
14958 static PyObject
*_wrap_PyDrawnShape_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
;
14960 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14961 wxPoint
*arg2
= 0 ;
14962 wxPoint
*arg3
= 0 ;
14965 PyObject
* obj0
= 0 ;
14966 PyObject
* obj1
= 0 ;
14967 PyObject
* obj2
= 0 ;
14968 char *kwnames
[] = {
14969 (char *) "self",(char *) "point1",(char *) "point2", NULL
14972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14977 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14981 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
14987 wxPyEndAllowThreads(__tstate
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14990 Py_INCREF(Py_None
); resultobj
= Py_None
;
14997 static PyObject
*_wrap_PyDrawnShape_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14998 PyObject
*resultobj
;
14999 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15001 wxPoint
*arg3
= (wxPoint
*) 0 ;
15002 PyObject
* obj0
= 0 ;
15003 PyObject
* obj1
= 0 ;
15004 char *kwnames
[] = {
15005 (char *) "self",(char *) "points", NULL
15008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawLines",kwnames
,&obj0
,&obj1
)) goto fail
;
15009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15012 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
15013 if (arg3
== NULL
) SWIG_fail
;
15016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15017 (arg1
)->DrawLines(arg2
,arg3
);
15019 wxPyEndAllowThreads(__tstate
);
15020 if (PyErr_Occurred()) SWIG_fail
;
15022 Py_INCREF(Py_None
); resultobj
= Py_None
;
15024 if (arg3
) delete [] arg3
;
15029 if (arg3
) delete [] arg3
;
15035 static PyObject
*_wrap_PyDrawnShape_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15036 PyObject
*resultobj
;
15037 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15038 wxPoint
*arg2
= 0 ;
15040 PyObject
* obj0
= 0 ;
15041 PyObject
* obj1
= 0 ;
15042 char *kwnames
[] = {
15043 (char *) "self",(char *) "point", NULL
15046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
15047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15051 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15055 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
15057 wxPyEndAllowThreads(__tstate
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15060 Py_INCREF(Py_None
); resultobj
= Py_None
;
15067 static PyObject
*_wrap_PyDrawnShape_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15068 PyObject
*resultobj
;
15069 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15071 wxPoint
*arg3
= (wxPoint
*) 0 ;
15072 int arg4
= (int) 0 ;
15073 PyObject
* obj0
= 0 ;
15074 PyObject
* obj1
= 0 ;
15075 PyObject
* obj2
= 0 ;
15076 char *kwnames
[] = {
15077 (char *) "self",(char *) "points",(char *) "flags", NULL
15080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15084 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
15085 if (arg3
== NULL
) SWIG_fail
;
15088 arg4
= (int) SWIG_AsInt(obj2
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15093 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
15095 wxPyEndAllowThreads(__tstate
);
15096 if (PyErr_Occurred()) SWIG_fail
;
15098 Py_INCREF(Py_None
); resultobj
= Py_None
;
15100 if (arg3
) delete [] arg3
;
15105 if (arg3
) delete [] arg3
;
15111 static PyObject
*_wrap_PyDrawnShape_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15112 PyObject
*resultobj
;
15113 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15116 PyObject
* obj0
= 0 ;
15117 PyObject
* obj1
= 0 ;
15118 char *kwnames
[] = {
15119 (char *) "self",(char *) "rect", NULL
15122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
15123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15127 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15131 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15136 Py_INCREF(Py_None
); resultobj
= Py_None
;
15143 static PyObject
*_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15144 PyObject
*resultobj
;
15145 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15149 PyObject
* obj0
= 0 ;
15150 PyObject
* obj1
= 0 ;
15151 PyObject
* obj2
= 0 ;
15152 char *kwnames
[] = {
15153 (char *) "self",(char *) "rect",(char *) "radius", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15161 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15163 arg3
= (double) SWIG_AsDouble(obj2
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15167 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
15169 wxPyEndAllowThreads(__tstate
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15172 Py_INCREF(Py_None
); resultobj
= Py_None
;
15179 static PyObject
*_wrap_PyDrawnShape_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15180 PyObject
*resultobj
;
15181 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15183 wxPoint
*arg3
= (wxPoint
*) 0 ;
15184 PyObject
* obj0
= 0 ;
15185 PyObject
* obj1
= 0 ;
15186 char *kwnames
[] = {
15187 (char *) "self",(char *) "points", NULL
15190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
15191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15194 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
15195 if (arg3
== NULL
) SWIG_fail
;
15198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 (arg1
)->DrawSpline(arg2
,arg3
);
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15204 Py_INCREF(Py_None
); resultobj
= Py_None
;
15206 if (arg3
) delete [] arg3
;
15211 if (arg3
) delete [] arg3
;
15217 static PyObject
*_wrap_PyDrawnShape_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
;
15219 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15220 wxString
*arg2
= 0 ;
15221 wxPoint
*arg3
= 0 ;
15222 bool temp2
= False
;
15224 PyObject
* obj0
= 0 ;
15225 PyObject
* obj1
= 0 ;
15226 PyObject
* obj2
= 0 ;
15227 char *kwnames
[] = {
15228 (char *) "self",(char *) "text",(char *) "point", NULL
15231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15235 arg2
= wxString_in_helper(obj1
);
15236 if (arg2
== NULL
) SWIG_fail
;
15241 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15245 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
15247 wxPyEndAllowThreads(__tstate
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15250 Py_INCREF(Py_None
); resultobj
= Py_None
;
15265 static PyObject
*_wrap_PyDrawnShape_GetAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15266 PyObject
*resultobj
;
15267 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15269 PyObject
* obj0
= 0 ;
15270 char *kwnames
[] = {
15271 (char *) "self", NULL
15274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetAngle",kwnames
,&obj0
)) goto fail
;
15275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15279 result
= (int)(arg1
)->GetAngle();
15281 wxPyEndAllowThreads(__tstate
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15284 resultobj
= SWIG_FromInt((int)result
);
15291 static PyObject
*_wrap_PyDrawnShape_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15292 PyObject
*resultobj
;
15293 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15294 wxPseudoMetaFile
*result
;
15295 PyObject
* obj0
= 0 ;
15296 char *kwnames
[] = {
15297 (char *) "self", NULL
15300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetMetaFile",kwnames
,&obj0
)) goto fail
;
15301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15306 wxPseudoMetaFile
&_result_ref
= (arg1
)->GetMetaFile();
15307 result
= (wxPseudoMetaFile
*) &_result_ref
;
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPseudoMetaFile
, 0);
15320 static PyObject
*_wrap_PyDrawnShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15321 PyObject
*resultobj
;
15322 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15324 PyObject
* obj0
= 0 ;
15325 char *kwnames
[] = {
15326 (char *) "self", NULL
15329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetRotation",kwnames
,&obj0
)) goto fail
;
15330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15334 result
= (double)(arg1
)->GetRotation();
15336 wxPyEndAllowThreads(__tstate
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15339 resultobj
= SWIG_FromDouble((double)result
);
15346 static PyObject
*_wrap_PyDrawnShape_LoadFromMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15347 PyObject
*resultobj
;
15348 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15349 wxString
*arg2
= 0 ;
15351 bool temp2
= False
;
15352 PyObject
* obj0
= 0 ;
15353 PyObject
* obj1
= 0 ;
15354 char *kwnames
[] = {
15355 (char *) "self",(char *) "filename", NULL
15358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames
,&obj0
,&obj1
)) goto fail
;
15359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15362 arg2
= wxString_in_helper(obj1
);
15363 if (arg2
== NULL
) SWIG_fail
;
15367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15368 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
);
15370 wxPyEndAllowThreads(__tstate
);
15371 if (PyErr_Occurred()) SWIG_fail
;
15374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15390 static PyObject
*_wrap_PyDrawnShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
;
15392 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15396 PyObject
* obj0
= 0 ;
15397 PyObject
* obj1
= 0 ;
15398 PyObject
* obj2
= 0 ;
15399 PyObject
* obj3
= 0 ;
15400 char *kwnames
[] = {
15401 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
15404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15407 arg2
= (double) SWIG_AsDouble(obj1
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15409 arg3
= (double) SWIG_AsDouble(obj2
);
15410 if (PyErr_Occurred()) SWIG_fail
;
15411 arg4
= (double) SWIG_AsDouble(obj3
);
15412 if (PyErr_Occurred()) SWIG_fail
;
15414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15415 (arg1
)->Rotate(arg2
,arg3
,arg4
);
15417 wxPyEndAllowThreads(__tstate
);
15418 if (PyErr_Occurred()) SWIG_fail
;
15420 Py_INCREF(Py_None
); resultobj
= Py_None
;
15427 static PyObject
*_wrap_PyDrawnShape_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15428 PyObject
*resultobj
;
15429 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15432 PyObject
* obj0
= 0 ;
15433 PyObject
* obj1
= 0 ;
15434 char *kwnames
[] = {
15435 (char *) "self",(char *) "rect", NULL
15438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15443 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15447 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
15449 wxPyEndAllowThreads(__tstate
);
15450 if (PyErr_Occurred()) SWIG_fail
;
15452 Py_INCREF(Py_None
); resultobj
= Py_None
;
15459 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15460 PyObject
*resultobj
;
15461 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15462 wxColour
*arg2
= 0 ;
15464 PyObject
* obj0
= 0 ;
15465 PyObject
* obj1
= 0 ;
15466 char *kwnames
[] = {
15467 (char *) "self",(char *) "colour", NULL
15470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15475 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15479 (arg1
)->SetDrawnBackgroundColour((wxColour
const &)*arg2
);
15481 wxPyEndAllowThreads(__tstate
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15484 Py_INCREF(Py_None
); resultobj
= Py_None
;
15491 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15492 PyObject
*resultobj
;
15493 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15495 PyObject
* obj0
= 0 ;
15496 PyObject
* obj1
= 0 ;
15497 char *kwnames
[] = {
15498 (char *) "self",(char *) "mode", NULL
15501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
15502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15504 arg2
= (int) SWIG_AsInt(obj1
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15508 (arg1
)->SetDrawnBackgroundMode(arg2
);
15510 wxPyEndAllowThreads(__tstate
);
15511 if (PyErr_Occurred()) SWIG_fail
;
15513 Py_INCREF(Py_None
); resultobj
= Py_None
;
15520 static PyObject
*_wrap_PyDrawnShape_SetDrawnBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15521 PyObject
*resultobj
;
15522 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15523 wxBrush
*arg2
= (wxBrush
*) 0 ;
15524 bool arg3
= (bool) FALSE
;
15525 PyObject
* obj0
= 0 ;
15526 PyObject
* obj1
= 0 ;
15527 PyObject
* obj2
= 0 ;
15528 char *kwnames
[] = {
15529 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15538 if (obj1
== Py_None
) {
15541 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
15542 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
15547 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
15552 arg3
= (bool) SWIG_AsBool(obj2
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 (arg1
)->SetDrawnBrush(arg2
,arg3
);
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15562 Py_INCREF(Py_None
); resultobj
= Py_None
;
15569 static PyObject
*_wrap_PyDrawnShape_SetDrawnFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15570 PyObject
*resultobj
;
15571 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15572 wxFont
*arg2
= (wxFont
*) 0 ;
15573 PyObject
* obj0
= 0 ;
15574 PyObject
* obj1
= 0 ;
15575 char *kwnames
[] = {
15576 (char *) "self",(char *) "font", NULL
15579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15585 if (obj1
== Py_None
) {
15588 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
15589 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
15594 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
15598 temp
->GetUnderlined(),
15599 temp
->GetFaceName(),
15600 temp
->GetEncoding());
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15606 (arg1
)->SetDrawnFont(arg2
);
15608 wxPyEndAllowThreads(__tstate
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15611 Py_INCREF(Py_None
); resultobj
= Py_None
;
15618 static PyObject
*_wrap_PyDrawnShape_SetDrawnPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15619 PyObject
*resultobj
;
15620 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15621 wxPen
*arg2
= (wxPen
*) 0 ;
15622 bool arg3
= (bool) FALSE
;
15623 PyObject
* obj0
= 0 ;
15624 PyObject
* obj1
= 0 ;
15625 PyObject
* obj2
= 0 ;
15626 char *kwnames
[] = {
15627 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15636 if (obj1
== Py_None
) {
15639 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
15640 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
15645 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
15652 arg3
= (bool) SWIG_AsBool(obj2
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15657 (arg1
)->SetDrawnPen(arg2
,arg3
);
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15662 Py_INCREF(Py_None
); resultobj
= Py_None
;
15669 static PyObject
*_wrap_PyDrawnShape_SetDrawnTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
;
15671 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15672 wxColour
*arg2
= 0 ;
15674 PyObject
* obj0
= 0 ;
15675 PyObject
* obj1
= 0 ;
15676 char *kwnames
[] = {
15677 (char *) "self",(char *) "colour", NULL
15680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15685 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15689 (arg1
)->SetDrawnTextColour((wxColour
const &)*arg2
);
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15694 Py_INCREF(Py_None
); resultobj
= Py_None
;
15701 static PyObject
*_wrap_PyDrawnShape_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
;
15703 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15706 PyObject
* obj0
= 0 ;
15707 PyObject
* obj1
= 0 ;
15708 PyObject
* obj2
= 0 ;
15709 char *kwnames
[] = {
15710 (char *) "self",(char *) "sx",(char *) "sy", NULL
15713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15716 arg2
= (double) SWIG_AsDouble(obj1
);
15717 if (PyErr_Occurred()) SWIG_fail
;
15718 arg3
= (double) SWIG_AsDouble(obj2
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15722 (arg1
)->Scale(arg2
,arg3
);
15724 wxPyEndAllowThreads(__tstate
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15727 Py_INCREF(Py_None
); resultobj
= Py_None
;
15734 static PyObject
*_wrap_PyDrawnShape_SetSaveToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
;
15736 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15738 PyObject
* obj0
= 0 ;
15739 PyObject
* obj1
= 0 ;
15740 char *kwnames
[] = {
15741 (char *) "self",(char *) "save", NULL
15744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
15745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15747 arg2
= (bool) SWIG_AsBool(obj1
);
15748 if (PyErr_Occurred()) SWIG_fail
;
15750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15751 (arg1
)->SetSaveToFile(arg2
);
15753 wxPyEndAllowThreads(__tstate
);
15754 if (PyErr_Occurred()) SWIG_fail
;
15756 Py_INCREF(Py_None
); resultobj
= Py_None
;
15763 static PyObject
*_wrap_PyDrawnShape_Translate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15764 PyObject
*resultobj
;
15765 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15768 PyObject
* obj0
= 0 ;
15769 PyObject
* obj1
= 0 ;
15770 PyObject
* obj2
= 0 ;
15771 char *kwnames
[] = {
15772 (char *) "self",(char *) "x",(char *) "y", NULL
15775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15778 arg2
= (double) SWIG_AsDouble(obj1
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15780 arg3
= (double) SWIG_AsDouble(obj2
);
15781 if (PyErr_Occurred()) SWIG_fail
;
15783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15784 (arg1
)->Translate(arg2
,arg3
);
15786 wxPyEndAllowThreads(__tstate
);
15787 if (PyErr_Occurred()) SWIG_fail
;
15789 Py_INCREF(Py_None
); resultobj
= Py_None
;
15796 static PyObject
*_wrap_PyDrawnShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15797 PyObject
*resultobj
;
15798 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15799 PyObject
* obj0
= 0 ;
15800 char *kwnames
[] = {
15801 (char *) "self", NULL
15804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
15805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 (arg1
)->base_OnDelete();
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15814 Py_INCREF(Py_None
); resultobj
= Py_None
;
15821 static PyObject
*_wrap_PyDrawnShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
;
15823 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15825 PyObject
* obj0
= 0 ;
15826 PyObject
* obj1
= 0 ;
15827 char *kwnames
[] = {
15828 (char *) "self",(char *) "dc", NULL
15831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
15832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15835 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15837 if (arg2
== NULL
) {
15838 PyErr_SetString(PyExc_TypeError
,"null reference");
15842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15843 (arg1
)->base_OnDraw(*arg2
);
15845 wxPyEndAllowThreads(__tstate
);
15846 if (PyErr_Occurred()) SWIG_fail
;
15848 Py_INCREF(Py_None
); resultobj
= Py_None
;
15855 static PyObject
*_wrap_PyDrawnShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15856 PyObject
*resultobj
;
15857 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15859 PyObject
* obj0
= 0 ;
15860 PyObject
* obj1
= 0 ;
15861 char *kwnames
[] = {
15862 (char *) "self",(char *) "dc", NULL
15865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15869 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15871 if (arg2
== NULL
) {
15872 PyErr_SetString(PyExc_TypeError
,"null reference");
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15877 (arg1
)->base_OnDrawContents(*arg2
);
15879 wxPyEndAllowThreads(__tstate
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15882 Py_INCREF(Py_None
); resultobj
= Py_None
;
15889 static PyObject
*_wrap_PyDrawnShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15890 PyObject
*resultobj
;
15891 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15893 bool arg3
= (bool) FALSE
;
15894 PyObject
* obj0
= 0 ;
15895 PyObject
* obj1
= 0 ;
15896 PyObject
* obj2
= 0 ;
15897 char *kwnames
[] = {
15898 (char *) "self",(char *) "dc",(char *) "erase", NULL
15901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15905 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15907 if (arg2
== NULL
) {
15908 PyErr_SetString(PyExc_TypeError
,"null reference");
15912 arg3
= (bool) SWIG_AsBool(obj2
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15917 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
15919 wxPyEndAllowThreads(__tstate
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15922 Py_INCREF(Py_None
); resultobj
= Py_None
;
15929 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15930 PyObject
*resultobj
;
15931 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15933 PyObject
* obj0
= 0 ;
15934 PyObject
* obj1
= 0 ;
15935 char *kwnames
[] = {
15936 (char *) "self",(char *) "dc", NULL
15939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
15940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15943 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15945 if (arg2
== NULL
) {
15946 PyErr_SetString(PyExc_TypeError
,"null reference");
15950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15951 (arg1
)->base_OnMoveLinks(*arg2
);
15953 wxPyEndAllowThreads(__tstate
);
15954 if (PyErr_Occurred()) SWIG_fail
;
15956 Py_INCREF(Py_None
); resultobj
= Py_None
;
15963 static PyObject
*_wrap_PyDrawnShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15964 PyObject
*resultobj
;
15965 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15967 PyObject
* obj0
= 0 ;
15968 PyObject
* obj1
= 0 ;
15969 char *kwnames
[] = {
15970 (char *) "self",(char *) "dc", NULL
15973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
15974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15976 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15977 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15979 if (arg2
== NULL
) {
15980 PyErr_SetString(PyExc_TypeError
,"null reference");
15984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15985 (arg1
)->base_OnErase(*arg2
);
15987 wxPyEndAllowThreads(__tstate
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15990 Py_INCREF(Py_None
); resultobj
= Py_None
;
15997 static PyObject
*_wrap_PyDrawnShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15998 PyObject
*resultobj
;
15999 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16001 PyObject
* obj0
= 0 ;
16002 PyObject
* obj1
= 0 ;
16003 char *kwnames
[] = {
16004 (char *) "self",(char *) "dc", NULL
16007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
16008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16011 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16013 if (arg2
== NULL
) {
16014 PyErr_SetString(PyExc_TypeError
,"null reference");
16018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16019 (arg1
)->base_OnEraseContents(*arg2
);
16021 wxPyEndAllowThreads(__tstate
);
16022 if (PyErr_Occurred()) SWIG_fail
;
16024 Py_INCREF(Py_None
); resultobj
= Py_None
;
16031 static PyObject
*_wrap_PyDrawnShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16032 PyObject
*resultobj
;
16033 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16035 PyObject
* obj0
= 0 ;
16036 PyObject
* obj1
= 0 ;
16037 char *kwnames
[] = {
16038 (char *) "self",(char *) "dc", NULL
16041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
16042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16045 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16047 if (arg2
== NULL
) {
16048 PyErr_SetString(PyExc_TypeError
,"null reference");
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16053 (arg1
)->base_OnHighlight(*arg2
);
16055 wxPyEndAllowThreads(__tstate
);
16056 if (PyErr_Occurred()) SWIG_fail
;
16058 Py_INCREF(Py_None
); resultobj
= Py_None
;
16065 static PyObject
*_wrap_PyDrawnShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16066 PyObject
*resultobj
;
16067 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16070 int arg4
= (int) 0 ;
16071 int arg5
= (int) 0 ;
16072 PyObject
* obj0
= 0 ;
16073 PyObject
* obj1
= 0 ;
16074 PyObject
* obj2
= 0 ;
16075 PyObject
* obj3
= 0 ;
16076 PyObject
* obj4
= 0 ;
16077 char *kwnames
[] = {
16078 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16084 arg2
= (double) SWIG_AsDouble(obj1
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16086 arg3
= (double) SWIG_AsDouble(obj2
);
16087 if (PyErr_Occurred()) SWIG_fail
;
16089 arg4
= (int) SWIG_AsInt(obj3
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16093 arg5
= (int) SWIG_AsInt(obj4
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16098 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
16100 wxPyEndAllowThreads(__tstate
);
16101 if (PyErr_Occurred()) SWIG_fail
;
16103 Py_INCREF(Py_None
); resultobj
= Py_None
;
16110 static PyObject
*_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16111 PyObject
*resultobj
;
16112 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16115 int arg4
= (int) 0 ;
16116 int arg5
= (int) 0 ;
16117 PyObject
* obj0
= 0 ;
16118 PyObject
* obj1
= 0 ;
16119 PyObject
* obj2
= 0 ;
16120 PyObject
* obj3
= 0 ;
16121 PyObject
* obj4
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16129 arg2
= (double) SWIG_AsDouble(obj1
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16131 arg3
= (double) SWIG_AsDouble(obj2
);
16132 if (PyErr_Occurred()) SWIG_fail
;
16134 arg4
= (int) SWIG_AsInt(obj3
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16138 arg5
= (int) SWIG_AsInt(obj4
);
16139 if (PyErr_Occurred()) SWIG_fail
;
16142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16143 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
16145 wxPyEndAllowThreads(__tstate
);
16146 if (PyErr_Occurred()) SWIG_fail
;
16148 Py_INCREF(Py_None
); resultobj
= Py_None
;
16155 static PyObject
*_wrap_PyDrawnShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16156 PyObject
*resultobj
;
16157 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16160 int arg4
= (int) 0 ;
16161 int arg5
= (int) 0 ;
16162 PyObject
* obj0
= 0 ;
16163 PyObject
* obj1
= 0 ;
16164 PyObject
* obj2
= 0 ;
16165 PyObject
* obj3
= 0 ;
16166 PyObject
* obj4
= 0 ;
16167 char *kwnames
[] = {
16168 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16174 arg2
= (double) SWIG_AsDouble(obj1
);
16175 if (PyErr_Occurred()) SWIG_fail
;
16176 arg3
= (double) SWIG_AsDouble(obj2
);
16177 if (PyErr_Occurred()) SWIG_fail
;
16179 arg4
= (int) SWIG_AsInt(obj3
);
16180 if (PyErr_Occurred()) SWIG_fail
;
16183 arg5
= (int) SWIG_AsInt(obj4
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
16190 wxPyEndAllowThreads(__tstate
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16193 Py_INCREF(Py_None
); resultobj
= Py_None
;
16200 static PyObject
*_wrap_PyDrawnShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16201 PyObject
*resultobj
;
16202 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16205 PyObject
* obj0
= 0 ;
16206 PyObject
* obj1
= 0 ;
16207 PyObject
* obj2
= 0 ;
16208 char *kwnames
[] = {
16209 (char *) "self",(char *) "x",(char *) "y", NULL
16212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16215 arg2
= (double) SWIG_AsDouble(obj1
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16217 arg3
= (double) SWIG_AsDouble(obj2
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16221 (arg1
)->base_OnSize(arg2
,arg3
);
16223 wxPyEndAllowThreads(__tstate
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16226 Py_INCREF(Py_None
); resultobj
= Py_None
;
16233 static PyObject
*_wrap_PyDrawnShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16234 PyObject
*resultobj
;
16235 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16241 bool arg7
= (bool) True
;
16243 PyObject
* obj0
= 0 ;
16244 PyObject
* obj1
= 0 ;
16245 PyObject
* obj2
= 0 ;
16246 PyObject
* obj3
= 0 ;
16247 PyObject
* obj4
= 0 ;
16248 PyObject
* obj5
= 0 ;
16249 PyObject
* obj6
= 0 ;
16250 char *kwnames
[] = {
16251 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16260 if (arg2
== NULL
) {
16261 PyErr_SetString(PyExc_TypeError
,"null reference");
16264 arg3
= (double) SWIG_AsDouble(obj2
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16266 arg4
= (double) SWIG_AsDouble(obj3
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16268 arg5
= (double) SWIG_AsDouble(obj4
);
16269 if (PyErr_Occurred()) SWIG_fail
;
16270 arg6
= (double) SWIG_AsDouble(obj5
);
16271 if (PyErr_Occurred()) SWIG_fail
;
16273 arg7
= (bool) SWIG_AsBool(obj6
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16278 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16280 wxPyEndAllowThreads(__tstate
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16292 static PyObject
*_wrap_PyDrawnShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16293 PyObject
*resultobj
;
16294 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16300 bool arg7
= (bool) True
;
16301 PyObject
* obj0
= 0 ;
16302 PyObject
* obj1
= 0 ;
16303 PyObject
* obj2
= 0 ;
16304 PyObject
* obj3
= 0 ;
16305 PyObject
* obj4
= 0 ;
16306 PyObject
* obj5
= 0 ;
16307 PyObject
* obj6
= 0 ;
16308 char *kwnames
[] = {
16309 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16318 if (arg2
== NULL
) {
16319 PyErr_SetString(PyExc_TypeError
,"null reference");
16322 arg3
= (double) SWIG_AsDouble(obj2
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16324 arg4
= (double) SWIG_AsDouble(obj3
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16326 arg5
= (double) SWIG_AsDouble(obj4
);
16327 if (PyErr_Occurred()) SWIG_fail
;
16328 arg6
= (double) SWIG_AsDouble(obj5
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16331 arg7
= (bool) SWIG_AsBool(obj6
);
16332 if (PyErr_Occurred()) SWIG_fail
;
16335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16336 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16338 wxPyEndAllowThreads(__tstate
);
16339 if (PyErr_Occurred()) SWIG_fail
;
16341 Py_INCREF(Py_None
); resultobj
= Py_None
;
16348 static PyObject
*_wrap_PyDrawnShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16349 PyObject
*resultobj
;
16350 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16354 int arg5
= (int) 0 ;
16355 int arg6
= (int) 0 ;
16356 PyObject
* obj0
= 0 ;
16357 PyObject
* obj1
= 0 ;
16358 PyObject
* obj2
= 0 ;
16359 PyObject
* obj3
= 0 ;
16360 PyObject
* obj4
= 0 ;
16361 PyObject
* obj5
= 0 ;
16362 char *kwnames
[] = {
16363 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16369 arg2
= (bool) SWIG_AsBool(obj1
);
16370 if (PyErr_Occurred()) SWIG_fail
;
16371 arg3
= (double) SWIG_AsDouble(obj2
);
16372 if (PyErr_Occurred()) SWIG_fail
;
16373 arg4
= (double) SWIG_AsDouble(obj3
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16376 arg5
= (int) SWIG_AsInt(obj4
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16380 arg6
= (int) SWIG_AsInt(obj5
);
16381 if (PyErr_Occurred()) SWIG_fail
;
16384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16385 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16387 wxPyEndAllowThreads(__tstate
);
16388 if (PyErr_Occurred()) SWIG_fail
;
16390 Py_INCREF(Py_None
); resultobj
= Py_None
;
16397 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16398 PyObject
*resultobj
;
16399 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16402 int arg4
= (int) 0 ;
16403 int arg5
= (int) 0 ;
16404 PyObject
* obj0
= 0 ;
16405 PyObject
* obj1
= 0 ;
16406 PyObject
* obj2
= 0 ;
16407 PyObject
* obj3
= 0 ;
16408 PyObject
* obj4
= 0 ;
16409 char *kwnames
[] = {
16410 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16416 arg2
= (double) SWIG_AsDouble(obj1
);
16417 if (PyErr_Occurred()) SWIG_fail
;
16418 arg3
= (double) SWIG_AsDouble(obj2
);
16419 if (PyErr_Occurred()) SWIG_fail
;
16421 arg4
= (int) SWIG_AsInt(obj3
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16425 arg5
= (int) SWIG_AsInt(obj4
);
16426 if (PyErr_Occurred()) SWIG_fail
;
16429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16430 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
16432 wxPyEndAllowThreads(__tstate
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16435 Py_INCREF(Py_None
); resultobj
= Py_None
;
16442 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16443 PyObject
*resultobj
;
16444 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16447 int arg4
= (int) 0 ;
16448 int arg5
= (int) 0 ;
16449 PyObject
* obj0
= 0 ;
16450 PyObject
* obj1
= 0 ;
16451 PyObject
* obj2
= 0 ;
16452 PyObject
* obj3
= 0 ;
16453 PyObject
* obj4
= 0 ;
16454 char *kwnames
[] = {
16455 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16461 arg2
= (double) SWIG_AsDouble(obj1
);
16462 if (PyErr_Occurred()) SWIG_fail
;
16463 arg3
= (double) SWIG_AsDouble(obj2
);
16464 if (PyErr_Occurred()) SWIG_fail
;
16466 arg4
= (int) SWIG_AsInt(obj3
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16470 arg5
= (int) SWIG_AsInt(obj4
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16475 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
16477 wxPyEndAllowThreads(__tstate
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16480 Py_INCREF(Py_None
); resultobj
= Py_None
;
16487 static PyObject
*_wrap_PyDrawnShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16488 PyObject
*resultobj
;
16489 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16493 int arg5
= (int) 0 ;
16494 int arg6
= (int) 0 ;
16495 PyObject
* obj0
= 0 ;
16496 PyObject
* obj1
= 0 ;
16497 PyObject
* obj2
= 0 ;
16498 PyObject
* obj3
= 0 ;
16499 PyObject
* obj4
= 0 ;
16500 PyObject
* obj5
= 0 ;
16501 char *kwnames
[] = {
16502 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16508 arg2
= (bool) SWIG_AsBool(obj1
);
16509 if (PyErr_Occurred()) SWIG_fail
;
16510 arg3
= (double) SWIG_AsDouble(obj2
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16512 arg4
= (double) SWIG_AsDouble(obj3
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16515 arg5
= (int) SWIG_AsInt(obj4
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16519 arg6
= (int) SWIG_AsInt(obj5
);
16520 if (PyErr_Occurred()) SWIG_fail
;
16523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16524 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
16526 wxPyEndAllowThreads(__tstate
);
16527 if (PyErr_Occurred()) SWIG_fail
;
16529 Py_INCREF(Py_None
); resultobj
= Py_None
;
16536 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16537 PyObject
*resultobj
;
16538 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16541 int arg4
= (int) 0 ;
16542 int arg5
= (int) 0 ;
16543 PyObject
* obj0
= 0 ;
16544 PyObject
* obj1
= 0 ;
16545 PyObject
* obj2
= 0 ;
16546 PyObject
* obj3
= 0 ;
16547 PyObject
* obj4
= 0 ;
16548 char *kwnames
[] = {
16549 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16555 arg2
= (double) SWIG_AsDouble(obj1
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16557 arg3
= (double) SWIG_AsDouble(obj2
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16560 arg4
= (int) SWIG_AsInt(obj3
);
16561 if (PyErr_Occurred()) SWIG_fail
;
16564 arg5
= (int) SWIG_AsInt(obj4
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
16571 wxPyEndAllowThreads(__tstate
);
16572 if (PyErr_Occurred()) SWIG_fail
;
16574 Py_INCREF(Py_None
); resultobj
= Py_None
;
16581 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16582 PyObject
*resultobj
;
16583 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16586 int arg4
= (int) 0 ;
16587 int arg5
= (int) 0 ;
16588 PyObject
* obj0
= 0 ;
16589 PyObject
* obj1
= 0 ;
16590 PyObject
* obj2
= 0 ;
16591 PyObject
* obj3
= 0 ;
16592 PyObject
* obj4
= 0 ;
16593 char *kwnames
[] = {
16594 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16600 arg2
= (double) SWIG_AsDouble(obj1
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16602 arg3
= (double) SWIG_AsDouble(obj2
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16605 arg4
= (int) SWIG_AsInt(obj3
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16609 arg5
= (int) SWIG_AsInt(obj4
);
16610 if (PyErr_Occurred()) SWIG_fail
;
16613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16614 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
16616 wxPyEndAllowThreads(__tstate
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16619 Py_INCREF(Py_None
); resultobj
= Py_None
;
16626 static PyObject
*_wrap_PyDrawnShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16627 PyObject
*resultobj
;
16628 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16634 PyObject
* obj0
= 0 ;
16635 PyObject
* obj1
= 0 ;
16636 PyObject
* obj2
= 0 ;
16637 PyObject
* obj3
= 0 ;
16638 PyObject
* obj4
= 0 ;
16639 PyObject
* obj5
= 0 ;
16640 char *kwnames
[] = {
16641 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDrawnShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16648 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16650 if (arg2
== NULL
) {
16651 PyErr_SetString(PyExc_TypeError
,"null reference");
16654 arg3
= (double) SWIG_AsDouble(obj2
);
16655 if (PyErr_Occurred()) SWIG_fail
;
16656 arg4
= (double) SWIG_AsDouble(obj3
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16658 arg5
= (double) SWIG_AsDouble(obj4
);
16659 if (PyErr_Occurred()) SWIG_fail
;
16660 arg6
= (double) SWIG_AsDouble(obj5
);
16661 if (PyErr_Occurred()) SWIG_fail
;
16663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16664 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
16666 wxPyEndAllowThreads(__tstate
);
16667 if (PyErr_Occurred()) SWIG_fail
;
16669 Py_INCREF(Py_None
); resultobj
= Py_None
;
16676 static PyObject
*_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16677 PyObject
*resultobj
;
16678 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16680 PyObject
* obj0
= 0 ;
16681 PyObject
* obj1
= 0 ;
16682 char *kwnames
[] = {
16683 (char *) "self",(char *) "dc", NULL
16686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16689 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16692 if (arg2
== NULL
) {
16693 PyErr_SetString(PyExc_TypeError
,"null reference");
16697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16698 (arg1
)->base_OnDrawControlPoints(*arg2
);
16700 wxPyEndAllowThreads(__tstate
);
16701 if (PyErr_Occurred()) SWIG_fail
;
16703 Py_INCREF(Py_None
); resultobj
= Py_None
;
16710 static PyObject
*_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16711 PyObject
*resultobj
;
16712 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16714 PyObject
* obj0
= 0 ;
16715 PyObject
* obj1
= 0 ;
16716 char *kwnames
[] = {
16717 (char *) "self",(char *) "dc", NULL
16720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16724 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16726 if (arg2
== NULL
) {
16727 PyErr_SetString(PyExc_TypeError
,"null reference");
16731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16732 (arg1
)->base_OnEraseControlPoints(*arg2
);
16734 wxPyEndAllowThreads(__tstate
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16737 Py_INCREF(Py_None
); resultobj
= Py_None
;
16744 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16745 PyObject
*resultobj
;
16746 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16748 bool arg3
= (bool) True
;
16749 PyObject
* obj0
= 0 ;
16750 PyObject
* obj1
= 0 ;
16751 PyObject
* obj2
= 0 ;
16752 char *kwnames
[] = {
16753 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16760 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16762 if (arg2
== NULL
) {
16763 PyErr_SetString(PyExc_TypeError
,"null reference");
16767 arg3
= (bool) SWIG_AsBool(obj2
);
16768 if (PyErr_Occurred()) SWIG_fail
;
16771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16772 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16777 Py_INCREF(Py_None
); resultobj
= Py_None
;
16784 static PyObject
*_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16785 PyObject
*resultobj
;
16786 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16787 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16791 int arg6
= (int) 0 ;
16792 int arg7
= (int) 0 ;
16793 PyObject
* obj0
= 0 ;
16794 PyObject
* obj1
= 0 ;
16795 PyObject
* obj2
= 0 ;
16796 PyObject
* obj3
= 0 ;
16797 PyObject
* obj4
= 0 ;
16798 PyObject
* obj5
= 0 ;
16799 PyObject
* obj6
= 0 ;
16800 char *kwnames
[] = {
16801 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDrawnShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16809 arg3
= (bool) SWIG_AsBool(obj2
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16811 arg4
= (double) SWIG_AsDouble(obj3
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16813 arg5
= (double) SWIG_AsDouble(obj4
);
16814 if (PyErr_Occurred()) SWIG_fail
;
16816 arg6
= (int) SWIG_AsInt(obj5
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16820 arg7
= (int) SWIG_AsInt(obj6
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16830 Py_INCREF(Py_None
); resultobj
= Py_None
;
16837 static PyObject
*_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16838 PyObject
*resultobj
;
16839 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16840 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16843 int arg5
= (int) 0 ;
16844 int arg6
= (int) 0 ;
16845 PyObject
* obj0
= 0 ;
16846 PyObject
* obj1
= 0 ;
16847 PyObject
* obj2
= 0 ;
16848 PyObject
* obj3
= 0 ;
16849 PyObject
* obj4
= 0 ;
16850 PyObject
* obj5
= 0 ;
16851 char *kwnames
[] = {
16852 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16860 arg3
= (double) SWIG_AsDouble(obj2
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16862 arg4
= (double) SWIG_AsDouble(obj3
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16865 arg5
= (int) SWIG_AsInt(obj4
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16869 arg6
= (int) SWIG_AsInt(obj5
);
16870 if (PyErr_Occurred()) SWIG_fail
;
16873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16874 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16876 wxPyEndAllowThreads(__tstate
);
16877 if (PyErr_Occurred()) SWIG_fail
;
16879 Py_INCREF(Py_None
); resultobj
= Py_None
;
16886 static PyObject
*_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16887 PyObject
*resultobj
;
16888 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16889 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16892 int arg5
= (int) 0 ;
16893 int arg6
= (int) 0 ;
16894 PyObject
* obj0
= 0 ;
16895 PyObject
* obj1
= 0 ;
16896 PyObject
* obj2
= 0 ;
16897 PyObject
* obj3
= 0 ;
16898 PyObject
* obj4
= 0 ;
16899 PyObject
* obj5
= 0 ;
16900 char *kwnames
[] = {
16901 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16909 arg3
= (double) SWIG_AsDouble(obj2
);
16910 if (PyErr_Occurred()) SWIG_fail
;
16911 arg4
= (double) SWIG_AsDouble(obj3
);
16912 if (PyErr_Occurred()) SWIG_fail
;
16914 arg5
= (int) SWIG_AsInt(obj4
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16918 arg6
= (int) SWIG_AsInt(obj5
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16923 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16925 wxPyEndAllowThreads(__tstate
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16928 Py_INCREF(Py_None
); resultobj
= Py_None
;
16935 static PyObject
*_wrap_PyDrawnShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16936 PyObject
*resultobj
;
16937 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16940 PyObject
* obj0
= 0 ;
16941 PyObject
* obj1
= 0 ;
16942 PyObject
* obj2
= 0 ;
16943 char *kwnames
[] = {
16944 (char *) "self",(char *) "w",(char *) "h", NULL
16947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16950 arg2
= (double) SWIG_AsDouble(obj1
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16952 arg3
= (double) SWIG_AsDouble(obj2
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 (arg1
)->base_OnBeginSize(arg2
,arg3
);
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16961 Py_INCREF(Py_None
); resultobj
= Py_None
;
16968 static PyObject
*_wrap_PyDrawnShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16969 PyObject
*resultobj
;
16970 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16973 PyObject
* obj0
= 0 ;
16974 PyObject
* obj1
= 0 ;
16975 PyObject
* obj2
= 0 ;
16976 char *kwnames
[] = {
16977 (char *) "self",(char *) "w",(char *) "h", NULL
16980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16983 arg2
= (double) SWIG_AsDouble(obj1
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16985 arg3
= (double) SWIG_AsDouble(obj2
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16989 (arg1
)->base_OnEndSize(arg2
,arg3
);
16991 wxPyEndAllowThreads(__tstate
);
16992 if (PyErr_Occurred()) SWIG_fail
;
16994 Py_INCREF(Py_None
); resultobj
= Py_None
;
17001 static PyObject
* PyDrawnShape_swigregister(PyObject
*self
, PyObject
*args
) {
17003 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17004 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape
, obj
);
17006 return Py_BuildValue((char *)"");
17008 static PyObject
*_wrap_new_OGLConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17009 PyObject
*resultobj
;
17011 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17012 PyObject
*arg3
= (PyObject
*) 0 ;
17013 wxOGLConstraint
*result
;
17014 PyObject
* obj0
= 0 ;
17015 PyObject
* obj1
= 0 ;
17016 PyObject
* obj2
= 0 ;
17017 char *kwnames
[] = {
17018 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
17021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_OGLConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17022 arg1
= (int) SWIG_AsInt(obj0
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17029 result
= (wxOGLConstraint
*)new_wxOGLConstraint(arg1
,arg2
,arg3
);
17031 wxPyEndAllowThreads(__tstate
);
17032 if (PyErr_Occurred()) SWIG_fail
;
17035 resultobj
= wxPyMake_wxObject(result
);
17043 static PyObject
*_wrap_OGLConstraint_Evaluate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17044 PyObject
*resultobj
;
17045 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17047 PyObject
* obj0
= 0 ;
17048 char *kwnames
[] = {
17049 (char *) "self", NULL
17052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:OGLConstraint_Evaluate",kwnames
,&obj0
)) goto fail
;
17053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
17054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 result
= (bool)(arg1
)->Evaluate();
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17071 static PyObject
*_wrap_OGLConstraint_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17072 PyObject
*resultobj
;
17073 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17076 PyObject
* obj0
= 0 ;
17077 PyObject
* obj1
= 0 ;
17078 PyObject
* obj2
= 0 ;
17079 char *kwnames
[] = {
17080 (char *) "self",(char *) "x",(char *) "y", NULL
17083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:OGLConstraint_SetSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
17085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17086 arg2
= (double) SWIG_AsDouble(obj1
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17088 arg3
= (double) SWIG_AsDouble(obj2
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17092 (arg1
)->SetSpacing(arg2
,arg3
);
17094 wxPyEndAllowThreads(__tstate
);
17095 if (PyErr_Occurred()) SWIG_fail
;
17097 Py_INCREF(Py_None
); resultobj
= Py_None
;
17104 static PyObject
*_wrap_OGLConstraint_Equals(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17105 PyObject
*resultobj
;
17106 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17110 PyObject
* obj0
= 0 ;
17111 PyObject
* obj1
= 0 ;
17112 PyObject
* obj2
= 0 ;
17113 char *kwnames
[] = {
17114 (char *) "self",(char *) "a",(char *) "b", NULL
17117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:OGLConstraint_Equals",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
17119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17120 arg2
= (double) SWIG_AsDouble(obj1
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17122 arg3
= (double) SWIG_AsDouble(obj2
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17126 result
= (bool)(arg1
)->Equals(arg2
,arg3
);
17128 wxPyEndAllowThreads(__tstate
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17140 static PyObject
* OGLConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
17142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17143 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint
, obj
);
17145 return Py_BuildValue((char *)"");
17147 static PyObject
*_wrap_new_PyCompositeShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17148 PyObject
*resultobj
;
17149 wxPyCompositeShape
*result
;
17150 char *kwnames
[] = {
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyCompositeShape",kwnames
)) goto fail
;
17156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17157 result
= (wxPyCompositeShape
*)new wxPyCompositeShape();
17159 wxPyEndAllowThreads(__tstate
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCompositeShape
, 1);
17169 static PyObject
*_wrap_PyCompositeShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17170 PyObject
*resultobj
;
17171 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17172 PyObject
*arg2
= (PyObject
*) 0 ;
17173 PyObject
*arg3
= (PyObject
*) 0 ;
17174 PyObject
* obj0
= 0 ;
17175 PyObject
* obj1
= 0 ;
17176 PyObject
* obj2
= 0 ;
17177 char *kwnames
[] = {
17178 (char *) "self",(char *) "self",(char *) "_class", NULL
17181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17188 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17190 wxPyEndAllowThreads(__tstate
);
17191 if (PyErr_Occurred()) SWIG_fail
;
17193 Py_INCREF(Py_None
); resultobj
= Py_None
;
17200 static PyObject
*_wrap_PyCompositeShape_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17201 PyObject
*resultobj
;
17202 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17203 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17204 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
17205 PyObject
* obj0
= 0 ;
17206 PyObject
* obj1
= 0 ;
17207 PyObject
* obj2
= 0 ;
17208 char *kwnames
[] = {
17209 (char *) "self",(char *) "child",(char *) "addAfter", NULL
17212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_AddChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17218 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17223 (arg1
)->AddChild(arg2
,arg3
);
17225 wxPyEndAllowThreads(__tstate
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17228 Py_INCREF(Py_None
); resultobj
= Py_None
;
17235 static PyObject
*_wrap_PyCompositeShape_AddConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
;
17237 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17238 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
17239 wxOGLConstraint
*result
;
17240 PyObject
* obj0
= 0 ;
17241 PyObject
* obj1
= 0 ;
17242 char *kwnames
[] = {
17243 (char *) "self",(char *) "constraint", NULL
17246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_AddConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
17247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOGLConstraint
,
17250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17253 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
);
17255 wxPyEndAllowThreads(__tstate
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17259 resultobj
= wxPyMake_wxObject(result
);
17267 static PyObject
*_wrap_PyCompositeShape_AddConstrainedShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17268 PyObject
*resultobj
;
17269 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17271 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
17272 PyObject
*arg4
= (PyObject
*) 0 ;
17273 wxOGLConstraint
*result
;
17274 PyObject
* obj0
= 0 ;
17275 PyObject
* obj1
= 0 ;
17276 PyObject
* obj2
= 0 ;
17277 PyObject
* obj3
= 0 ;
17278 char *kwnames
[] = {
17279 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyCompositeShape_AddConstrainedShapes",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17285 arg2
= (int) SWIG_AsInt(obj1
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17287 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17292 result
= (wxOGLConstraint
*)wxPyCompositeShape_AddConstrainedShapes(arg1
,arg2
,arg3
,arg4
);
17294 wxPyEndAllowThreads(__tstate
);
17295 if (PyErr_Occurred()) SWIG_fail
;
17298 resultobj
= wxPyMake_wxObject(result
);
17306 static PyObject
*_wrap_PyCompositeShape_AddSimpleConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17307 PyObject
*resultobj
;
17308 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17310 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
17311 wxPyShape
*arg4
= (wxPyShape
*) 0 ;
17312 wxOGLConstraint
*result
;
17313 PyObject
* obj0
= 0 ;
17314 PyObject
* obj1
= 0 ;
17315 PyObject
* obj2
= 0 ;
17316 PyObject
* obj3
= 0 ;
17317 char *kwnames
[] = {
17318 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyCompositeShape_AddSimpleConstraint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17324 arg2
= (int) SWIG_AsInt(obj1
);
17325 if (PyErr_Occurred()) SWIG_fail
;
17326 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17328 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPyShape
,
17329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17332 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
,arg3
,arg4
);
17334 wxPyEndAllowThreads(__tstate
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17338 resultobj
= wxPyMake_wxObject(result
);
17346 static PyObject
*_wrap_PyCompositeShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17347 PyObject
*resultobj
;
17348 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17349 PyObject
* obj0
= 0 ;
17350 char *kwnames
[] = {
17351 (char *) "self", NULL
17354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
17355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17359 (arg1
)->CalculateSize();
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17364 Py_INCREF(Py_None
); resultobj
= Py_None
;
17371 static PyObject
*_wrap_PyCompositeShape_ContainsDivision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17372 PyObject
*resultobj
;
17373 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17374 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
17376 PyObject
* obj0
= 0 ;
17377 PyObject
* obj1
= 0 ;
17378 char *kwnames
[] = {
17379 (char *) "self",(char *) "division", NULL
17382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames
,&obj0
,&obj1
)) goto fail
;
17383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17385 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
17386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17389 result
= (bool)(arg1
)->ContainsDivision(arg2
);
17391 wxPyEndAllowThreads(__tstate
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17403 static PyObject
*_wrap_PyCompositeShape_DeleteConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17404 PyObject
*resultobj
;
17405 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17406 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
17407 PyObject
* obj0
= 0 ;
17408 PyObject
* obj1
= 0 ;
17409 char *kwnames
[] = {
17410 (char *) "self",(char *) "constraint", NULL
17413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
17414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOGLConstraint
,
17417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17420 (arg1
)->DeleteConstraint(arg2
);
17422 wxPyEndAllowThreads(__tstate
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17425 Py_INCREF(Py_None
); resultobj
= Py_None
;
17432 static PyObject
*_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17433 PyObject
*resultobj
;
17434 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17435 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17436 PyObject
* obj0
= 0 ;
17437 PyObject
* obj1
= 0 ;
17438 char *kwnames
[] = {
17439 (char *) "self",(char *) "child", NULL
17442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17449 (arg1
)->DeleteConstraintsInvolvingChild(arg2
);
17451 wxPyEndAllowThreads(__tstate
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17454 Py_INCREF(Py_None
); resultobj
= Py_None
;
17461 static PyObject
*_wrap_PyCompositeShape_FindContainerImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17462 PyObject
*resultobj
;
17463 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17465 PyObject
* obj0
= 0 ;
17466 char *kwnames
[] = {
17467 (char *) "self", NULL
17470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_FindContainerImage",kwnames
,&obj0
)) goto fail
;
17471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17475 result
= (wxPyShape
*)(arg1
)->FindContainerImage();
17477 wxPyEndAllowThreads(__tstate
);
17478 if (PyErr_Occurred()) SWIG_fail
;
17481 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
17489 static PyObject
*_wrap_PyCompositeShape_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17490 PyObject
*resultobj
;
17491 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17493 PyObject
* obj0
= 0 ;
17494 char *kwnames
[] = {
17495 (char *) "self", NULL
17498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetConstraints",kwnames
,&obj0
)) goto fail
;
17499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17503 result
= (PyObject
*)wxPyCompositeShape_GetConstraints(arg1
);
17505 wxPyEndAllowThreads(__tstate
);
17506 if (PyErr_Occurred()) SWIG_fail
;
17508 resultobj
= result
;
17515 static PyObject
*_wrap_PyCompositeShape_GetDivisions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
;
17517 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17519 PyObject
* obj0
= 0 ;
17520 char *kwnames
[] = {
17521 (char *) "self", NULL
17524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetDivisions",kwnames
,&obj0
)) goto fail
;
17525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17529 result
= (PyObject
*)wxPyCompositeShape_GetDivisions(arg1
);
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17534 resultobj
= result
;
17541 static PyObject
*_wrap_PyCompositeShape_MakeContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
;
17543 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17544 PyObject
* obj0
= 0 ;
17545 char *kwnames
[] = {
17546 (char *) "self", NULL
17549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_MakeContainer",kwnames
,&obj0
)) goto fail
;
17550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17554 (arg1
)->MakeContainer();
17556 wxPyEndAllowThreads(__tstate
);
17557 if (PyErr_Occurred()) SWIG_fail
;
17559 Py_INCREF(Py_None
); resultobj
= Py_None
;
17566 static PyObject
*_wrap_PyCompositeShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17567 PyObject
*resultobj
;
17568 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17570 PyObject
* obj0
= 0 ;
17571 char *kwnames
[] = {
17572 (char *) "self", NULL
17575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_Recompute",kwnames
,&obj0
)) goto fail
;
17576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17580 result
= (bool)(arg1
)->Recompute();
17582 wxPyEndAllowThreads(__tstate
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17594 static PyObject
*_wrap_PyCompositeShape_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17595 PyObject
*resultobj
;
17596 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17597 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17598 PyObject
* obj0
= 0 ;
17599 PyObject
* obj1
= 0 ;
17600 char *kwnames
[] = {
17601 (char *) "self",(char *) "child", NULL
17604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17611 (arg1
)->RemoveChild(arg2
);
17613 wxPyEndAllowThreads(__tstate
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17616 Py_INCREF(Py_None
); resultobj
= Py_None
;
17623 static PyObject
*_wrap_PyCompositeShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17624 PyObject
*resultobj
;
17625 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17626 PyObject
* obj0
= 0 ;
17627 char *kwnames
[] = {
17628 (char *) "self", NULL
17631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
17632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17636 (arg1
)->base_OnDelete();
17638 wxPyEndAllowThreads(__tstate
);
17639 if (PyErr_Occurred()) SWIG_fail
;
17641 Py_INCREF(Py_None
); resultobj
= Py_None
;
17648 static PyObject
*_wrap_PyCompositeShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17649 PyObject
*resultobj
;
17650 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17652 PyObject
* obj0
= 0 ;
17653 PyObject
* obj1
= 0 ;
17654 char *kwnames
[] = {
17655 (char *) "self",(char *) "dc", NULL
17658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
17659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17662 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17664 if (arg2
== NULL
) {
17665 PyErr_SetString(PyExc_TypeError
,"null reference");
17669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17670 (arg1
)->base_OnDraw(*arg2
);
17672 wxPyEndAllowThreads(__tstate
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17675 Py_INCREF(Py_None
); resultobj
= Py_None
;
17682 static PyObject
*_wrap_PyCompositeShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17683 PyObject
*resultobj
;
17684 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17686 PyObject
* obj0
= 0 ;
17687 PyObject
* obj1
= 0 ;
17688 char *kwnames
[] = {
17689 (char *) "self",(char *) "dc", NULL
17692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17695 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17696 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17698 if (arg2
== NULL
) {
17699 PyErr_SetString(PyExc_TypeError
,"null reference");
17703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17704 (arg1
)->base_OnDrawContents(*arg2
);
17706 wxPyEndAllowThreads(__tstate
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17709 Py_INCREF(Py_None
); resultobj
= Py_None
;
17716 static PyObject
*_wrap_PyCompositeShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17717 PyObject
*resultobj
;
17718 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17720 bool arg3
= (bool) FALSE
;
17721 PyObject
* obj0
= 0 ;
17722 PyObject
* obj1
= 0 ;
17723 PyObject
* obj2
= 0 ;
17724 char *kwnames
[] = {
17725 (char *) "self",(char *) "dc",(char *) "erase", NULL
17728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17732 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17734 if (arg2
== NULL
) {
17735 PyErr_SetString(PyExc_TypeError
,"null reference");
17739 arg3
= (bool) SWIG_AsBool(obj2
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17744 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
17746 wxPyEndAllowThreads(__tstate
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17749 Py_INCREF(Py_None
); resultobj
= Py_None
;
17756 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17757 PyObject
*resultobj
;
17758 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17760 PyObject
* obj0
= 0 ;
17761 PyObject
* obj1
= 0 ;
17762 char *kwnames
[] = {
17763 (char *) "self",(char *) "dc", NULL
17766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
17767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17772 if (arg2
== NULL
) {
17773 PyErr_SetString(PyExc_TypeError
,"null reference");
17777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17778 (arg1
)->base_OnMoveLinks(*arg2
);
17780 wxPyEndAllowThreads(__tstate
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17783 Py_INCREF(Py_None
); resultobj
= Py_None
;
17790 static PyObject
*_wrap_PyCompositeShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
;
17792 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17794 PyObject
* obj0
= 0 ;
17795 PyObject
* obj1
= 0 ;
17796 char *kwnames
[] = {
17797 (char *) "self",(char *) "dc", NULL
17800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
17801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17804 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17806 if (arg2
== NULL
) {
17807 PyErr_SetString(PyExc_TypeError
,"null reference");
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 (arg1
)->base_OnErase(*arg2
);
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17817 Py_INCREF(Py_None
); resultobj
= Py_None
;
17824 static PyObject
*_wrap_PyCompositeShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17825 PyObject
*resultobj
;
17826 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17828 PyObject
* obj0
= 0 ;
17829 PyObject
* obj1
= 0 ;
17830 char *kwnames
[] = {
17831 (char *) "self",(char *) "dc", NULL
17834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17838 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17840 if (arg2
== NULL
) {
17841 PyErr_SetString(PyExc_TypeError
,"null reference");
17845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17846 (arg1
)->base_OnEraseContents(*arg2
);
17848 wxPyEndAllowThreads(__tstate
);
17849 if (PyErr_Occurred()) SWIG_fail
;
17851 Py_INCREF(Py_None
); resultobj
= Py_None
;
17858 static PyObject
*_wrap_PyCompositeShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17859 PyObject
*resultobj
;
17860 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17862 PyObject
* obj0
= 0 ;
17863 PyObject
* obj1
= 0 ;
17864 char *kwnames
[] = {
17865 (char *) "self",(char *) "dc", NULL
17868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
17869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17871 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17872 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17874 if (arg2
== NULL
) {
17875 PyErr_SetString(PyExc_TypeError
,"null reference");
17879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17880 (arg1
)->base_OnHighlight(*arg2
);
17882 wxPyEndAllowThreads(__tstate
);
17883 if (PyErr_Occurred()) SWIG_fail
;
17885 Py_INCREF(Py_None
); resultobj
= Py_None
;
17892 static PyObject
*_wrap_PyCompositeShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17893 PyObject
*resultobj
;
17894 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17897 int arg4
= (int) 0 ;
17898 int arg5
= (int) 0 ;
17899 PyObject
* obj0
= 0 ;
17900 PyObject
* obj1
= 0 ;
17901 PyObject
* obj2
= 0 ;
17902 PyObject
* obj3
= 0 ;
17903 PyObject
* obj4
= 0 ;
17904 char *kwnames
[] = {
17905 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17911 arg2
= (double) SWIG_AsDouble(obj1
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17913 arg3
= (double) SWIG_AsDouble(obj2
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17916 arg4
= (int) SWIG_AsInt(obj3
);
17917 if (PyErr_Occurred()) SWIG_fail
;
17920 arg5
= (int) SWIG_AsInt(obj4
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17925 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17930 Py_INCREF(Py_None
); resultobj
= Py_None
;
17937 static PyObject
*_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
;
17939 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17942 int arg4
= (int) 0 ;
17943 int arg5
= (int) 0 ;
17944 PyObject
* obj0
= 0 ;
17945 PyObject
* obj1
= 0 ;
17946 PyObject
* obj2
= 0 ;
17947 PyObject
* obj3
= 0 ;
17948 PyObject
* obj4
= 0 ;
17949 char *kwnames
[] = {
17950 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17956 arg2
= (double) SWIG_AsDouble(obj1
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17958 arg3
= (double) SWIG_AsDouble(obj2
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17961 arg4
= (int) SWIG_AsInt(obj3
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17965 arg5
= (int) SWIG_AsInt(obj4
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17970 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
17972 wxPyEndAllowThreads(__tstate
);
17973 if (PyErr_Occurred()) SWIG_fail
;
17975 Py_INCREF(Py_None
); resultobj
= Py_None
;
17982 static PyObject
*_wrap_PyCompositeShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17983 PyObject
*resultobj
;
17984 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17987 int arg4
= (int) 0 ;
17988 int arg5
= (int) 0 ;
17989 PyObject
* obj0
= 0 ;
17990 PyObject
* obj1
= 0 ;
17991 PyObject
* obj2
= 0 ;
17992 PyObject
* obj3
= 0 ;
17993 PyObject
* obj4
= 0 ;
17994 char *kwnames
[] = {
17995 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18001 arg2
= (double) SWIG_AsDouble(obj1
);
18002 if (PyErr_Occurred()) SWIG_fail
;
18003 arg3
= (double) SWIG_AsDouble(obj2
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18006 arg4
= (int) SWIG_AsInt(obj3
);
18007 if (PyErr_Occurred()) SWIG_fail
;
18010 arg5
= (int) SWIG_AsInt(obj4
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18015 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
18017 wxPyEndAllowThreads(__tstate
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18020 Py_INCREF(Py_None
); resultobj
= Py_None
;
18027 static PyObject
*_wrap_PyCompositeShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18028 PyObject
*resultobj
;
18029 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18032 PyObject
* obj0
= 0 ;
18033 PyObject
* obj1
= 0 ;
18034 PyObject
* obj2
= 0 ;
18035 char *kwnames
[] = {
18036 (char *) "self",(char *) "x",(char *) "y", NULL
18039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18042 arg2
= (double) SWIG_AsDouble(obj1
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18044 arg3
= (double) SWIG_AsDouble(obj2
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 (arg1
)->base_OnSize(arg2
,arg3
);
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18053 Py_INCREF(Py_None
); resultobj
= Py_None
;
18060 static PyObject
*_wrap_PyCompositeShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18061 PyObject
*resultobj
;
18062 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18068 bool arg7
= (bool) True
;
18070 PyObject
* obj0
= 0 ;
18071 PyObject
* obj1
= 0 ;
18072 PyObject
* obj2
= 0 ;
18073 PyObject
* obj3
= 0 ;
18074 PyObject
* obj4
= 0 ;
18075 PyObject
* obj5
= 0 ;
18076 PyObject
* obj6
= 0 ;
18077 char *kwnames
[] = {
18078 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18084 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18085 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18087 if (arg2
== NULL
) {
18088 PyErr_SetString(PyExc_TypeError
,"null reference");
18091 arg3
= (double) SWIG_AsDouble(obj2
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18093 arg4
= (double) SWIG_AsDouble(obj3
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18095 arg5
= (double) SWIG_AsDouble(obj4
);
18096 if (PyErr_Occurred()) SWIG_fail
;
18097 arg6
= (double) SWIG_AsDouble(obj5
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18100 arg7
= (bool) SWIG_AsBool(obj6
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18119 static PyObject
*_wrap_PyCompositeShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
;
18121 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18127 bool arg7
= (bool) True
;
18128 PyObject
* obj0
= 0 ;
18129 PyObject
* obj1
= 0 ;
18130 PyObject
* obj2
= 0 ;
18131 PyObject
* obj3
= 0 ;
18132 PyObject
* obj4
= 0 ;
18133 PyObject
* obj5
= 0 ;
18134 PyObject
* obj6
= 0 ;
18135 char *kwnames
[] = {
18136 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18145 if (arg2
== NULL
) {
18146 PyErr_SetString(PyExc_TypeError
,"null reference");
18149 arg3
= (double) SWIG_AsDouble(obj2
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18151 arg4
= (double) SWIG_AsDouble(obj3
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18153 arg5
= (double) SWIG_AsDouble(obj4
);
18154 if (PyErr_Occurred()) SWIG_fail
;
18155 arg6
= (double) SWIG_AsDouble(obj5
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18158 arg7
= (bool) SWIG_AsBool(obj6
);
18159 if (PyErr_Occurred()) SWIG_fail
;
18162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18163 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18165 wxPyEndAllowThreads(__tstate
);
18166 if (PyErr_Occurred()) SWIG_fail
;
18168 Py_INCREF(Py_None
); resultobj
= Py_None
;
18175 static PyObject
*_wrap_PyCompositeShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18176 PyObject
*resultobj
;
18177 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18181 int arg5
= (int) 0 ;
18182 int arg6
= (int) 0 ;
18183 PyObject
* obj0
= 0 ;
18184 PyObject
* obj1
= 0 ;
18185 PyObject
* obj2
= 0 ;
18186 PyObject
* obj3
= 0 ;
18187 PyObject
* obj4
= 0 ;
18188 PyObject
* obj5
= 0 ;
18189 char *kwnames
[] = {
18190 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18196 arg2
= (bool) SWIG_AsBool(obj1
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18198 arg3
= (double) SWIG_AsDouble(obj2
);
18199 if (PyErr_Occurred()) SWIG_fail
;
18200 arg4
= (double) SWIG_AsDouble(obj3
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18203 arg5
= (int) SWIG_AsInt(obj4
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18207 arg6
= (int) SWIG_AsInt(obj5
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18214 wxPyEndAllowThreads(__tstate
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18217 Py_INCREF(Py_None
); resultobj
= Py_None
;
18224 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18225 PyObject
*resultobj
;
18226 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18229 int arg4
= (int) 0 ;
18230 int arg5
= (int) 0 ;
18231 PyObject
* obj0
= 0 ;
18232 PyObject
* obj1
= 0 ;
18233 PyObject
* obj2
= 0 ;
18234 PyObject
* obj3
= 0 ;
18235 PyObject
* obj4
= 0 ;
18236 char *kwnames
[] = {
18237 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18243 arg2
= (double) SWIG_AsDouble(obj1
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18245 arg3
= (double) SWIG_AsDouble(obj2
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18248 arg4
= (int) SWIG_AsInt(obj3
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18252 arg5
= (int) SWIG_AsInt(obj4
);
18253 if (PyErr_Occurred()) SWIG_fail
;
18256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18257 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
18259 wxPyEndAllowThreads(__tstate
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18262 Py_INCREF(Py_None
); resultobj
= Py_None
;
18269 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18270 PyObject
*resultobj
;
18271 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18274 int arg4
= (int) 0 ;
18275 int arg5
= (int) 0 ;
18276 PyObject
* obj0
= 0 ;
18277 PyObject
* obj1
= 0 ;
18278 PyObject
* obj2
= 0 ;
18279 PyObject
* obj3
= 0 ;
18280 PyObject
* obj4
= 0 ;
18281 char *kwnames
[] = {
18282 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18288 arg2
= (double) SWIG_AsDouble(obj1
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18290 arg3
= (double) SWIG_AsDouble(obj2
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18293 arg4
= (int) SWIG_AsInt(obj3
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18297 arg5
= (int) SWIG_AsInt(obj4
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
18304 wxPyEndAllowThreads(__tstate
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18307 Py_INCREF(Py_None
); resultobj
= Py_None
;
18314 static PyObject
*_wrap_PyCompositeShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
;
18316 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18320 int arg5
= (int) 0 ;
18321 int arg6
= (int) 0 ;
18322 PyObject
* obj0
= 0 ;
18323 PyObject
* obj1
= 0 ;
18324 PyObject
* obj2
= 0 ;
18325 PyObject
* obj3
= 0 ;
18326 PyObject
* obj4
= 0 ;
18327 PyObject
* obj5
= 0 ;
18328 char *kwnames
[] = {
18329 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18335 arg2
= (bool) SWIG_AsBool(obj1
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18337 arg3
= (double) SWIG_AsDouble(obj2
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18339 arg4
= (double) SWIG_AsDouble(obj3
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18342 arg5
= (int) SWIG_AsInt(obj4
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18346 arg6
= (int) SWIG_AsInt(obj5
);
18347 if (PyErr_Occurred()) SWIG_fail
;
18350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18351 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
18353 wxPyEndAllowThreads(__tstate
);
18354 if (PyErr_Occurred()) SWIG_fail
;
18356 Py_INCREF(Py_None
); resultobj
= Py_None
;
18363 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18364 PyObject
*resultobj
;
18365 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18368 int arg4
= (int) 0 ;
18369 int arg5
= (int) 0 ;
18370 PyObject
* obj0
= 0 ;
18371 PyObject
* obj1
= 0 ;
18372 PyObject
* obj2
= 0 ;
18373 PyObject
* obj3
= 0 ;
18374 PyObject
* obj4
= 0 ;
18375 char *kwnames
[] = {
18376 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18382 arg2
= (double) SWIG_AsDouble(obj1
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18384 arg3
= (double) SWIG_AsDouble(obj2
);
18385 if (PyErr_Occurred()) SWIG_fail
;
18387 arg4
= (int) SWIG_AsInt(obj3
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18391 arg5
= (int) SWIG_AsInt(obj4
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18396 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
18398 wxPyEndAllowThreads(__tstate
);
18399 if (PyErr_Occurred()) SWIG_fail
;
18401 Py_INCREF(Py_None
); resultobj
= Py_None
;
18408 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18409 PyObject
*resultobj
;
18410 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18413 int arg4
= (int) 0 ;
18414 int arg5
= (int) 0 ;
18415 PyObject
* obj0
= 0 ;
18416 PyObject
* obj1
= 0 ;
18417 PyObject
* obj2
= 0 ;
18418 PyObject
* obj3
= 0 ;
18419 PyObject
* obj4
= 0 ;
18420 char *kwnames
[] = {
18421 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18427 arg2
= (double) SWIG_AsDouble(obj1
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18429 arg3
= (double) SWIG_AsDouble(obj2
);
18430 if (PyErr_Occurred()) SWIG_fail
;
18432 arg4
= (int) SWIG_AsInt(obj3
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18436 arg5
= (int) SWIG_AsInt(obj4
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18446 Py_INCREF(Py_None
); resultobj
= Py_None
;
18453 static PyObject
*_wrap_PyCompositeShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
;
18455 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18461 PyObject
* obj0
= 0 ;
18462 PyObject
* obj1
= 0 ;
18463 PyObject
* obj2
= 0 ;
18464 PyObject
* obj3
= 0 ;
18465 PyObject
* obj4
= 0 ;
18466 PyObject
* obj5
= 0 ;
18467 char *kwnames
[] = {
18468 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyCompositeShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18475 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18477 if (arg2
== NULL
) {
18478 PyErr_SetString(PyExc_TypeError
,"null reference");
18481 arg3
= (double) SWIG_AsDouble(obj2
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18483 arg4
= (double) SWIG_AsDouble(obj3
);
18484 if (PyErr_Occurred()) SWIG_fail
;
18485 arg5
= (double) SWIG_AsDouble(obj4
);
18486 if (PyErr_Occurred()) SWIG_fail
;
18487 arg6
= (double) SWIG_AsDouble(obj5
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18491 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
18493 wxPyEndAllowThreads(__tstate
);
18494 if (PyErr_Occurred()) SWIG_fail
;
18496 Py_INCREF(Py_None
); resultobj
= Py_None
;
18503 static PyObject
*_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18504 PyObject
*resultobj
;
18505 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18507 PyObject
* obj0
= 0 ;
18508 PyObject
* obj1
= 0 ;
18509 char *kwnames
[] = {
18510 (char *) "self",(char *) "dc", NULL
18513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18519 if (arg2
== NULL
) {
18520 PyErr_SetString(PyExc_TypeError
,"null reference");
18524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18525 (arg1
)->base_OnDrawControlPoints(*arg2
);
18527 wxPyEndAllowThreads(__tstate
);
18528 if (PyErr_Occurred()) SWIG_fail
;
18530 Py_INCREF(Py_None
); resultobj
= Py_None
;
18537 static PyObject
*_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18538 PyObject
*resultobj
;
18539 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18541 PyObject
* obj0
= 0 ;
18542 PyObject
* obj1
= 0 ;
18543 char *kwnames
[] = {
18544 (char *) "self",(char *) "dc", NULL
18547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18551 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18553 if (arg2
== NULL
) {
18554 PyErr_SetString(PyExc_TypeError
,"null reference");
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 (arg1
)->base_OnEraseControlPoints(*arg2
);
18561 wxPyEndAllowThreads(__tstate
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18564 Py_INCREF(Py_None
); resultobj
= Py_None
;
18571 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18572 PyObject
*resultobj
;
18573 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18575 bool arg3
= (bool) True
;
18576 PyObject
* obj0
= 0 ;
18577 PyObject
* obj1
= 0 ;
18578 PyObject
* obj2
= 0 ;
18579 char *kwnames
[] = {
18580 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18587 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18589 if (arg2
== NULL
) {
18590 PyErr_SetString(PyExc_TypeError
,"null reference");
18594 arg3
= (bool) SWIG_AsBool(obj2
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18599 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
18601 wxPyEndAllowThreads(__tstate
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18604 Py_INCREF(Py_None
); resultobj
= Py_None
;
18611 static PyObject
*_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18612 PyObject
*resultobj
;
18613 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18614 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18618 int arg6
= (int) 0 ;
18619 int arg7
= (int) 0 ;
18620 PyObject
* obj0
= 0 ;
18621 PyObject
* obj1
= 0 ;
18622 PyObject
* obj2
= 0 ;
18623 PyObject
* obj3
= 0 ;
18624 PyObject
* obj4
= 0 ;
18625 PyObject
* obj5
= 0 ;
18626 PyObject
* obj6
= 0 ;
18627 char *kwnames
[] = {
18628 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyCompositeShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18636 arg3
= (bool) SWIG_AsBool(obj2
);
18637 if (PyErr_Occurred()) SWIG_fail
;
18638 arg4
= (double) SWIG_AsDouble(obj3
);
18639 if (PyErr_Occurred()) SWIG_fail
;
18640 arg5
= (double) SWIG_AsDouble(obj4
);
18641 if (PyErr_Occurred()) SWIG_fail
;
18643 arg6
= (int) SWIG_AsInt(obj5
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18647 arg7
= (int) SWIG_AsInt(obj6
);
18648 if (PyErr_Occurred()) SWIG_fail
;
18651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18652 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18657 Py_INCREF(Py_None
); resultobj
= Py_None
;
18664 static PyObject
*_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18665 PyObject
*resultobj
;
18666 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18667 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18670 int arg5
= (int) 0 ;
18671 int arg6
= (int) 0 ;
18672 PyObject
* obj0
= 0 ;
18673 PyObject
* obj1
= 0 ;
18674 PyObject
* obj2
= 0 ;
18675 PyObject
* obj3
= 0 ;
18676 PyObject
* obj4
= 0 ;
18677 PyObject
* obj5
= 0 ;
18678 char *kwnames
[] = {
18679 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18687 arg3
= (double) SWIG_AsDouble(obj2
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18689 arg4
= (double) SWIG_AsDouble(obj3
);
18690 if (PyErr_Occurred()) SWIG_fail
;
18692 arg5
= (int) SWIG_AsInt(obj4
);
18693 if (PyErr_Occurred()) SWIG_fail
;
18696 arg6
= (int) SWIG_AsInt(obj5
);
18697 if (PyErr_Occurred()) SWIG_fail
;
18700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18701 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18703 wxPyEndAllowThreads(__tstate
);
18704 if (PyErr_Occurred()) SWIG_fail
;
18706 Py_INCREF(Py_None
); resultobj
= Py_None
;
18713 static PyObject
*_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18714 PyObject
*resultobj
;
18715 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18716 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18719 int arg5
= (int) 0 ;
18720 int arg6
= (int) 0 ;
18721 PyObject
* obj0
= 0 ;
18722 PyObject
* obj1
= 0 ;
18723 PyObject
* obj2
= 0 ;
18724 PyObject
* obj3
= 0 ;
18725 PyObject
* obj4
= 0 ;
18726 PyObject
* obj5
= 0 ;
18727 char *kwnames
[] = {
18728 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18736 arg3
= (double) SWIG_AsDouble(obj2
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18738 arg4
= (double) SWIG_AsDouble(obj3
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18741 arg5
= (int) SWIG_AsInt(obj4
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18745 arg6
= (int) SWIG_AsInt(obj5
);
18746 if (PyErr_Occurred()) SWIG_fail
;
18749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18750 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18752 wxPyEndAllowThreads(__tstate
);
18753 if (PyErr_Occurred()) SWIG_fail
;
18755 Py_INCREF(Py_None
); resultobj
= Py_None
;
18762 static PyObject
*_wrap_PyCompositeShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18763 PyObject
*resultobj
;
18764 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18767 PyObject
* obj0
= 0 ;
18768 PyObject
* obj1
= 0 ;
18769 PyObject
* obj2
= 0 ;
18770 char *kwnames
[] = {
18771 (char *) "self",(char *) "w",(char *) "h", NULL
18774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18777 arg2
= (double) SWIG_AsDouble(obj1
);
18778 if (PyErr_Occurred()) SWIG_fail
;
18779 arg3
= (double) SWIG_AsDouble(obj2
);
18780 if (PyErr_Occurred()) SWIG_fail
;
18782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18783 (arg1
)->base_OnBeginSize(arg2
,arg3
);
18785 wxPyEndAllowThreads(__tstate
);
18786 if (PyErr_Occurred()) SWIG_fail
;
18788 Py_INCREF(Py_None
); resultobj
= Py_None
;
18795 static PyObject
*_wrap_PyCompositeShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18796 PyObject
*resultobj
;
18797 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18800 PyObject
* obj0
= 0 ;
18801 PyObject
* obj1
= 0 ;
18802 PyObject
* obj2
= 0 ;
18803 char *kwnames
[] = {
18804 (char *) "self",(char *) "w",(char *) "h", NULL
18807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18810 arg2
= (double) SWIG_AsDouble(obj1
);
18811 if (PyErr_Occurred()) SWIG_fail
;
18812 arg3
= (double) SWIG_AsDouble(obj2
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18816 (arg1
)->base_OnEndSize(arg2
,arg3
);
18818 wxPyEndAllowThreads(__tstate
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18821 Py_INCREF(Py_None
); resultobj
= Py_None
;
18828 static PyObject
* PyCompositeShape_swigregister(PyObject
*self
, PyObject
*args
) {
18830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18831 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape
, obj
);
18833 return Py_BuildValue((char *)"");
18835 static PyObject
*_wrap_new_PyDividedShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
;
18837 double arg1
= (double) 0.0 ;
18838 double arg2
= (double) 0.0 ;
18839 wxPyDividedShape
*result
;
18840 PyObject
* obj0
= 0 ;
18841 PyObject
* obj1
= 0 ;
18842 char *kwnames
[] = {
18843 (char *) "width",(char *) "height", NULL
18846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyDividedShape",kwnames
,&obj0
,&obj1
)) goto fail
;
18848 arg1
= (double) SWIG_AsDouble(obj0
);
18849 if (PyErr_Occurred()) SWIG_fail
;
18852 arg2
= (double) SWIG_AsDouble(obj1
);
18853 if (PyErr_Occurred()) SWIG_fail
;
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 result
= (wxPyDividedShape
*)new wxPyDividedShape(arg1
,arg2
);
18859 wxPyEndAllowThreads(__tstate
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDividedShape
, 1);
18869 static PyObject
*_wrap_PyDividedShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18870 PyObject
*resultobj
;
18871 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18872 PyObject
*arg2
= (PyObject
*) 0 ;
18873 PyObject
*arg3
= (PyObject
*) 0 ;
18874 PyObject
* obj0
= 0 ;
18875 PyObject
* obj1
= 0 ;
18876 PyObject
* obj2
= 0 ;
18877 char *kwnames
[] = {
18878 (char *) "self",(char *) "self",(char *) "_class", NULL
18881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18888 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18890 wxPyEndAllowThreads(__tstate
);
18891 if (PyErr_Occurred()) SWIG_fail
;
18893 Py_INCREF(Py_None
); resultobj
= Py_None
;
18900 static PyObject
*_wrap_PyDividedShape_EditRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18901 PyObject
*resultobj
;
18902 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18903 PyObject
* obj0
= 0 ;
18904 char *kwnames
[] = {
18905 (char *) "self", NULL
18908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_EditRegions",kwnames
,&obj0
)) goto fail
;
18909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 (arg1
)->EditRegions();
18915 wxPyEndAllowThreads(__tstate
);
18916 if (PyErr_Occurred()) SWIG_fail
;
18918 Py_INCREF(Py_None
); resultobj
= Py_None
;
18925 static PyObject
*_wrap_PyDividedShape_SetRegionSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18926 PyObject
*resultobj
;
18927 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18928 PyObject
* obj0
= 0 ;
18929 char *kwnames
[] = {
18930 (char *) "self", NULL
18933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_SetRegionSizes",kwnames
,&obj0
)) goto fail
;
18934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18938 (arg1
)->SetRegionSizes();
18940 wxPyEndAllowThreads(__tstate
);
18941 if (PyErr_Occurred()) SWIG_fail
;
18943 Py_INCREF(Py_None
); resultobj
= Py_None
;
18950 static PyObject
*_wrap_PyDividedShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18951 PyObject
*resultobj
;
18952 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18953 PyObject
* obj0
= 0 ;
18954 char *kwnames
[] = {
18955 (char *) "self", NULL
18958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
18959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18963 (arg1
)->base_OnDelete();
18965 wxPyEndAllowThreads(__tstate
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18968 Py_INCREF(Py_None
); resultobj
= Py_None
;
18975 static PyObject
*_wrap_PyDividedShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
;
18977 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18979 PyObject
* obj0
= 0 ;
18980 PyObject
* obj1
= 0 ;
18981 char *kwnames
[] = {
18982 (char *) "self",(char *) "dc", NULL
18985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
18986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18988 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18989 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18991 if (arg2
== NULL
) {
18992 PyErr_SetString(PyExc_TypeError
,"null reference");
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 (arg1
)->base_OnDraw(*arg2
);
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19002 Py_INCREF(Py_None
); resultobj
= Py_None
;
19009 static PyObject
*_wrap_PyDividedShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19010 PyObject
*resultobj
;
19011 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19013 PyObject
* obj0
= 0 ;
19014 PyObject
* obj1
= 0 ;
19015 char *kwnames
[] = {
19016 (char *) "self",(char *) "dc", NULL
19019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
19020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19025 if (arg2
== NULL
) {
19026 PyErr_SetString(PyExc_TypeError
,"null reference");
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 (arg1
)->base_OnDrawContents(*arg2
);
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19036 Py_INCREF(Py_None
); resultobj
= Py_None
;
19043 static PyObject
*_wrap_PyDividedShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19044 PyObject
*resultobj
;
19045 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19047 bool arg3
= (bool) FALSE
;
19048 PyObject
* obj0
= 0 ;
19049 PyObject
* obj1
= 0 ;
19050 PyObject
* obj2
= 0 ;
19051 char *kwnames
[] = {
19052 (char *) "self",(char *) "dc",(char *) "erase", NULL
19055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19061 if (arg2
== NULL
) {
19062 PyErr_SetString(PyExc_TypeError
,"null reference");
19066 arg3
= (bool) SWIG_AsBool(obj2
);
19067 if (PyErr_Occurred()) SWIG_fail
;
19070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19071 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
19073 wxPyEndAllowThreads(__tstate
);
19074 if (PyErr_Occurred()) SWIG_fail
;
19076 Py_INCREF(Py_None
); resultobj
= Py_None
;
19083 static PyObject
*_wrap_PyDividedShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19084 PyObject
*resultobj
;
19085 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19087 PyObject
* obj0
= 0 ;
19088 PyObject
* obj1
= 0 ;
19089 char *kwnames
[] = {
19090 (char *) "self",(char *) "dc", NULL
19093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
19094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19097 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19099 if (arg2
== NULL
) {
19100 PyErr_SetString(PyExc_TypeError
,"null reference");
19104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19105 (arg1
)->base_OnMoveLinks(*arg2
);
19107 wxPyEndAllowThreads(__tstate
);
19108 if (PyErr_Occurred()) SWIG_fail
;
19110 Py_INCREF(Py_None
); resultobj
= Py_None
;
19117 static PyObject
*_wrap_PyDividedShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19118 PyObject
*resultobj
;
19119 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19121 PyObject
* obj0
= 0 ;
19122 PyObject
* obj1
= 0 ;
19123 char *kwnames
[] = {
19124 (char *) "self",(char *) "dc", NULL
19127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
19128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19131 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19133 if (arg2
== NULL
) {
19134 PyErr_SetString(PyExc_TypeError
,"null reference");
19138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19139 (arg1
)->base_OnErase(*arg2
);
19141 wxPyEndAllowThreads(__tstate
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19144 Py_INCREF(Py_None
); resultobj
= Py_None
;
19151 static PyObject
*_wrap_PyDividedShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19152 PyObject
*resultobj
;
19153 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19155 PyObject
* obj0
= 0 ;
19156 PyObject
* obj1
= 0 ;
19157 char *kwnames
[] = {
19158 (char *) "self",(char *) "dc", NULL
19161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
19162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19165 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19167 if (arg2
== NULL
) {
19168 PyErr_SetString(PyExc_TypeError
,"null reference");
19172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19173 (arg1
)->base_OnEraseContents(*arg2
);
19175 wxPyEndAllowThreads(__tstate
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19178 Py_INCREF(Py_None
); resultobj
= Py_None
;
19185 static PyObject
*_wrap_PyDividedShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
;
19187 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19189 PyObject
* obj0
= 0 ;
19190 PyObject
* obj1
= 0 ;
19191 char *kwnames
[] = {
19192 (char *) "self",(char *) "dc", NULL
19195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
19196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19199 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19201 if (arg2
== NULL
) {
19202 PyErr_SetString(PyExc_TypeError
,"null reference");
19206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19207 (arg1
)->base_OnHighlight(*arg2
);
19209 wxPyEndAllowThreads(__tstate
);
19210 if (PyErr_Occurred()) SWIG_fail
;
19212 Py_INCREF(Py_None
); resultobj
= Py_None
;
19219 static PyObject
*_wrap_PyDividedShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19220 PyObject
*resultobj
;
19221 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19224 int arg4
= (int) 0 ;
19225 int arg5
= (int) 0 ;
19226 PyObject
* obj0
= 0 ;
19227 PyObject
* obj1
= 0 ;
19228 PyObject
* obj2
= 0 ;
19229 PyObject
* obj3
= 0 ;
19230 PyObject
* obj4
= 0 ;
19231 char *kwnames
[] = {
19232 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19238 arg2
= (double) SWIG_AsDouble(obj1
);
19239 if (PyErr_Occurred()) SWIG_fail
;
19240 arg3
= (double) SWIG_AsDouble(obj2
);
19241 if (PyErr_Occurred()) SWIG_fail
;
19243 arg4
= (int) SWIG_AsInt(obj3
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19247 arg5
= (int) SWIG_AsInt(obj4
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19252 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19257 Py_INCREF(Py_None
); resultobj
= Py_None
;
19264 static PyObject
*_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19265 PyObject
*resultobj
;
19266 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19269 int arg4
= (int) 0 ;
19270 int arg5
= (int) 0 ;
19271 PyObject
* obj0
= 0 ;
19272 PyObject
* obj1
= 0 ;
19273 PyObject
* obj2
= 0 ;
19274 PyObject
* obj3
= 0 ;
19275 PyObject
* obj4
= 0 ;
19276 char *kwnames
[] = {
19277 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19283 arg2
= (double) SWIG_AsDouble(obj1
);
19284 if (PyErr_Occurred()) SWIG_fail
;
19285 arg3
= (double) SWIG_AsDouble(obj2
);
19286 if (PyErr_Occurred()) SWIG_fail
;
19288 arg4
= (int) SWIG_AsInt(obj3
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19292 arg5
= (int) SWIG_AsInt(obj4
);
19293 if (PyErr_Occurred()) SWIG_fail
;
19296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19297 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
19299 wxPyEndAllowThreads(__tstate
);
19300 if (PyErr_Occurred()) SWIG_fail
;
19302 Py_INCREF(Py_None
); resultobj
= Py_None
;
19309 static PyObject
*_wrap_PyDividedShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19310 PyObject
*resultobj
;
19311 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19314 int arg4
= (int) 0 ;
19315 int arg5
= (int) 0 ;
19316 PyObject
* obj0
= 0 ;
19317 PyObject
* obj1
= 0 ;
19318 PyObject
* obj2
= 0 ;
19319 PyObject
* obj3
= 0 ;
19320 PyObject
* obj4
= 0 ;
19321 char *kwnames
[] = {
19322 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19328 arg2
= (double) SWIG_AsDouble(obj1
);
19329 if (PyErr_Occurred()) SWIG_fail
;
19330 arg3
= (double) SWIG_AsDouble(obj2
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19333 arg4
= (int) SWIG_AsInt(obj3
);
19334 if (PyErr_Occurred()) SWIG_fail
;
19337 arg5
= (int) SWIG_AsInt(obj4
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19342 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
19344 wxPyEndAllowThreads(__tstate
);
19345 if (PyErr_Occurred()) SWIG_fail
;
19347 Py_INCREF(Py_None
); resultobj
= Py_None
;
19354 static PyObject
*_wrap_PyDividedShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19355 PyObject
*resultobj
;
19356 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19359 PyObject
* obj0
= 0 ;
19360 PyObject
* obj1
= 0 ;
19361 PyObject
* obj2
= 0 ;
19362 char *kwnames
[] = {
19363 (char *) "self",(char *) "x",(char *) "y", NULL
19366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19369 arg2
= (double) SWIG_AsDouble(obj1
);
19370 if (PyErr_Occurred()) SWIG_fail
;
19371 arg3
= (double) SWIG_AsDouble(obj2
);
19372 if (PyErr_Occurred()) SWIG_fail
;
19374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19375 (arg1
)->base_OnSize(arg2
,arg3
);
19377 wxPyEndAllowThreads(__tstate
);
19378 if (PyErr_Occurred()) SWIG_fail
;
19380 Py_INCREF(Py_None
); resultobj
= Py_None
;
19387 static PyObject
*_wrap_PyDividedShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19388 PyObject
*resultobj
;
19389 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19395 bool arg7
= (bool) True
;
19397 PyObject
* obj0
= 0 ;
19398 PyObject
* obj1
= 0 ;
19399 PyObject
* obj2
= 0 ;
19400 PyObject
* obj3
= 0 ;
19401 PyObject
* obj4
= 0 ;
19402 PyObject
* obj5
= 0 ;
19403 PyObject
* obj6
= 0 ;
19404 char *kwnames
[] = {
19405 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19412 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19414 if (arg2
== NULL
) {
19415 PyErr_SetString(PyExc_TypeError
,"null reference");
19418 arg3
= (double) SWIG_AsDouble(obj2
);
19419 if (PyErr_Occurred()) SWIG_fail
;
19420 arg4
= (double) SWIG_AsDouble(obj3
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19422 arg5
= (double) SWIG_AsDouble(obj4
);
19423 if (PyErr_Occurred()) SWIG_fail
;
19424 arg6
= (double) SWIG_AsDouble(obj5
);
19425 if (PyErr_Occurred()) SWIG_fail
;
19427 arg7
= (bool) SWIG_AsBool(obj6
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19432 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19434 wxPyEndAllowThreads(__tstate
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19446 static PyObject
*_wrap_PyDividedShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19447 PyObject
*resultobj
;
19448 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19454 bool arg7
= (bool) True
;
19455 PyObject
* obj0
= 0 ;
19456 PyObject
* obj1
= 0 ;
19457 PyObject
* obj2
= 0 ;
19458 PyObject
* obj3
= 0 ;
19459 PyObject
* obj4
= 0 ;
19460 PyObject
* obj5
= 0 ;
19461 PyObject
* obj6
= 0 ;
19462 char *kwnames
[] = {
19463 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19470 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19472 if (arg2
== NULL
) {
19473 PyErr_SetString(PyExc_TypeError
,"null reference");
19476 arg3
= (double) SWIG_AsDouble(obj2
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19478 arg4
= (double) SWIG_AsDouble(obj3
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19480 arg5
= (double) SWIG_AsDouble(obj4
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19482 arg6
= (double) SWIG_AsDouble(obj5
);
19483 if (PyErr_Occurred()) SWIG_fail
;
19485 arg7
= (bool) SWIG_AsBool(obj6
);
19486 if (PyErr_Occurred()) SWIG_fail
;
19489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19490 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19492 wxPyEndAllowThreads(__tstate
);
19493 if (PyErr_Occurred()) SWIG_fail
;
19495 Py_INCREF(Py_None
); resultobj
= Py_None
;
19502 static PyObject
*_wrap_PyDividedShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19503 PyObject
*resultobj
;
19504 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19508 int arg5
= (int) 0 ;
19509 int arg6
= (int) 0 ;
19510 PyObject
* obj0
= 0 ;
19511 PyObject
* obj1
= 0 ;
19512 PyObject
* obj2
= 0 ;
19513 PyObject
* obj3
= 0 ;
19514 PyObject
* obj4
= 0 ;
19515 PyObject
* obj5
= 0 ;
19516 char *kwnames
[] = {
19517 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19523 arg2
= (bool) SWIG_AsBool(obj1
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19525 arg3
= (double) SWIG_AsDouble(obj2
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19527 arg4
= (double) SWIG_AsDouble(obj3
);
19528 if (PyErr_Occurred()) SWIG_fail
;
19530 arg5
= (int) SWIG_AsInt(obj4
);
19531 if (PyErr_Occurred()) SWIG_fail
;
19534 arg6
= (int) SWIG_AsInt(obj5
);
19535 if (PyErr_Occurred()) SWIG_fail
;
19538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19539 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19541 wxPyEndAllowThreads(__tstate
);
19542 if (PyErr_Occurred()) SWIG_fail
;
19544 Py_INCREF(Py_None
); resultobj
= Py_None
;
19551 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19552 PyObject
*resultobj
;
19553 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19556 int arg4
= (int) 0 ;
19557 int arg5
= (int) 0 ;
19558 PyObject
* obj0
= 0 ;
19559 PyObject
* obj1
= 0 ;
19560 PyObject
* obj2
= 0 ;
19561 PyObject
* obj3
= 0 ;
19562 PyObject
* obj4
= 0 ;
19563 char *kwnames
[] = {
19564 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19570 arg2
= (double) SWIG_AsDouble(obj1
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19572 arg3
= (double) SWIG_AsDouble(obj2
);
19573 if (PyErr_Occurred()) SWIG_fail
;
19575 arg4
= (int) SWIG_AsInt(obj3
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19579 arg5
= (int) SWIG_AsInt(obj4
);
19580 if (PyErr_Occurred()) SWIG_fail
;
19583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19584 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
19586 wxPyEndAllowThreads(__tstate
);
19587 if (PyErr_Occurred()) SWIG_fail
;
19589 Py_INCREF(Py_None
); resultobj
= Py_None
;
19596 static PyObject
*_wrap_PyDividedShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19597 PyObject
*resultobj
;
19598 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19601 int arg4
= (int) 0 ;
19602 int arg5
= (int) 0 ;
19603 PyObject
* obj0
= 0 ;
19604 PyObject
* obj1
= 0 ;
19605 PyObject
* obj2
= 0 ;
19606 PyObject
* obj3
= 0 ;
19607 PyObject
* obj4
= 0 ;
19608 char *kwnames
[] = {
19609 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19615 arg2
= (double) SWIG_AsDouble(obj1
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19617 arg3
= (double) SWIG_AsDouble(obj2
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19620 arg4
= (int) SWIG_AsInt(obj3
);
19621 if (PyErr_Occurred()) SWIG_fail
;
19624 arg5
= (int) SWIG_AsInt(obj4
);
19625 if (PyErr_Occurred()) SWIG_fail
;
19628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19629 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
19631 wxPyEndAllowThreads(__tstate
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19634 Py_INCREF(Py_None
); resultobj
= Py_None
;
19641 static PyObject
*_wrap_PyDividedShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19642 PyObject
*resultobj
;
19643 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19647 int arg5
= (int) 0 ;
19648 int arg6
= (int) 0 ;
19649 PyObject
* obj0
= 0 ;
19650 PyObject
* obj1
= 0 ;
19651 PyObject
* obj2
= 0 ;
19652 PyObject
* obj3
= 0 ;
19653 PyObject
* obj4
= 0 ;
19654 PyObject
* obj5
= 0 ;
19655 char *kwnames
[] = {
19656 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19662 arg2
= (bool) SWIG_AsBool(obj1
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19664 arg3
= (double) SWIG_AsDouble(obj2
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19666 arg4
= (double) SWIG_AsDouble(obj3
);
19667 if (PyErr_Occurred()) SWIG_fail
;
19669 arg5
= (int) SWIG_AsInt(obj4
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19673 arg6
= (int) SWIG_AsInt(obj5
);
19674 if (PyErr_Occurred()) SWIG_fail
;
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
19680 wxPyEndAllowThreads(__tstate
);
19681 if (PyErr_Occurred()) SWIG_fail
;
19683 Py_INCREF(Py_None
); resultobj
= Py_None
;
19690 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
;
19692 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19695 int arg4
= (int) 0 ;
19696 int arg5
= (int) 0 ;
19697 PyObject
* obj0
= 0 ;
19698 PyObject
* obj1
= 0 ;
19699 PyObject
* obj2
= 0 ;
19700 PyObject
* obj3
= 0 ;
19701 PyObject
* obj4
= 0 ;
19702 char *kwnames
[] = {
19703 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19709 arg2
= (double) SWIG_AsDouble(obj1
);
19710 if (PyErr_Occurred()) SWIG_fail
;
19711 arg3
= (double) SWIG_AsDouble(obj2
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19714 arg4
= (int) SWIG_AsInt(obj3
);
19715 if (PyErr_Occurred()) SWIG_fail
;
19718 arg5
= (int) SWIG_AsInt(obj4
);
19719 if (PyErr_Occurred()) SWIG_fail
;
19722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19723 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
19725 wxPyEndAllowThreads(__tstate
);
19726 if (PyErr_Occurred()) SWIG_fail
;
19728 Py_INCREF(Py_None
); resultobj
= Py_None
;
19735 static PyObject
*_wrap_PyDividedShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19736 PyObject
*resultobj
;
19737 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19740 int arg4
= (int) 0 ;
19741 int arg5
= (int) 0 ;
19742 PyObject
* obj0
= 0 ;
19743 PyObject
* obj1
= 0 ;
19744 PyObject
* obj2
= 0 ;
19745 PyObject
* obj3
= 0 ;
19746 PyObject
* obj4
= 0 ;
19747 char *kwnames
[] = {
19748 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19754 arg2
= (double) SWIG_AsDouble(obj1
);
19755 if (PyErr_Occurred()) SWIG_fail
;
19756 arg3
= (double) SWIG_AsDouble(obj2
);
19757 if (PyErr_Occurred()) SWIG_fail
;
19759 arg4
= (int) SWIG_AsInt(obj3
);
19760 if (PyErr_Occurred()) SWIG_fail
;
19763 arg5
= (int) SWIG_AsInt(obj4
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19768 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
19770 wxPyEndAllowThreads(__tstate
);
19771 if (PyErr_Occurred()) SWIG_fail
;
19773 Py_INCREF(Py_None
); resultobj
= Py_None
;
19780 static PyObject
*_wrap_PyDividedShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19781 PyObject
*resultobj
;
19782 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19788 PyObject
* obj0
= 0 ;
19789 PyObject
* obj1
= 0 ;
19790 PyObject
* obj2
= 0 ;
19791 PyObject
* obj3
= 0 ;
19792 PyObject
* obj4
= 0 ;
19793 PyObject
* obj5
= 0 ;
19794 char *kwnames
[] = {
19795 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDividedShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19802 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19804 if (arg2
== NULL
) {
19805 PyErr_SetString(PyExc_TypeError
,"null reference");
19808 arg3
= (double) SWIG_AsDouble(obj2
);
19809 if (PyErr_Occurred()) SWIG_fail
;
19810 arg4
= (double) SWIG_AsDouble(obj3
);
19811 if (PyErr_Occurred()) SWIG_fail
;
19812 arg5
= (double) SWIG_AsDouble(obj4
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19814 arg6
= (double) SWIG_AsDouble(obj5
);
19815 if (PyErr_Occurred()) SWIG_fail
;
19817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19823 Py_INCREF(Py_None
); resultobj
= Py_None
;
19830 static PyObject
*_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
;
19832 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19834 PyObject
* obj0
= 0 ;
19835 PyObject
* obj1
= 0 ;
19836 char *kwnames
[] = {
19837 (char *) "self",(char *) "dc", NULL
19840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19846 if (arg2
== NULL
) {
19847 PyErr_SetString(PyExc_TypeError
,"null reference");
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 (arg1
)->base_OnDrawControlPoints(*arg2
);
19854 wxPyEndAllowThreads(__tstate
);
19855 if (PyErr_Occurred()) SWIG_fail
;
19857 Py_INCREF(Py_None
); resultobj
= Py_None
;
19864 static PyObject
*_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
;
19866 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19868 PyObject
* obj0
= 0 ;
19869 PyObject
* obj1
= 0 ;
19870 char *kwnames
[] = {
19871 (char *) "self",(char *) "dc", NULL
19874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19878 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19880 if (arg2
== NULL
) {
19881 PyErr_SetString(PyExc_TypeError
,"null reference");
19885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19886 (arg1
)->base_OnEraseControlPoints(*arg2
);
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19891 Py_INCREF(Py_None
); resultobj
= Py_None
;
19898 static PyObject
*_wrap_PyDividedShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19899 PyObject
*resultobj
;
19900 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19902 bool arg3
= (bool) True
;
19903 PyObject
* obj0
= 0 ;
19904 PyObject
* obj1
= 0 ;
19905 PyObject
* obj2
= 0 ;
19906 char *kwnames
[] = {
19907 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19916 if (arg2
== NULL
) {
19917 PyErr_SetString(PyExc_TypeError
,"null reference");
19921 arg3
= (bool) SWIG_AsBool(obj2
);
19922 if (PyErr_Occurred()) SWIG_fail
;
19925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19926 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
19928 wxPyEndAllowThreads(__tstate
);
19929 if (PyErr_Occurred()) SWIG_fail
;
19931 Py_INCREF(Py_None
); resultobj
= Py_None
;
19938 static PyObject
*_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19939 PyObject
*resultobj
;
19940 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19941 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19945 int arg6
= (int) 0 ;
19946 int arg7
= (int) 0 ;
19947 PyObject
* obj0
= 0 ;
19948 PyObject
* obj1
= 0 ;
19949 PyObject
* obj2
= 0 ;
19950 PyObject
* obj3
= 0 ;
19951 PyObject
* obj4
= 0 ;
19952 PyObject
* obj5
= 0 ;
19953 PyObject
* obj6
= 0 ;
19954 char *kwnames
[] = {
19955 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDividedShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
19962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19963 arg3
= (bool) SWIG_AsBool(obj2
);
19964 if (PyErr_Occurred()) SWIG_fail
;
19965 arg4
= (double) SWIG_AsDouble(obj3
);
19966 if (PyErr_Occurred()) SWIG_fail
;
19967 arg5
= (double) SWIG_AsDouble(obj4
);
19968 if (PyErr_Occurred()) SWIG_fail
;
19970 arg6
= (int) SWIG_AsInt(obj5
);
19971 if (PyErr_Occurred()) SWIG_fail
;
19974 arg7
= (int) SWIG_AsInt(obj6
);
19975 if (PyErr_Occurred()) SWIG_fail
;
19978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19979 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19981 wxPyEndAllowThreads(__tstate
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19984 Py_INCREF(Py_None
); resultobj
= Py_None
;
19991 static PyObject
*_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19992 PyObject
*resultobj
;
19993 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19994 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19997 int arg5
= (int) 0 ;
19998 int arg6
= (int) 0 ;
19999 PyObject
* obj0
= 0 ;
20000 PyObject
* obj1
= 0 ;
20001 PyObject
* obj2
= 0 ;
20002 PyObject
* obj3
= 0 ;
20003 PyObject
* obj4
= 0 ;
20004 PyObject
* obj5
= 0 ;
20005 char *kwnames
[] = {
20006 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20012 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
20013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20014 arg3
= (double) SWIG_AsDouble(obj2
);
20015 if (PyErr_Occurred()) SWIG_fail
;
20016 arg4
= (double) SWIG_AsDouble(obj3
);
20017 if (PyErr_Occurred()) SWIG_fail
;
20019 arg5
= (int) SWIG_AsInt(obj4
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20023 arg6
= (int) SWIG_AsInt(obj5
);
20024 if (PyErr_Occurred()) SWIG_fail
;
20027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20028 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
20030 wxPyEndAllowThreads(__tstate
);
20031 if (PyErr_Occurred()) SWIG_fail
;
20033 Py_INCREF(Py_None
); resultobj
= Py_None
;
20040 static PyObject
*_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20041 PyObject
*resultobj
;
20042 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20043 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
20046 int arg5
= (int) 0 ;
20047 int arg6
= (int) 0 ;
20048 PyObject
* obj0
= 0 ;
20049 PyObject
* obj1
= 0 ;
20050 PyObject
* obj2
= 0 ;
20051 PyObject
* obj3
= 0 ;
20052 PyObject
* obj4
= 0 ;
20053 PyObject
* obj5
= 0 ;
20054 char *kwnames
[] = {
20055 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
20062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20063 arg3
= (double) SWIG_AsDouble(obj2
);
20064 if (PyErr_Occurred()) SWIG_fail
;
20065 arg4
= (double) SWIG_AsDouble(obj3
);
20066 if (PyErr_Occurred()) SWIG_fail
;
20068 arg5
= (int) SWIG_AsInt(obj4
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20072 arg6
= (int) SWIG_AsInt(obj5
);
20073 if (PyErr_Occurred()) SWIG_fail
;
20076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20077 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
20079 wxPyEndAllowThreads(__tstate
);
20080 if (PyErr_Occurred()) SWIG_fail
;
20082 Py_INCREF(Py_None
); resultobj
= Py_None
;
20089 static PyObject
*_wrap_PyDividedShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20090 PyObject
*resultobj
;
20091 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20094 PyObject
* obj0
= 0 ;
20095 PyObject
* obj1
= 0 ;
20096 PyObject
* obj2
= 0 ;
20097 char *kwnames
[] = {
20098 (char *) "self",(char *) "w",(char *) "h", NULL
20101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20104 arg2
= (double) SWIG_AsDouble(obj1
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20106 arg3
= (double) SWIG_AsDouble(obj2
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20110 (arg1
)->base_OnBeginSize(arg2
,arg3
);
20112 wxPyEndAllowThreads(__tstate
);
20113 if (PyErr_Occurred()) SWIG_fail
;
20115 Py_INCREF(Py_None
); resultobj
= Py_None
;
20122 static PyObject
*_wrap_PyDividedShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20123 PyObject
*resultobj
;
20124 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20127 PyObject
* obj0
= 0 ;
20128 PyObject
* obj1
= 0 ;
20129 PyObject
* obj2
= 0 ;
20130 char *kwnames
[] = {
20131 (char *) "self",(char *) "w",(char *) "h", NULL
20134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20137 arg2
= (double) SWIG_AsDouble(obj1
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20139 arg3
= (double) SWIG_AsDouble(obj2
);
20140 if (PyErr_Occurred()) SWIG_fail
;
20142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20143 (arg1
)->base_OnEndSize(arg2
,arg3
);
20145 wxPyEndAllowThreads(__tstate
);
20146 if (PyErr_Occurred()) SWIG_fail
;
20148 Py_INCREF(Py_None
); resultobj
= Py_None
;
20155 static PyObject
* PyDividedShape_swigregister(PyObject
*self
, PyObject
*args
) {
20157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20158 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape
, obj
);
20160 return Py_BuildValue((char *)"");
20162 static PyObject
*_wrap_new_PyDivisionShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20163 PyObject
*resultobj
;
20164 wxPyDivisionShape
*result
;
20165 char *kwnames
[] = {
20169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDivisionShape",kwnames
)) goto fail
;
20171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20172 result
= (wxPyDivisionShape
*)new wxPyDivisionShape();
20174 wxPyEndAllowThreads(__tstate
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20178 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20186 static PyObject
*_wrap_PyDivisionShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20187 PyObject
*resultobj
;
20188 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20189 PyObject
*arg2
= (PyObject
*) 0 ;
20190 PyObject
*arg3
= (PyObject
*) 0 ;
20191 PyObject
* obj0
= 0 ;
20192 PyObject
* obj1
= 0 ;
20193 PyObject
* obj2
= 0 ;
20194 char *kwnames
[] = {
20195 (char *) "self",(char *) "self",(char *) "_class", NULL
20198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20210 Py_INCREF(Py_None
); resultobj
= Py_None
;
20217 static PyObject
*_wrap_PyDivisionShape_AdjustBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
;
20219 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20222 PyObject
* obj0
= 0 ;
20223 PyObject
* obj1
= 0 ;
20224 PyObject
* obj2
= 0 ;
20225 char *kwnames
[] = {
20226 (char *) "self",(char *) "bottom",(char *) "test", NULL
20229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustBottom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20232 arg2
= (double) SWIG_AsDouble(obj1
);
20233 if (PyErr_Occurred()) SWIG_fail
;
20234 arg3
= (bool) SWIG_AsBool(obj2
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20238 (arg1
)->AdjustBottom(arg2
,arg3
);
20240 wxPyEndAllowThreads(__tstate
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20243 Py_INCREF(Py_None
); resultobj
= Py_None
;
20250 static PyObject
*_wrap_PyDivisionShape_AdjustLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20251 PyObject
*resultobj
;
20252 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20255 PyObject
* obj0
= 0 ;
20256 PyObject
* obj1
= 0 ;
20257 PyObject
* obj2
= 0 ;
20258 char *kwnames
[] = {
20259 (char *) "self",(char *) "left",(char *) "test", NULL
20262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustLeft",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20265 arg2
= (double) SWIG_AsDouble(obj1
);
20266 if (PyErr_Occurred()) SWIG_fail
;
20267 arg3
= (bool) SWIG_AsBool(obj2
);
20268 if (PyErr_Occurred()) SWIG_fail
;
20270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20271 (arg1
)->AdjustLeft(arg2
,arg3
);
20273 wxPyEndAllowThreads(__tstate
);
20274 if (PyErr_Occurred()) SWIG_fail
;
20276 Py_INCREF(Py_None
); resultobj
= Py_None
;
20283 static PyObject
*_wrap_PyDivisionShape_AdjustRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20284 PyObject
*resultobj
;
20285 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20288 PyObject
* obj0
= 0 ;
20289 PyObject
* obj1
= 0 ;
20290 PyObject
* obj2
= 0 ;
20291 char *kwnames
[] = {
20292 (char *) "self",(char *) "right",(char *) "test", NULL
20295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustRight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20298 arg2
= (double) SWIG_AsDouble(obj1
);
20299 if (PyErr_Occurred()) SWIG_fail
;
20300 arg3
= (bool) SWIG_AsBool(obj2
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20304 (arg1
)->AdjustRight(arg2
,arg3
);
20306 wxPyEndAllowThreads(__tstate
);
20307 if (PyErr_Occurred()) SWIG_fail
;
20309 Py_INCREF(Py_None
); resultobj
= Py_None
;
20316 static PyObject
*_wrap_PyDivisionShape_AdjustTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20317 PyObject
*resultobj
;
20318 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20321 PyObject
* obj0
= 0 ;
20322 PyObject
* obj1
= 0 ;
20323 PyObject
* obj2
= 0 ;
20324 char *kwnames
[] = {
20325 (char *) "self",(char *) "top",(char *) "test", NULL
20328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20331 arg2
= (double) SWIG_AsDouble(obj1
);
20332 if (PyErr_Occurred()) SWIG_fail
;
20333 arg3
= (bool) SWIG_AsBool(obj2
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20337 (arg1
)->AdjustTop(arg2
,arg3
);
20339 wxPyEndAllowThreads(__tstate
);
20340 if (PyErr_Occurred()) SWIG_fail
;
20342 Py_INCREF(Py_None
); resultobj
= Py_None
;
20349 static PyObject
*_wrap_PyDivisionShape_Divide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20350 PyObject
*resultobj
;
20351 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20353 PyObject
* obj0
= 0 ;
20354 PyObject
* obj1
= 0 ;
20355 char *kwnames
[] = {
20356 (char *) "self",(char *) "direction", NULL
20359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_Divide",kwnames
,&obj0
,&obj1
)) goto fail
;
20360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20362 arg2
= (int) SWIG_AsInt(obj1
);
20363 if (PyErr_Occurred()) SWIG_fail
;
20365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20366 (arg1
)->Divide(arg2
);
20368 wxPyEndAllowThreads(__tstate
);
20369 if (PyErr_Occurred()) SWIG_fail
;
20371 Py_INCREF(Py_None
); resultobj
= Py_None
;
20378 static PyObject
*_wrap_PyDivisionShape_EditEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20379 PyObject
*resultobj
;
20380 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20382 PyObject
* obj0
= 0 ;
20383 PyObject
* obj1
= 0 ;
20384 char *kwnames
[] = {
20385 (char *) "self",(char *) "side", NULL
20388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_EditEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
20389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20391 arg2
= (int) SWIG_AsInt(obj1
);
20392 if (PyErr_Occurred()) SWIG_fail
;
20394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20395 (arg1
)->EditEdge(arg2
);
20397 wxPyEndAllowThreads(__tstate
);
20398 if (PyErr_Occurred()) SWIG_fail
;
20400 Py_INCREF(Py_None
); resultobj
= Py_None
;
20407 static PyObject
*_wrap_PyDivisionShape_GetBottomSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20408 PyObject
*resultobj
;
20409 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20410 wxPyDivisionShape
*result
;
20411 PyObject
* obj0
= 0 ;
20412 char *kwnames
[] = {
20413 (char *) "self", NULL
20416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetBottomSide",kwnames
,&obj0
)) goto fail
;
20417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 result
= (wxPyDivisionShape
*)(arg1
)->GetBottomSide();
20423 wxPyEndAllowThreads(__tstate
);
20424 if (PyErr_Occurred()) SWIG_fail
;
20427 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20435 static PyObject
*_wrap_PyDivisionShape_GetHandleSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20436 PyObject
*resultobj
;
20437 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20439 PyObject
* obj0
= 0 ;
20440 char *kwnames
[] = {
20441 (char *) "self", NULL
20444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetHandleSide",kwnames
,&obj0
)) goto fail
;
20445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20449 result
= (int)(arg1
)->GetHandleSide();
20451 wxPyEndAllowThreads(__tstate
);
20452 if (PyErr_Occurred()) SWIG_fail
;
20454 resultobj
= SWIG_FromInt((int)result
);
20461 static PyObject
*_wrap_PyDivisionShape_GetLeftSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20462 PyObject
*resultobj
;
20463 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20464 wxPyDivisionShape
*result
;
20465 PyObject
* obj0
= 0 ;
20466 char *kwnames
[] = {
20467 (char *) "self", NULL
20470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSide",kwnames
,&obj0
)) goto fail
;
20471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 result
= (wxPyDivisionShape
*)(arg1
)->GetLeftSide();
20477 wxPyEndAllowThreads(__tstate
);
20478 if (PyErr_Occurred()) SWIG_fail
;
20481 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20489 static PyObject
*_wrap_PyDivisionShape_GetLeftSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
;
20491 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20493 PyObject
* obj0
= 0 ;
20494 char *kwnames
[] = {
20495 (char *) "self", NULL
20498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames
,&obj0
)) goto fail
;
20499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20503 result
= (arg1
)->GetLeftSideColour();
20505 wxPyEndAllowThreads(__tstate
);
20506 if (PyErr_Occurred()) SWIG_fail
;
20510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20521 static PyObject
*_wrap_PyDivisionShape_GetLeftSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20522 PyObject
*resultobj
;
20523 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20525 PyObject
* obj0
= 0 ;
20526 char *kwnames
[] = {
20527 (char *) "self", NULL
20530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames
,&obj0
)) goto fail
;
20531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20535 result
= (wxPen
*)(arg1
)->GetLeftSidePen();
20537 wxPyEndAllowThreads(__tstate
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
20547 static PyObject
*_wrap_PyDivisionShape_GetRightSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
;
20549 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20550 wxPyDivisionShape
*result
;
20551 PyObject
* obj0
= 0 ;
20552 char *kwnames
[] = {
20553 (char *) "self", NULL
20556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetRightSide",kwnames
,&obj0
)) goto fail
;
20557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 result
= (wxPyDivisionShape
*)(arg1
)->GetRightSide();
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20575 static PyObject
*_wrap_PyDivisionShape_GetTopSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20576 PyObject
*resultobj
;
20577 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20578 wxPyDivisionShape
*result
;
20579 PyObject
* obj0
= 0 ;
20580 char *kwnames
[] = {
20581 (char *) "self", NULL
20584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSide",kwnames
,&obj0
)) goto fail
;
20585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20589 result
= (wxPyDivisionShape
*)(arg1
)->GetTopSide();
20591 wxPyEndAllowThreads(__tstate
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20595 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
20603 static PyObject
*_wrap_PyDivisionShape_GetTopSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20604 PyObject
*resultobj
;
20605 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20607 PyObject
* obj0
= 0 ;
20608 char *kwnames
[] = {
20609 (char *) "self", NULL
20612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames
,&obj0
)) goto fail
;
20613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20617 result
= (wxPen
*)(arg1
)->GetTopSidePen();
20619 wxPyEndAllowThreads(__tstate
);
20620 if (PyErr_Occurred()) SWIG_fail
;
20622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
20629 static PyObject
*_wrap_PyDivisionShape_ResizeAdjoining(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20630 PyObject
*resultobj
;
20631 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20635 PyObject
* obj0
= 0 ;
20636 PyObject
* obj1
= 0 ;
20637 PyObject
* obj2
= 0 ;
20638 PyObject
* obj3
= 0 ;
20639 char *kwnames
[] = {
20640 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
20643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDivisionShape_ResizeAdjoining",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20646 arg2
= (int) SWIG_AsInt(obj1
);
20647 if (PyErr_Occurred()) SWIG_fail
;
20648 arg3
= (double) SWIG_AsDouble(obj2
);
20649 if (PyErr_Occurred()) SWIG_fail
;
20650 arg4
= (bool) SWIG_AsBool(obj3
);
20651 if (PyErr_Occurred()) SWIG_fail
;
20653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20654 (arg1
)->ResizeAdjoining(arg2
,arg3
,arg4
);
20656 wxPyEndAllowThreads(__tstate
);
20657 if (PyErr_Occurred()) SWIG_fail
;
20659 Py_INCREF(Py_None
); resultobj
= Py_None
;
20666 static PyObject
*_wrap_PyDivisionShape_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20667 PyObject
*resultobj
;
20668 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20671 PyObject
* obj0
= 0 ;
20672 PyObject
* obj1
= 0 ;
20673 PyObject
* obj2
= 0 ;
20674 char *kwnames
[] = {
20675 (char *) "self",(char *) "x",(char *) "y", NULL
20678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20681 arg2
= (double) SWIG_AsDouble(obj1
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20683 arg3
= (double) SWIG_AsDouble(obj2
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20687 (arg1
)->PopupMenu(arg2
,arg3
);
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20692 Py_INCREF(Py_None
); resultobj
= Py_None
;
20699 static PyObject
*_wrap_PyDivisionShape_SetBottomSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
;
20701 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20702 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20703 PyObject
* obj0
= 0 ;
20704 PyObject
* obj1
= 0 ;
20705 char *kwnames
[] = {
20706 (char *) "self",(char *) "shape", NULL
20709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20716 (arg1
)->SetBottomSide(arg2
);
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20721 Py_INCREF(Py_None
); resultobj
= Py_None
;
20728 static PyObject
*_wrap_PyDivisionShape_SetHandleSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20729 PyObject
*resultobj
;
20730 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20732 PyObject
* obj0
= 0 ;
20733 PyObject
* obj1
= 0 ;
20734 char *kwnames
[] = {
20735 (char *) "self",(char *) "side", NULL
20738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetHandleSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20741 arg2
= (int) SWIG_AsInt(obj1
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 (arg1
)->SetHandleSide(arg2
);
20747 wxPyEndAllowThreads(__tstate
);
20748 if (PyErr_Occurred()) SWIG_fail
;
20750 Py_INCREF(Py_None
); resultobj
= Py_None
;
20757 static PyObject
*_wrap_PyDivisionShape_SetLeftSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20758 PyObject
*resultobj
;
20759 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20760 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20761 PyObject
* obj0
= 0 ;
20762 PyObject
* obj1
= 0 ;
20763 char *kwnames
[] = {
20764 (char *) "self",(char *) "shape", NULL
20767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20774 (arg1
)->SetLeftSide(arg2
);
20776 wxPyEndAllowThreads(__tstate
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20779 Py_INCREF(Py_None
); resultobj
= Py_None
;
20786 static PyObject
*_wrap_PyDivisionShape_SetLeftSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20787 PyObject
*resultobj
;
20788 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20789 wxString
*arg2
= 0 ;
20790 bool temp2
= False
;
20791 PyObject
* obj0
= 0 ;
20792 PyObject
* obj1
= 0 ;
20793 char *kwnames
[] = {
20794 (char *) "self",(char *) "colour", NULL
20797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20801 arg2
= wxString_in_helper(obj1
);
20802 if (arg2
== NULL
) SWIG_fail
;
20806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20807 (arg1
)->SetLeftSideColour((wxString
const &)*arg2
);
20809 wxPyEndAllowThreads(__tstate
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20812 Py_INCREF(Py_None
); resultobj
= Py_None
;
20827 static PyObject
*_wrap_PyDivisionShape_SetLeftSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20828 PyObject
*resultobj
;
20829 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20830 wxPen
*arg2
= (wxPen
*) 0 ;
20831 PyObject
* obj0
= 0 ;
20832 PyObject
* obj1
= 0 ;
20833 char *kwnames
[] = {
20834 (char *) "self",(char *) "pen", NULL
20837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
20838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20843 if (obj1
== Py_None
) {
20846 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
20847 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
20852 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
20859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20860 (arg1
)->SetLeftSidePen(arg2
);
20862 wxPyEndAllowThreads(__tstate
);
20863 if (PyErr_Occurred()) SWIG_fail
;
20865 Py_INCREF(Py_None
); resultobj
= Py_None
;
20872 static PyObject
*_wrap_PyDivisionShape_SetRightSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20873 PyObject
*resultobj
;
20874 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20875 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20876 PyObject
* obj0
= 0 ;
20877 PyObject
* obj1
= 0 ;
20878 char *kwnames
[] = {
20879 (char *) "self",(char *) "shape", NULL
20882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetRightSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20885 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20889 (arg1
)->SetRightSide(arg2
);
20891 wxPyEndAllowThreads(__tstate
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20894 Py_INCREF(Py_None
); resultobj
= Py_None
;
20901 static PyObject
*_wrap_PyDivisionShape_SetTopSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20902 PyObject
*resultobj
;
20903 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20904 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20905 PyObject
* obj0
= 0 ;
20906 PyObject
* obj1
= 0 ;
20907 char *kwnames
[] = {
20908 (char *) "self",(char *) "shape", NULL
20911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20918 (arg1
)->SetTopSide(arg2
);
20920 wxPyEndAllowThreads(__tstate
);
20921 if (PyErr_Occurred()) SWIG_fail
;
20923 Py_INCREF(Py_None
); resultobj
= Py_None
;
20930 static PyObject
*_wrap_PyDivisionShape_SetTopSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20931 PyObject
*resultobj
;
20932 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20933 wxString
*arg2
= 0 ;
20934 bool temp2
= False
;
20935 PyObject
* obj0
= 0 ;
20936 PyObject
* obj1
= 0 ;
20937 char *kwnames
[] = {
20938 (char *) "self",(char *) "colour", NULL
20941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20945 arg2
= wxString_in_helper(obj1
);
20946 if (arg2
== NULL
) SWIG_fail
;
20950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 (arg1
)->SetTopSideColour((wxString
const &)*arg2
);
20953 wxPyEndAllowThreads(__tstate
);
20954 if (PyErr_Occurred()) SWIG_fail
;
20956 Py_INCREF(Py_None
); resultobj
= Py_None
;
20971 static PyObject
*_wrap_PyDivisionShape_SetTopSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20972 PyObject
*resultobj
;
20973 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20974 wxPen
*arg2
= (wxPen
*) 0 ;
20975 PyObject
* obj0
= 0 ;
20976 PyObject
* obj1
= 0 ;
20977 char *kwnames
[] = {
20978 (char *) "self",(char *) "pen", NULL
20981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
20982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20987 if (obj1
== Py_None
) {
20990 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
20991 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
20996 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
21003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21004 (arg1
)->SetTopSidePen(arg2
);
21006 wxPyEndAllowThreads(__tstate
);
21007 if (PyErr_Occurred()) SWIG_fail
;
21009 Py_INCREF(Py_None
); resultobj
= Py_None
;
21016 static PyObject
*_wrap_PyDivisionShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21017 PyObject
*resultobj
;
21018 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21019 PyObject
* obj0
= 0 ;
21020 char *kwnames
[] = {
21021 (char *) "self", NULL
21024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
21025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21029 (arg1
)->base_OnDelete();
21031 wxPyEndAllowThreads(__tstate
);
21032 if (PyErr_Occurred()) SWIG_fail
;
21034 Py_INCREF(Py_None
); resultobj
= Py_None
;
21041 static PyObject
*_wrap_PyDivisionShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21042 PyObject
*resultobj
;
21043 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21045 PyObject
* obj0
= 0 ;
21046 PyObject
* obj1
= 0 ;
21047 char *kwnames
[] = {
21048 (char *) "self",(char *) "dc", NULL
21051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
21052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21054 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21055 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21057 if (arg2
== NULL
) {
21058 PyErr_SetString(PyExc_TypeError
,"null reference");
21062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21063 (arg1
)->base_OnDraw(*arg2
);
21065 wxPyEndAllowThreads(__tstate
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21068 Py_INCREF(Py_None
); resultobj
= Py_None
;
21075 static PyObject
*_wrap_PyDivisionShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21076 PyObject
*resultobj
;
21077 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21079 PyObject
* obj0
= 0 ;
21080 PyObject
* obj1
= 0 ;
21081 char *kwnames
[] = {
21082 (char *) "self",(char *) "dc", NULL
21085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21089 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21091 if (arg2
== NULL
) {
21092 PyErr_SetString(PyExc_TypeError
,"null reference");
21096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21097 (arg1
)->base_OnDrawContents(*arg2
);
21099 wxPyEndAllowThreads(__tstate
);
21100 if (PyErr_Occurred()) SWIG_fail
;
21102 Py_INCREF(Py_None
); resultobj
= Py_None
;
21109 static PyObject
*_wrap_PyDivisionShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21110 PyObject
*resultobj
;
21111 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21113 bool arg3
= (bool) FALSE
;
21114 PyObject
* obj0
= 0 ;
21115 PyObject
* obj1
= 0 ;
21116 PyObject
* obj2
= 0 ;
21117 char *kwnames
[] = {
21118 (char *) "self",(char *) "dc",(char *) "erase", NULL
21121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21125 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21127 if (arg2
== NULL
) {
21128 PyErr_SetString(PyExc_TypeError
,"null reference");
21132 arg3
= (bool) SWIG_AsBool(obj2
);
21133 if (PyErr_Occurred()) SWIG_fail
;
21136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21137 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
21139 wxPyEndAllowThreads(__tstate
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21142 Py_INCREF(Py_None
); resultobj
= Py_None
;
21149 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21150 PyObject
*resultobj
;
21151 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21153 PyObject
* obj0
= 0 ;
21154 PyObject
* obj1
= 0 ;
21155 char *kwnames
[] = {
21156 (char *) "self",(char *) "dc", NULL
21159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
21160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21163 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21165 if (arg2
== NULL
) {
21166 PyErr_SetString(PyExc_TypeError
,"null reference");
21170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21171 (arg1
)->base_OnMoveLinks(*arg2
);
21173 wxPyEndAllowThreads(__tstate
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21176 Py_INCREF(Py_None
); resultobj
= Py_None
;
21183 static PyObject
*_wrap_PyDivisionShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21184 PyObject
*resultobj
;
21185 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21187 PyObject
* obj0
= 0 ;
21188 PyObject
* obj1
= 0 ;
21189 char *kwnames
[] = {
21190 (char *) "self",(char *) "dc", NULL
21193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
21194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21197 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21199 if (arg2
== NULL
) {
21200 PyErr_SetString(PyExc_TypeError
,"null reference");
21204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21205 (arg1
)->base_OnErase(*arg2
);
21207 wxPyEndAllowThreads(__tstate
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21210 Py_INCREF(Py_None
); resultobj
= Py_None
;
21217 static PyObject
*_wrap_PyDivisionShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21218 PyObject
*resultobj
;
21219 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21221 PyObject
* obj0
= 0 ;
21222 PyObject
* obj1
= 0 ;
21223 char *kwnames
[] = {
21224 (char *) "self",(char *) "dc", NULL
21227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21231 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21233 if (arg2
== NULL
) {
21234 PyErr_SetString(PyExc_TypeError
,"null reference");
21238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21239 (arg1
)->base_OnEraseContents(*arg2
);
21241 wxPyEndAllowThreads(__tstate
);
21242 if (PyErr_Occurred()) SWIG_fail
;
21244 Py_INCREF(Py_None
); resultobj
= Py_None
;
21251 static PyObject
*_wrap_PyDivisionShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21252 PyObject
*resultobj
;
21253 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21255 PyObject
* obj0
= 0 ;
21256 PyObject
* obj1
= 0 ;
21257 char *kwnames
[] = {
21258 (char *) "self",(char *) "dc", NULL
21261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
21262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21265 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21267 if (arg2
== NULL
) {
21268 PyErr_SetString(PyExc_TypeError
,"null reference");
21272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21273 (arg1
)->base_OnHighlight(*arg2
);
21275 wxPyEndAllowThreads(__tstate
);
21276 if (PyErr_Occurred()) SWIG_fail
;
21278 Py_INCREF(Py_None
); resultobj
= Py_None
;
21285 static PyObject
*_wrap_PyDivisionShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21286 PyObject
*resultobj
;
21287 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21290 int arg4
= (int) 0 ;
21291 int arg5
= (int) 0 ;
21292 PyObject
* obj0
= 0 ;
21293 PyObject
* obj1
= 0 ;
21294 PyObject
* obj2
= 0 ;
21295 PyObject
* obj3
= 0 ;
21296 PyObject
* obj4
= 0 ;
21297 char *kwnames
[] = {
21298 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21304 arg2
= (double) SWIG_AsDouble(obj1
);
21305 if (PyErr_Occurred()) SWIG_fail
;
21306 arg3
= (double) SWIG_AsDouble(obj2
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21309 arg4
= (int) SWIG_AsInt(obj3
);
21310 if (PyErr_Occurred()) SWIG_fail
;
21313 arg5
= (int) SWIG_AsInt(obj4
);
21314 if (PyErr_Occurred()) SWIG_fail
;
21317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21318 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
21320 wxPyEndAllowThreads(__tstate
);
21321 if (PyErr_Occurred()) SWIG_fail
;
21323 Py_INCREF(Py_None
); resultobj
= Py_None
;
21330 static PyObject
*_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21331 PyObject
*resultobj
;
21332 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21335 int arg4
= (int) 0 ;
21336 int arg5
= (int) 0 ;
21337 PyObject
* obj0
= 0 ;
21338 PyObject
* obj1
= 0 ;
21339 PyObject
* obj2
= 0 ;
21340 PyObject
* obj3
= 0 ;
21341 PyObject
* obj4
= 0 ;
21342 char *kwnames
[] = {
21343 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21349 arg2
= (double) SWIG_AsDouble(obj1
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21351 arg3
= (double) SWIG_AsDouble(obj2
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21354 arg4
= (int) SWIG_AsInt(obj3
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21358 arg5
= (int) SWIG_AsInt(obj4
);
21359 if (PyErr_Occurred()) SWIG_fail
;
21362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21363 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
21365 wxPyEndAllowThreads(__tstate
);
21366 if (PyErr_Occurred()) SWIG_fail
;
21368 Py_INCREF(Py_None
); resultobj
= Py_None
;
21375 static PyObject
*_wrap_PyDivisionShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21376 PyObject
*resultobj
;
21377 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21380 int arg4
= (int) 0 ;
21381 int arg5
= (int) 0 ;
21382 PyObject
* obj0
= 0 ;
21383 PyObject
* obj1
= 0 ;
21384 PyObject
* obj2
= 0 ;
21385 PyObject
* obj3
= 0 ;
21386 PyObject
* obj4
= 0 ;
21387 char *kwnames
[] = {
21388 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21394 arg2
= (double) SWIG_AsDouble(obj1
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21396 arg3
= (double) SWIG_AsDouble(obj2
);
21397 if (PyErr_Occurred()) SWIG_fail
;
21399 arg4
= (int) SWIG_AsInt(obj3
);
21400 if (PyErr_Occurred()) SWIG_fail
;
21403 arg5
= (int) SWIG_AsInt(obj4
);
21404 if (PyErr_Occurred()) SWIG_fail
;
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
21410 wxPyEndAllowThreads(__tstate
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21413 Py_INCREF(Py_None
); resultobj
= Py_None
;
21420 static PyObject
*_wrap_PyDivisionShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21421 PyObject
*resultobj
;
21422 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21425 PyObject
* obj0
= 0 ;
21426 PyObject
* obj1
= 0 ;
21427 PyObject
* obj2
= 0 ;
21428 char *kwnames
[] = {
21429 (char *) "self",(char *) "x",(char *) "y", NULL
21432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21435 arg2
= (double) SWIG_AsDouble(obj1
);
21436 if (PyErr_Occurred()) SWIG_fail
;
21437 arg3
= (double) SWIG_AsDouble(obj2
);
21438 if (PyErr_Occurred()) SWIG_fail
;
21440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21441 (arg1
)->base_OnSize(arg2
,arg3
);
21443 wxPyEndAllowThreads(__tstate
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21446 Py_INCREF(Py_None
); resultobj
= Py_None
;
21453 static PyObject
*_wrap_PyDivisionShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21454 PyObject
*resultobj
;
21455 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21461 bool arg7
= (bool) True
;
21463 PyObject
* obj0
= 0 ;
21464 PyObject
* obj1
= 0 ;
21465 PyObject
* obj2
= 0 ;
21466 PyObject
* obj3
= 0 ;
21467 PyObject
* obj4
= 0 ;
21468 PyObject
* obj5
= 0 ;
21469 PyObject
* obj6
= 0 ;
21470 char *kwnames
[] = {
21471 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21478 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21480 if (arg2
== NULL
) {
21481 PyErr_SetString(PyExc_TypeError
,"null reference");
21484 arg3
= (double) SWIG_AsDouble(obj2
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21486 arg4
= (double) SWIG_AsDouble(obj3
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21488 arg5
= (double) SWIG_AsDouble(obj4
);
21489 if (PyErr_Occurred()) SWIG_fail
;
21490 arg6
= (double) SWIG_AsDouble(obj5
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21493 arg7
= (bool) SWIG_AsBool(obj6
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21498 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21512 static PyObject
*_wrap_PyDivisionShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21513 PyObject
*resultobj
;
21514 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21520 bool arg7
= (bool) True
;
21521 PyObject
* obj0
= 0 ;
21522 PyObject
* obj1
= 0 ;
21523 PyObject
* obj2
= 0 ;
21524 PyObject
* obj3
= 0 ;
21525 PyObject
* obj4
= 0 ;
21526 PyObject
* obj5
= 0 ;
21527 PyObject
* obj6
= 0 ;
21528 char *kwnames
[] = {
21529 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21536 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21538 if (arg2
== NULL
) {
21539 PyErr_SetString(PyExc_TypeError
,"null reference");
21542 arg3
= (double) SWIG_AsDouble(obj2
);
21543 if (PyErr_Occurred()) SWIG_fail
;
21544 arg4
= (double) SWIG_AsDouble(obj3
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21546 arg5
= (double) SWIG_AsDouble(obj4
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21548 arg6
= (double) SWIG_AsDouble(obj5
);
21549 if (PyErr_Occurred()) SWIG_fail
;
21551 arg7
= (bool) SWIG_AsBool(obj6
);
21552 if (PyErr_Occurred()) SWIG_fail
;
21555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21556 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21558 wxPyEndAllowThreads(__tstate
);
21559 if (PyErr_Occurred()) SWIG_fail
;
21561 Py_INCREF(Py_None
); resultobj
= Py_None
;
21568 static PyObject
*_wrap_PyDivisionShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21569 PyObject
*resultobj
;
21570 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21574 int arg5
= (int) 0 ;
21575 int arg6
= (int) 0 ;
21576 PyObject
* obj0
= 0 ;
21577 PyObject
* obj1
= 0 ;
21578 PyObject
* obj2
= 0 ;
21579 PyObject
* obj3
= 0 ;
21580 PyObject
* obj4
= 0 ;
21581 PyObject
* obj5
= 0 ;
21582 char *kwnames
[] = {
21583 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21589 arg2
= (bool) SWIG_AsBool(obj1
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21591 arg3
= (double) SWIG_AsDouble(obj2
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21593 arg4
= (double) SWIG_AsDouble(obj3
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21596 arg5
= (int) SWIG_AsInt(obj4
);
21597 if (PyErr_Occurred()) SWIG_fail
;
21600 arg6
= (int) SWIG_AsInt(obj5
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21605 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
21607 wxPyEndAllowThreads(__tstate
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21610 Py_INCREF(Py_None
); resultobj
= Py_None
;
21617 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21618 PyObject
*resultobj
;
21619 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21622 int arg4
= (int) 0 ;
21623 int arg5
= (int) 0 ;
21624 PyObject
* obj0
= 0 ;
21625 PyObject
* obj1
= 0 ;
21626 PyObject
* obj2
= 0 ;
21627 PyObject
* obj3
= 0 ;
21628 PyObject
* obj4
= 0 ;
21629 char *kwnames
[] = {
21630 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21636 arg2
= (double) SWIG_AsDouble(obj1
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21638 arg3
= (double) SWIG_AsDouble(obj2
);
21639 if (PyErr_Occurred()) SWIG_fail
;
21641 arg4
= (int) SWIG_AsInt(obj3
);
21642 if (PyErr_Occurred()) SWIG_fail
;
21645 arg5
= (int) SWIG_AsInt(obj4
);
21646 if (PyErr_Occurred()) SWIG_fail
;
21649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21650 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
21652 wxPyEndAllowThreads(__tstate
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 Py_INCREF(Py_None
); resultobj
= Py_None
;
21662 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21663 PyObject
*resultobj
;
21664 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21667 int arg4
= (int) 0 ;
21668 int arg5
= (int) 0 ;
21669 PyObject
* obj0
= 0 ;
21670 PyObject
* obj1
= 0 ;
21671 PyObject
* obj2
= 0 ;
21672 PyObject
* obj3
= 0 ;
21673 PyObject
* obj4
= 0 ;
21674 char *kwnames
[] = {
21675 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21681 arg2
= (double) SWIG_AsDouble(obj1
);
21682 if (PyErr_Occurred()) SWIG_fail
;
21683 arg3
= (double) SWIG_AsDouble(obj2
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21686 arg4
= (int) SWIG_AsInt(obj3
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21690 arg5
= (int) SWIG_AsInt(obj4
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21695 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
21697 wxPyEndAllowThreads(__tstate
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21700 Py_INCREF(Py_None
); resultobj
= Py_None
;
21707 static PyObject
*_wrap_PyDivisionShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21708 PyObject
*resultobj
;
21709 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21713 int arg5
= (int) 0 ;
21714 int arg6
= (int) 0 ;
21715 PyObject
* obj0
= 0 ;
21716 PyObject
* obj1
= 0 ;
21717 PyObject
* obj2
= 0 ;
21718 PyObject
* obj3
= 0 ;
21719 PyObject
* obj4
= 0 ;
21720 PyObject
* obj5
= 0 ;
21721 char *kwnames
[] = {
21722 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21728 arg2
= (bool) SWIG_AsBool(obj1
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21730 arg3
= (double) SWIG_AsDouble(obj2
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21732 arg4
= (double) SWIG_AsDouble(obj3
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21735 arg5
= (int) SWIG_AsInt(obj4
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21739 arg6
= (int) SWIG_AsInt(obj5
);
21740 if (PyErr_Occurred()) SWIG_fail
;
21743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21744 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21749 Py_INCREF(Py_None
); resultobj
= Py_None
;
21756 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21757 PyObject
*resultobj
;
21758 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21761 int arg4
= (int) 0 ;
21762 int arg5
= (int) 0 ;
21763 PyObject
* obj0
= 0 ;
21764 PyObject
* obj1
= 0 ;
21765 PyObject
* obj2
= 0 ;
21766 PyObject
* obj3
= 0 ;
21767 PyObject
* obj4
= 0 ;
21768 char *kwnames
[] = {
21769 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21775 arg2
= (double) SWIG_AsDouble(obj1
);
21776 if (PyErr_Occurred()) SWIG_fail
;
21777 arg3
= (double) SWIG_AsDouble(obj2
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21780 arg4
= (int) SWIG_AsInt(obj3
);
21781 if (PyErr_Occurred()) SWIG_fail
;
21784 arg5
= (int) SWIG_AsInt(obj4
);
21785 if (PyErr_Occurred()) SWIG_fail
;
21788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21789 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
21791 wxPyEndAllowThreads(__tstate
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21794 Py_INCREF(Py_None
); resultobj
= Py_None
;
21801 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21802 PyObject
*resultobj
;
21803 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21806 int arg4
= (int) 0 ;
21807 int arg5
= (int) 0 ;
21808 PyObject
* obj0
= 0 ;
21809 PyObject
* obj1
= 0 ;
21810 PyObject
* obj2
= 0 ;
21811 PyObject
* obj3
= 0 ;
21812 PyObject
* obj4
= 0 ;
21813 char *kwnames
[] = {
21814 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21820 arg2
= (double) SWIG_AsDouble(obj1
);
21821 if (PyErr_Occurred()) SWIG_fail
;
21822 arg3
= (double) SWIG_AsDouble(obj2
);
21823 if (PyErr_Occurred()) SWIG_fail
;
21825 arg4
= (int) SWIG_AsInt(obj3
);
21826 if (PyErr_Occurred()) SWIG_fail
;
21829 arg5
= (int) SWIG_AsInt(obj4
);
21830 if (PyErr_Occurred()) SWIG_fail
;
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
21836 wxPyEndAllowThreads(__tstate
);
21837 if (PyErr_Occurred()) SWIG_fail
;
21839 Py_INCREF(Py_None
); resultobj
= Py_None
;
21846 static PyObject
*_wrap_PyDivisionShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21847 PyObject
*resultobj
;
21848 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21854 PyObject
* obj0
= 0 ;
21855 PyObject
* obj1
= 0 ;
21856 PyObject
* obj2
= 0 ;
21857 PyObject
* obj3
= 0 ;
21858 PyObject
* obj4
= 0 ;
21859 PyObject
* obj5
= 0 ;
21860 char *kwnames
[] = {
21861 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
21864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDivisionShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21868 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21870 if (arg2
== NULL
) {
21871 PyErr_SetString(PyExc_TypeError
,"null reference");
21874 arg3
= (double) SWIG_AsDouble(obj2
);
21875 if (PyErr_Occurred()) SWIG_fail
;
21876 arg4
= (double) SWIG_AsDouble(obj3
);
21877 if (PyErr_Occurred()) SWIG_fail
;
21878 arg5
= (double) SWIG_AsDouble(obj4
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21880 arg6
= (double) SWIG_AsDouble(obj5
);
21881 if (PyErr_Occurred()) SWIG_fail
;
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21889 Py_INCREF(Py_None
); resultobj
= Py_None
;
21896 static PyObject
*_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21897 PyObject
*resultobj
;
21898 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21900 PyObject
* obj0
= 0 ;
21901 PyObject
* obj1
= 0 ;
21902 char *kwnames
[] = {
21903 (char *) "self",(char *) "dc", NULL
21906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
21907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21910 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21912 if (arg2
== NULL
) {
21913 PyErr_SetString(PyExc_TypeError
,"null reference");
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 (arg1
)->base_OnDrawControlPoints(*arg2
);
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21923 Py_INCREF(Py_None
); resultobj
= Py_None
;
21930 static PyObject
*_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21931 PyObject
*resultobj
;
21932 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21934 PyObject
* obj0
= 0 ;
21935 PyObject
* obj1
= 0 ;
21936 char *kwnames
[] = {
21937 (char *) "self",(char *) "dc", NULL
21940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
21941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21946 if (arg2
== NULL
) {
21947 PyErr_SetString(PyExc_TypeError
,"null reference");
21951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21952 (arg1
)->base_OnEraseControlPoints(*arg2
);
21954 wxPyEndAllowThreads(__tstate
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21957 Py_INCREF(Py_None
); resultobj
= Py_None
;
21964 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21965 PyObject
*resultobj
;
21966 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21968 bool arg3
= (bool) True
;
21969 PyObject
* obj0
= 0 ;
21970 PyObject
* obj1
= 0 ;
21971 PyObject
* obj2
= 0 ;
21972 char *kwnames
[] = {
21973 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
21976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21982 if (arg2
== NULL
) {
21983 PyErr_SetString(PyExc_TypeError
,"null reference");
21987 arg3
= (bool) SWIG_AsBool(obj2
);
21988 if (PyErr_Occurred()) SWIG_fail
;
21991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21992 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
21994 wxPyEndAllowThreads(__tstate
);
21995 if (PyErr_Occurred()) SWIG_fail
;
21997 Py_INCREF(Py_None
); resultobj
= Py_None
;
22004 static PyObject
*_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22005 PyObject
*resultobj
;
22006 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22007 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22011 int arg6
= (int) 0 ;
22012 int arg7
= (int) 0 ;
22013 PyObject
* obj0
= 0 ;
22014 PyObject
* obj1
= 0 ;
22015 PyObject
* obj2
= 0 ;
22016 PyObject
* obj3
= 0 ;
22017 PyObject
* obj4
= 0 ;
22018 PyObject
* obj5
= 0 ;
22019 PyObject
* obj6
= 0 ;
22020 char *kwnames
[] = {
22021 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDivisionShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
22028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22029 arg3
= (bool) SWIG_AsBool(obj2
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22031 arg4
= (double) SWIG_AsDouble(obj3
);
22032 if (PyErr_Occurred()) SWIG_fail
;
22033 arg5
= (double) SWIG_AsDouble(obj4
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22036 arg6
= (int) SWIG_AsInt(obj5
);
22037 if (PyErr_Occurred()) SWIG_fail
;
22040 arg7
= (int) SWIG_AsInt(obj6
);
22041 if (PyErr_Occurred()) SWIG_fail
;
22044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22045 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22047 wxPyEndAllowThreads(__tstate
);
22048 if (PyErr_Occurred()) SWIG_fail
;
22050 Py_INCREF(Py_None
); resultobj
= Py_None
;
22057 static PyObject
*_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22058 PyObject
*resultobj
;
22059 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22060 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22063 int arg5
= (int) 0 ;
22064 int arg6
= (int) 0 ;
22065 PyObject
* obj0
= 0 ;
22066 PyObject
* obj1
= 0 ;
22067 PyObject
* obj2
= 0 ;
22068 PyObject
* obj3
= 0 ;
22069 PyObject
* obj4
= 0 ;
22070 PyObject
* obj5
= 0 ;
22071 char *kwnames
[] = {
22072 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
22079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22080 arg3
= (double) SWIG_AsDouble(obj2
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22082 arg4
= (double) SWIG_AsDouble(obj3
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22085 arg5
= (int) SWIG_AsInt(obj4
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22089 arg6
= (int) SWIG_AsInt(obj5
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22094 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22096 wxPyEndAllowThreads(__tstate
);
22097 if (PyErr_Occurred()) SWIG_fail
;
22099 Py_INCREF(Py_None
); resultobj
= Py_None
;
22106 static PyObject
*_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22107 PyObject
*resultobj
;
22108 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22109 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22112 int arg5
= (int) 0 ;
22113 int arg6
= (int) 0 ;
22114 PyObject
* obj0
= 0 ;
22115 PyObject
* obj1
= 0 ;
22116 PyObject
* obj2
= 0 ;
22117 PyObject
* obj3
= 0 ;
22118 PyObject
* obj4
= 0 ;
22119 PyObject
* obj5
= 0 ;
22120 char *kwnames
[] = {
22121 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
22128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22129 arg3
= (double) SWIG_AsDouble(obj2
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22131 arg4
= (double) SWIG_AsDouble(obj3
);
22132 if (PyErr_Occurred()) SWIG_fail
;
22134 arg5
= (int) SWIG_AsInt(obj4
);
22135 if (PyErr_Occurred()) SWIG_fail
;
22138 arg6
= (int) SWIG_AsInt(obj5
);
22139 if (PyErr_Occurred()) SWIG_fail
;
22142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22143 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22145 wxPyEndAllowThreads(__tstate
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22148 Py_INCREF(Py_None
); resultobj
= Py_None
;
22155 static PyObject
*_wrap_PyDivisionShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22156 PyObject
*resultobj
;
22157 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22160 PyObject
* obj0
= 0 ;
22161 PyObject
* obj1
= 0 ;
22162 PyObject
* obj2
= 0 ;
22163 char *kwnames
[] = {
22164 (char *) "self",(char *) "w",(char *) "h", NULL
22167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22170 arg2
= (double) SWIG_AsDouble(obj1
);
22171 if (PyErr_Occurred()) SWIG_fail
;
22172 arg3
= (double) SWIG_AsDouble(obj2
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22176 (arg1
)->base_OnBeginSize(arg2
,arg3
);
22178 wxPyEndAllowThreads(__tstate
);
22179 if (PyErr_Occurred()) SWIG_fail
;
22181 Py_INCREF(Py_None
); resultobj
= Py_None
;
22188 static PyObject
*_wrap_PyDivisionShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22189 PyObject
*resultobj
;
22190 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22193 PyObject
* obj0
= 0 ;
22194 PyObject
* obj1
= 0 ;
22195 PyObject
* obj2
= 0 ;
22196 char *kwnames
[] = {
22197 (char *) "self",(char *) "w",(char *) "h", NULL
22200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22203 arg2
= (double) SWIG_AsDouble(obj1
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22205 arg3
= (double) SWIG_AsDouble(obj2
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22209 (arg1
)->base_OnEndSize(arg2
,arg3
);
22211 wxPyEndAllowThreads(__tstate
);
22212 if (PyErr_Occurred()) SWIG_fail
;
22214 Py_INCREF(Py_None
); resultobj
= Py_None
;
22221 static PyObject
* PyDivisionShape_swigregister(PyObject
*self
, PyObject
*args
) {
22223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22224 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape
, obj
);
22226 return Py_BuildValue((char *)"");
22228 static PyObject
*_wrap_new_PyEllipseShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22229 PyObject
*resultobj
;
22230 double arg1
= (double) 0.0 ;
22231 double arg2
= (double) 0.0 ;
22232 wxPyEllipseShape
*result
;
22233 PyObject
* obj0
= 0 ;
22234 PyObject
* obj1
= 0 ;
22235 char *kwnames
[] = {
22236 (char *) "width",(char *) "height", NULL
22239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEllipseShape",kwnames
,&obj0
,&obj1
)) goto fail
;
22241 arg1
= (double) SWIG_AsDouble(obj0
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22245 arg2
= (double) SWIG_AsDouble(obj1
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22250 result
= (wxPyEllipseShape
*)new wxPyEllipseShape(arg1
,arg2
);
22252 wxPyEndAllowThreads(__tstate
);
22253 if (PyErr_Occurred()) SWIG_fail
;
22255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEllipseShape
, 1);
22262 static PyObject
*_wrap_PyEllipseShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22263 PyObject
*resultobj
;
22264 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22265 PyObject
*arg2
= (PyObject
*) 0 ;
22266 PyObject
*arg3
= (PyObject
*) 0 ;
22267 PyObject
* obj0
= 0 ;
22268 PyObject
* obj1
= 0 ;
22269 PyObject
* obj2
= 0 ;
22270 char *kwnames
[] = {
22271 (char *) "self",(char *) "self",(char *) "_class", NULL
22274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22283 wxPyEndAllowThreads(__tstate
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22286 Py_INCREF(Py_None
); resultobj
= Py_None
;
22293 static PyObject
*_wrap_PyEllipseShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22294 PyObject
*resultobj
;
22295 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22297 PyObject
* obj0
= 0 ;
22298 PyObject
* obj1
= 0 ;
22299 char *kwnames
[] = {
22300 (char *) "self",(char *) "dc", NULL
22303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
22304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22307 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22309 if (arg2
== NULL
) {
22310 PyErr_SetString(PyExc_TypeError
,"null reference");
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 (arg1
)->base_OnDraw(*arg2
);
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22320 Py_INCREF(Py_None
); resultobj
= Py_None
;
22327 static PyObject
*_wrap_PyEllipseShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22328 PyObject
*resultobj
;
22329 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22331 PyObject
* obj0
= 0 ;
22332 PyObject
* obj1
= 0 ;
22333 char *kwnames
[] = {
22334 (char *) "self",(char *) "dc", NULL
22337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22341 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22343 if (arg2
== NULL
) {
22344 PyErr_SetString(PyExc_TypeError
,"null reference");
22348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22349 (arg1
)->base_OnDrawContents(*arg2
);
22351 wxPyEndAllowThreads(__tstate
);
22352 if (PyErr_Occurred()) SWIG_fail
;
22354 Py_INCREF(Py_None
); resultobj
= Py_None
;
22361 static PyObject
*_wrap_PyEllipseShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22362 PyObject
*resultobj
;
22363 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22365 bool arg3
= (bool) FALSE
;
22366 PyObject
* obj0
= 0 ;
22367 PyObject
* obj1
= 0 ;
22368 PyObject
* obj2
= 0 ;
22369 char *kwnames
[] = {
22370 (char *) "self",(char *) "dc",(char *) "erase", NULL
22373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22377 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22379 if (arg2
== NULL
) {
22380 PyErr_SetString(PyExc_TypeError
,"null reference");
22384 arg3
= (bool) SWIG_AsBool(obj2
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22389 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
22391 wxPyEndAllowThreads(__tstate
);
22392 if (PyErr_Occurred()) SWIG_fail
;
22394 Py_INCREF(Py_None
); resultobj
= Py_None
;
22401 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22402 PyObject
*resultobj
;
22403 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22405 PyObject
* obj0
= 0 ;
22406 PyObject
* obj1
= 0 ;
22407 char *kwnames
[] = {
22408 (char *) "self",(char *) "dc", NULL
22411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
22412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22415 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22417 if (arg2
== NULL
) {
22418 PyErr_SetString(PyExc_TypeError
,"null reference");
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 (arg1
)->base_OnMoveLinks(*arg2
);
22425 wxPyEndAllowThreads(__tstate
);
22426 if (PyErr_Occurred()) SWIG_fail
;
22428 Py_INCREF(Py_None
); resultobj
= Py_None
;
22435 static PyObject
*_wrap_PyEllipseShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22436 PyObject
*resultobj
;
22437 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22439 PyObject
* obj0
= 0 ;
22440 PyObject
* obj1
= 0 ;
22441 char *kwnames
[] = {
22442 (char *) "self",(char *) "dc", NULL
22445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
22446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22449 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22451 if (arg2
== NULL
) {
22452 PyErr_SetString(PyExc_TypeError
,"null reference");
22456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22457 (arg1
)->base_OnErase(*arg2
);
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22462 Py_INCREF(Py_None
); resultobj
= Py_None
;
22469 static PyObject
*_wrap_PyEllipseShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22470 PyObject
*resultobj
;
22471 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22473 PyObject
* obj0
= 0 ;
22474 PyObject
* obj1
= 0 ;
22475 char *kwnames
[] = {
22476 (char *) "self",(char *) "dc", NULL
22479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22483 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22485 if (arg2
== NULL
) {
22486 PyErr_SetString(PyExc_TypeError
,"null reference");
22490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22491 (arg1
)->base_OnEraseContents(*arg2
);
22493 wxPyEndAllowThreads(__tstate
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22496 Py_INCREF(Py_None
); resultobj
= Py_None
;
22503 static PyObject
*_wrap_PyEllipseShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22504 PyObject
*resultobj
;
22505 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22507 PyObject
* obj0
= 0 ;
22508 PyObject
* obj1
= 0 ;
22509 char *kwnames
[] = {
22510 (char *) "self",(char *) "dc", NULL
22513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
22514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22519 if (arg2
== NULL
) {
22520 PyErr_SetString(PyExc_TypeError
,"null reference");
22524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22525 (arg1
)->base_OnHighlight(*arg2
);
22527 wxPyEndAllowThreads(__tstate
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22530 Py_INCREF(Py_None
); resultobj
= Py_None
;
22537 static PyObject
*_wrap_PyEllipseShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22538 PyObject
*resultobj
;
22539 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22542 int arg4
= (int) 0 ;
22543 int arg5
= (int) 0 ;
22544 PyObject
* obj0
= 0 ;
22545 PyObject
* obj1
= 0 ;
22546 PyObject
* obj2
= 0 ;
22547 PyObject
* obj3
= 0 ;
22548 PyObject
* obj4
= 0 ;
22549 char *kwnames
[] = {
22550 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22556 arg2
= (double) SWIG_AsDouble(obj1
);
22557 if (PyErr_Occurred()) SWIG_fail
;
22558 arg3
= (double) SWIG_AsDouble(obj2
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22561 arg4
= (int) SWIG_AsInt(obj3
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22565 arg5
= (int) SWIG_AsInt(obj4
);
22566 if (PyErr_Occurred()) SWIG_fail
;
22569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22570 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
22572 wxPyEndAllowThreads(__tstate
);
22573 if (PyErr_Occurred()) SWIG_fail
;
22575 Py_INCREF(Py_None
); resultobj
= Py_None
;
22582 static PyObject
*_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22583 PyObject
*resultobj
;
22584 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22587 int arg4
= (int) 0 ;
22588 int arg5
= (int) 0 ;
22589 PyObject
* obj0
= 0 ;
22590 PyObject
* obj1
= 0 ;
22591 PyObject
* obj2
= 0 ;
22592 PyObject
* obj3
= 0 ;
22593 PyObject
* obj4
= 0 ;
22594 char *kwnames
[] = {
22595 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22601 arg2
= (double) SWIG_AsDouble(obj1
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22603 arg3
= (double) SWIG_AsDouble(obj2
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22606 arg4
= (int) SWIG_AsInt(obj3
);
22607 if (PyErr_Occurred()) SWIG_fail
;
22610 arg5
= (int) SWIG_AsInt(obj4
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22615 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
22617 wxPyEndAllowThreads(__tstate
);
22618 if (PyErr_Occurred()) SWIG_fail
;
22620 Py_INCREF(Py_None
); resultobj
= Py_None
;
22627 static PyObject
*_wrap_PyEllipseShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22628 PyObject
*resultobj
;
22629 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22632 int arg4
= (int) 0 ;
22633 int arg5
= (int) 0 ;
22634 PyObject
* obj0
= 0 ;
22635 PyObject
* obj1
= 0 ;
22636 PyObject
* obj2
= 0 ;
22637 PyObject
* obj3
= 0 ;
22638 PyObject
* obj4
= 0 ;
22639 char *kwnames
[] = {
22640 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22646 arg2
= (double) SWIG_AsDouble(obj1
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22648 arg3
= (double) SWIG_AsDouble(obj2
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22651 arg4
= (int) SWIG_AsInt(obj3
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22655 arg5
= (int) SWIG_AsInt(obj4
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22660 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
22662 wxPyEndAllowThreads(__tstate
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22665 Py_INCREF(Py_None
); resultobj
= Py_None
;
22672 static PyObject
*_wrap_PyEllipseShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22673 PyObject
*resultobj
;
22674 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22677 PyObject
* obj0
= 0 ;
22678 PyObject
* obj1
= 0 ;
22679 PyObject
* obj2
= 0 ;
22680 char *kwnames
[] = {
22681 (char *) "self",(char *) "x",(char *) "y", NULL
22684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22687 arg2
= (double) SWIG_AsDouble(obj1
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22689 arg3
= (double) SWIG_AsDouble(obj2
);
22690 if (PyErr_Occurred()) SWIG_fail
;
22692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22693 (arg1
)->base_OnSize(arg2
,arg3
);
22695 wxPyEndAllowThreads(__tstate
);
22696 if (PyErr_Occurred()) SWIG_fail
;
22698 Py_INCREF(Py_None
); resultobj
= Py_None
;
22705 static PyObject
*_wrap_PyEllipseShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22706 PyObject
*resultobj
;
22707 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22713 bool arg7
= (bool) True
;
22715 PyObject
* obj0
= 0 ;
22716 PyObject
* obj1
= 0 ;
22717 PyObject
* obj2
= 0 ;
22718 PyObject
* obj3
= 0 ;
22719 PyObject
* obj4
= 0 ;
22720 PyObject
* obj5
= 0 ;
22721 PyObject
* obj6
= 0 ;
22722 char *kwnames
[] = {
22723 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22730 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22732 if (arg2
== NULL
) {
22733 PyErr_SetString(PyExc_TypeError
,"null reference");
22736 arg3
= (double) SWIG_AsDouble(obj2
);
22737 if (PyErr_Occurred()) SWIG_fail
;
22738 arg4
= (double) SWIG_AsDouble(obj3
);
22739 if (PyErr_Occurred()) SWIG_fail
;
22740 arg5
= (double) SWIG_AsDouble(obj4
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22742 arg6
= (double) SWIG_AsDouble(obj5
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22745 arg7
= (bool) SWIG_AsBool(obj6
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22750 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22752 wxPyEndAllowThreads(__tstate
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22764 static PyObject
*_wrap_PyEllipseShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22765 PyObject
*resultobj
;
22766 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22772 bool arg7
= (bool) True
;
22773 PyObject
* obj0
= 0 ;
22774 PyObject
* obj1
= 0 ;
22775 PyObject
* obj2
= 0 ;
22776 PyObject
* obj3
= 0 ;
22777 PyObject
* obj4
= 0 ;
22778 PyObject
* obj5
= 0 ;
22779 PyObject
* obj6
= 0 ;
22780 char *kwnames
[] = {
22781 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22788 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22790 if (arg2
== NULL
) {
22791 PyErr_SetString(PyExc_TypeError
,"null reference");
22794 arg3
= (double) SWIG_AsDouble(obj2
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22796 arg4
= (double) SWIG_AsDouble(obj3
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22798 arg5
= (double) SWIG_AsDouble(obj4
);
22799 if (PyErr_Occurred()) SWIG_fail
;
22800 arg6
= (double) SWIG_AsDouble(obj5
);
22801 if (PyErr_Occurred()) SWIG_fail
;
22803 arg7
= (bool) SWIG_AsBool(obj6
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22808 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22810 wxPyEndAllowThreads(__tstate
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22813 Py_INCREF(Py_None
); resultobj
= Py_None
;
22820 static PyObject
*_wrap_PyEllipseShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22821 PyObject
*resultobj
;
22822 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22826 int arg5
= (int) 0 ;
22827 int arg6
= (int) 0 ;
22828 PyObject
* obj0
= 0 ;
22829 PyObject
* obj1
= 0 ;
22830 PyObject
* obj2
= 0 ;
22831 PyObject
* obj3
= 0 ;
22832 PyObject
* obj4
= 0 ;
22833 PyObject
* obj5
= 0 ;
22834 char *kwnames
[] = {
22835 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22841 arg2
= (bool) SWIG_AsBool(obj1
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22843 arg3
= (double) SWIG_AsDouble(obj2
);
22844 if (PyErr_Occurred()) SWIG_fail
;
22845 arg4
= (double) SWIG_AsDouble(obj3
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22848 arg5
= (int) SWIG_AsInt(obj4
);
22849 if (PyErr_Occurred()) SWIG_fail
;
22852 arg6
= (int) SWIG_AsInt(obj5
);
22853 if (PyErr_Occurred()) SWIG_fail
;
22856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22857 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22859 wxPyEndAllowThreads(__tstate
);
22860 if (PyErr_Occurred()) SWIG_fail
;
22862 Py_INCREF(Py_None
); resultobj
= Py_None
;
22869 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22870 PyObject
*resultobj
;
22871 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22874 int arg4
= (int) 0 ;
22875 int arg5
= (int) 0 ;
22876 PyObject
* obj0
= 0 ;
22877 PyObject
* obj1
= 0 ;
22878 PyObject
* obj2
= 0 ;
22879 PyObject
* obj3
= 0 ;
22880 PyObject
* obj4
= 0 ;
22881 char *kwnames
[] = {
22882 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22888 arg2
= (double) SWIG_AsDouble(obj1
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22890 arg3
= (double) SWIG_AsDouble(obj2
);
22891 if (PyErr_Occurred()) SWIG_fail
;
22893 arg4
= (int) SWIG_AsInt(obj3
);
22894 if (PyErr_Occurred()) SWIG_fail
;
22897 arg5
= (int) SWIG_AsInt(obj4
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22902 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
22904 wxPyEndAllowThreads(__tstate
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22907 Py_INCREF(Py_None
); resultobj
= Py_None
;
22914 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22915 PyObject
*resultobj
;
22916 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22919 int arg4
= (int) 0 ;
22920 int arg5
= (int) 0 ;
22921 PyObject
* obj0
= 0 ;
22922 PyObject
* obj1
= 0 ;
22923 PyObject
* obj2
= 0 ;
22924 PyObject
* obj3
= 0 ;
22925 PyObject
* obj4
= 0 ;
22926 char *kwnames
[] = {
22927 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22933 arg2
= (double) SWIG_AsDouble(obj1
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22935 arg3
= (double) SWIG_AsDouble(obj2
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22938 arg4
= (int) SWIG_AsInt(obj3
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22942 arg5
= (int) SWIG_AsInt(obj4
);
22943 if (PyErr_Occurred()) SWIG_fail
;
22946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22947 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
22949 wxPyEndAllowThreads(__tstate
);
22950 if (PyErr_Occurred()) SWIG_fail
;
22952 Py_INCREF(Py_None
); resultobj
= Py_None
;
22959 static PyObject
*_wrap_PyEllipseShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22960 PyObject
*resultobj
;
22961 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22965 int arg5
= (int) 0 ;
22966 int arg6
= (int) 0 ;
22967 PyObject
* obj0
= 0 ;
22968 PyObject
* obj1
= 0 ;
22969 PyObject
* obj2
= 0 ;
22970 PyObject
* obj3
= 0 ;
22971 PyObject
* obj4
= 0 ;
22972 PyObject
* obj5
= 0 ;
22973 char *kwnames
[] = {
22974 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22980 arg2
= (bool) SWIG_AsBool(obj1
);
22981 if (PyErr_Occurred()) SWIG_fail
;
22982 arg3
= (double) SWIG_AsDouble(obj2
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22984 arg4
= (double) SWIG_AsDouble(obj3
);
22985 if (PyErr_Occurred()) SWIG_fail
;
22987 arg5
= (int) SWIG_AsInt(obj4
);
22988 if (PyErr_Occurred()) SWIG_fail
;
22991 arg6
= (int) SWIG_AsInt(obj5
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22996 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
22998 wxPyEndAllowThreads(__tstate
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23001 Py_INCREF(Py_None
); resultobj
= Py_None
;
23008 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23009 PyObject
*resultobj
;
23010 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23013 int arg4
= (int) 0 ;
23014 int arg5
= (int) 0 ;
23015 PyObject
* obj0
= 0 ;
23016 PyObject
* obj1
= 0 ;
23017 PyObject
* obj2
= 0 ;
23018 PyObject
* obj3
= 0 ;
23019 PyObject
* obj4
= 0 ;
23020 char *kwnames
[] = {
23021 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23027 arg2
= (double) SWIG_AsDouble(obj1
);
23028 if (PyErr_Occurred()) SWIG_fail
;
23029 arg3
= (double) SWIG_AsDouble(obj2
);
23030 if (PyErr_Occurred()) SWIG_fail
;
23032 arg4
= (int) SWIG_AsInt(obj3
);
23033 if (PyErr_Occurred()) SWIG_fail
;
23036 arg5
= (int) SWIG_AsInt(obj4
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 Py_INCREF(Py_None
); resultobj
= Py_None
;
23053 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23054 PyObject
*resultobj
;
23055 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23058 int arg4
= (int) 0 ;
23059 int arg5
= (int) 0 ;
23060 PyObject
* obj0
= 0 ;
23061 PyObject
* obj1
= 0 ;
23062 PyObject
* obj2
= 0 ;
23063 PyObject
* obj3
= 0 ;
23064 PyObject
* obj4
= 0 ;
23065 char *kwnames
[] = {
23066 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23072 arg2
= (double) SWIG_AsDouble(obj1
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23074 arg3
= (double) SWIG_AsDouble(obj2
);
23075 if (PyErr_Occurred()) SWIG_fail
;
23077 arg4
= (int) SWIG_AsInt(obj3
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23081 arg5
= (int) SWIG_AsInt(obj4
);
23082 if (PyErr_Occurred()) SWIG_fail
;
23085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23086 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
23088 wxPyEndAllowThreads(__tstate
);
23089 if (PyErr_Occurred()) SWIG_fail
;
23091 Py_INCREF(Py_None
); resultobj
= Py_None
;
23098 static PyObject
*_wrap_PyEllipseShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23099 PyObject
*resultobj
;
23100 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23106 PyObject
* obj0
= 0 ;
23107 PyObject
* obj1
= 0 ;
23108 PyObject
* obj2
= 0 ;
23109 PyObject
* obj3
= 0 ;
23110 PyObject
* obj4
= 0 ;
23111 PyObject
* obj5
= 0 ;
23112 char *kwnames
[] = {
23113 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyEllipseShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23120 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23122 if (arg2
== NULL
) {
23123 PyErr_SetString(PyExc_TypeError
,"null reference");
23126 arg3
= (double) SWIG_AsDouble(obj2
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23128 arg4
= (double) SWIG_AsDouble(obj3
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23130 arg5
= (double) SWIG_AsDouble(obj4
);
23131 if (PyErr_Occurred()) SWIG_fail
;
23132 arg6
= (double) SWIG_AsDouble(obj5
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23136 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
23138 wxPyEndAllowThreads(__tstate
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23141 Py_INCREF(Py_None
); resultobj
= Py_None
;
23148 static PyObject
*_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23149 PyObject
*resultobj
;
23150 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23152 PyObject
* obj0
= 0 ;
23153 PyObject
* obj1
= 0 ;
23154 char *kwnames
[] = {
23155 (char *) "self",(char *) "dc", NULL
23158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23162 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23164 if (arg2
== NULL
) {
23165 PyErr_SetString(PyExc_TypeError
,"null reference");
23169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23170 (arg1
)->base_OnDrawControlPoints(*arg2
);
23172 wxPyEndAllowThreads(__tstate
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23175 Py_INCREF(Py_None
); resultobj
= Py_None
;
23182 static PyObject
*_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23183 PyObject
*resultobj
;
23184 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23186 PyObject
* obj0
= 0 ;
23187 PyObject
* obj1
= 0 ;
23188 char *kwnames
[] = {
23189 (char *) "self",(char *) "dc", NULL
23192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23196 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23198 if (arg2
== NULL
) {
23199 PyErr_SetString(PyExc_TypeError
,"null reference");
23203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 (arg1
)->base_OnEraseControlPoints(*arg2
);
23206 wxPyEndAllowThreads(__tstate
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23209 Py_INCREF(Py_None
); resultobj
= Py_None
;
23216 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23217 PyObject
*resultobj
;
23218 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23220 bool arg3
= (bool) True
;
23221 PyObject
* obj0
= 0 ;
23222 PyObject
* obj1
= 0 ;
23223 PyObject
* obj2
= 0 ;
23224 char *kwnames
[] = {
23225 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23234 if (arg2
== NULL
) {
23235 PyErr_SetString(PyExc_TypeError
,"null reference");
23239 arg3
= (bool) SWIG_AsBool(obj2
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23244 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
23246 wxPyEndAllowThreads(__tstate
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23249 Py_INCREF(Py_None
); resultobj
= Py_None
;
23256 static PyObject
*_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23257 PyObject
*resultobj
;
23258 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23259 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23263 int arg6
= (int) 0 ;
23264 int arg7
= (int) 0 ;
23265 PyObject
* obj0
= 0 ;
23266 PyObject
* obj1
= 0 ;
23267 PyObject
* obj2
= 0 ;
23268 PyObject
* obj3
= 0 ;
23269 PyObject
* obj4
= 0 ;
23270 PyObject
* obj5
= 0 ;
23271 PyObject
* obj6
= 0 ;
23272 char *kwnames
[] = {
23273 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyEllipseShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23281 arg3
= (bool) SWIG_AsBool(obj2
);
23282 if (PyErr_Occurred()) SWIG_fail
;
23283 arg4
= (double) SWIG_AsDouble(obj3
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23285 arg5
= (double) SWIG_AsDouble(obj4
);
23286 if (PyErr_Occurred()) SWIG_fail
;
23288 arg6
= (int) SWIG_AsInt(obj5
);
23289 if (PyErr_Occurred()) SWIG_fail
;
23292 arg7
= (int) SWIG_AsInt(obj6
);
23293 if (PyErr_Occurred()) SWIG_fail
;
23296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23297 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23299 wxPyEndAllowThreads(__tstate
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23302 Py_INCREF(Py_None
); resultobj
= Py_None
;
23309 static PyObject
*_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23310 PyObject
*resultobj
;
23311 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23312 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23315 int arg5
= (int) 0 ;
23316 int arg6
= (int) 0 ;
23317 PyObject
* obj0
= 0 ;
23318 PyObject
* obj1
= 0 ;
23319 PyObject
* obj2
= 0 ;
23320 PyObject
* obj3
= 0 ;
23321 PyObject
* obj4
= 0 ;
23322 PyObject
* obj5
= 0 ;
23323 char *kwnames
[] = {
23324 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23330 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23332 arg3
= (double) SWIG_AsDouble(obj2
);
23333 if (PyErr_Occurred()) SWIG_fail
;
23334 arg4
= (double) SWIG_AsDouble(obj3
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23337 arg5
= (int) SWIG_AsInt(obj4
);
23338 if (PyErr_Occurred()) SWIG_fail
;
23341 arg6
= (int) SWIG_AsInt(obj5
);
23342 if (PyErr_Occurred()) SWIG_fail
;
23345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23346 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23351 Py_INCREF(Py_None
); resultobj
= Py_None
;
23358 static PyObject
*_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23359 PyObject
*resultobj
;
23360 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23361 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23364 int arg5
= (int) 0 ;
23365 int arg6
= (int) 0 ;
23366 PyObject
* obj0
= 0 ;
23367 PyObject
* obj1
= 0 ;
23368 PyObject
* obj2
= 0 ;
23369 PyObject
* obj3
= 0 ;
23370 PyObject
* obj4
= 0 ;
23371 PyObject
* obj5
= 0 ;
23372 char *kwnames
[] = {
23373 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23379 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23381 arg3
= (double) SWIG_AsDouble(obj2
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23383 arg4
= (double) SWIG_AsDouble(obj3
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23386 arg5
= (int) SWIG_AsInt(obj4
);
23387 if (PyErr_Occurred()) SWIG_fail
;
23390 arg6
= (int) SWIG_AsInt(obj5
);
23391 if (PyErr_Occurred()) SWIG_fail
;
23394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23395 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23397 wxPyEndAllowThreads(__tstate
);
23398 if (PyErr_Occurred()) SWIG_fail
;
23400 Py_INCREF(Py_None
); resultobj
= Py_None
;
23407 static PyObject
*_wrap_PyEllipseShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23408 PyObject
*resultobj
;
23409 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23412 PyObject
* obj0
= 0 ;
23413 PyObject
* obj1
= 0 ;
23414 PyObject
* obj2
= 0 ;
23415 char *kwnames
[] = {
23416 (char *) "self",(char *) "w",(char *) "h", NULL
23419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23422 arg2
= (double) SWIG_AsDouble(obj1
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23424 arg3
= (double) SWIG_AsDouble(obj2
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 (arg1
)->base_OnBeginSize(arg2
,arg3
);
23430 wxPyEndAllowThreads(__tstate
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23433 Py_INCREF(Py_None
); resultobj
= Py_None
;
23440 static PyObject
*_wrap_PyEllipseShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23441 PyObject
*resultobj
;
23442 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23445 PyObject
* obj0
= 0 ;
23446 PyObject
* obj1
= 0 ;
23447 PyObject
* obj2
= 0 ;
23448 char *kwnames
[] = {
23449 (char *) "self",(char *) "w",(char *) "h", NULL
23452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23455 arg2
= (double) SWIG_AsDouble(obj1
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23457 arg3
= (double) SWIG_AsDouble(obj2
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23461 (arg1
)->base_OnEndSize(arg2
,arg3
);
23463 wxPyEndAllowThreads(__tstate
);
23464 if (PyErr_Occurred()) SWIG_fail
;
23466 Py_INCREF(Py_None
); resultobj
= Py_None
;
23473 static PyObject
* PyEllipseShape_swigregister(PyObject
*self
, PyObject
*args
) {
23475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23476 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape
, obj
);
23478 return Py_BuildValue((char *)"");
23480 static PyObject
*_wrap_new_PyCircleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
;
23482 double arg1
= (double) 0.0 ;
23483 wxPyCircleShape
*result
;
23484 PyObject
* obj0
= 0 ;
23485 char *kwnames
[] = {
23486 (char *) "width", NULL
23489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyCircleShape",kwnames
,&obj0
)) goto fail
;
23491 arg1
= (double) SWIG_AsDouble(obj0
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23496 result
= (wxPyCircleShape
*)new wxPyCircleShape(arg1
);
23498 wxPyEndAllowThreads(__tstate
);
23499 if (PyErr_Occurred()) SWIG_fail
;
23501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCircleShape
, 1);
23508 static PyObject
*_wrap_PyCircleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23509 PyObject
*resultobj
;
23510 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23511 PyObject
*arg2
= (PyObject
*) 0 ;
23512 PyObject
*arg3
= (PyObject
*) 0 ;
23513 PyObject
* obj0
= 0 ;
23514 PyObject
* obj1
= 0 ;
23515 PyObject
* obj2
= 0 ;
23516 char *kwnames
[] = {
23517 (char *) "self",(char *) "self",(char *) "_class", NULL
23520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23529 wxPyEndAllowThreads(__tstate
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23532 Py_INCREF(Py_None
); resultobj
= Py_None
;
23539 static PyObject
*_wrap_PyCircleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23540 PyObject
*resultobj
;
23541 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23543 PyObject
* obj0
= 0 ;
23544 PyObject
* obj1
= 0 ;
23545 char *kwnames
[] = {
23546 (char *) "self",(char *) "dc", NULL
23549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
23550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23553 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23555 if (arg2
== NULL
) {
23556 PyErr_SetString(PyExc_TypeError
,"null reference");
23560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23561 (arg1
)->base_OnDraw(*arg2
);
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23566 Py_INCREF(Py_None
); resultobj
= Py_None
;
23573 static PyObject
*_wrap_PyCircleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23574 PyObject
*resultobj
;
23575 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23577 PyObject
* obj0
= 0 ;
23578 PyObject
* obj1
= 0 ;
23579 char *kwnames
[] = {
23580 (char *) "self",(char *) "dc", NULL
23583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23587 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23589 if (arg2
== NULL
) {
23590 PyErr_SetString(PyExc_TypeError
,"null reference");
23594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23595 (arg1
)->base_OnDrawContents(*arg2
);
23597 wxPyEndAllowThreads(__tstate
);
23598 if (PyErr_Occurred()) SWIG_fail
;
23600 Py_INCREF(Py_None
); resultobj
= Py_None
;
23607 static PyObject
*_wrap_PyCircleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23608 PyObject
*resultobj
;
23609 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23611 bool arg3
= (bool) FALSE
;
23612 PyObject
* obj0
= 0 ;
23613 PyObject
* obj1
= 0 ;
23614 PyObject
* obj2
= 0 ;
23615 char *kwnames
[] = {
23616 (char *) "self",(char *) "dc",(char *) "erase", NULL
23619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23625 if (arg2
== NULL
) {
23626 PyErr_SetString(PyExc_TypeError
,"null reference");
23630 arg3
= (bool) SWIG_AsBool(obj2
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23640 Py_INCREF(Py_None
); resultobj
= Py_None
;
23647 static PyObject
*_wrap_PyCircleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23648 PyObject
*resultobj
;
23649 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23651 PyObject
* obj0
= 0 ;
23652 PyObject
* obj1
= 0 ;
23653 char *kwnames
[] = {
23654 (char *) "self",(char *) "dc", NULL
23657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
23658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23663 if (arg2
== NULL
) {
23664 PyErr_SetString(PyExc_TypeError
,"null reference");
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 (arg1
)->base_OnMoveLinks(*arg2
);
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23674 Py_INCREF(Py_None
); resultobj
= Py_None
;
23681 static PyObject
*_wrap_PyCircleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23682 PyObject
*resultobj
;
23683 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23685 PyObject
* obj0
= 0 ;
23686 PyObject
* obj1
= 0 ;
23687 char *kwnames
[] = {
23688 (char *) "self",(char *) "dc", NULL
23691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
23692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23695 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23697 if (arg2
== NULL
) {
23698 PyErr_SetString(PyExc_TypeError
,"null reference");
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 (arg1
)->base_OnErase(*arg2
);
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23708 Py_INCREF(Py_None
); resultobj
= Py_None
;
23715 static PyObject
*_wrap_PyCircleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23716 PyObject
*resultobj
;
23717 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23719 PyObject
* obj0
= 0 ;
23720 PyObject
* obj1
= 0 ;
23721 char *kwnames
[] = {
23722 (char *) "self",(char *) "dc", NULL
23725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23731 if (arg2
== NULL
) {
23732 PyErr_SetString(PyExc_TypeError
,"null reference");
23736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23737 (arg1
)->base_OnEraseContents(*arg2
);
23739 wxPyEndAllowThreads(__tstate
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23742 Py_INCREF(Py_None
); resultobj
= Py_None
;
23749 static PyObject
*_wrap_PyCircleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23750 PyObject
*resultobj
;
23751 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23753 PyObject
* obj0
= 0 ;
23754 PyObject
* obj1
= 0 ;
23755 char *kwnames
[] = {
23756 (char *) "self",(char *) "dc", NULL
23759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
23760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23763 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23765 if (arg2
== NULL
) {
23766 PyErr_SetString(PyExc_TypeError
,"null reference");
23770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23771 (arg1
)->base_OnHighlight(*arg2
);
23773 wxPyEndAllowThreads(__tstate
);
23774 if (PyErr_Occurred()) SWIG_fail
;
23776 Py_INCREF(Py_None
); resultobj
= Py_None
;
23783 static PyObject
*_wrap_PyCircleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23784 PyObject
*resultobj
;
23785 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23788 int arg4
= (int) 0 ;
23789 int arg5
= (int) 0 ;
23790 PyObject
* obj0
= 0 ;
23791 PyObject
* obj1
= 0 ;
23792 PyObject
* obj2
= 0 ;
23793 PyObject
* obj3
= 0 ;
23794 PyObject
* obj4
= 0 ;
23795 char *kwnames
[] = {
23796 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23802 arg2
= (double) SWIG_AsDouble(obj1
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23804 arg3
= (double) SWIG_AsDouble(obj2
);
23805 if (PyErr_Occurred()) SWIG_fail
;
23807 arg4
= (int) SWIG_AsInt(obj3
);
23808 if (PyErr_Occurred()) SWIG_fail
;
23811 arg5
= (int) SWIG_AsInt(obj4
);
23812 if (PyErr_Occurred()) SWIG_fail
;
23815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23816 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
23818 wxPyEndAllowThreads(__tstate
);
23819 if (PyErr_Occurred()) SWIG_fail
;
23821 Py_INCREF(Py_None
); resultobj
= Py_None
;
23828 static PyObject
*_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23829 PyObject
*resultobj
;
23830 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23833 int arg4
= (int) 0 ;
23834 int arg5
= (int) 0 ;
23835 PyObject
* obj0
= 0 ;
23836 PyObject
* obj1
= 0 ;
23837 PyObject
* obj2
= 0 ;
23838 PyObject
* obj3
= 0 ;
23839 PyObject
* obj4
= 0 ;
23840 char *kwnames
[] = {
23841 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23847 arg2
= (double) SWIG_AsDouble(obj1
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23849 arg3
= (double) SWIG_AsDouble(obj2
);
23850 if (PyErr_Occurred()) SWIG_fail
;
23852 arg4
= (int) SWIG_AsInt(obj3
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23856 arg5
= (int) SWIG_AsInt(obj4
);
23857 if (PyErr_Occurred()) SWIG_fail
;
23860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23861 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
23863 wxPyEndAllowThreads(__tstate
);
23864 if (PyErr_Occurred()) SWIG_fail
;
23866 Py_INCREF(Py_None
); resultobj
= Py_None
;
23873 static PyObject
*_wrap_PyCircleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23874 PyObject
*resultobj
;
23875 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23878 int arg4
= (int) 0 ;
23879 int arg5
= (int) 0 ;
23880 PyObject
* obj0
= 0 ;
23881 PyObject
* obj1
= 0 ;
23882 PyObject
* obj2
= 0 ;
23883 PyObject
* obj3
= 0 ;
23884 PyObject
* obj4
= 0 ;
23885 char *kwnames
[] = {
23886 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23892 arg2
= (double) SWIG_AsDouble(obj1
);
23893 if (PyErr_Occurred()) SWIG_fail
;
23894 arg3
= (double) SWIG_AsDouble(obj2
);
23895 if (PyErr_Occurred()) SWIG_fail
;
23897 arg4
= (int) SWIG_AsInt(obj3
);
23898 if (PyErr_Occurred()) SWIG_fail
;
23901 arg5
= (int) SWIG_AsInt(obj4
);
23902 if (PyErr_Occurred()) SWIG_fail
;
23905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23906 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
23908 wxPyEndAllowThreads(__tstate
);
23909 if (PyErr_Occurred()) SWIG_fail
;
23911 Py_INCREF(Py_None
); resultobj
= Py_None
;
23918 static PyObject
*_wrap_PyCircleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23919 PyObject
*resultobj
;
23920 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23923 PyObject
* obj0
= 0 ;
23924 PyObject
* obj1
= 0 ;
23925 PyObject
* obj2
= 0 ;
23926 char *kwnames
[] = {
23927 (char *) "self",(char *) "x",(char *) "y", NULL
23930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23933 arg2
= (double) SWIG_AsDouble(obj1
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23935 arg3
= (double) SWIG_AsDouble(obj2
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23939 (arg1
)->base_OnSize(arg2
,arg3
);
23941 wxPyEndAllowThreads(__tstate
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23944 Py_INCREF(Py_None
); resultobj
= Py_None
;
23951 static PyObject
*_wrap_PyCircleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23952 PyObject
*resultobj
;
23953 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23959 bool arg7
= (bool) True
;
23961 PyObject
* obj0
= 0 ;
23962 PyObject
* obj1
= 0 ;
23963 PyObject
* obj2
= 0 ;
23964 PyObject
* obj3
= 0 ;
23965 PyObject
* obj4
= 0 ;
23966 PyObject
* obj5
= 0 ;
23967 PyObject
* obj6
= 0 ;
23968 char *kwnames
[] = {
23969 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23976 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23978 if (arg2
== NULL
) {
23979 PyErr_SetString(PyExc_TypeError
,"null reference");
23982 arg3
= (double) SWIG_AsDouble(obj2
);
23983 if (PyErr_Occurred()) SWIG_fail
;
23984 arg4
= (double) SWIG_AsDouble(obj3
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23986 arg5
= (double) SWIG_AsDouble(obj4
);
23987 if (PyErr_Occurred()) SWIG_fail
;
23988 arg6
= (double) SWIG_AsDouble(obj5
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23991 arg7
= (bool) SWIG_AsBool(obj6
);
23992 if (PyErr_Occurred()) SWIG_fail
;
23995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23996 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23998 wxPyEndAllowThreads(__tstate
);
23999 if (PyErr_Occurred()) SWIG_fail
;
24002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24010 static PyObject
*_wrap_PyCircleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24011 PyObject
*resultobj
;
24012 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24018 bool arg7
= (bool) True
;
24019 PyObject
* obj0
= 0 ;
24020 PyObject
* obj1
= 0 ;
24021 PyObject
* obj2
= 0 ;
24022 PyObject
* obj3
= 0 ;
24023 PyObject
* obj4
= 0 ;
24024 PyObject
* obj5
= 0 ;
24025 PyObject
* obj6
= 0 ;
24026 char *kwnames
[] = {
24027 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24033 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24034 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24036 if (arg2
== NULL
) {
24037 PyErr_SetString(PyExc_TypeError
,"null reference");
24040 arg3
= (double) SWIG_AsDouble(obj2
);
24041 if (PyErr_Occurred()) SWIG_fail
;
24042 arg4
= (double) SWIG_AsDouble(obj3
);
24043 if (PyErr_Occurred()) SWIG_fail
;
24044 arg5
= (double) SWIG_AsDouble(obj4
);
24045 if (PyErr_Occurred()) SWIG_fail
;
24046 arg6
= (double) SWIG_AsDouble(obj5
);
24047 if (PyErr_Occurred()) SWIG_fail
;
24049 arg7
= (bool) SWIG_AsBool(obj6
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24054 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24056 wxPyEndAllowThreads(__tstate
);
24057 if (PyErr_Occurred()) SWIG_fail
;
24059 Py_INCREF(Py_None
); resultobj
= Py_None
;
24066 static PyObject
*_wrap_PyCircleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24067 PyObject
*resultobj
;
24068 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24072 int arg5
= (int) 0 ;
24073 int arg6
= (int) 0 ;
24074 PyObject
* obj0
= 0 ;
24075 PyObject
* obj1
= 0 ;
24076 PyObject
* obj2
= 0 ;
24077 PyObject
* obj3
= 0 ;
24078 PyObject
* obj4
= 0 ;
24079 PyObject
* obj5
= 0 ;
24080 char *kwnames
[] = {
24081 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24087 arg2
= (bool) SWIG_AsBool(obj1
);
24088 if (PyErr_Occurred()) SWIG_fail
;
24089 arg3
= (double) SWIG_AsDouble(obj2
);
24090 if (PyErr_Occurred()) SWIG_fail
;
24091 arg4
= (double) SWIG_AsDouble(obj3
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24094 arg5
= (int) SWIG_AsInt(obj4
);
24095 if (PyErr_Occurred()) SWIG_fail
;
24098 arg6
= (int) SWIG_AsInt(obj5
);
24099 if (PyErr_Occurred()) SWIG_fail
;
24102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24103 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24105 wxPyEndAllowThreads(__tstate
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24108 Py_INCREF(Py_None
); resultobj
= Py_None
;
24115 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24116 PyObject
*resultobj
;
24117 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24120 int arg4
= (int) 0 ;
24121 int arg5
= (int) 0 ;
24122 PyObject
* obj0
= 0 ;
24123 PyObject
* obj1
= 0 ;
24124 PyObject
* obj2
= 0 ;
24125 PyObject
* obj3
= 0 ;
24126 PyObject
* obj4
= 0 ;
24127 char *kwnames
[] = {
24128 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24134 arg2
= (double) SWIG_AsDouble(obj1
);
24135 if (PyErr_Occurred()) SWIG_fail
;
24136 arg3
= (double) SWIG_AsDouble(obj2
);
24137 if (PyErr_Occurred()) SWIG_fail
;
24139 arg4
= (int) SWIG_AsInt(obj3
);
24140 if (PyErr_Occurred()) SWIG_fail
;
24143 arg5
= (int) SWIG_AsInt(obj4
);
24144 if (PyErr_Occurred()) SWIG_fail
;
24147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24148 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
24150 wxPyEndAllowThreads(__tstate
);
24151 if (PyErr_Occurred()) SWIG_fail
;
24153 Py_INCREF(Py_None
); resultobj
= Py_None
;
24160 static PyObject
*_wrap_PyCircleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24161 PyObject
*resultobj
;
24162 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24165 int arg4
= (int) 0 ;
24166 int arg5
= (int) 0 ;
24167 PyObject
* obj0
= 0 ;
24168 PyObject
* obj1
= 0 ;
24169 PyObject
* obj2
= 0 ;
24170 PyObject
* obj3
= 0 ;
24171 PyObject
* obj4
= 0 ;
24172 char *kwnames
[] = {
24173 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24179 arg2
= (double) SWIG_AsDouble(obj1
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24181 arg3
= (double) SWIG_AsDouble(obj2
);
24182 if (PyErr_Occurred()) SWIG_fail
;
24184 arg4
= (int) SWIG_AsInt(obj3
);
24185 if (PyErr_Occurred()) SWIG_fail
;
24188 arg5
= (int) SWIG_AsInt(obj4
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24193 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
24195 wxPyEndAllowThreads(__tstate
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24198 Py_INCREF(Py_None
); resultobj
= Py_None
;
24205 static PyObject
*_wrap_PyCircleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24206 PyObject
*resultobj
;
24207 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24211 int arg5
= (int) 0 ;
24212 int arg6
= (int) 0 ;
24213 PyObject
* obj0
= 0 ;
24214 PyObject
* obj1
= 0 ;
24215 PyObject
* obj2
= 0 ;
24216 PyObject
* obj3
= 0 ;
24217 PyObject
* obj4
= 0 ;
24218 PyObject
* obj5
= 0 ;
24219 char *kwnames
[] = {
24220 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24226 arg2
= (bool) SWIG_AsBool(obj1
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24228 arg3
= (double) SWIG_AsDouble(obj2
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24230 arg4
= (double) SWIG_AsDouble(obj3
);
24231 if (PyErr_Occurred()) SWIG_fail
;
24233 arg5
= (int) SWIG_AsInt(obj4
);
24234 if (PyErr_Occurred()) SWIG_fail
;
24237 arg6
= (int) SWIG_AsInt(obj5
);
24238 if (PyErr_Occurred()) SWIG_fail
;
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
24244 wxPyEndAllowThreads(__tstate
);
24245 if (PyErr_Occurred()) SWIG_fail
;
24247 Py_INCREF(Py_None
); resultobj
= Py_None
;
24254 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24255 PyObject
*resultobj
;
24256 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24259 int arg4
= (int) 0 ;
24260 int arg5
= (int) 0 ;
24261 PyObject
* obj0
= 0 ;
24262 PyObject
* obj1
= 0 ;
24263 PyObject
* obj2
= 0 ;
24264 PyObject
* obj3
= 0 ;
24265 PyObject
* obj4
= 0 ;
24266 char *kwnames
[] = {
24267 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24273 arg2
= (double) SWIG_AsDouble(obj1
);
24274 if (PyErr_Occurred()) SWIG_fail
;
24275 arg3
= (double) SWIG_AsDouble(obj2
);
24276 if (PyErr_Occurred()) SWIG_fail
;
24278 arg4
= (int) SWIG_AsInt(obj3
);
24279 if (PyErr_Occurred()) SWIG_fail
;
24282 arg5
= (int) SWIG_AsInt(obj4
);
24283 if (PyErr_Occurred()) SWIG_fail
;
24286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24287 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
24289 wxPyEndAllowThreads(__tstate
);
24290 if (PyErr_Occurred()) SWIG_fail
;
24292 Py_INCREF(Py_None
); resultobj
= Py_None
;
24299 static PyObject
*_wrap_PyCircleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24300 PyObject
*resultobj
;
24301 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24304 int arg4
= (int) 0 ;
24305 int arg5
= (int) 0 ;
24306 PyObject
* obj0
= 0 ;
24307 PyObject
* obj1
= 0 ;
24308 PyObject
* obj2
= 0 ;
24309 PyObject
* obj3
= 0 ;
24310 PyObject
* obj4
= 0 ;
24311 char *kwnames
[] = {
24312 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24318 arg2
= (double) SWIG_AsDouble(obj1
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24320 arg3
= (double) SWIG_AsDouble(obj2
);
24321 if (PyErr_Occurred()) SWIG_fail
;
24323 arg4
= (int) SWIG_AsInt(obj3
);
24324 if (PyErr_Occurred()) SWIG_fail
;
24327 arg5
= (int) SWIG_AsInt(obj4
);
24328 if (PyErr_Occurred()) SWIG_fail
;
24331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24332 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
24334 wxPyEndAllowThreads(__tstate
);
24335 if (PyErr_Occurred()) SWIG_fail
;
24337 Py_INCREF(Py_None
); resultobj
= Py_None
;
24344 static PyObject
*_wrap_PyCircleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24345 PyObject
*resultobj
;
24346 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24352 PyObject
* obj0
= 0 ;
24353 PyObject
* obj1
= 0 ;
24354 PyObject
* obj2
= 0 ;
24355 PyObject
* obj3
= 0 ;
24356 PyObject
* obj4
= 0 ;
24357 PyObject
* obj5
= 0 ;
24358 char *kwnames
[] = {
24359 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyCircleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24366 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24368 if (arg2
== NULL
) {
24369 PyErr_SetString(PyExc_TypeError
,"null reference");
24372 arg3
= (double) SWIG_AsDouble(obj2
);
24373 if (PyErr_Occurred()) SWIG_fail
;
24374 arg4
= (double) SWIG_AsDouble(obj3
);
24375 if (PyErr_Occurred()) SWIG_fail
;
24376 arg5
= (double) SWIG_AsDouble(obj4
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24378 arg6
= (double) SWIG_AsDouble(obj5
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24382 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
24384 wxPyEndAllowThreads(__tstate
);
24385 if (PyErr_Occurred()) SWIG_fail
;
24387 Py_INCREF(Py_None
); resultobj
= Py_None
;
24394 static PyObject
*_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24395 PyObject
*resultobj
;
24396 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24398 PyObject
* obj0
= 0 ;
24399 PyObject
* obj1
= 0 ;
24400 char *kwnames
[] = {
24401 (char *) "self",(char *) "dc", NULL
24404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24408 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24410 if (arg2
== NULL
) {
24411 PyErr_SetString(PyExc_TypeError
,"null reference");
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 (arg1
)->base_OnDrawControlPoints(*arg2
);
24418 wxPyEndAllowThreads(__tstate
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24421 Py_INCREF(Py_None
); resultobj
= Py_None
;
24428 static PyObject
*_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24429 PyObject
*resultobj
;
24430 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24432 PyObject
* obj0
= 0 ;
24433 PyObject
* obj1
= 0 ;
24434 char *kwnames
[] = {
24435 (char *) "self",(char *) "dc", NULL
24438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24442 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24444 if (arg2
== NULL
) {
24445 PyErr_SetString(PyExc_TypeError
,"null reference");
24449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24450 (arg1
)->base_OnEraseControlPoints(*arg2
);
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24455 Py_INCREF(Py_None
); resultobj
= Py_None
;
24462 static PyObject
*_wrap_PyCircleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24463 PyObject
*resultobj
;
24464 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24466 bool arg3
= (bool) True
;
24467 PyObject
* obj0
= 0 ;
24468 PyObject
* obj1
= 0 ;
24469 PyObject
* obj2
= 0 ;
24470 char *kwnames
[] = {
24471 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24478 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24480 if (arg2
== NULL
) {
24481 PyErr_SetString(PyExc_TypeError
,"null reference");
24485 arg3
= (bool) SWIG_AsBool(obj2
);
24486 if (PyErr_Occurred()) SWIG_fail
;
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24495 Py_INCREF(Py_None
); resultobj
= Py_None
;
24502 static PyObject
*_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24503 PyObject
*resultobj
;
24504 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24505 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24509 int arg6
= (int) 0 ;
24510 int arg7
= (int) 0 ;
24511 PyObject
* obj0
= 0 ;
24512 PyObject
* obj1
= 0 ;
24513 PyObject
* obj2
= 0 ;
24514 PyObject
* obj3
= 0 ;
24515 PyObject
* obj4
= 0 ;
24516 PyObject
* obj5
= 0 ;
24517 PyObject
* obj6
= 0 ;
24518 char *kwnames
[] = {
24519 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyCircleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24527 arg3
= (bool) SWIG_AsBool(obj2
);
24528 if (PyErr_Occurred()) SWIG_fail
;
24529 arg4
= (double) SWIG_AsDouble(obj3
);
24530 if (PyErr_Occurred()) SWIG_fail
;
24531 arg5
= (double) SWIG_AsDouble(obj4
);
24532 if (PyErr_Occurred()) SWIG_fail
;
24534 arg6
= (int) SWIG_AsInt(obj5
);
24535 if (PyErr_Occurred()) SWIG_fail
;
24538 arg7
= (int) SWIG_AsInt(obj6
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24543 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24545 wxPyEndAllowThreads(__tstate
);
24546 if (PyErr_Occurred()) SWIG_fail
;
24548 Py_INCREF(Py_None
); resultobj
= Py_None
;
24555 static PyObject
*_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24556 PyObject
*resultobj
;
24557 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24558 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24561 int arg5
= (int) 0 ;
24562 int arg6
= (int) 0 ;
24563 PyObject
* obj0
= 0 ;
24564 PyObject
* obj1
= 0 ;
24565 PyObject
* obj2
= 0 ;
24566 PyObject
* obj3
= 0 ;
24567 PyObject
* obj4
= 0 ;
24568 PyObject
* obj5
= 0 ;
24569 char *kwnames
[] = {
24570 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24578 arg3
= (double) SWIG_AsDouble(obj2
);
24579 if (PyErr_Occurred()) SWIG_fail
;
24580 arg4
= (double) SWIG_AsDouble(obj3
);
24581 if (PyErr_Occurred()) SWIG_fail
;
24583 arg5
= (int) SWIG_AsInt(obj4
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24587 arg6
= (int) SWIG_AsInt(obj5
);
24588 if (PyErr_Occurred()) SWIG_fail
;
24591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24592 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24594 wxPyEndAllowThreads(__tstate
);
24595 if (PyErr_Occurred()) SWIG_fail
;
24597 Py_INCREF(Py_None
); resultobj
= Py_None
;
24604 static PyObject
*_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24605 PyObject
*resultobj
;
24606 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24607 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24610 int arg5
= (int) 0 ;
24611 int arg6
= (int) 0 ;
24612 PyObject
* obj0
= 0 ;
24613 PyObject
* obj1
= 0 ;
24614 PyObject
* obj2
= 0 ;
24615 PyObject
* obj3
= 0 ;
24616 PyObject
* obj4
= 0 ;
24617 PyObject
* obj5
= 0 ;
24618 char *kwnames
[] = {
24619 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24627 arg3
= (double) SWIG_AsDouble(obj2
);
24628 if (PyErr_Occurred()) SWIG_fail
;
24629 arg4
= (double) SWIG_AsDouble(obj3
);
24630 if (PyErr_Occurred()) SWIG_fail
;
24632 arg5
= (int) SWIG_AsInt(obj4
);
24633 if (PyErr_Occurred()) SWIG_fail
;
24636 arg6
= (int) SWIG_AsInt(obj5
);
24637 if (PyErr_Occurred()) SWIG_fail
;
24640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24641 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24643 wxPyEndAllowThreads(__tstate
);
24644 if (PyErr_Occurred()) SWIG_fail
;
24646 Py_INCREF(Py_None
); resultobj
= Py_None
;
24653 static PyObject
*_wrap_PyCircleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24654 PyObject
*resultobj
;
24655 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24658 PyObject
* obj0
= 0 ;
24659 PyObject
* obj1
= 0 ;
24660 PyObject
* obj2
= 0 ;
24661 char *kwnames
[] = {
24662 (char *) "self",(char *) "w",(char *) "h", NULL
24665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24668 arg2
= (double) SWIG_AsDouble(obj1
);
24669 if (PyErr_Occurred()) SWIG_fail
;
24670 arg3
= (double) SWIG_AsDouble(obj2
);
24671 if (PyErr_Occurred()) SWIG_fail
;
24673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24674 (arg1
)->base_OnBeginSize(arg2
,arg3
);
24676 wxPyEndAllowThreads(__tstate
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24679 Py_INCREF(Py_None
); resultobj
= Py_None
;
24686 static PyObject
*_wrap_PyCircleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24687 PyObject
*resultobj
;
24688 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24691 PyObject
* obj0
= 0 ;
24692 PyObject
* obj1
= 0 ;
24693 PyObject
* obj2
= 0 ;
24694 char *kwnames
[] = {
24695 (char *) "self",(char *) "w",(char *) "h", NULL
24698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24701 arg2
= (double) SWIG_AsDouble(obj1
);
24702 if (PyErr_Occurred()) SWIG_fail
;
24703 arg3
= (double) SWIG_AsDouble(obj2
);
24704 if (PyErr_Occurred()) SWIG_fail
;
24706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24707 (arg1
)->base_OnEndSize(arg2
,arg3
);
24709 wxPyEndAllowThreads(__tstate
);
24710 if (PyErr_Occurred()) SWIG_fail
;
24712 Py_INCREF(Py_None
); resultobj
= Py_None
;
24719 static PyObject
* PyCircleShape_swigregister(PyObject
*self
, PyObject
*args
) {
24721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24722 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape
, obj
);
24724 return Py_BuildValue((char *)"");
24726 static PyObject
*_wrap_new_ArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24727 PyObject
*resultobj
;
24728 int arg1
= (int) 0 ;
24729 int arg2
= (int) 0 ;
24730 double arg3
= (double) 0.0 ;
24731 double arg4
= (double) 0.0 ;
24732 wxString
const &arg5_defvalue
= wxPyEmptyString
;
24733 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
24734 wxPseudoMetaFile
*arg6
= (wxPseudoMetaFile
*) NULL
;
24735 long arg7
= (long) -1 ;
24736 wxArrowHead
*result
;
24737 bool temp5
= False
;
24738 PyObject
* obj0
= 0 ;
24739 PyObject
* obj1
= 0 ;
24740 PyObject
* obj2
= 0 ;
24741 PyObject
* obj3
= 0 ;
24742 PyObject
* obj4
= 0 ;
24743 PyObject
* obj5
= 0 ;
24744 PyObject
* obj6
= 0 ;
24745 char *kwnames
[] = {
24746 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
24749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOO:new_ArrowHead",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24751 arg1
= (int) SWIG_AsInt(obj0
);
24752 if (PyErr_Occurred()) SWIG_fail
;
24755 arg2
= (int) SWIG_AsInt(obj1
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24759 arg3
= (double) SWIG_AsDouble(obj2
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24763 arg4
= (double) SWIG_AsDouble(obj3
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24768 arg5
= wxString_in_helper(obj4
);
24769 if (arg5
== NULL
) SWIG_fail
;
24774 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPseudoMetaFile
,
24775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24778 arg7
= (long) SWIG_AsLong(obj6
);
24779 if (PyErr_Occurred()) SWIG_fail
;
24782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24783 result
= (wxArrowHead
*)new wxArrowHead(arg1
,arg2
,arg3
,arg4
,(wxString
const &)*arg5
,arg6
,arg7
);
24785 wxPyEndAllowThreads(__tstate
);
24786 if (PyErr_Occurred()) SWIG_fail
;
24789 resultobj
= wxPyMake_wxObject(result
);
24805 static PyObject
*_wrap_delete_ArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
;
24807 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24808 PyObject
* obj0
= 0 ;
24809 char *kwnames
[] = {
24810 (char *) "self", NULL
24813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArrowHead",kwnames
,&obj0
)) goto fail
;
24814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24823 Py_INCREF(Py_None
); resultobj
= Py_None
;
24830 static PyObject
*_wrap_ArrowHead__GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24831 PyObject
*resultobj
;
24832 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24834 PyObject
* obj0
= 0 ;
24835 char *kwnames
[] = {
24836 (char *) "self", NULL
24839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead__GetType",kwnames
,&obj0
)) goto fail
;
24840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 result
= (int)(arg1
)->_GetType();
24846 wxPyEndAllowThreads(__tstate
);
24847 if (PyErr_Occurred()) SWIG_fail
;
24849 resultobj
= SWIG_FromInt((int)result
);
24856 static PyObject
*_wrap_ArrowHead_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24857 PyObject
*resultobj
;
24858 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24860 PyObject
* obj0
= 0 ;
24861 char *kwnames
[] = {
24862 (char *) "self", NULL
24865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetPosition",kwnames
,&obj0
)) goto fail
;
24866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24870 result
= (int)(arg1
)->GetPosition();
24872 wxPyEndAllowThreads(__tstate
);
24873 if (PyErr_Occurred()) SWIG_fail
;
24875 resultobj
= SWIG_FromInt((int)result
);
24882 static PyObject
*_wrap_ArrowHead_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24883 PyObject
*resultobj
;
24884 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24886 PyObject
* obj0
= 0 ;
24887 PyObject
* obj1
= 0 ;
24888 char *kwnames
[] = {
24889 (char *) "self",(char *) "pos", NULL
24892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24895 arg2
= (int) SWIG_AsInt(obj1
);
24896 if (PyErr_Occurred()) SWIG_fail
;
24898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24899 (arg1
)->SetPosition(arg2
);
24901 wxPyEndAllowThreads(__tstate
);
24902 if (PyErr_Occurred()) SWIG_fail
;
24904 Py_INCREF(Py_None
); resultobj
= Py_None
;
24911 static PyObject
*_wrap_ArrowHead_GetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24912 PyObject
*resultobj
;
24913 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24915 PyObject
* obj0
= 0 ;
24916 char *kwnames
[] = {
24917 (char *) "self", NULL
24920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetXOffset",kwnames
,&obj0
)) goto fail
;
24921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24925 result
= (double)(arg1
)->GetXOffset();
24927 wxPyEndAllowThreads(__tstate
);
24928 if (PyErr_Occurred()) SWIG_fail
;
24930 resultobj
= SWIG_FromDouble((double)result
);
24937 static PyObject
*_wrap_ArrowHead_GetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24938 PyObject
*resultobj
;
24939 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24941 PyObject
* obj0
= 0 ;
24942 char *kwnames
[] = {
24943 (char *) "self", NULL
24946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetYOffset",kwnames
,&obj0
)) goto fail
;
24947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24951 result
= (double)(arg1
)->GetYOffset();
24953 wxPyEndAllowThreads(__tstate
);
24954 if (PyErr_Occurred()) SWIG_fail
;
24956 resultobj
= SWIG_FromDouble((double)result
);
24963 static PyObject
*_wrap_ArrowHead_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24964 PyObject
*resultobj
;
24965 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24967 PyObject
* obj0
= 0 ;
24968 char *kwnames
[] = {
24969 (char *) "self", NULL
24972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSpacing",kwnames
,&obj0
)) goto fail
;
24973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24977 result
= (double)(arg1
)->GetSpacing();
24979 wxPyEndAllowThreads(__tstate
);
24980 if (PyErr_Occurred()) SWIG_fail
;
24982 resultobj
= SWIG_FromDouble((double)result
);
24989 static PyObject
*_wrap_ArrowHead_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24990 PyObject
*resultobj
;
24991 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24993 PyObject
* obj0
= 0 ;
24994 char *kwnames
[] = {
24995 (char *) "self", NULL
24998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSize",kwnames
,&obj0
)) goto fail
;
24999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25003 result
= (double)(arg1
)->GetSize();
25005 wxPyEndAllowThreads(__tstate
);
25006 if (PyErr_Occurred()) SWIG_fail
;
25008 resultobj
= SWIG_FromDouble((double)result
);
25015 static PyObject
*_wrap_ArrowHead_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25016 PyObject
*resultobj
;
25017 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25019 PyObject
* obj0
= 0 ;
25020 char *kwnames
[] = {
25021 (char *) "self", NULL
25024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetName",kwnames
,&obj0
)) goto fail
;
25025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25029 result
= (arg1
)->GetName();
25031 wxPyEndAllowThreads(__tstate
);
25032 if (PyErr_Occurred()) SWIG_fail
;
25036 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25038 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25047 static PyObject
*_wrap_ArrowHead_SetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25048 PyObject
*resultobj
;
25049 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25051 PyObject
* obj0
= 0 ;
25052 PyObject
* obj1
= 0 ;
25053 char *kwnames
[] = {
25054 (char *) "self",(char *) "x", NULL
25057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetXOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
25058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25060 arg2
= (double) SWIG_AsDouble(obj1
);
25061 if (PyErr_Occurred()) SWIG_fail
;
25063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25064 (arg1
)->SetXOffset(arg2
);
25066 wxPyEndAllowThreads(__tstate
);
25067 if (PyErr_Occurred()) SWIG_fail
;
25069 Py_INCREF(Py_None
); resultobj
= Py_None
;
25076 static PyObject
*_wrap_ArrowHead_SetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25077 PyObject
*resultobj
;
25078 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25080 PyObject
* obj0
= 0 ;
25081 PyObject
* obj1
= 0 ;
25082 char *kwnames
[] = {
25083 (char *) "self",(char *) "y", NULL
25086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetYOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
25087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25089 arg2
= (double) SWIG_AsDouble(obj1
);
25090 if (PyErr_Occurred()) SWIG_fail
;
25092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25093 (arg1
)->SetYOffset(arg2
);
25095 wxPyEndAllowThreads(__tstate
);
25096 if (PyErr_Occurred()) SWIG_fail
;
25098 Py_INCREF(Py_None
); resultobj
= Py_None
;
25105 static PyObject
*_wrap_ArrowHead_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25106 PyObject
*resultobj
;
25107 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25108 wxPseudoMetaFile
*result
;
25109 PyObject
* obj0
= 0 ;
25110 char *kwnames
[] = {
25111 (char *) "self", NULL
25114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetMetaFile",kwnames
,&obj0
)) goto fail
;
25115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25119 result
= (wxPseudoMetaFile
*)(arg1
)->GetMetaFile();
25121 wxPyEndAllowThreads(__tstate
);
25122 if (PyErr_Occurred()) SWIG_fail
;
25125 resultobj
= wxPyMake_wxObject(result
);
25133 static PyObject
*_wrap_ArrowHead_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
;
25135 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25137 PyObject
* obj0
= 0 ;
25138 char *kwnames
[] = {
25139 (char *) "self", NULL
25142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetId",kwnames
,&obj0
)) goto fail
;
25143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25147 result
= (long)(arg1
)->GetId();
25149 wxPyEndAllowThreads(__tstate
);
25150 if (PyErr_Occurred()) SWIG_fail
;
25152 resultobj
= SWIG_FromLong((long)result
);
25159 static PyObject
*_wrap_ArrowHead_GetArrowEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25160 PyObject
*resultobj
;
25161 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25163 PyObject
* obj0
= 0 ;
25164 char *kwnames
[] = {
25165 (char *) "self", NULL
25168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowEnd",kwnames
,&obj0
)) goto fail
;
25169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25173 result
= (int)(arg1
)->GetArrowEnd();
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 resultobj
= SWIG_FromInt((int)result
);
25185 static PyObject
*_wrap_ArrowHead_GetArrowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25186 PyObject
*resultobj
;
25187 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25189 PyObject
* obj0
= 0 ;
25190 char *kwnames
[] = {
25191 (char *) "self", NULL
25194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowSize",kwnames
,&obj0
)) goto fail
;
25195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25199 result
= (double)(arg1
)->GetArrowSize();
25201 wxPyEndAllowThreads(__tstate
);
25202 if (PyErr_Occurred()) SWIG_fail
;
25204 resultobj
= SWIG_FromDouble((double)result
);
25211 static PyObject
*_wrap_ArrowHead_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25212 PyObject
*resultobj
;
25213 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25215 PyObject
* obj0
= 0 ;
25216 PyObject
* obj1
= 0 ;
25217 char *kwnames
[] = {
25218 (char *) "self",(char *) "size", NULL
25221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25224 arg2
= (double) SWIG_AsDouble(obj1
);
25225 if (PyErr_Occurred()) SWIG_fail
;
25227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25228 (arg1
)->SetSize(arg2
);
25230 wxPyEndAllowThreads(__tstate
);
25231 if (PyErr_Occurred()) SWIG_fail
;
25233 Py_INCREF(Py_None
); resultobj
= Py_None
;
25240 static PyObject
*_wrap_ArrowHead_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25241 PyObject
*resultobj
;
25242 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25244 PyObject
* obj0
= 0 ;
25245 PyObject
* obj1
= 0 ;
25246 char *kwnames
[] = {
25247 (char *) "self",(char *) "sp", NULL
25250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25253 arg2
= (double) SWIG_AsDouble(obj1
);
25254 if (PyErr_Occurred()) SWIG_fail
;
25256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25257 (arg1
)->SetSpacing(arg2
);
25259 wxPyEndAllowThreads(__tstate
);
25260 if (PyErr_Occurred()) SWIG_fail
;
25262 Py_INCREF(Py_None
); resultobj
= Py_None
;
25269 static PyObject
* ArrowHead_swigregister(PyObject
*self
, PyObject
*args
) {
25271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25272 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead
, obj
);
25274 return Py_BuildValue((char *)"");
25276 static PyObject
*_wrap_new_PyLineShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25277 PyObject
*resultobj
;
25278 wxPyLineShape
*result
;
25279 char *kwnames
[] = {
25283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLineShape",kwnames
)) goto fail
;
25285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25286 result
= (wxPyLineShape
*)new wxPyLineShape();
25288 wxPyEndAllowThreads(__tstate
);
25289 if (PyErr_Occurred()) SWIG_fail
;
25291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLineShape
, 1);
25298 static PyObject
*_wrap_PyLineShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25299 PyObject
*resultobj
;
25300 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25301 PyObject
*arg2
= (PyObject
*) 0 ;
25302 PyObject
*arg3
= (PyObject
*) 0 ;
25303 PyObject
* obj0
= 0 ;
25304 PyObject
* obj1
= 0 ;
25305 PyObject
* obj2
= 0 ;
25306 char *kwnames
[] = {
25307 (char *) "self",(char *) "self",(char *) "_class", NULL
25310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25317 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25319 wxPyEndAllowThreads(__tstate
);
25320 if (PyErr_Occurred()) SWIG_fail
;
25322 Py_INCREF(Py_None
); resultobj
= Py_None
;
25329 static PyObject
*_wrap_PyLineShape_AddArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25330 PyObject
*resultobj
;
25331 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25333 int arg3
= (int) ARROW_POSITION_END
;
25334 double arg4
= (double) 10.0 ;
25335 double arg5
= (double) 0.0 ;
25336 wxString
const &arg6_defvalue
= wxPyEmptyString
;
25337 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25338 wxPseudoMetaFile
*arg7
= (wxPseudoMetaFile
*) NULL
;
25339 long arg8
= (long) -1 ;
25340 bool temp6
= False
;
25341 PyObject
* obj0
= 0 ;
25342 PyObject
* obj1
= 0 ;
25343 PyObject
* obj2
= 0 ;
25344 PyObject
* obj3
= 0 ;
25345 PyObject
* obj4
= 0 ;
25346 PyObject
* obj5
= 0 ;
25347 PyObject
* obj6
= 0 ;
25348 PyObject
* obj7
= 0 ;
25349 char *kwnames
[] = {
25350 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:PyLineShape_AddArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25356 arg2
= (int) SWIG_AsInt(obj1
);
25357 if (PyErr_Occurred()) SWIG_fail
;
25359 arg3
= (int) SWIG_AsInt(obj2
);
25360 if (PyErr_Occurred()) SWIG_fail
;
25363 arg4
= (double) SWIG_AsDouble(obj3
);
25364 if (PyErr_Occurred()) SWIG_fail
;
25367 arg5
= (double) SWIG_AsDouble(obj4
);
25368 if (PyErr_Occurred()) SWIG_fail
;
25372 arg6
= wxString_in_helper(obj5
);
25373 if (arg6
== NULL
) SWIG_fail
;
25378 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPseudoMetaFile
,
25379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25382 arg8
= (long) SWIG_AsLong(obj7
);
25383 if (PyErr_Occurred()) SWIG_fail
;
25386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25387 (arg1
)->AddArrow(arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
,arg8
);
25389 wxPyEndAllowThreads(__tstate
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25392 Py_INCREF(Py_None
); resultobj
= Py_None
;
25407 static PyObject
*_wrap_PyLineShape_AddArrowOrdered(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25408 PyObject
*resultobj
;
25409 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25410 wxArrowHead
*arg2
= (wxArrowHead
*) 0 ;
25411 PyObject
*arg3
= (PyObject
*) 0 ;
25413 PyObject
* obj0
= 0 ;
25414 PyObject
* obj1
= 0 ;
25415 PyObject
* obj2
= 0 ;
25416 PyObject
* obj3
= 0 ;
25417 char *kwnames
[] = {
25418 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
25421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyLineShape_AddArrowOrdered",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxArrowHead
,
25425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25427 arg4
= (int) SWIG_AsInt(obj3
);
25428 if (PyErr_Occurred()) SWIG_fail
;
25430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25431 wxPyLineShape_AddArrowOrdered(arg1
,arg2
,arg3
,arg4
);
25433 wxPyEndAllowThreads(__tstate
);
25434 if (PyErr_Occurred()) SWIG_fail
;
25436 Py_INCREF(Py_None
); resultobj
= Py_None
;
25443 static PyObject
*_wrap_PyLineShape_ClearArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25444 PyObject
*resultobj
;
25445 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25446 wxString
*arg2
= 0 ;
25448 bool temp2
= False
;
25449 PyObject
* obj0
= 0 ;
25450 PyObject
* obj1
= 0 ;
25451 char *kwnames
[] = {
25452 (char *) "self",(char *) "name", NULL
25455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_ClearArrow",kwnames
,&obj0
,&obj1
)) goto fail
;
25456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25459 arg2
= wxString_in_helper(obj1
);
25460 if (arg2
== NULL
) SWIG_fail
;
25464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25465 result
= (bool)(arg1
)->ClearArrow((wxString
const &)*arg2
);
25467 wxPyEndAllowThreads(__tstate
);
25468 if (PyErr_Occurred()) SWIG_fail
;
25471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25487 static PyObject
*_wrap_PyLineShape_ClearArrowsAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25488 PyObject
*resultobj
;
25489 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25490 int arg2
= (int) -1 ;
25491 PyObject
* obj0
= 0 ;
25492 PyObject
* obj1
= 0 ;
25493 char *kwnames
[] = {
25494 (char *) "self",(char *) "position", NULL
25497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_ClearArrowsAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25501 arg2
= (int) SWIG_AsInt(obj1
);
25502 if (PyErr_Occurred()) SWIG_fail
;
25505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25506 (arg1
)->ClearArrowsAtPosition(arg2
);
25508 wxPyEndAllowThreads(__tstate
);
25509 if (PyErr_Occurred()) SWIG_fail
;
25511 Py_INCREF(Py_None
); resultobj
= Py_None
;
25518 static PyObject
*_wrap_PyLineShape_DrawArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25519 PyObject
*resultobj
;
25520 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25522 wxArrowHead
*arg3
= (wxArrowHead
*) 0 ;
25525 PyObject
* obj0
= 0 ;
25526 PyObject
* obj1
= 0 ;
25527 PyObject
* obj2
= 0 ;
25528 PyObject
* obj3
= 0 ;
25529 PyObject
* obj4
= 0 ;
25530 char *kwnames
[] = {
25531 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
25534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_DrawArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25537 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25538 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25540 if (arg2
== NULL
) {
25541 PyErr_SetString(PyExc_TypeError
,"null reference");
25544 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxArrowHead
,
25545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25546 arg4
= (double) SWIG_AsDouble(obj3
);
25547 if (PyErr_Occurred()) SWIG_fail
;
25548 arg5
= (bool) SWIG_AsBool(obj4
);
25549 if (PyErr_Occurred()) SWIG_fail
;
25551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25552 (arg1
)->DrawArrow(*arg2
,arg3
,arg4
,arg5
);
25554 wxPyEndAllowThreads(__tstate
);
25555 if (PyErr_Occurred()) SWIG_fail
;
25557 Py_INCREF(Py_None
); resultobj
= Py_None
;
25564 static PyObject
*_wrap_PyLineShape_DeleteArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25565 PyObject
*resultobj
;
25566 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25569 PyObject
* obj0
= 0 ;
25570 PyObject
* obj1
= 0 ;
25571 char *kwnames
[] = {
25572 (char *) "self",(char *) "arrowId", NULL
25575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DeleteArrowHeadId",kwnames
,&obj0
,&obj1
)) goto fail
;
25576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25578 arg2
= (long) SWIG_AsLong(obj1
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25582 result
= (bool)(arg1
)->DeleteArrowHead(arg2
);
25584 wxPyEndAllowThreads(__tstate
);
25585 if (PyErr_Occurred()) SWIG_fail
;
25588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25596 static PyObject
*_wrap_PyLineShape_DeleteArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25597 PyObject
*resultobj
;
25598 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25600 wxString
*arg3
= 0 ;
25602 bool temp3
= False
;
25603 PyObject
* obj0
= 0 ;
25604 PyObject
* obj1
= 0 ;
25605 PyObject
* obj2
= 0 ;
25606 char *kwnames
[] = {
25607 (char *) "self",(char *) "position",(char *) "name", NULL
25610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_DeleteArrowHead",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25613 arg2
= (int) SWIG_AsInt(obj1
);
25614 if (PyErr_Occurred()) SWIG_fail
;
25616 arg3
= wxString_in_helper(obj2
);
25617 if (arg3
== NULL
) SWIG_fail
;
25621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25622 result
= (bool)(arg1
)->DeleteArrowHead(arg2
,(wxString
const &)*arg3
);
25624 wxPyEndAllowThreads(__tstate
);
25625 if (PyErr_Occurred()) SWIG_fail
;
25628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25644 static PyObject
*_wrap_PyLineShape_DeleteLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25645 PyObject
*resultobj
;
25646 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25648 PyObject
* obj0
= 0 ;
25649 char *kwnames
[] = {
25650 (char *) "self", NULL
25653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames
,&obj0
)) goto fail
;
25654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25658 result
= (bool)(arg1
)->DeleteLineControlPoint();
25660 wxPyEndAllowThreads(__tstate
);
25661 if (PyErr_Occurred()) SWIG_fail
;
25664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25672 static PyObject
*_wrap_PyLineShape_DrawArrows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25673 PyObject
*resultobj
;
25674 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25676 PyObject
* obj0
= 0 ;
25677 PyObject
* obj1
= 0 ;
25678 char *kwnames
[] = {
25679 (char *) "self",(char *) "dc", NULL
25682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DrawArrows",kwnames
,&obj0
,&obj1
)) goto fail
;
25683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25688 if (arg2
== NULL
) {
25689 PyErr_SetString(PyExc_TypeError
,"null reference");
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25694 (arg1
)->DrawArrows(*arg2
);
25696 wxPyEndAllowThreads(__tstate
);
25697 if (PyErr_Occurred()) SWIG_fail
;
25699 Py_INCREF(Py_None
); resultobj
= Py_None
;
25706 static PyObject
*_wrap_PyLineShape_DrawRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25707 PyObject
*resultobj
;
25708 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25710 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
25713 PyObject
* obj0
= 0 ;
25714 PyObject
* obj1
= 0 ;
25715 PyObject
* obj2
= 0 ;
25716 PyObject
* obj3
= 0 ;
25717 PyObject
* obj4
= 0 ;
25718 char *kwnames
[] = {
25719 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_DrawRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25726 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25728 if (arg2
== NULL
) {
25729 PyErr_SetString(PyExc_TypeError
,"null reference");
25732 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxShapeRegion
,
25733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25734 arg4
= (double) SWIG_AsDouble(obj3
);
25735 if (PyErr_Occurred()) SWIG_fail
;
25736 arg5
= (double) SWIG_AsDouble(obj4
);
25737 if (PyErr_Occurred()) SWIG_fail
;
25739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25740 (arg1
)->DrawRegion(*arg2
,arg3
,arg4
,arg5
);
25742 wxPyEndAllowThreads(__tstate
);
25743 if (PyErr_Occurred()) SWIG_fail
;
25745 Py_INCREF(Py_None
); resultobj
= Py_None
;
25752 static PyObject
*_wrap_PyLineShape_EraseRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25753 PyObject
*resultobj
;
25754 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25756 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
25759 PyObject
* obj0
= 0 ;
25760 PyObject
* obj1
= 0 ;
25761 PyObject
* obj2
= 0 ;
25762 PyObject
* obj3
= 0 ;
25763 PyObject
* obj4
= 0 ;
25764 char *kwnames
[] = {
25765 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_EraseRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25774 if (arg2
== NULL
) {
25775 PyErr_SetString(PyExc_TypeError
,"null reference");
25778 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxShapeRegion
,
25779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25780 arg4
= (double) SWIG_AsDouble(obj3
);
25781 if (PyErr_Occurred()) SWIG_fail
;
25782 arg5
= (double) SWIG_AsDouble(obj4
);
25783 if (PyErr_Occurred()) SWIG_fail
;
25785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25786 (arg1
)->EraseRegion(*arg2
,arg3
,arg4
,arg5
);
25788 wxPyEndAllowThreads(__tstate
);
25789 if (PyErr_Occurred()) SWIG_fail
;
25791 Py_INCREF(Py_None
); resultobj
= Py_None
;
25798 static PyObject
*_wrap_PyLineShape_FindArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25799 PyObject
*resultobj
;
25800 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25802 wxArrowHead
*result
;
25803 PyObject
* obj0
= 0 ;
25804 PyObject
* obj1
= 0 ;
25805 char *kwnames
[] = {
25806 (char *) "self",(char *) "arrowId", NULL
25809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_FindArrowHeadId",kwnames
,&obj0
,&obj1
)) goto fail
;
25810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25812 arg2
= (long) SWIG_AsLong(obj1
);
25813 if (PyErr_Occurred()) SWIG_fail
;
25815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25816 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
);
25818 wxPyEndAllowThreads(__tstate
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25822 resultobj
= wxPyMake_wxObject(result
);
25830 static PyObject
*_wrap_PyLineShape_FindArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25831 PyObject
*resultobj
;
25832 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25834 wxString
*arg3
= 0 ;
25835 wxArrowHead
*result
;
25836 bool temp3
= False
;
25837 PyObject
* obj0
= 0 ;
25838 PyObject
* obj1
= 0 ;
25839 PyObject
* obj2
= 0 ;
25840 char *kwnames
[] = {
25841 (char *) "self",(char *) "position",(char *) "name", NULL
25844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindArrowHead",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25847 arg2
= (int) SWIG_AsInt(obj1
);
25848 if (PyErr_Occurred()) SWIG_fail
;
25850 arg3
= wxString_in_helper(obj2
);
25851 if (arg3
== NULL
) SWIG_fail
;
25855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25856 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
,(wxString
const &)*arg3
);
25858 wxPyEndAllowThreads(__tstate
);
25859 if (PyErr_Occurred()) SWIG_fail
;
25862 resultobj
= wxPyMake_wxObject(result
);
25878 static PyObject
*_wrap_PyLineShape_FindLineEndPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25879 PyObject
*resultobj
;
25880 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25881 double *arg2
= (double *) 0 ;
25882 double *arg3
= (double *) 0 ;
25883 double *arg4
= (double *) 0 ;
25884 double *arg5
= (double *) 0 ;
25889 PyObject
* obj0
= 0 ;
25890 char *kwnames
[] = {
25891 (char *) "self", NULL
25898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindLineEndPoints",kwnames
,&obj0
)) goto fail
;
25899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 (arg1
)->FindLineEndPoints(arg2
,arg3
,arg4
,arg5
);
25905 wxPyEndAllowThreads(__tstate
);
25906 if (PyErr_Occurred()) SWIG_fail
;
25908 Py_INCREF(Py_None
); resultobj
= Py_None
;
25910 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
25911 resultobj
= t_output_helper(resultobj
,o
);
25914 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
25915 resultobj
= t_output_helper(resultobj
,o
);
25918 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
25919 resultobj
= t_output_helper(resultobj
,o
);
25922 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
25923 resultobj
= t_output_helper(resultobj
,o
);
25931 static PyObject
*_wrap_PyLineShape_FindLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25932 PyObject
*resultobj
;
25933 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25937 PyObject
* obj0
= 0 ;
25938 PyObject
* obj1
= 0 ;
25939 PyObject
* obj2
= 0 ;
25940 char *kwnames
[] = {
25941 (char *) "self",(char *) "x",(char *) "y", NULL
25944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindLinePosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25947 arg2
= (double) SWIG_AsDouble(obj1
);
25948 if (PyErr_Occurred()) SWIG_fail
;
25949 arg3
= (double) SWIG_AsDouble(obj2
);
25950 if (PyErr_Occurred()) SWIG_fail
;
25952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25953 result
= (int)(arg1
)->FindLinePosition(arg2
,arg3
);
25955 wxPyEndAllowThreads(__tstate
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25958 resultobj
= SWIG_FromInt((int)result
);
25965 static PyObject
*_wrap_PyLineShape_FindMinimumWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25966 PyObject
*resultobj
;
25967 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25969 PyObject
* obj0
= 0 ;
25970 char *kwnames
[] = {
25971 (char *) "self", NULL
25974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindMinimumWidth",kwnames
,&obj0
)) goto fail
;
25975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25979 result
= (double)(arg1
)->FindMinimumWidth();
25981 wxPyEndAllowThreads(__tstate
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25984 resultobj
= SWIG_FromDouble((double)result
);
25991 static PyObject
*_wrap_PyLineShape_FindNth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
;
25993 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25994 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
25995 int *arg3
= (int *) 0 ;
25996 int *arg4
= (int *) 0 ;
26000 PyObject
* obj0
= 0 ;
26001 PyObject
* obj1
= 0 ;
26002 PyObject
* obj2
= 0 ;
26003 char *kwnames
[] = {
26004 (char *) "self",(char *) "image",(char *) "incoming", NULL
26009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindNth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26012 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26014 arg5
= (bool) SWIG_AsBool(obj2
);
26015 if (PyErr_Occurred()) SWIG_fail
;
26017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26018 (arg1
)->FindNth(arg2
,arg3
,arg4
,arg5
);
26020 wxPyEndAllowThreads(__tstate
);
26021 if (PyErr_Occurred()) SWIG_fail
;
26023 Py_INCREF(Py_None
); resultobj
= Py_None
;
26025 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26026 resultobj
= t_output_helper(resultobj
,o
);
26029 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26030 resultobj
= t_output_helper(resultobj
,o
);
26038 static PyObject
*_wrap_PyLineShape_GetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26039 PyObject
*resultobj
;
26040 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26042 PyObject
* obj0
= 0 ;
26043 char *kwnames
[] = {
26044 (char *) "self", NULL
26047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames
,&obj0
)) goto fail
;
26048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26052 result
= (int)(arg1
)->GetAttachmentFrom();
26054 wxPyEndAllowThreads(__tstate
);
26055 if (PyErr_Occurred()) SWIG_fail
;
26057 resultobj
= SWIG_FromInt((int)result
);
26064 static PyObject
*_wrap_PyLineShape_GetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26065 PyObject
*resultobj
;
26066 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26068 PyObject
* obj0
= 0 ;
26069 char *kwnames
[] = {
26070 (char *) "self", NULL
26073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentTo",kwnames
,&obj0
)) goto fail
;
26074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26078 result
= (int)(arg1
)->GetAttachmentTo();
26080 wxPyEndAllowThreads(__tstate
);
26081 if (PyErr_Occurred()) SWIG_fail
;
26083 resultobj
= SWIG_FromInt((int)result
);
26090 static PyObject
*_wrap_PyLineShape_GetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26091 PyObject
*resultobj
;
26092 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26093 double *arg2
= (double *) 0 ;
26094 double *arg3
= (double *) 0 ;
26095 double *arg4
= (double *) 0 ;
26096 double *arg5
= (double *) 0 ;
26101 PyObject
* obj0
= 0 ;
26102 char *kwnames
[] = {
26103 (char *) "self", NULL
26110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetEnds",kwnames
,&obj0
)) goto fail
;
26111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26115 (arg1
)->GetEnds(arg2
,arg3
,arg4
,arg5
);
26117 wxPyEndAllowThreads(__tstate
);
26118 if (PyErr_Occurred()) SWIG_fail
;
26120 Py_INCREF(Py_None
); resultobj
= Py_None
;
26122 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
26123 resultobj
= t_output_helper(resultobj
,o
);
26126 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
26127 resultobj
= t_output_helper(resultobj
,o
);
26130 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
26131 resultobj
= t_output_helper(resultobj
,o
);
26134 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
26135 resultobj
= t_output_helper(resultobj
,o
);
26143 static PyObject
*_wrap_PyLineShape_GetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26144 PyObject
*resultobj
;
26145 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26147 PyObject
* obj0
= 0 ;
26148 char *kwnames
[] = {
26149 (char *) "self", NULL
26152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetFrom",kwnames
,&obj0
)) goto fail
;
26153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26157 result
= (wxPyShape
*)(arg1
)->GetFrom();
26159 wxPyEndAllowThreads(__tstate
);
26160 if (PyErr_Occurred()) SWIG_fail
;
26163 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
26171 static PyObject
*_wrap_PyLineShape_GetLabelPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26172 PyObject
*resultobj
;
26173 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26175 double *arg3
= (double *) 0 ;
26176 double *arg4
= (double *) 0 ;
26179 PyObject
* obj0
= 0 ;
26180 PyObject
* obj1
= 0 ;
26181 char *kwnames
[] = {
26182 (char *) "self",(char *) "position", NULL
26187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetLabelPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
26188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26190 arg2
= (int) SWIG_AsInt(obj1
);
26191 if (PyErr_Occurred()) SWIG_fail
;
26193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26194 (arg1
)->GetLabelPosition(arg2
,arg3
,arg4
);
26196 wxPyEndAllowThreads(__tstate
);
26197 if (PyErr_Occurred()) SWIG_fail
;
26199 Py_INCREF(Py_None
); resultobj
= Py_None
;
26201 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
26202 resultobj
= t_output_helper(resultobj
,o
);
26205 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
26206 resultobj
= t_output_helper(resultobj
,o
);
26214 static PyObject
*_wrap_PyLineShape_GetNextControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26215 PyObject
*resultobj
;
26216 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26217 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26218 wxRealPoint
*result
;
26219 PyObject
* obj0
= 0 ;
26220 PyObject
* obj1
= 0 ;
26221 char *kwnames
[] = {
26222 (char *) "self",(char *) "shape", NULL
26225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26228 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26232 result
= (wxRealPoint
*)(arg1
)->GetNextControlPoint(arg2
);
26234 wxPyEndAllowThreads(__tstate
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 0);
26244 static PyObject
*_wrap_PyLineShape_GetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26245 PyObject
*resultobj
;
26246 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26248 PyObject
* obj0
= 0 ;
26249 char *kwnames
[] = {
26250 (char *) "self", NULL
26253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetTo",kwnames
,&obj0
)) goto fail
;
26254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26258 result
= (wxPyShape
*)(arg1
)->GetTo();
26260 wxPyEndAllowThreads(__tstate
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26264 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
26272 static PyObject
*_wrap_PyLineShape_Initialise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26273 PyObject
*resultobj
;
26274 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26275 PyObject
* obj0
= 0 ;
26276 char *kwnames
[] = {
26277 (char *) "self", NULL
26280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Initialise",kwnames
,&obj0
)) goto fail
;
26281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26285 (arg1
)->Initialise();
26287 wxPyEndAllowThreads(__tstate
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26290 Py_INCREF(Py_None
); resultobj
= Py_None
;
26297 static PyObject
*_wrap_PyLineShape_InsertLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26298 PyObject
*resultobj
;
26299 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26300 wxDC
*arg2
= (wxDC
*) 0 ;
26301 PyObject
* obj0
= 0 ;
26302 PyObject
* obj1
= 0 ;
26303 char *kwnames
[] = {
26304 (char *) "self",(char *) "dc", NULL
26307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 (arg1
)->InsertLineControlPoint(arg2
);
26316 wxPyEndAllowThreads(__tstate
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26319 Py_INCREF(Py_None
); resultobj
= Py_None
;
26326 static PyObject
*_wrap_PyLineShape_IsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26327 PyObject
*resultobj
;
26328 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26329 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26331 PyObject
* obj0
= 0 ;
26332 PyObject
* obj1
= 0 ;
26333 char *kwnames
[] = {
26334 (char *) "self",(char *) "shape", NULL
26337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_IsEnd",kwnames
,&obj0
,&obj1
)) goto fail
;
26338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26344 result
= (bool)(arg1
)->IsEnd(arg2
);
26346 wxPyEndAllowThreads(__tstate
);
26347 if (PyErr_Occurred()) SWIG_fail
;
26350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26358 static PyObject
*_wrap_PyLineShape_IsSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26359 PyObject
*resultobj
;
26360 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26362 PyObject
* obj0
= 0 ;
26363 char *kwnames
[] = {
26364 (char *) "self", NULL
26367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_IsSpline",kwnames
,&obj0
)) goto fail
;
26368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26372 result
= (bool)(arg1
)->IsSpline();
26374 wxPyEndAllowThreads(__tstate
);
26375 if (PyErr_Occurred()) SWIG_fail
;
26378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26386 static PyObject
*_wrap_PyLineShape_MakeLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26387 PyObject
*resultobj
;
26388 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26390 PyObject
* obj0
= 0 ;
26391 PyObject
* obj1
= 0 ;
26392 char *kwnames
[] = {
26393 (char *) "self",(char *) "n", NULL
26396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_MakeLineControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
26397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26399 arg2
= (int) SWIG_AsInt(obj1
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26403 (arg1
)->MakeLineControlPoints(arg2
);
26405 wxPyEndAllowThreads(__tstate
);
26406 if (PyErr_Occurred()) SWIG_fail
;
26408 Py_INCREF(Py_None
); resultobj
= Py_None
;
26415 static PyObject
*_wrap_PyLineShape_GetLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26416 PyObject
*resultobj
;
26417 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26419 PyObject
* obj0
= 0 ;
26420 char *kwnames
[] = {
26421 (char *) "self", NULL
26424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetLineControlPoints",kwnames
,&obj0
)) goto fail
;
26425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26429 result
= (PyObject
*)wxPyLineShape_GetLineControlPoints(arg1
);
26431 wxPyEndAllowThreads(__tstate
);
26432 if (PyErr_Occurred()) SWIG_fail
;
26434 resultobj
= result
;
26441 static PyObject
*_wrap_PyLineShape_SetLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26442 PyObject
*resultobj
;
26443 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26444 PyObject
*arg2
= (PyObject
*) 0 ;
26445 PyObject
* obj0
= 0 ;
26446 PyObject
* obj1
= 0 ;
26447 char *kwnames
[] = {
26448 (char *) "self",(char *) "list", NULL
26451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetLineControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
26452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26457 wxPyLineShape_SetLineControlPoints(arg1
,arg2
);
26459 wxPyEndAllowThreads(__tstate
);
26460 if (PyErr_Occurred()) SWIG_fail
;
26462 Py_INCREF(Py_None
); resultobj
= Py_None
;
26469 static PyObject
*_wrap_PyLineShape_SetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26470 PyObject
*resultobj
;
26471 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26473 PyObject
* obj0
= 0 ;
26474 PyObject
* obj1
= 0 ;
26475 char *kwnames
[] = {
26476 (char *) "self",(char *) "fromAttach", NULL
26479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetAttachmentFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
26480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26482 arg2
= (int) SWIG_AsInt(obj1
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26486 (arg1
)->SetAttachmentFrom(arg2
);
26488 wxPyEndAllowThreads(__tstate
);
26489 if (PyErr_Occurred()) SWIG_fail
;
26491 Py_INCREF(Py_None
); resultobj
= Py_None
;
26498 static PyObject
*_wrap_PyLineShape_SetAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26499 PyObject
*resultobj
;
26500 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26503 PyObject
* obj0
= 0 ;
26504 PyObject
* obj1
= 0 ;
26505 PyObject
* obj2
= 0 ;
26506 char *kwnames
[] = {
26507 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
26510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAttachments",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26513 arg2
= (int) SWIG_AsInt(obj1
);
26514 if (PyErr_Occurred()) SWIG_fail
;
26515 arg3
= (int) SWIG_AsInt(obj2
);
26516 if (PyErr_Occurred()) SWIG_fail
;
26518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26519 (arg1
)->SetAttachments(arg2
,arg3
);
26521 wxPyEndAllowThreads(__tstate
);
26522 if (PyErr_Occurred()) SWIG_fail
;
26524 Py_INCREF(Py_None
); resultobj
= Py_None
;
26531 static PyObject
*_wrap_PyLineShape_SetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26532 PyObject
*resultobj
;
26533 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26535 PyObject
* obj0
= 0 ;
26536 PyObject
* obj1
= 0 ;
26537 char *kwnames
[] = {
26538 (char *) "self",(char *) "toAttach", NULL
26541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetAttachmentTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26544 arg2
= (int) SWIG_AsInt(obj1
);
26545 if (PyErr_Occurred()) SWIG_fail
;
26547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26548 (arg1
)->SetAttachmentTo(arg2
);
26550 wxPyEndAllowThreads(__tstate
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26553 Py_INCREF(Py_None
); resultobj
= Py_None
;
26560 static PyObject
*_wrap_PyLineShape_SetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26561 PyObject
*resultobj
;
26562 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26567 PyObject
* obj0
= 0 ;
26568 PyObject
* obj1
= 0 ;
26569 PyObject
* obj2
= 0 ;
26570 PyObject
* obj3
= 0 ;
26571 PyObject
* obj4
= 0 ;
26572 char *kwnames
[] = {
26573 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_SetEnds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26579 arg2
= (double) SWIG_AsDouble(obj1
);
26580 if (PyErr_Occurred()) SWIG_fail
;
26581 arg3
= (double) SWIG_AsDouble(obj2
);
26582 if (PyErr_Occurred()) SWIG_fail
;
26583 arg4
= (double) SWIG_AsDouble(obj3
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26585 arg5
= (double) SWIG_AsDouble(obj4
);
26586 if (PyErr_Occurred()) SWIG_fail
;
26588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26589 (arg1
)->SetEnds(arg2
,arg3
,arg4
,arg5
);
26591 wxPyEndAllowThreads(__tstate
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26594 Py_INCREF(Py_None
); resultobj
= Py_None
;
26601 static PyObject
*_wrap_PyLineShape_SetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26602 PyObject
*resultobj
;
26603 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26604 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26605 PyObject
* obj0
= 0 ;
26606 PyObject
* obj1
= 0 ;
26607 char *kwnames
[] = {
26608 (char *) "self",(char *) "object", NULL
26611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
26612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26618 (arg1
)->SetFrom(arg2
);
26620 wxPyEndAllowThreads(__tstate
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26623 Py_INCREF(Py_None
); resultobj
= Py_None
;
26630 static PyObject
*_wrap_PyLineShape_SetIgnoreOffsets(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26631 PyObject
*resultobj
;
26632 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26634 PyObject
* obj0
= 0 ;
26635 PyObject
* obj1
= 0 ;
26636 char *kwnames
[] = {
26637 (char *) "self",(char *) "ignore", NULL
26640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames
,&obj0
,&obj1
)) goto fail
;
26641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26643 arg2
= (bool) SWIG_AsBool(obj1
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26647 (arg1
)->SetIgnoreOffsets(arg2
);
26649 wxPyEndAllowThreads(__tstate
);
26650 if (PyErr_Occurred()) SWIG_fail
;
26652 Py_INCREF(Py_None
); resultobj
= Py_None
;
26659 static PyObject
*_wrap_PyLineShape_SetSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26660 PyObject
*resultobj
;
26661 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26663 PyObject
* obj0
= 0 ;
26664 PyObject
* obj1
= 0 ;
26665 char *kwnames
[] = {
26666 (char *) "self",(char *) "spline", NULL
26669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
26670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26672 arg2
= (bool) SWIG_AsBool(obj1
);
26673 if (PyErr_Occurred()) SWIG_fail
;
26675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26676 (arg1
)->SetSpline(arg2
);
26678 wxPyEndAllowThreads(__tstate
);
26679 if (PyErr_Occurred()) SWIG_fail
;
26681 Py_INCREF(Py_None
); resultobj
= Py_None
;
26688 static PyObject
*_wrap_PyLineShape_SetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26689 PyObject
*resultobj
;
26690 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26691 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26692 PyObject
* obj0
= 0 ;
26693 PyObject
* obj1
= 0 ;
26694 char *kwnames
[] = {
26695 (char *) "self",(char *) "object", NULL
26698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26705 (arg1
)->SetTo(arg2
);
26707 wxPyEndAllowThreads(__tstate
);
26708 if (PyErr_Occurred()) SWIG_fail
;
26710 Py_INCREF(Py_None
); resultobj
= Py_None
;
26717 static PyObject
*_wrap_PyLineShape_Straighten(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26718 PyObject
*resultobj
;
26719 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26720 wxDC
*arg2
= (wxDC
*) NULL
;
26721 PyObject
* obj0
= 0 ;
26722 PyObject
* obj1
= 0 ;
26723 char *kwnames
[] = {
26724 (char *) "self",(char *) "dc", NULL
26727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_Straighten",kwnames
,&obj0
,&obj1
)) goto fail
;
26728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26736 (arg1
)->Straighten(arg2
);
26738 wxPyEndAllowThreads(__tstate
);
26739 if (PyErr_Occurred()) SWIG_fail
;
26741 Py_INCREF(Py_None
); resultobj
= Py_None
;
26748 static PyObject
*_wrap_PyLineShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26749 PyObject
*resultobj
;
26750 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26751 PyObject
* obj0
= 0 ;
26752 char *kwnames
[] = {
26753 (char *) "self", NULL
26756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Unlink",kwnames
,&obj0
)) goto fail
;
26757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26763 wxPyEndAllowThreads(__tstate
);
26764 if (PyErr_Occurred()) SWIG_fail
;
26766 Py_INCREF(Py_None
); resultobj
= Py_None
;
26773 static PyObject
*_wrap_PyLineShape_SetAlignmentOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26774 PyObject
*resultobj
;
26775 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26778 PyObject
* obj0
= 0 ;
26779 PyObject
* obj1
= 0 ;
26780 PyObject
* obj2
= 0 ;
26781 char *kwnames
[] = {
26782 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
26785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26788 arg2
= (bool) SWIG_AsBool(obj1
);
26789 if (PyErr_Occurred()) SWIG_fail
;
26790 arg3
= (bool) SWIG_AsBool(obj2
);
26791 if (PyErr_Occurred()) SWIG_fail
;
26793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26794 (arg1
)->SetAlignmentOrientation(arg2
,arg3
);
26796 wxPyEndAllowThreads(__tstate
);
26797 if (PyErr_Occurred()) SWIG_fail
;
26799 Py_INCREF(Py_None
); resultobj
= Py_None
;
26806 static PyObject
*_wrap_PyLineShape_SetAlignmentType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26807 PyObject
*resultobj
;
26808 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26811 PyObject
* obj0
= 0 ;
26812 PyObject
* obj1
= 0 ;
26813 PyObject
* obj2
= 0 ;
26814 char *kwnames
[] = {
26815 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
26818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentType",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26821 arg2
= (bool) SWIG_AsBool(obj1
);
26822 if (PyErr_Occurred()) SWIG_fail
;
26823 arg3
= (int) SWIG_AsInt(obj2
);
26824 if (PyErr_Occurred()) SWIG_fail
;
26826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26827 (arg1
)->SetAlignmentType(arg2
,arg3
);
26829 wxPyEndAllowThreads(__tstate
);
26830 if (PyErr_Occurred()) SWIG_fail
;
26832 Py_INCREF(Py_None
); resultobj
= Py_None
;
26839 static PyObject
*_wrap_PyLineShape_GetAlignmentOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26840 PyObject
*resultobj
;
26841 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26844 PyObject
* obj0
= 0 ;
26845 PyObject
* obj1
= 0 ;
26846 char *kwnames
[] = {
26847 (char *) "self",(char *) "isEnd", NULL
26850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
26851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26853 arg2
= (bool) SWIG_AsBool(obj1
);
26854 if (PyErr_Occurred()) SWIG_fail
;
26856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26857 result
= (bool)(arg1
)->GetAlignmentOrientation(arg2
);
26859 wxPyEndAllowThreads(__tstate
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26871 static PyObject
*_wrap_PyLineShape_GetAlignmentType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26872 PyObject
*resultobj
;
26873 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26876 PyObject
* obj0
= 0 ;
26877 PyObject
* obj1
= 0 ;
26878 char *kwnames
[] = {
26879 (char *) "self",(char *) "isEnd", NULL
26882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentType",kwnames
,&obj0
,&obj1
)) goto fail
;
26883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26885 arg2
= (bool) SWIG_AsBool(obj1
);
26886 if (PyErr_Occurred()) SWIG_fail
;
26888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26889 result
= (int)(arg1
)->GetAlignmentType(arg2
);
26891 wxPyEndAllowThreads(__tstate
);
26892 if (PyErr_Occurred()) SWIG_fail
;
26894 resultobj
= SWIG_FromInt((int)result
);
26901 static PyObject
*_wrap_PyLineShape_GetAlignmentStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26902 PyObject
*resultobj
;
26903 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26905 PyObject
* obj0
= 0 ;
26906 char *kwnames
[] = {
26907 (char *) "self", NULL
26910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentStart",kwnames
,&obj0
)) goto fail
;
26911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26915 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentStart();
26917 wxPyEndAllowThreads(__tstate
);
26918 if (PyErr_Occurred()) SWIG_fail
;
26920 resultobj
= SWIG_FromInt((int)result
);
26927 static PyObject
*_wrap_PyLineShape_GetAlignmentEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26928 PyObject
*resultobj
;
26929 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26931 PyObject
* obj0
= 0 ;
26932 char *kwnames
[] = {
26933 (char *) "self", NULL
26936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames
,&obj0
)) goto fail
;
26937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26941 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentEnd();
26943 wxPyEndAllowThreads(__tstate
);
26944 if (PyErr_Occurred()) SWIG_fail
;
26946 resultobj
= SWIG_FromInt((int)result
);
26953 static PyObject
*_wrap_PyLineShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26954 PyObject
*resultobj
;
26955 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26957 PyObject
* obj0
= 0 ;
26958 PyObject
* obj1
= 0 ;
26959 char *kwnames
[] = {
26960 (char *) "self",(char *) "dc", NULL
26963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
26964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26967 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26969 if (arg2
== NULL
) {
26970 PyErr_SetString(PyExc_TypeError
,"null reference");
26974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26975 (arg1
)->base_OnDraw(*arg2
);
26977 wxPyEndAllowThreads(__tstate
);
26978 if (PyErr_Occurred()) SWIG_fail
;
26980 Py_INCREF(Py_None
); resultobj
= Py_None
;
26987 static PyObject
*_wrap_PyLineShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26988 PyObject
*resultobj
;
26989 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26991 PyObject
* obj0
= 0 ;
26992 PyObject
* obj1
= 0 ;
26993 char *kwnames
[] = {
26994 (char *) "self",(char *) "dc", NULL
26997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
26998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27001 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27003 if (arg2
== NULL
) {
27004 PyErr_SetString(PyExc_TypeError
,"null reference");
27008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27009 (arg1
)->base_OnDrawContents(*arg2
);
27011 wxPyEndAllowThreads(__tstate
);
27012 if (PyErr_Occurred()) SWIG_fail
;
27014 Py_INCREF(Py_None
); resultobj
= Py_None
;
27021 static PyObject
*_wrap_PyLineShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27022 PyObject
*resultobj
;
27023 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27025 bool arg3
= (bool) FALSE
;
27026 PyObject
* obj0
= 0 ;
27027 PyObject
* obj1
= 0 ;
27028 PyObject
* obj2
= 0 ;
27029 char *kwnames
[] = {
27030 (char *) "self",(char *) "dc",(char *) "erase", NULL
27033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27036 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27037 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27039 if (arg2
== NULL
) {
27040 PyErr_SetString(PyExc_TypeError
,"null reference");
27044 arg3
= (bool) SWIG_AsBool(obj2
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27049 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
27051 wxPyEndAllowThreads(__tstate
);
27052 if (PyErr_Occurred()) SWIG_fail
;
27054 Py_INCREF(Py_None
); resultobj
= Py_None
;
27061 static PyObject
*_wrap_PyLineShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27062 PyObject
*resultobj
;
27063 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27065 PyObject
* obj0
= 0 ;
27066 PyObject
* obj1
= 0 ;
27067 char *kwnames
[] = {
27068 (char *) "self",(char *) "dc", NULL
27071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
27072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27075 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27077 if (arg2
== NULL
) {
27078 PyErr_SetString(PyExc_TypeError
,"null reference");
27082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27083 (arg1
)->base_OnMoveLinks(*arg2
);
27085 wxPyEndAllowThreads(__tstate
);
27086 if (PyErr_Occurred()) SWIG_fail
;
27088 Py_INCREF(Py_None
); resultobj
= Py_None
;
27095 static PyObject
*_wrap_PyLineShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27096 PyObject
*resultobj
;
27097 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27099 PyObject
* obj0
= 0 ;
27100 PyObject
* obj1
= 0 ;
27101 char *kwnames
[] = {
27102 (char *) "self",(char *) "dc", NULL
27105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
27106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27108 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27109 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27111 if (arg2
== NULL
) {
27112 PyErr_SetString(PyExc_TypeError
,"null reference");
27116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27117 (arg1
)->base_OnErase(*arg2
);
27119 wxPyEndAllowThreads(__tstate
);
27120 if (PyErr_Occurred()) SWIG_fail
;
27122 Py_INCREF(Py_None
); resultobj
= Py_None
;
27129 static PyObject
*_wrap_PyLineShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27130 PyObject
*resultobj
;
27131 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27133 PyObject
* obj0
= 0 ;
27134 PyObject
* obj1
= 0 ;
27135 char *kwnames
[] = {
27136 (char *) "self",(char *) "dc", NULL
27139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
27140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27145 if (arg2
== NULL
) {
27146 PyErr_SetString(PyExc_TypeError
,"null reference");
27150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27151 (arg1
)->base_OnEraseContents(*arg2
);
27153 wxPyEndAllowThreads(__tstate
);
27154 if (PyErr_Occurred()) SWIG_fail
;
27156 Py_INCREF(Py_None
); resultobj
= Py_None
;
27163 static PyObject
*_wrap_PyLineShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27164 PyObject
*resultobj
;
27165 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27167 PyObject
* obj0
= 0 ;
27168 PyObject
* obj1
= 0 ;
27169 char *kwnames
[] = {
27170 (char *) "self",(char *) "dc", NULL
27173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
27174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27177 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27179 if (arg2
== NULL
) {
27180 PyErr_SetString(PyExc_TypeError
,"null reference");
27184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27185 (arg1
)->base_OnHighlight(*arg2
);
27187 wxPyEndAllowThreads(__tstate
);
27188 if (PyErr_Occurred()) SWIG_fail
;
27190 Py_INCREF(Py_None
); resultobj
= Py_None
;
27197 static PyObject
*_wrap_PyLineShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27198 PyObject
*resultobj
;
27199 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27202 int arg4
= (int) 0 ;
27203 int arg5
= (int) 0 ;
27204 PyObject
* obj0
= 0 ;
27205 PyObject
* obj1
= 0 ;
27206 PyObject
* obj2
= 0 ;
27207 PyObject
* obj3
= 0 ;
27208 PyObject
* obj4
= 0 ;
27209 char *kwnames
[] = {
27210 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27216 arg2
= (double) SWIG_AsDouble(obj1
);
27217 if (PyErr_Occurred()) SWIG_fail
;
27218 arg3
= (double) SWIG_AsDouble(obj2
);
27219 if (PyErr_Occurred()) SWIG_fail
;
27221 arg4
= (int) SWIG_AsInt(obj3
);
27222 if (PyErr_Occurred()) SWIG_fail
;
27225 arg5
= (int) SWIG_AsInt(obj4
);
27226 if (PyErr_Occurred()) SWIG_fail
;
27229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27230 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
27232 wxPyEndAllowThreads(__tstate
);
27233 if (PyErr_Occurred()) SWIG_fail
;
27235 Py_INCREF(Py_None
); resultobj
= Py_None
;
27242 static PyObject
*_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27243 PyObject
*resultobj
;
27244 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27247 int arg4
= (int) 0 ;
27248 int arg5
= (int) 0 ;
27249 PyObject
* obj0
= 0 ;
27250 PyObject
* obj1
= 0 ;
27251 PyObject
* obj2
= 0 ;
27252 PyObject
* obj3
= 0 ;
27253 PyObject
* obj4
= 0 ;
27254 char *kwnames
[] = {
27255 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27261 arg2
= (double) SWIG_AsDouble(obj1
);
27262 if (PyErr_Occurred()) SWIG_fail
;
27263 arg3
= (double) SWIG_AsDouble(obj2
);
27264 if (PyErr_Occurred()) SWIG_fail
;
27266 arg4
= (int) SWIG_AsInt(obj3
);
27267 if (PyErr_Occurred()) SWIG_fail
;
27270 arg5
= (int) SWIG_AsInt(obj4
);
27271 if (PyErr_Occurred()) SWIG_fail
;
27274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27275 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
27277 wxPyEndAllowThreads(__tstate
);
27278 if (PyErr_Occurred()) SWIG_fail
;
27280 Py_INCREF(Py_None
); resultobj
= Py_None
;
27287 static PyObject
*_wrap_PyLineShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27288 PyObject
*resultobj
;
27289 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27292 int arg4
= (int) 0 ;
27293 int arg5
= (int) 0 ;
27294 PyObject
* obj0
= 0 ;
27295 PyObject
* obj1
= 0 ;
27296 PyObject
* obj2
= 0 ;
27297 PyObject
* obj3
= 0 ;
27298 PyObject
* obj4
= 0 ;
27299 char *kwnames
[] = {
27300 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27306 arg2
= (double) SWIG_AsDouble(obj1
);
27307 if (PyErr_Occurred()) SWIG_fail
;
27308 arg3
= (double) SWIG_AsDouble(obj2
);
27309 if (PyErr_Occurred()) SWIG_fail
;
27311 arg4
= (int) SWIG_AsInt(obj3
);
27312 if (PyErr_Occurred()) SWIG_fail
;
27315 arg5
= (int) SWIG_AsInt(obj4
);
27316 if (PyErr_Occurred()) SWIG_fail
;
27319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27320 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
27322 wxPyEndAllowThreads(__tstate
);
27323 if (PyErr_Occurred()) SWIG_fail
;
27325 Py_INCREF(Py_None
); resultobj
= Py_None
;
27332 static PyObject
*_wrap_PyLineShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27333 PyObject
*resultobj
;
27334 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27337 PyObject
* obj0
= 0 ;
27338 PyObject
* obj1
= 0 ;
27339 PyObject
* obj2
= 0 ;
27340 char *kwnames
[] = {
27341 (char *) "self",(char *) "x",(char *) "y", NULL
27344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27347 arg2
= (double) SWIG_AsDouble(obj1
);
27348 if (PyErr_Occurred()) SWIG_fail
;
27349 arg3
= (double) SWIG_AsDouble(obj2
);
27350 if (PyErr_Occurred()) SWIG_fail
;
27352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27353 (arg1
)->base_OnSize(arg2
,arg3
);
27355 wxPyEndAllowThreads(__tstate
);
27356 if (PyErr_Occurred()) SWIG_fail
;
27358 Py_INCREF(Py_None
); resultobj
= Py_None
;
27365 static PyObject
*_wrap_PyLineShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27366 PyObject
*resultobj
;
27367 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27373 bool arg7
= (bool) True
;
27375 PyObject
* obj0
= 0 ;
27376 PyObject
* obj1
= 0 ;
27377 PyObject
* obj2
= 0 ;
27378 PyObject
* obj3
= 0 ;
27379 PyObject
* obj4
= 0 ;
27380 PyObject
* obj5
= 0 ;
27381 PyObject
* obj6
= 0 ;
27382 char *kwnames
[] = {
27383 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyLineShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27390 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27392 if (arg2
== NULL
) {
27393 PyErr_SetString(PyExc_TypeError
,"null reference");
27396 arg3
= (double) SWIG_AsDouble(obj2
);
27397 if (PyErr_Occurred()) SWIG_fail
;
27398 arg4
= (double) SWIG_AsDouble(obj3
);
27399 if (PyErr_Occurred()) SWIG_fail
;
27400 arg5
= (double) SWIG_AsDouble(obj4
);
27401 if (PyErr_Occurred()) SWIG_fail
;
27402 arg6
= (double) SWIG_AsDouble(obj5
);
27403 if (PyErr_Occurred()) SWIG_fail
;
27405 arg7
= (bool) SWIG_AsBool(obj6
);
27406 if (PyErr_Occurred()) SWIG_fail
;
27409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27410 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27412 wxPyEndAllowThreads(__tstate
);
27413 if (PyErr_Occurred()) SWIG_fail
;
27416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27424 static PyObject
*_wrap_PyLineShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27425 PyObject
*resultobj
;
27426 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27432 bool arg7
= (bool) True
;
27433 PyObject
* obj0
= 0 ;
27434 PyObject
* obj1
= 0 ;
27435 PyObject
* obj2
= 0 ;
27436 PyObject
* obj3
= 0 ;
27437 PyObject
* obj4
= 0 ;
27438 PyObject
* obj5
= 0 ;
27439 PyObject
* obj6
= 0 ;
27440 char *kwnames
[] = {
27441 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyLineShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27450 if (arg2
== NULL
) {
27451 PyErr_SetString(PyExc_TypeError
,"null reference");
27454 arg3
= (double) SWIG_AsDouble(obj2
);
27455 if (PyErr_Occurred()) SWIG_fail
;
27456 arg4
= (double) SWIG_AsDouble(obj3
);
27457 if (PyErr_Occurred()) SWIG_fail
;
27458 arg5
= (double) SWIG_AsDouble(obj4
);
27459 if (PyErr_Occurred()) SWIG_fail
;
27460 arg6
= (double) SWIG_AsDouble(obj5
);
27461 if (PyErr_Occurred()) SWIG_fail
;
27463 arg7
= (bool) SWIG_AsBool(obj6
);
27464 if (PyErr_Occurred()) SWIG_fail
;
27467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27468 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27470 wxPyEndAllowThreads(__tstate
);
27471 if (PyErr_Occurred()) SWIG_fail
;
27473 Py_INCREF(Py_None
); resultobj
= Py_None
;
27480 static PyObject
*_wrap_PyLineShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27481 PyObject
*resultobj
;
27482 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27486 int arg5
= (int) 0 ;
27487 int arg6
= (int) 0 ;
27488 PyObject
* obj0
= 0 ;
27489 PyObject
* obj1
= 0 ;
27490 PyObject
* obj2
= 0 ;
27491 PyObject
* obj3
= 0 ;
27492 PyObject
* obj4
= 0 ;
27493 PyObject
* obj5
= 0 ;
27494 char *kwnames
[] = {
27495 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27501 arg2
= (bool) SWIG_AsBool(obj1
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27503 arg3
= (double) SWIG_AsDouble(obj2
);
27504 if (PyErr_Occurred()) SWIG_fail
;
27505 arg4
= (double) SWIG_AsDouble(obj3
);
27506 if (PyErr_Occurred()) SWIG_fail
;
27508 arg5
= (int) SWIG_AsInt(obj4
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27512 arg6
= (int) SWIG_AsInt(obj5
);
27513 if (PyErr_Occurred()) SWIG_fail
;
27516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27517 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
27519 wxPyEndAllowThreads(__tstate
);
27520 if (PyErr_Occurred()) SWIG_fail
;
27522 Py_INCREF(Py_None
); resultobj
= Py_None
;
27529 static PyObject
*_wrap_PyLineShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27530 PyObject
*resultobj
;
27531 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27534 int arg4
= (int) 0 ;
27535 int arg5
= (int) 0 ;
27536 PyObject
* obj0
= 0 ;
27537 PyObject
* obj1
= 0 ;
27538 PyObject
* obj2
= 0 ;
27539 PyObject
* obj3
= 0 ;
27540 PyObject
* obj4
= 0 ;
27541 char *kwnames
[] = {
27542 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27548 arg2
= (double) SWIG_AsDouble(obj1
);
27549 if (PyErr_Occurred()) SWIG_fail
;
27550 arg3
= (double) SWIG_AsDouble(obj2
);
27551 if (PyErr_Occurred()) SWIG_fail
;
27553 arg4
= (int) SWIG_AsInt(obj3
);
27554 if (PyErr_Occurred()) SWIG_fail
;
27557 arg5
= (int) SWIG_AsInt(obj4
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27562 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
27564 wxPyEndAllowThreads(__tstate
);
27565 if (PyErr_Occurred()) SWIG_fail
;
27567 Py_INCREF(Py_None
); resultobj
= Py_None
;
27574 static PyObject
*_wrap_PyLineShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27575 PyObject
*resultobj
;
27576 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27579 int arg4
= (int) 0 ;
27580 int arg5
= (int) 0 ;
27581 PyObject
* obj0
= 0 ;
27582 PyObject
* obj1
= 0 ;
27583 PyObject
* obj2
= 0 ;
27584 PyObject
* obj3
= 0 ;
27585 PyObject
* obj4
= 0 ;
27586 char *kwnames
[] = {
27587 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27593 arg2
= (double) SWIG_AsDouble(obj1
);
27594 if (PyErr_Occurred()) SWIG_fail
;
27595 arg3
= (double) SWIG_AsDouble(obj2
);
27596 if (PyErr_Occurred()) SWIG_fail
;
27598 arg4
= (int) SWIG_AsInt(obj3
);
27599 if (PyErr_Occurred()) SWIG_fail
;
27602 arg5
= (int) SWIG_AsInt(obj4
);
27603 if (PyErr_Occurred()) SWIG_fail
;
27606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27607 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
27609 wxPyEndAllowThreads(__tstate
);
27610 if (PyErr_Occurred()) SWIG_fail
;
27612 Py_INCREF(Py_None
); resultobj
= Py_None
;
27619 static PyObject
*_wrap_PyLineShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27620 PyObject
*resultobj
;
27621 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27625 int arg5
= (int) 0 ;
27626 int arg6
= (int) 0 ;
27627 PyObject
* obj0
= 0 ;
27628 PyObject
* obj1
= 0 ;
27629 PyObject
* obj2
= 0 ;
27630 PyObject
* obj3
= 0 ;
27631 PyObject
* obj4
= 0 ;
27632 PyObject
* obj5
= 0 ;
27633 char *kwnames
[] = {
27634 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27640 arg2
= (bool) SWIG_AsBool(obj1
);
27641 if (PyErr_Occurred()) SWIG_fail
;
27642 arg3
= (double) SWIG_AsDouble(obj2
);
27643 if (PyErr_Occurred()) SWIG_fail
;
27644 arg4
= (double) SWIG_AsDouble(obj3
);
27645 if (PyErr_Occurred()) SWIG_fail
;
27647 arg5
= (int) SWIG_AsInt(obj4
);
27648 if (PyErr_Occurred()) SWIG_fail
;
27651 arg6
= (int) SWIG_AsInt(obj5
);
27652 if (PyErr_Occurred()) SWIG_fail
;
27655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27656 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
27658 wxPyEndAllowThreads(__tstate
);
27659 if (PyErr_Occurred()) SWIG_fail
;
27661 Py_INCREF(Py_None
); resultobj
= Py_None
;
27668 static PyObject
*_wrap_PyLineShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27669 PyObject
*resultobj
;
27670 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27673 int arg4
= (int) 0 ;
27674 int arg5
= (int) 0 ;
27675 PyObject
* obj0
= 0 ;
27676 PyObject
* obj1
= 0 ;
27677 PyObject
* obj2
= 0 ;
27678 PyObject
* obj3
= 0 ;
27679 PyObject
* obj4
= 0 ;
27680 char *kwnames
[] = {
27681 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27687 arg2
= (double) SWIG_AsDouble(obj1
);
27688 if (PyErr_Occurred()) SWIG_fail
;
27689 arg3
= (double) SWIG_AsDouble(obj2
);
27690 if (PyErr_Occurred()) SWIG_fail
;
27692 arg4
= (int) SWIG_AsInt(obj3
);
27693 if (PyErr_Occurred()) SWIG_fail
;
27696 arg5
= (int) SWIG_AsInt(obj4
);
27697 if (PyErr_Occurred()) SWIG_fail
;
27700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27701 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
27703 wxPyEndAllowThreads(__tstate
);
27704 if (PyErr_Occurred()) SWIG_fail
;
27706 Py_INCREF(Py_None
); resultobj
= Py_None
;
27713 static PyObject
*_wrap_PyLineShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27714 PyObject
*resultobj
;
27715 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27718 int arg4
= (int) 0 ;
27719 int arg5
= (int) 0 ;
27720 PyObject
* obj0
= 0 ;
27721 PyObject
* obj1
= 0 ;
27722 PyObject
* obj2
= 0 ;
27723 PyObject
* obj3
= 0 ;
27724 PyObject
* obj4
= 0 ;
27725 char *kwnames
[] = {
27726 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27732 arg2
= (double) SWIG_AsDouble(obj1
);
27733 if (PyErr_Occurred()) SWIG_fail
;
27734 arg3
= (double) SWIG_AsDouble(obj2
);
27735 if (PyErr_Occurred()) SWIG_fail
;
27737 arg4
= (int) SWIG_AsInt(obj3
);
27738 if (PyErr_Occurred()) SWIG_fail
;
27741 arg5
= (int) SWIG_AsInt(obj4
);
27742 if (PyErr_Occurred()) SWIG_fail
;
27745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27746 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
27748 wxPyEndAllowThreads(__tstate
);
27749 if (PyErr_Occurred()) SWIG_fail
;
27751 Py_INCREF(Py_None
); resultobj
= Py_None
;
27758 static PyObject
*_wrap_PyLineShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27759 PyObject
*resultobj
;
27760 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27766 PyObject
* obj0
= 0 ;
27767 PyObject
* obj1
= 0 ;
27768 PyObject
* obj2
= 0 ;
27769 PyObject
* obj3
= 0 ;
27770 PyObject
* obj4
= 0 ;
27771 PyObject
* obj5
= 0 ;
27772 char *kwnames
[] = {
27773 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyLineShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27780 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27782 if (arg2
== NULL
) {
27783 PyErr_SetString(PyExc_TypeError
,"null reference");
27786 arg3
= (double) SWIG_AsDouble(obj2
);
27787 if (PyErr_Occurred()) SWIG_fail
;
27788 arg4
= (double) SWIG_AsDouble(obj3
);
27789 if (PyErr_Occurred()) SWIG_fail
;
27790 arg5
= (double) SWIG_AsDouble(obj4
);
27791 if (PyErr_Occurred()) SWIG_fail
;
27792 arg6
= (double) SWIG_AsDouble(obj5
);
27793 if (PyErr_Occurred()) SWIG_fail
;
27795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27796 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
27798 wxPyEndAllowThreads(__tstate
);
27799 if (PyErr_Occurred()) SWIG_fail
;
27801 Py_INCREF(Py_None
); resultobj
= Py_None
;
27808 static PyObject
*_wrap_PyLineShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27809 PyObject
*resultobj
;
27810 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27812 PyObject
* obj0
= 0 ;
27813 PyObject
* obj1
= 0 ;
27814 char *kwnames
[] = {
27815 (char *) "self",(char *) "dc", NULL
27818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
27819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27824 if (arg2
== NULL
) {
27825 PyErr_SetString(PyExc_TypeError
,"null reference");
27829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27830 (arg1
)->base_OnDrawControlPoints(*arg2
);
27832 wxPyEndAllowThreads(__tstate
);
27833 if (PyErr_Occurred()) SWIG_fail
;
27835 Py_INCREF(Py_None
); resultobj
= Py_None
;
27842 static PyObject
*_wrap_PyLineShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27843 PyObject
*resultobj
;
27844 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27846 PyObject
* obj0
= 0 ;
27847 PyObject
* obj1
= 0 ;
27848 char *kwnames
[] = {
27849 (char *) "self",(char *) "dc", NULL
27852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
27853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27856 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27858 if (arg2
== NULL
) {
27859 PyErr_SetString(PyExc_TypeError
,"null reference");
27863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27864 (arg1
)->base_OnEraseControlPoints(*arg2
);
27866 wxPyEndAllowThreads(__tstate
);
27867 if (PyErr_Occurred()) SWIG_fail
;
27869 Py_INCREF(Py_None
); resultobj
= Py_None
;
27876 static PyObject
*_wrap_PyLineShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27877 PyObject
*resultobj
;
27878 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27880 bool arg3
= (bool) True
;
27881 PyObject
* obj0
= 0 ;
27882 PyObject
* obj1
= 0 ;
27883 PyObject
* obj2
= 0 ;
27884 char *kwnames
[] = {
27885 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
27888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27892 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27894 if (arg2
== NULL
) {
27895 PyErr_SetString(PyExc_TypeError
,"null reference");
27899 arg3
= (bool) SWIG_AsBool(obj2
);
27900 if (PyErr_Occurred()) SWIG_fail
;
27903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27904 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
27906 wxPyEndAllowThreads(__tstate
);
27907 if (PyErr_Occurred()) SWIG_fail
;
27909 Py_INCREF(Py_None
); resultobj
= Py_None
;
27916 static PyObject
*_wrap_PyLineShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27917 PyObject
*resultobj
;
27918 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27919 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
27923 int arg6
= (int) 0 ;
27924 int arg7
= (int) 0 ;
27925 PyObject
* obj0
= 0 ;
27926 PyObject
* obj1
= 0 ;
27927 PyObject
* obj2
= 0 ;
27928 PyObject
* obj3
= 0 ;
27929 PyObject
* obj4
= 0 ;
27930 PyObject
* obj5
= 0 ;
27931 PyObject
* obj6
= 0 ;
27932 char *kwnames
[] = {
27933 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyLineShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
27940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27941 arg3
= (bool) SWIG_AsBool(obj2
);
27942 if (PyErr_Occurred()) SWIG_fail
;
27943 arg4
= (double) SWIG_AsDouble(obj3
);
27944 if (PyErr_Occurred()) SWIG_fail
;
27945 arg5
= (double) SWIG_AsDouble(obj4
);
27946 if (PyErr_Occurred()) SWIG_fail
;
27948 arg6
= (int) SWIG_AsInt(obj5
);
27949 if (PyErr_Occurred()) SWIG_fail
;
27952 arg7
= (int) SWIG_AsInt(obj6
);
27953 if (PyErr_Occurred()) SWIG_fail
;
27956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27957 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27959 wxPyEndAllowThreads(__tstate
);
27960 if (PyErr_Occurred()) SWIG_fail
;
27962 Py_INCREF(Py_None
); resultobj
= Py_None
;
27969 static PyObject
*_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27970 PyObject
*resultobj
;
27971 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27972 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
27975 int arg5
= (int) 0 ;
27976 int arg6
= (int) 0 ;
27977 PyObject
* obj0
= 0 ;
27978 PyObject
* obj1
= 0 ;
27979 PyObject
* obj2
= 0 ;
27980 PyObject
* obj3
= 0 ;
27981 PyObject
* obj4
= 0 ;
27982 PyObject
* obj5
= 0 ;
27983 char *kwnames
[] = {
27984 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
27991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27992 arg3
= (double) SWIG_AsDouble(obj2
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27994 arg4
= (double) SWIG_AsDouble(obj3
);
27995 if (PyErr_Occurred()) SWIG_fail
;
27997 arg5
= (int) SWIG_AsInt(obj4
);
27998 if (PyErr_Occurred()) SWIG_fail
;
28001 arg6
= (int) SWIG_AsInt(obj5
);
28002 if (PyErr_Occurred()) SWIG_fail
;
28005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28006 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
28008 wxPyEndAllowThreads(__tstate
);
28009 if (PyErr_Occurred()) SWIG_fail
;
28011 Py_INCREF(Py_None
); resultobj
= Py_None
;
28018 static PyObject
*_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28019 PyObject
*resultobj
;
28020 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28021 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
28024 int arg5
= (int) 0 ;
28025 int arg6
= (int) 0 ;
28026 PyObject
* obj0
= 0 ;
28027 PyObject
* obj1
= 0 ;
28028 PyObject
* obj2
= 0 ;
28029 PyObject
* obj3
= 0 ;
28030 PyObject
* obj4
= 0 ;
28031 PyObject
* obj5
= 0 ;
28032 char *kwnames
[] = {
28033 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
28038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28039 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
28040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28041 arg3
= (double) SWIG_AsDouble(obj2
);
28042 if (PyErr_Occurred()) SWIG_fail
;
28043 arg4
= (double) SWIG_AsDouble(obj3
);
28044 if (PyErr_Occurred()) SWIG_fail
;
28046 arg5
= (int) SWIG_AsInt(obj4
);
28047 if (PyErr_Occurred()) SWIG_fail
;
28050 arg6
= (int) SWIG_AsInt(obj5
);
28051 if (PyErr_Occurred()) SWIG_fail
;
28054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28055 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
28057 wxPyEndAllowThreads(__tstate
);
28058 if (PyErr_Occurred()) SWIG_fail
;
28060 Py_INCREF(Py_None
); resultobj
= Py_None
;
28067 static PyObject
*_wrap_PyLineShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28068 PyObject
*resultobj
;
28069 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28072 PyObject
* obj0
= 0 ;
28073 PyObject
* obj1
= 0 ;
28074 PyObject
* obj2
= 0 ;
28075 char *kwnames
[] = {
28076 (char *) "self",(char *) "w",(char *) "h", NULL
28079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
28081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28082 arg2
= (double) SWIG_AsDouble(obj1
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28084 arg3
= (double) SWIG_AsDouble(obj2
);
28085 if (PyErr_Occurred()) SWIG_fail
;
28087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28088 (arg1
)->base_OnBeginSize(arg2
,arg3
);
28090 wxPyEndAllowThreads(__tstate
);
28091 if (PyErr_Occurred()) SWIG_fail
;
28093 Py_INCREF(Py_None
); resultobj
= Py_None
;
28100 static PyObject
*_wrap_PyLineShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28101 PyObject
*resultobj
;
28102 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28105 PyObject
* obj0
= 0 ;
28106 PyObject
* obj1
= 0 ;
28107 PyObject
* obj2
= 0 ;
28108 char *kwnames
[] = {
28109 (char *) "self",(char *) "w",(char *) "h", NULL
28112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
28114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28115 arg2
= (double) SWIG_AsDouble(obj1
);
28116 if (PyErr_Occurred()) SWIG_fail
;
28117 arg3
= (double) SWIG_AsDouble(obj2
);
28118 if (PyErr_Occurred()) SWIG_fail
;
28120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28121 (arg1
)->base_OnEndSize(arg2
,arg3
);
28123 wxPyEndAllowThreads(__tstate
);
28124 if (PyErr_Occurred()) SWIG_fail
;
28126 Py_INCREF(Py_None
); resultobj
= Py_None
;
28133 static PyObject
* PyLineShape_swigregister(PyObject
*self
, PyObject
*args
) {
28135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28136 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape
, obj
);
28138 return Py_BuildValue((char *)"");
28140 static PyObject
*_wrap_new_PyPolygonShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28141 PyObject
*resultobj
;
28142 wxPyPolygonShape
*result
;
28143 char *kwnames
[] = {
28147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyPolygonShape",kwnames
)) goto fail
;
28149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28150 result
= (wxPyPolygonShape
*)new wxPyPolygonShape();
28152 wxPyEndAllowThreads(__tstate
);
28153 if (PyErr_Occurred()) SWIG_fail
;
28155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPolygonShape
, 1);
28162 static PyObject
*_wrap_PyPolygonShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28163 PyObject
*resultobj
;
28164 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28165 PyObject
*arg2
= (PyObject
*) 0 ;
28166 PyObject
*arg3
= (PyObject
*) 0 ;
28167 PyObject
* obj0
= 0 ;
28168 PyObject
* obj1
= 0 ;
28169 PyObject
* obj2
= 0 ;
28170 char *kwnames
[] = {
28171 (char *) "self",(char *) "self",(char *) "_class", NULL
28174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28181 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28183 wxPyEndAllowThreads(__tstate
);
28184 if (PyErr_Occurred()) SWIG_fail
;
28186 Py_INCREF(Py_None
); resultobj
= Py_None
;
28193 static PyObject
*_wrap_PyPolygonShape_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28194 PyObject
*resultobj
;
28195 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28196 PyObject
*arg2
= (PyObject
*) 0 ;
28198 PyObject
* obj0
= 0 ;
28199 PyObject
* obj1
= 0 ;
28200 char *kwnames
[] = {
28201 (char *) "self",(char *) "points", NULL
28204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
28205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28210 result
= (PyObject
*)wxPyPolygonShape_Create(arg1
,arg2
);
28212 wxPyEndAllowThreads(__tstate
);
28213 if (PyErr_Occurred()) SWIG_fail
;
28215 resultobj
= result
;
28222 static PyObject
*_wrap_PyPolygonShape_AddPolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28223 PyObject
*resultobj
;
28224 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28225 int arg2
= (int) 0 ;
28226 PyObject
* obj0
= 0 ;
28227 PyObject
* obj1
= 0 ;
28228 char *kwnames
[] = {
28229 (char *) "self",(char *) "pos", NULL
28232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyPolygonShape_AddPolygonPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28236 arg2
= (int) SWIG_AsInt(obj1
);
28237 if (PyErr_Occurred()) SWIG_fail
;
28240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28241 (arg1
)->AddPolygonPoint(arg2
);
28243 wxPyEndAllowThreads(__tstate
);
28244 if (PyErr_Occurred()) SWIG_fail
;
28246 Py_INCREF(Py_None
); resultobj
= Py_None
;
28253 static PyObject
*_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28254 PyObject
*resultobj
;
28255 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28256 PyObject
* obj0
= 0 ;
28257 char *kwnames
[] = {
28258 (char *) "self", NULL
28261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames
,&obj0
)) goto fail
;
28262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28266 (arg1
)->CalculatePolygonCentre();
28268 wxPyEndAllowThreads(__tstate
);
28269 if (PyErr_Occurred()) SWIG_fail
;
28271 Py_INCREF(Py_None
); resultobj
= Py_None
;
28278 static PyObject
*_wrap_PyPolygonShape_DeletePolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28279 PyObject
*resultobj
;
28280 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28281 int arg2
= (int) 0 ;
28282 PyObject
* obj0
= 0 ;
28283 PyObject
* obj1
= 0 ;
28284 char *kwnames
[] = {
28285 (char *) "self",(char *) "pos", NULL
28288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyPolygonShape_DeletePolygonPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28292 arg2
= (int) SWIG_AsInt(obj1
);
28293 if (PyErr_Occurred()) SWIG_fail
;
28296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28297 (arg1
)->DeletePolygonPoint(arg2
);
28299 wxPyEndAllowThreads(__tstate
);
28300 if (PyErr_Occurred()) SWIG_fail
;
28302 Py_INCREF(Py_None
); resultobj
= Py_None
;
28309 static PyObject
*_wrap_PyPolygonShape_GetPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28310 PyObject
*resultobj
;
28311 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28313 PyObject
* obj0
= 0 ;
28314 char *kwnames
[] = {
28315 (char *) "self", NULL
28318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetPoints",kwnames
,&obj0
)) goto fail
;
28319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28323 result
= (PyObject
*)wxPyPolygonShape_GetPoints(arg1
);
28325 wxPyEndAllowThreads(__tstate
);
28326 if (PyErr_Occurred()) SWIG_fail
;
28328 resultobj
= result
;
28335 static PyObject
*_wrap_PyPolygonShape_GetOriginalPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28336 PyObject
*resultobj
;
28337 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28339 PyObject
* obj0
= 0 ;
28340 char *kwnames
[] = {
28341 (char *) "self", NULL
28344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames
,&obj0
)) goto fail
;
28345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28349 result
= (PyObject
*)wxPyPolygonShape_GetOriginalPoints(arg1
);
28351 wxPyEndAllowThreads(__tstate
);
28352 if (PyErr_Occurred()) SWIG_fail
;
28354 resultobj
= result
;
28361 static PyObject
*_wrap_PyPolygonShape_GetOriginalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28362 PyObject
*resultobj
;
28363 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28365 PyObject
* obj0
= 0 ;
28366 char *kwnames
[] = {
28367 (char *) "self", NULL
28370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames
,&obj0
)) goto fail
;
28371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28375 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalWidth();
28377 wxPyEndAllowThreads(__tstate
);
28378 if (PyErr_Occurred()) SWIG_fail
;
28380 resultobj
= SWIG_FromDouble((double)result
);
28387 static PyObject
*_wrap_PyPolygonShape_GetOriginalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28388 PyObject
*resultobj
;
28389 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28391 PyObject
* obj0
= 0 ;
28392 char *kwnames
[] = {
28393 (char *) "self", NULL
28396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames
,&obj0
)) goto fail
;
28397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28401 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalHeight();
28403 wxPyEndAllowThreads(__tstate
);
28404 if (PyErr_Occurred()) SWIG_fail
;
28406 resultobj
= SWIG_FromDouble((double)result
);
28413 static PyObject
*_wrap_PyPolygonShape_SetOriginalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28414 PyObject
*resultobj
;
28415 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28417 PyObject
* obj0
= 0 ;
28418 PyObject
* obj1
= 0 ;
28419 char *kwnames
[] = {
28420 (char *) "self",(char *) "w", NULL
28423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_SetOriginalWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
28424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28426 arg2
= (double) SWIG_AsDouble(obj1
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28430 (arg1
)->SetOriginalWidth(arg2
);
28432 wxPyEndAllowThreads(__tstate
);
28433 if (PyErr_Occurred()) SWIG_fail
;
28435 Py_INCREF(Py_None
); resultobj
= Py_None
;
28442 static PyObject
*_wrap_PyPolygonShape_SetOriginalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28443 PyObject
*resultobj
;
28444 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28446 PyObject
* obj0
= 0 ;
28447 PyObject
* obj1
= 0 ;
28448 char *kwnames
[] = {
28449 (char *) "self",(char *) "h", NULL
28452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_SetOriginalHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
28453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28455 arg2
= (double) SWIG_AsDouble(obj1
);
28456 if (PyErr_Occurred()) SWIG_fail
;
28458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28459 (arg1
)->SetOriginalHeight(arg2
);
28461 wxPyEndAllowThreads(__tstate
);
28462 if (PyErr_Occurred()) SWIG_fail
;
28464 Py_INCREF(Py_None
); resultobj
= Py_None
;
28471 static PyObject
*_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28472 PyObject
*resultobj
;
28473 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28474 PyObject
* obj0
= 0 ;
28475 char *kwnames
[] = {
28476 (char *) "self", NULL
28479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames
,&obj0
)) goto fail
;
28480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28484 (arg1
)->UpdateOriginalPoints();
28486 wxPyEndAllowThreads(__tstate
);
28487 if (PyErr_Occurred()) SWIG_fail
;
28489 Py_INCREF(Py_None
); resultobj
= Py_None
;
28496 static PyObject
*_wrap_PyPolygonShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28497 PyObject
*resultobj
;
28498 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28500 PyObject
* obj0
= 0 ;
28501 PyObject
* obj1
= 0 ;
28502 char *kwnames
[] = {
28503 (char *) "self",(char *) "dc", NULL
28506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
28507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28510 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28512 if (arg2
== NULL
) {
28513 PyErr_SetString(PyExc_TypeError
,"null reference");
28517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28518 (arg1
)->base_OnDraw(*arg2
);
28520 wxPyEndAllowThreads(__tstate
);
28521 if (PyErr_Occurred()) SWIG_fail
;
28523 Py_INCREF(Py_None
); resultobj
= Py_None
;
28530 static PyObject
*_wrap_PyPolygonShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28531 PyObject
*resultobj
;
28532 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28534 PyObject
* obj0
= 0 ;
28535 PyObject
* obj1
= 0 ;
28536 char *kwnames
[] = {
28537 (char *) "self",(char *) "dc", NULL
28540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
28541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28544 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28546 if (arg2
== NULL
) {
28547 PyErr_SetString(PyExc_TypeError
,"null reference");
28551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28552 (arg1
)->base_OnDrawContents(*arg2
);
28554 wxPyEndAllowThreads(__tstate
);
28555 if (PyErr_Occurred()) SWIG_fail
;
28557 Py_INCREF(Py_None
); resultobj
= Py_None
;
28564 static PyObject
*_wrap_PyPolygonShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28565 PyObject
*resultobj
;
28566 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28568 bool arg3
= (bool) FALSE
;
28569 PyObject
* obj0
= 0 ;
28570 PyObject
* obj1
= 0 ;
28571 PyObject
* obj2
= 0 ;
28572 char *kwnames
[] = {
28573 (char *) "self",(char *) "dc",(char *) "erase", NULL
28576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28580 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28582 if (arg2
== NULL
) {
28583 PyErr_SetString(PyExc_TypeError
,"null reference");
28587 arg3
= (bool) SWIG_AsBool(obj2
);
28588 if (PyErr_Occurred()) SWIG_fail
;
28591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28592 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
28594 wxPyEndAllowThreads(__tstate
);
28595 if (PyErr_Occurred()) SWIG_fail
;
28597 Py_INCREF(Py_None
); resultobj
= Py_None
;
28604 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28605 PyObject
*resultobj
;
28606 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28608 PyObject
* obj0
= 0 ;
28609 PyObject
* obj1
= 0 ;
28610 char *kwnames
[] = {
28611 (char *) "self",(char *) "dc", NULL
28614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
28615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28617 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28618 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28620 if (arg2
== NULL
) {
28621 PyErr_SetString(PyExc_TypeError
,"null reference");
28625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28626 (arg1
)->base_OnMoveLinks(*arg2
);
28628 wxPyEndAllowThreads(__tstate
);
28629 if (PyErr_Occurred()) SWIG_fail
;
28631 Py_INCREF(Py_None
); resultobj
= Py_None
;
28638 static PyObject
*_wrap_PyPolygonShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28639 PyObject
*resultobj
;
28640 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28642 PyObject
* obj0
= 0 ;
28643 PyObject
* obj1
= 0 ;
28644 char *kwnames
[] = {
28645 (char *) "self",(char *) "dc", NULL
28648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
28649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28652 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28654 if (arg2
== NULL
) {
28655 PyErr_SetString(PyExc_TypeError
,"null reference");
28659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28660 (arg1
)->base_OnErase(*arg2
);
28662 wxPyEndAllowThreads(__tstate
);
28663 if (PyErr_Occurred()) SWIG_fail
;
28665 Py_INCREF(Py_None
); resultobj
= Py_None
;
28672 static PyObject
*_wrap_PyPolygonShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28673 PyObject
*resultobj
;
28674 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28676 PyObject
* obj0
= 0 ;
28677 PyObject
* obj1
= 0 ;
28678 char *kwnames
[] = {
28679 (char *) "self",(char *) "dc", NULL
28682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
28683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28688 if (arg2
== NULL
) {
28689 PyErr_SetString(PyExc_TypeError
,"null reference");
28693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28694 (arg1
)->base_OnEraseContents(*arg2
);
28696 wxPyEndAllowThreads(__tstate
);
28697 if (PyErr_Occurred()) SWIG_fail
;
28699 Py_INCREF(Py_None
); resultobj
= Py_None
;
28706 static PyObject
*_wrap_PyPolygonShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28707 PyObject
*resultobj
;
28708 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28710 PyObject
* obj0
= 0 ;
28711 PyObject
* obj1
= 0 ;
28712 char *kwnames
[] = {
28713 (char *) "self",(char *) "dc", NULL
28716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
28717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28720 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28722 if (arg2
== NULL
) {
28723 PyErr_SetString(PyExc_TypeError
,"null reference");
28727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28728 (arg1
)->base_OnHighlight(*arg2
);
28730 wxPyEndAllowThreads(__tstate
);
28731 if (PyErr_Occurred()) SWIG_fail
;
28733 Py_INCREF(Py_None
); resultobj
= Py_None
;
28740 static PyObject
*_wrap_PyPolygonShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28741 PyObject
*resultobj
;
28742 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28745 int arg4
= (int) 0 ;
28746 int arg5
= (int) 0 ;
28747 PyObject
* obj0
= 0 ;
28748 PyObject
* obj1
= 0 ;
28749 PyObject
* obj2
= 0 ;
28750 PyObject
* obj3
= 0 ;
28751 PyObject
* obj4
= 0 ;
28752 char *kwnames
[] = {
28753 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28759 arg2
= (double) SWIG_AsDouble(obj1
);
28760 if (PyErr_Occurred()) SWIG_fail
;
28761 arg3
= (double) SWIG_AsDouble(obj2
);
28762 if (PyErr_Occurred()) SWIG_fail
;
28764 arg4
= (int) SWIG_AsInt(obj3
);
28765 if (PyErr_Occurred()) SWIG_fail
;
28768 arg5
= (int) SWIG_AsInt(obj4
);
28769 if (PyErr_Occurred()) SWIG_fail
;
28772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28773 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
28775 wxPyEndAllowThreads(__tstate
);
28776 if (PyErr_Occurred()) SWIG_fail
;
28778 Py_INCREF(Py_None
); resultobj
= Py_None
;
28785 static PyObject
*_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28786 PyObject
*resultobj
;
28787 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28790 int arg4
= (int) 0 ;
28791 int arg5
= (int) 0 ;
28792 PyObject
* obj0
= 0 ;
28793 PyObject
* obj1
= 0 ;
28794 PyObject
* obj2
= 0 ;
28795 PyObject
* obj3
= 0 ;
28796 PyObject
* obj4
= 0 ;
28797 char *kwnames
[] = {
28798 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28804 arg2
= (double) SWIG_AsDouble(obj1
);
28805 if (PyErr_Occurred()) SWIG_fail
;
28806 arg3
= (double) SWIG_AsDouble(obj2
);
28807 if (PyErr_Occurred()) SWIG_fail
;
28809 arg4
= (int) SWIG_AsInt(obj3
);
28810 if (PyErr_Occurred()) SWIG_fail
;
28813 arg5
= (int) SWIG_AsInt(obj4
);
28814 if (PyErr_Occurred()) SWIG_fail
;
28817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28818 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
28820 wxPyEndAllowThreads(__tstate
);
28821 if (PyErr_Occurred()) SWIG_fail
;
28823 Py_INCREF(Py_None
); resultobj
= Py_None
;
28830 static PyObject
*_wrap_PyPolygonShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28831 PyObject
*resultobj
;
28832 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28835 int arg4
= (int) 0 ;
28836 int arg5
= (int) 0 ;
28837 PyObject
* obj0
= 0 ;
28838 PyObject
* obj1
= 0 ;
28839 PyObject
* obj2
= 0 ;
28840 PyObject
* obj3
= 0 ;
28841 PyObject
* obj4
= 0 ;
28842 char *kwnames
[] = {
28843 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28849 arg2
= (double) SWIG_AsDouble(obj1
);
28850 if (PyErr_Occurred()) SWIG_fail
;
28851 arg3
= (double) SWIG_AsDouble(obj2
);
28852 if (PyErr_Occurred()) SWIG_fail
;
28854 arg4
= (int) SWIG_AsInt(obj3
);
28855 if (PyErr_Occurred()) SWIG_fail
;
28858 arg5
= (int) SWIG_AsInt(obj4
);
28859 if (PyErr_Occurred()) SWIG_fail
;
28862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28863 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
28865 wxPyEndAllowThreads(__tstate
);
28866 if (PyErr_Occurred()) SWIG_fail
;
28868 Py_INCREF(Py_None
); resultobj
= Py_None
;
28875 static PyObject
*_wrap_PyPolygonShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28876 PyObject
*resultobj
;
28877 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28880 PyObject
* obj0
= 0 ;
28881 PyObject
* obj1
= 0 ;
28882 PyObject
* obj2
= 0 ;
28883 char *kwnames
[] = {
28884 (char *) "self",(char *) "x",(char *) "y", NULL
28887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28890 arg2
= (double) SWIG_AsDouble(obj1
);
28891 if (PyErr_Occurred()) SWIG_fail
;
28892 arg3
= (double) SWIG_AsDouble(obj2
);
28893 if (PyErr_Occurred()) SWIG_fail
;
28895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28896 (arg1
)->base_OnSize(arg2
,arg3
);
28898 wxPyEndAllowThreads(__tstate
);
28899 if (PyErr_Occurred()) SWIG_fail
;
28901 Py_INCREF(Py_None
); resultobj
= Py_None
;
28908 static PyObject
*_wrap_PyPolygonShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28909 PyObject
*resultobj
;
28910 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28916 bool arg7
= (bool) True
;
28918 PyObject
* obj0
= 0 ;
28919 PyObject
* obj1
= 0 ;
28920 PyObject
* obj2
= 0 ;
28921 PyObject
* obj3
= 0 ;
28922 PyObject
* obj4
= 0 ;
28923 PyObject
* obj5
= 0 ;
28924 PyObject
* obj6
= 0 ;
28925 char *kwnames
[] = {
28926 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28933 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28935 if (arg2
== NULL
) {
28936 PyErr_SetString(PyExc_TypeError
,"null reference");
28939 arg3
= (double) SWIG_AsDouble(obj2
);
28940 if (PyErr_Occurred()) SWIG_fail
;
28941 arg4
= (double) SWIG_AsDouble(obj3
);
28942 if (PyErr_Occurred()) SWIG_fail
;
28943 arg5
= (double) SWIG_AsDouble(obj4
);
28944 if (PyErr_Occurred()) SWIG_fail
;
28945 arg6
= (double) SWIG_AsDouble(obj5
);
28946 if (PyErr_Occurred()) SWIG_fail
;
28948 arg7
= (bool) SWIG_AsBool(obj6
);
28949 if (PyErr_Occurred()) SWIG_fail
;
28952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28953 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28955 wxPyEndAllowThreads(__tstate
);
28956 if (PyErr_Occurred()) SWIG_fail
;
28959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28967 static PyObject
*_wrap_PyPolygonShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28968 PyObject
*resultobj
;
28969 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28975 bool arg7
= (bool) True
;
28976 PyObject
* obj0
= 0 ;
28977 PyObject
* obj1
= 0 ;
28978 PyObject
* obj2
= 0 ;
28979 PyObject
* obj3
= 0 ;
28980 PyObject
* obj4
= 0 ;
28981 PyObject
* obj5
= 0 ;
28982 PyObject
* obj6
= 0 ;
28983 char *kwnames
[] = {
28984 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28991 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28993 if (arg2
== NULL
) {
28994 PyErr_SetString(PyExc_TypeError
,"null reference");
28997 arg3
= (double) SWIG_AsDouble(obj2
);
28998 if (PyErr_Occurred()) SWIG_fail
;
28999 arg4
= (double) SWIG_AsDouble(obj3
);
29000 if (PyErr_Occurred()) SWIG_fail
;
29001 arg5
= (double) SWIG_AsDouble(obj4
);
29002 if (PyErr_Occurred()) SWIG_fail
;
29003 arg6
= (double) SWIG_AsDouble(obj5
);
29004 if (PyErr_Occurred()) SWIG_fail
;
29006 arg7
= (bool) SWIG_AsBool(obj6
);
29007 if (PyErr_Occurred()) SWIG_fail
;
29010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29011 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29013 wxPyEndAllowThreads(__tstate
);
29014 if (PyErr_Occurred()) SWIG_fail
;
29016 Py_INCREF(Py_None
); resultobj
= Py_None
;
29023 static PyObject
*_wrap_PyPolygonShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29024 PyObject
*resultobj
;
29025 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29029 int arg5
= (int) 0 ;
29030 int arg6
= (int) 0 ;
29031 PyObject
* obj0
= 0 ;
29032 PyObject
* obj1
= 0 ;
29033 PyObject
* obj2
= 0 ;
29034 PyObject
* obj3
= 0 ;
29035 PyObject
* obj4
= 0 ;
29036 PyObject
* obj5
= 0 ;
29037 char *kwnames
[] = {
29038 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29044 arg2
= (bool) SWIG_AsBool(obj1
);
29045 if (PyErr_Occurred()) SWIG_fail
;
29046 arg3
= (double) SWIG_AsDouble(obj2
);
29047 if (PyErr_Occurred()) SWIG_fail
;
29048 arg4
= (double) SWIG_AsDouble(obj3
);
29049 if (PyErr_Occurred()) SWIG_fail
;
29051 arg5
= (int) SWIG_AsInt(obj4
);
29052 if (PyErr_Occurred()) SWIG_fail
;
29055 arg6
= (int) SWIG_AsInt(obj5
);
29056 if (PyErr_Occurred()) SWIG_fail
;
29059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29060 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29062 wxPyEndAllowThreads(__tstate
);
29063 if (PyErr_Occurred()) SWIG_fail
;
29065 Py_INCREF(Py_None
); resultobj
= Py_None
;
29072 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29073 PyObject
*resultobj
;
29074 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29077 int arg4
= (int) 0 ;
29078 int arg5
= (int) 0 ;
29079 PyObject
* obj0
= 0 ;
29080 PyObject
* obj1
= 0 ;
29081 PyObject
* obj2
= 0 ;
29082 PyObject
* obj3
= 0 ;
29083 PyObject
* obj4
= 0 ;
29084 char *kwnames
[] = {
29085 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29091 arg2
= (double) SWIG_AsDouble(obj1
);
29092 if (PyErr_Occurred()) SWIG_fail
;
29093 arg3
= (double) SWIG_AsDouble(obj2
);
29094 if (PyErr_Occurred()) SWIG_fail
;
29096 arg4
= (int) SWIG_AsInt(obj3
);
29097 if (PyErr_Occurred()) SWIG_fail
;
29100 arg5
= (int) SWIG_AsInt(obj4
);
29101 if (PyErr_Occurred()) SWIG_fail
;
29104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29105 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
29107 wxPyEndAllowThreads(__tstate
);
29108 if (PyErr_Occurred()) SWIG_fail
;
29110 Py_INCREF(Py_None
); resultobj
= Py_None
;
29117 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29118 PyObject
*resultobj
;
29119 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29122 int arg4
= (int) 0 ;
29123 int arg5
= (int) 0 ;
29124 PyObject
* obj0
= 0 ;
29125 PyObject
* obj1
= 0 ;
29126 PyObject
* obj2
= 0 ;
29127 PyObject
* obj3
= 0 ;
29128 PyObject
* obj4
= 0 ;
29129 char *kwnames
[] = {
29130 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29136 arg2
= (double) SWIG_AsDouble(obj1
);
29137 if (PyErr_Occurred()) SWIG_fail
;
29138 arg3
= (double) SWIG_AsDouble(obj2
);
29139 if (PyErr_Occurred()) SWIG_fail
;
29141 arg4
= (int) SWIG_AsInt(obj3
);
29142 if (PyErr_Occurred()) SWIG_fail
;
29145 arg5
= (int) SWIG_AsInt(obj4
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29150 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
29152 wxPyEndAllowThreads(__tstate
);
29153 if (PyErr_Occurred()) SWIG_fail
;
29155 Py_INCREF(Py_None
); resultobj
= Py_None
;
29162 static PyObject
*_wrap_PyPolygonShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29163 PyObject
*resultobj
;
29164 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29168 int arg5
= (int) 0 ;
29169 int arg6
= (int) 0 ;
29170 PyObject
* obj0
= 0 ;
29171 PyObject
* obj1
= 0 ;
29172 PyObject
* obj2
= 0 ;
29173 PyObject
* obj3
= 0 ;
29174 PyObject
* obj4
= 0 ;
29175 PyObject
* obj5
= 0 ;
29176 char *kwnames
[] = {
29177 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29183 arg2
= (bool) SWIG_AsBool(obj1
);
29184 if (PyErr_Occurred()) SWIG_fail
;
29185 arg3
= (double) SWIG_AsDouble(obj2
);
29186 if (PyErr_Occurred()) SWIG_fail
;
29187 arg4
= (double) SWIG_AsDouble(obj3
);
29188 if (PyErr_Occurred()) SWIG_fail
;
29190 arg5
= (int) SWIG_AsInt(obj4
);
29191 if (PyErr_Occurred()) SWIG_fail
;
29194 arg6
= (int) SWIG_AsInt(obj5
);
29195 if (PyErr_Occurred()) SWIG_fail
;
29198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29199 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
29201 wxPyEndAllowThreads(__tstate
);
29202 if (PyErr_Occurred()) SWIG_fail
;
29204 Py_INCREF(Py_None
); resultobj
= Py_None
;
29211 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29212 PyObject
*resultobj
;
29213 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29216 int arg4
= (int) 0 ;
29217 int arg5
= (int) 0 ;
29218 PyObject
* obj0
= 0 ;
29219 PyObject
* obj1
= 0 ;
29220 PyObject
* obj2
= 0 ;
29221 PyObject
* obj3
= 0 ;
29222 PyObject
* obj4
= 0 ;
29223 char *kwnames
[] = {
29224 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29230 arg2
= (double) SWIG_AsDouble(obj1
);
29231 if (PyErr_Occurred()) SWIG_fail
;
29232 arg3
= (double) SWIG_AsDouble(obj2
);
29233 if (PyErr_Occurred()) SWIG_fail
;
29235 arg4
= (int) SWIG_AsInt(obj3
);
29236 if (PyErr_Occurred()) SWIG_fail
;
29239 arg5
= (int) SWIG_AsInt(obj4
);
29240 if (PyErr_Occurred()) SWIG_fail
;
29243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29244 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
29246 wxPyEndAllowThreads(__tstate
);
29247 if (PyErr_Occurred()) SWIG_fail
;
29249 Py_INCREF(Py_None
); resultobj
= Py_None
;
29256 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29257 PyObject
*resultobj
;
29258 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29261 int arg4
= (int) 0 ;
29262 int arg5
= (int) 0 ;
29263 PyObject
* obj0
= 0 ;
29264 PyObject
* obj1
= 0 ;
29265 PyObject
* obj2
= 0 ;
29266 PyObject
* obj3
= 0 ;
29267 PyObject
* obj4
= 0 ;
29268 char *kwnames
[] = {
29269 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29275 arg2
= (double) SWIG_AsDouble(obj1
);
29276 if (PyErr_Occurred()) SWIG_fail
;
29277 arg3
= (double) SWIG_AsDouble(obj2
);
29278 if (PyErr_Occurred()) SWIG_fail
;
29280 arg4
= (int) SWIG_AsInt(obj3
);
29281 if (PyErr_Occurred()) SWIG_fail
;
29284 arg5
= (int) SWIG_AsInt(obj4
);
29285 if (PyErr_Occurred()) SWIG_fail
;
29288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29289 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
29291 wxPyEndAllowThreads(__tstate
);
29292 if (PyErr_Occurred()) SWIG_fail
;
29294 Py_INCREF(Py_None
); resultobj
= Py_None
;
29301 static PyObject
*_wrap_PyPolygonShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29302 PyObject
*resultobj
;
29303 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29309 PyObject
* obj0
= 0 ;
29310 PyObject
* obj1
= 0 ;
29311 PyObject
* obj2
= 0 ;
29312 PyObject
* obj3
= 0 ;
29313 PyObject
* obj4
= 0 ;
29314 PyObject
* obj5
= 0 ;
29315 char *kwnames
[] = {
29316 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyPolygonShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29323 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29325 if (arg2
== NULL
) {
29326 PyErr_SetString(PyExc_TypeError
,"null reference");
29329 arg3
= (double) SWIG_AsDouble(obj2
);
29330 if (PyErr_Occurred()) SWIG_fail
;
29331 arg4
= (double) SWIG_AsDouble(obj3
);
29332 if (PyErr_Occurred()) SWIG_fail
;
29333 arg5
= (double) SWIG_AsDouble(obj4
);
29334 if (PyErr_Occurred()) SWIG_fail
;
29335 arg6
= (double) SWIG_AsDouble(obj5
);
29336 if (PyErr_Occurred()) SWIG_fail
;
29338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29339 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
29341 wxPyEndAllowThreads(__tstate
);
29342 if (PyErr_Occurred()) SWIG_fail
;
29344 Py_INCREF(Py_None
); resultobj
= Py_None
;
29351 static PyObject
*_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29352 PyObject
*resultobj
;
29353 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29355 PyObject
* obj0
= 0 ;
29356 PyObject
* obj1
= 0 ;
29357 char *kwnames
[] = {
29358 (char *) "self",(char *) "dc", NULL
29361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
29362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29365 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29367 if (arg2
== NULL
) {
29368 PyErr_SetString(PyExc_TypeError
,"null reference");
29372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29373 (arg1
)->base_OnDrawControlPoints(*arg2
);
29375 wxPyEndAllowThreads(__tstate
);
29376 if (PyErr_Occurred()) SWIG_fail
;
29378 Py_INCREF(Py_None
); resultobj
= Py_None
;
29385 static PyObject
*_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29386 PyObject
*resultobj
;
29387 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29389 PyObject
* obj0
= 0 ;
29390 PyObject
* obj1
= 0 ;
29391 char *kwnames
[] = {
29392 (char *) "self",(char *) "dc", NULL
29395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
29396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29399 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29401 if (arg2
== NULL
) {
29402 PyErr_SetString(PyExc_TypeError
,"null reference");
29406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29407 (arg1
)->base_OnEraseControlPoints(*arg2
);
29409 wxPyEndAllowThreads(__tstate
);
29410 if (PyErr_Occurred()) SWIG_fail
;
29412 Py_INCREF(Py_None
); resultobj
= Py_None
;
29419 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29420 PyObject
*resultobj
;
29421 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29423 bool arg3
= (bool) True
;
29424 PyObject
* obj0
= 0 ;
29425 PyObject
* obj1
= 0 ;
29426 PyObject
* obj2
= 0 ;
29427 char *kwnames
[] = {
29428 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
29431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29435 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29437 if (arg2
== NULL
) {
29438 PyErr_SetString(PyExc_TypeError
,"null reference");
29442 arg3
= (bool) SWIG_AsBool(obj2
);
29443 if (PyErr_Occurred()) SWIG_fail
;
29446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29447 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
29449 wxPyEndAllowThreads(__tstate
);
29450 if (PyErr_Occurred()) SWIG_fail
;
29452 Py_INCREF(Py_None
); resultobj
= Py_None
;
29459 static PyObject
*_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29460 PyObject
*resultobj
;
29461 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29462 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29466 int arg6
= (int) 0 ;
29467 int arg7
= (int) 0 ;
29468 PyObject
* obj0
= 0 ;
29469 PyObject
* obj1
= 0 ;
29470 PyObject
* obj2
= 0 ;
29471 PyObject
* obj3
= 0 ;
29472 PyObject
* obj4
= 0 ;
29473 PyObject
* obj5
= 0 ;
29474 PyObject
* obj6
= 0 ;
29475 char *kwnames
[] = {
29476 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyPolygonShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29484 arg3
= (bool) SWIG_AsBool(obj2
);
29485 if (PyErr_Occurred()) SWIG_fail
;
29486 arg4
= (double) SWIG_AsDouble(obj3
);
29487 if (PyErr_Occurred()) SWIG_fail
;
29488 arg5
= (double) SWIG_AsDouble(obj4
);
29489 if (PyErr_Occurred()) SWIG_fail
;
29491 arg6
= (int) SWIG_AsInt(obj5
);
29492 if (PyErr_Occurred()) SWIG_fail
;
29495 arg7
= (int) SWIG_AsInt(obj6
);
29496 if (PyErr_Occurred()) SWIG_fail
;
29499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29500 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29502 wxPyEndAllowThreads(__tstate
);
29503 if (PyErr_Occurred()) SWIG_fail
;
29505 Py_INCREF(Py_None
); resultobj
= Py_None
;
29512 static PyObject
*_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29513 PyObject
*resultobj
;
29514 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29515 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29518 int arg5
= (int) 0 ;
29519 int arg6
= (int) 0 ;
29520 PyObject
* obj0
= 0 ;
29521 PyObject
* obj1
= 0 ;
29522 PyObject
* obj2
= 0 ;
29523 PyObject
* obj3
= 0 ;
29524 PyObject
* obj4
= 0 ;
29525 PyObject
* obj5
= 0 ;
29526 char *kwnames
[] = {
29527 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29533 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29535 arg3
= (double) SWIG_AsDouble(obj2
);
29536 if (PyErr_Occurred()) SWIG_fail
;
29537 arg4
= (double) SWIG_AsDouble(obj3
);
29538 if (PyErr_Occurred()) SWIG_fail
;
29540 arg5
= (int) SWIG_AsInt(obj4
);
29541 if (PyErr_Occurred()) SWIG_fail
;
29544 arg6
= (int) SWIG_AsInt(obj5
);
29545 if (PyErr_Occurred()) SWIG_fail
;
29548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29549 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29551 wxPyEndAllowThreads(__tstate
);
29552 if (PyErr_Occurred()) SWIG_fail
;
29554 Py_INCREF(Py_None
); resultobj
= Py_None
;
29561 static PyObject
*_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29562 PyObject
*resultobj
;
29563 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29564 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29567 int arg5
= (int) 0 ;
29568 int arg6
= (int) 0 ;
29569 PyObject
* obj0
= 0 ;
29570 PyObject
* obj1
= 0 ;
29571 PyObject
* obj2
= 0 ;
29572 PyObject
* obj3
= 0 ;
29573 PyObject
* obj4
= 0 ;
29574 PyObject
* obj5
= 0 ;
29575 char *kwnames
[] = {
29576 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29584 arg3
= (double) SWIG_AsDouble(obj2
);
29585 if (PyErr_Occurred()) SWIG_fail
;
29586 arg4
= (double) SWIG_AsDouble(obj3
);
29587 if (PyErr_Occurred()) SWIG_fail
;
29589 arg5
= (int) SWIG_AsInt(obj4
);
29590 if (PyErr_Occurred()) SWIG_fail
;
29593 arg6
= (int) SWIG_AsInt(obj5
);
29594 if (PyErr_Occurred()) SWIG_fail
;
29597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29598 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29600 wxPyEndAllowThreads(__tstate
);
29601 if (PyErr_Occurred()) SWIG_fail
;
29603 Py_INCREF(Py_None
); resultobj
= Py_None
;
29610 static PyObject
*_wrap_PyPolygonShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29611 PyObject
*resultobj
;
29612 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29615 PyObject
* obj0
= 0 ;
29616 PyObject
* obj1
= 0 ;
29617 PyObject
* obj2
= 0 ;
29618 char *kwnames
[] = {
29619 (char *) "self",(char *) "w",(char *) "h", NULL
29622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29625 arg2
= (double) SWIG_AsDouble(obj1
);
29626 if (PyErr_Occurred()) SWIG_fail
;
29627 arg3
= (double) SWIG_AsDouble(obj2
);
29628 if (PyErr_Occurred()) SWIG_fail
;
29630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29631 (arg1
)->base_OnBeginSize(arg2
,arg3
);
29633 wxPyEndAllowThreads(__tstate
);
29634 if (PyErr_Occurred()) SWIG_fail
;
29636 Py_INCREF(Py_None
); resultobj
= Py_None
;
29643 static PyObject
*_wrap_PyPolygonShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29644 PyObject
*resultobj
;
29645 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29648 PyObject
* obj0
= 0 ;
29649 PyObject
* obj1
= 0 ;
29650 PyObject
* obj2
= 0 ;
29651 char *kwnames
[] = {
29652 (char *) "self",(char *) "w",(char *) "h", NULL
29655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29658 arg2
= (double) SWIG_AsDouble(obj1
);
29659 if (PyErr_Occurred()) SWIG_fail
;
29660 arg3
= (double) SWIG_AsDouble(obj2
);
29661 if (PyErr_Occurred()) SWIG_fail
;
29663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29664 (arg1
)->base_OnEndSize(arg2
,arg3
);
29666 wxPyEndAllowThreads(__tstate
);
29667 if (PyErr_Occurred()) SWIG_fail
;
29669 Py_INCREF(Py_None
); resultobj
= Py_None
;
29676 static PyObject
* PyPolygonShape_swigregister(PyObject
*self
, PyObject
*args
) {
29678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29679 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape
, obj
);
29681 return Py_BuildValue((char *)"");
29683 static PyObject
*_wrap_new_PyTextShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29684 PyObject
*resultobj
;
29685 double arg1
= (double) 0.0 ;
29686 double arg2
= (double) 0.0 ;
29687 wxPyTextShape
*result
;
29688 PyObject
* obj0
= 0 ;
29689 PyObject
* obj1
= 0 ;
29690 char *kwnames
[] = {
29691 (char *) "width",(char *) "height", NULL
29694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyTextShape",kwnames
,&obj0
,&obj1
)) goto fail
;
29696 arg1
= (double) SWIG_AsDouble(obj0
);
29697 if (PyErr_Occurred()) SWIG_fail
;
29700 arg2
= (double) SWIG_AsDouble(obj1
);
29701 if (PyErr_Occurred()) SWIG_fail
;
29704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29705 result
= (wxPyTextShape
*)new wxPyTextShape(arg1
,arg2
);
29707 wxPyEndAllowThreads(__tstate
);
29708 if (PyErr_Occurred()) SWIG_fail
;
29710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextShape
, 1);
29717 static PyObject
*_wrap_PyTextShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29718 PyObject
*resultobj
;
29719 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29720 PyObject
*arg2
= (PyObject
*) 0 ;
29721 PyObject
*arg3
= (PyObject
*) 0 ;
29722 PyObject
* obj0
= 0 ;
29723 PyObject
* obj1
= 0 ;
29724 PyObject
* obj2
= 0 ;
29725 char *kwnames
[] = {
29726 (char *) "self",(char *) "self",(char *) "_class", NULL
29729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29736 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29738 wxPyEndAllowThreads(__tstate
);
29739 if (PyErr_Occurred()) SWIG_fail
;
29741 Py_INCREF(Py_None
); resultobj
= Py_None
;
29748 static PyObject
*_wrap_PyTextShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29749 PyObject
*resultobj
;
29750 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29751 PyObject
* obj0
= 0 ;
29752 char *kwnames
[] = {
29753 (char *) "self", NULL
29756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyTextShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
29757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29761 (arg1
)->base_OnDelete();
29763 wxPyEndAllowThreads(__tstate
);
29764 if (PyErr_Occurred()) SWIG_fail
;
29766 Py_INCREF(Py_None
); resultobj
= Py_None
;
29773 static PyObject
*_wrap_PyTextShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29774 PyObject
*resultobj
;
29775 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29777 PyObject
* obj0
= 0 ;
29778 PyObject
* obj1
= 0 ;
29779 char *kwnames
[] = {
29780 (char *) "self",(char *) "dc", NULL
29783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
29784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29787 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29789 if (arg2
== NULL
) {
29790 PyErr_SetString(PyExc_TypeError
,"null reference");
29794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29795 (arg1
)->base_OnDraw(*arg2
);
29797 wxPyEndAllowThreads(__tstate
);
29798 if (PyErr_Occurred()) SWIG_fail
;
29800 Py_INCREF(Py_None
); resultobj
= Py_None
;
29807 static PyObject
*_wrap_PyTextShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29808 PyObject
*resultobj
;
29809 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29811 PyObject
* obj0
= 0 ;
29812 PyObject
* obj1
= 0 ;
29813 char *kwnames
[] = {
29814 (char *) "self",(char *) "dc", NULL
29817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
29818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29823 if (arg2
== NULL
) {
29824 PyErr_SetString(PyExc_TypeError
,"null reference");
29828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29829 (arg1
)->base_OnDrawContents(*arg2
);
29831 wxPyEndAllowThreads(__tstate
);
29832 if (PyErr_Occurred()) SWIG_fail
;
29834 Py_INCREF(Py_None
); resultobj
= Py_None
;
29841 static PyObject
*_wrap_PyTextShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29842 PyObject
*resultobj
;
29843 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29845 bool arg3
= (bool) FALSE
;
29846 PyObject
* obj0
= 0 ;
29847 PyObject
* obj1
= 0 ;
29848 PyObject
* obj2
= 0 ;
29849 char *kwnames
[] = {
29850 (char *) "self",(char *) "dc",(char *) "erase", NULL
29853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29857 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29859 if (arg2
== NULL
) {
29860 PyErr_SetString(PyExc_TypeError
,"null reference");
29864 arg3
= (bool) SWIG_AsBool(obj2
);
29865 if (PyErr_Occurred()) SWIG_fail
;
29868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29869 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
29871 wxPyEndAllowThreads(__tstate
);
29872 if (PyErr_Occurred()) SWIG_fail
;
29874 Py_INCREF(Py_None
); resultobj
= Py_None
;
29881 static PyObject
*_wrap_PyTextShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29882 PyObject
*resultobj
;
29883 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29885 PyObject
* obj0
= 0 ;
29886 PyObject
* obj1
= 0 ;
29887 char *kwnames
[] = {
29888 (char *) "self",(char *) "dc", NULL
29891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
29892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29897 if (arg2
== NULL
) {
29898 PyErr_SetString(PyExc_TypeError
,"null reference");
29902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29903 (arg1
)->base_OnMoveLinks(*arg2
);
29905 wxPyEndAllowThreads(__tstate
);
29906 if (PyErr_Occurred()) SWIG_fail
;
29908 Py_INCREF(Py_None
); resultobj
= Py_None
;
29915 static PyObject
*_wrap_PyTextShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29916 PyObject
*resultobj
;
29917 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29919 PyObject
* obj0
= 0 ;
29920 PyObject
* obj1
= 0 ;
29921 char *kwnames
[] = {
29922 (char *) "self",(char *) "dc", NULL
29925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
29926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29928 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29929 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29931 if (arg2
== NULL
) {
29932 PyErr_SetString(PyExc_TypeError
,"null reference");
29936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29937 (arg1
)->base_OnErase(*arg2
);
29939 wxPyEndAllowThreads(__tstate
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29942 Py_INCREF(Py_None
); resultobj
= Py_None
;
29949 static PyObject
*_wrap_PyTextShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29950 PyObject
*resultobj
;
29951 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29953 PyObject
* obj0
= 0 ;
29954 PyObject
* obj1
= 0 ;
29955 char *kwnames
[] = {
29956 (char *) "self",(char *) "dc", NULL
29959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
29960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29963 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29965 if (arg2
== NULL
) {
29966 PyErr_SetString(PyExc_TypeError
,"null reference");
29970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29971 (arg1
)->base_OnEraseContents(*arg2
);
29973 wxPyEndAllowThreads(__tstate
);
29974 if (PyErr_Occurred()) SWIG_fail
;
29976 Py_INCREF(Py_None
); resultobj
= Py_None
;
29983 static PyObject
*_wrap_PyTextShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29984 PyObject
*resultobj
;
29985 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29987 PyObject
* obj0
= 0 ;
29988 PyObject
* obj1
= 0 ;
29989 char *kwnames
[] = {
29990 (char *) "self",(char *) "dc", NULL
29993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
29994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29996 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29997 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29999 if (arg2
== NULL
) {
30000 PyErr_SetString(PyExc_TypeError
,"null reference");
30004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30005 (arg1
)->base_OnHighlight(*arg2
);
30007 wxPyEndAllowThreads(__tstate
);
30008 if (PyErr_Occurred()) SWIG_fail
;
30010 Py_INCREF(Py_None
); resultobj
= Py_None
;
30017 static PyObject
*_wrap_PyTextShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30018 PyObject
*resultobj
;
30019 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30022 int arg4
= (int) 0 ;
30023 int arg5
= (int) 0 ;
30024 PyObject
* obj0
= 0 ;
30025 PyObject
* obj1
= 0 ;
30026 PyObject
* obj2
= 0 ;
30027 PyObject
* obj3
= 0 ;
30028 PyObject
* obj4
= 0 ;
30029 char *kwnames
[] = {
30030 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30036 arg2
= (double) SWIG_AsDouble(obj1
);
30037 if (PyErr_Occurred()) SWIG_fail
;
30038 arg3
= (double) SWIG_AsDouble(obj2
);
30039 if (PyErr_Occurred()) SWIG_fail
;
30041 arg4
= (int) SWIG_AsInt(obj3
);
30042 if (PyErr_Occurred()) SWIG_fail
;
30045 arg5
= (int) SWIG_AsInt(obj4
);
30046 if (PyErr_Occurred()) SWIG_fail
;
30049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30050 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
30052 wxPyEndAllowThreads(__tstate
);
30053 if (PyErr_Occurred()) SWIG_fail
;
30055 Py_INCREF(Py_None
); resultobj
= Py_None
;
30062 static PyObject
*_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30063 PyObject
*resultobj
;
30064 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30067 int arg4
= (int) 0 ;
30068 int arg5
= (int) 0 ;
30069 PyObject
* obj0
= 0 ;
30070 PyObject
* obj1
= 0 ;
30071 PyObject
* obj2
= 0 ;
30072 PyObject
* obj3
= 0 ;
30073 PyObject
* obj4
= 0 ;
30074 char *kwnames
[] = {
30075 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30081 arg2
= (double) SWIG_AsDouble(obj1
);
30082 if (PyErr_Occurred()) SWIG_fail
;
30083 arg3
= (double) SWIG_AsDouble(obj2
);
30084 if (PyErr_Occurred()) SWIG_fail
;
30086 arg4
= (int) SWIG_AsInt(obj3
);
30087 if (PyErr_Occurred()) SWIG_fail
;
30090 arg5
= (int) SWIG_AsInt(obj4
);
30091 if (PyErr_Occurred()) SWIG_fail
;
30094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30095 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
30097 wxPyEndAllowThreads(__tstate
);
30098 if (PyErr_Occurred()) SWIG_fail
;
30100 Py_INCREF(Py_None
); resultobj
= Py_None
;
30107 static PyObject
*_wrap_PyTextShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30108 PyObject
*resultobj
;
30109 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30112 int arg4
= (int) 0 ;
30113 int arg5
= (int) 0 ;
30114 PyObject
* obj0
= 0 ;
30115 PyObject
* obj1
= 0 ;
30116 PyObject
* obj2
= 0 ;
30117 PyObject
* obj3
= 0 ;
30118 PyObject
* obj4
= 0 ;
30119 char *kwnames
[] = {
30120 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30126 arg2
= (double) SWIG_AsDouble(obj1
);
30127 if (PyErr_Occurred()) SWIG_fail
;
30128 arg3
= (double) SWIG_AsDouble(obj2
);
30129 if (PyErr_Occurred()) SWIG_fail
;
30131 arg4
= (int) SWIG_AsInt(obj3
);
30132 if (PyErr_Occurred()) SWIG_fail
;
30135 arg5
= (int) SWIG_AsInt(obj4
);
30136 if (PyErr_Occurred()) SWIG_fail
;
30139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30140 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
30142 wxPyEndAllowThreads(__tstate
);
30143 if (PyErr_Occurred()) SWIG_fail
;
30145 Py_INCREF(Py_None
); resultobj
= Py_None
;
30152 static PyObject
*_wrap_PyTextShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30153 PyObject
*resultobj
;
30154 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30157 PyObject
* obj0
= 0 ;
30158 PyObject
* obj1
= 0 ;
30159 PyObject
* obj2
= 0 ;
30160 char *kwnames
[] = {
30161 (char *) "self",(char *) "x",(char *) "y", NULL
30164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30167 arg2
= (double) SWIG_AsDouble(obj1
);
30168 if (PyErr_Occurred()) SWIG_fail
;
30169 arg3
= (double) SWIG_AsDouble(obj2
);
30170 if (PyErr_Occurred()) SWIG_fail
;
30172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30173 (arg1
)->base_OnSize(arg2
,arg3
);
30175 wxPyEndAllowThreads(__tstate
);
30176 if (PyErr_Occurred()) SWIG_fail
;
30178 Py_INCREF(Py_None
); resultobj
= Py_None
;
30185 static PyObject
*_wrap_PyTextShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30186 PyObject
*resultobj
;
30187 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30193 bool arg7
= (bool) True
;
30195 PyObject
* obj0
= 0 ;
30196 PyObject
* obj1
= 0 ;
30197 PyObject
* obj2
= 0 ;
30198 PyObject
* obj3
= 0 ;
30199 PyObject
* obj4
= 0 ;
30200 PyObject
* obj5
= 0 ;
30201 PyObject
* obj6
= 0 ;
30202 char *kwnames
[] = {
30203 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyTextShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30210 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30212 if (arg2
== NULL
) {
30213 PyErr_SetString(PyExc_TypeError
,"null reference");
30216 arg3
= (double) SWIG_AsDouble(obj2
);
30217 if (PyErr_Occurred()) SWIG_fail
;
30218 arg4
= (double) SWIG_AsDouble(obj3
);
30219 if (PyErr_Occurred()) SWIG_fail
;
30220 arg5
= (double) SWIG_AsDouble(obj4
);
30221 if (PyErr_Occurred()) SWIG_fail
;
30222 arg6
= (double) SWIG_AsDouble(obj5
);
30223 if (PyErr_Occurred()) SWIG_fail
;
30225 arg7
= (bool) SWIG_AsBool(obj6
);
30226 if (PyErr_Occurred()) SWIG_fail
;
30229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30230 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30232 wxPyEndAllowThreads(__tstate
);
30233 if (PyErr_Occurred()) SWIG_fail
;
30236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30244 static PyObject
*_wrap_PyTextShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30245 PyObject
*resultobj
;
30246 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30252 bool arg7
= (bool) True
;
30253 PyObject
* obj0
= 0 ;
30254 PyObject
* obj1
= 0 ;
30255 PyObject
* obj2
= 0 ;
30256 PyObject
* obj3
= 0 ;
30257 PyObject
* obj4
= 0 ;
30258 PyObject
* obj5
= 0 ;
30259 PyObject
* obj6
= 0 ;
30260 char *kwnames
[] = {
30261 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyTextShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30268 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30270 if (arg2
== NULL
) {
30271 PyErr_SetString(PyExc_TypeError
,"null reference");
30274 arg3
= (double) SWIG_AsDouble(obj2
);
30275 if (PyErr_Occurred()) SWIG_fail
;
30276 arg4
= (double) SWIG_AsDouble(obj3
);
30277 if (PyErr_Occurred()) SWIG_fail
;
30278 arg5
= (double) SWIG_AsDouble(obj4
);
30279 if (PyErr_Occurred()) SWIG_fail
;
30280 arg6
= (double) SWIG_AsDouble(obj5
);
30281 if (PyErr_Occurred()) SWIG_fail
;
30283 arg7
= (bool) SWIG_AsBool(obj6
);
30284 if (PyErr_Occurred()) SWIG_fail
;
30287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30288 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30290 wxPyEndAllowThreads(__tstate
);
30291 if (PyErr_Occurred()) SWIG_fail
;
30293 Py_INCREF(Py_None
); resultobj
= Py_None
;
30300 static PyObject
*_wrap_PyTextShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30301 PyObject
*resultobj
;
30302 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30306 int arg5
= (int) 0 ;
30307 int arg6
= (int) 0 ;
30308 PyObject
* obj0
= 0 ;
30309 PyObject
* obj1
= 0 ;
30310 PyObject
* obj2
= 0 ;
30311 PyObject
* obj3
= 0 ;
30312 PyObject
* obj4
= 0 ;
30313 PyObject
* obj5
= 0 ;
30314 char *kwnames
[] = {
30315 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30321 arg2
= (bool) SWIG_AsBool(obj1
);
30322 if (PyErr_Occurred()) SWIG_fail
;
30323 arg3
= (double) SWIG_AsDouble(obj2
);
30324 if (PyErr_Occurred()) SWIG_fail
;
30325 arg4
= (double) SWIG_AsDouble(obj3
);
30326 if (PyErr_Occurred()) SWIG_fail
;
30328 arg5
= (int) SWIG_AsInt(obj4
);
30329 if (PyErr_Occurred()) SWIG_fail
;
30332 arg6
= (int) SWIG_AsInt(obj5
);
30333 if (PyErr_Occurred()) SWIG_fail
;
30336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30337 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30339 wxPyEndAllowThreads(__tstate
);
30340 if (PyErr_Occurred()) SWIG_fail
;
30342 Py_INCREF(Py_None
); resultobj
= Py_None
;
30349 static PyObject
*_wrap_PyTextShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30350 PyObject
*resultobj
;
30351 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30354 int arg4
= (int) 0 ;
30355 int arg5
= (int) 0 ;
30356 PyObject
* obj0
= 0 ;
30357 PyObject
* obj1
= 0 ;
30358 PyObject
* obj2
= 0 ;
30359 PyObject
* obj3
= 0 ;
30360 PyObject
* obj4
= 0 ;
30361 char *kwnames
[] = {
30362 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30368 arg2
= (double) SWIG_AsDouble(obj1
);
30369 if (PyErr_Occurred()) SWIG_fail
;
30370 arg3
= (double) SWIG_AsDouble(obj2
);
30371 if (PyErr_Occurred()) SWIG_fail
;
30373 arg4
= (int) SWIG_AsInt(obj3
);
30374 if (PyErr_Occurred()) SWIG_fail
;
30377 arg5
= (int) SWIG_AsInt(obj4
);
30378 if (PyErr_Occurred()) SWIG_fail
;
30381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30382 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
30384 wxPyEndAllowThreads(__tstate
);
30385 if (PyErr_Occurred()) SWIG_fail
;
30387 Py_INCREF(Py_None
); resultobj
= Py_None
;
30394 static PyObject
*_wrap_PyTextShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30395 PyObject
*resultobj
;
30396 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30399 int arg4
= (int) 0 ;
30400 int arg5
= (int) 0 ;
30401 PyObject
* obj0
= 0 ;
30402 PyObject
* obj1
= 0 ;
30403 PyObject
* obj2
= 0 ;
30404 PyObject
* obj3
= 0 ;
30405 PyObject
* obj4
= 0 ;
30406 char *kwnames
[] = {
30407 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30413 arg2
= (double) SWIG_AsDouble(obj1
);
30414 if (PyErr_Occurred()) SWIG_fail
;
30415 arg3
= (double) SWIG_AsDouble(obj2
);
30416 if (PyErr_Occurred()) SWIG_fail
;
30418 arg4
= (int) SWIG_AsInt(obj3
);
30419 if (PyErr_Occurred()) SWIG_fail
;
30422 arg5
= (int) SWIG_AsInt(obj4
);
30423 if (PyErr_Occurred()) SWIG_fail
;
30426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30427 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
30429 wxPyEndAllowThreads(__tstate
);
30430 if (PyErr_Occurred()) SWIG_fail
;
30432 Py_INCREF(Py_None
); resultobj
= Py_None
;
30439 static PyObject
*_wrap_PyTextShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30440 PyObject
*resultobj
;
30441 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30445 int arg5
= (int) 0 ;
30446 int arg6
= (int) 0 ;
30447 PyObject
* obj0
= 0 ;
30448 PyObject
* obj1
= 0 ;
30449 PyObject
* obj2
= 0 ;
30450 PyObject
* obj3
= 0 ;
30451 PyObject
* obj4
= 0 ;
30452 PyObject
* obj5
= 0 ;
30453 char *kwnames
[] = {
30454 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30460 arg2
= (bool) SWIG_AsBool(obj1
);
30461 if (PyErr_Occurred()) SWIG_fail
;
30462 arg3
= (double) SWIG_AsDouble(obj2
);
30463 if (PyErr_Occurred()) SWIG_fail
;
30464 arg4
= (double) SWIG_AsDouble(obj3
);
30465 if (PyErr_Occurred()) SWIG_fail
;
30467 arg5
= (int) SWIG_AsInt(obj4
);
30468 if (PyErr_Occurred()) SWIG_fail
;
30471 arg6
= (int) SWIG_AsInt(obj5
);
30472 if (PyErr_Occurred()) SWIG_fail
;
30475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30476 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
30478 wxPyEndAllowThreads(__tstate
);
30479 if (PyErr_Occurred()) SWIG_fail
;
30481 Py_INCREF(Py_None
); resultobj
= Py_None
;
30488 static PyObject
*_wrap_PyTextShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30489 PyObject
*resultobj
;
30490 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30493 int arg4
= (int) 0 ;
30494 int arg5
= (int) 0 ;
30495 PyObject
* obj0
= 0 ;
30496 PyObject
* obj1
= 0 ;
30497 PyObject
* obj2
= 0 ;
30498 PyObject
* obj3
= 0 ;
30499 PyObject
* obj4
= 0 ;
30500 char *kwnames
[] = {
30501 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30507 arg2
= (double) SWIG_AsDouble(obj1
);
30508 if (PyErr_Occurred()) SWIG_fail
;
30509 arg3
= (double) SWIG_AsDouble(obj2
);
30510 if (PyErr_Occurred()) SWIG_fail
;
30512 arg4
= (int) SWIG_AsInt(obj3
);
30513 if (PyErr_Occurred()) SWIG_fail
;
30516 arg5
= (int) SWIG_AsInt(obj4
);
30517 if (PyErr_Occurred()) SWIG_fail
;
30520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30521 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
30523 wxPyEndAllowThreads(__tstate
);
30524 if (PyErr_Occurred()) SWIG_fail
;
30526 Py_INCREF(Py_None
); resultobj
= Py_None
;
30533 static PyObject
*_wrap_PyTextShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30534 PyObject
*resultobj
;
30535 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30538 int arg4
= (int) 0 ;
30539 int arg5
= (int) 0 ;
30540 PyObject
* obj0
= 0 ;
30541 PyObject
* obj1
= 0 ;
30542 PyObject
* obj2
= 0 ;
30543 PyObject
* obj3
= 0 ;
30544 PyObject
* obj4
= 0 ;
30545 char *kwnames
[] = {
30546 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30552 arg2
= (double) SWIG_AsDouble(obj1
);
30553 if (PyErr_Occurred()) SWIG_fail
;
30554 arg3
= (double) SWIG_AsDouble(obj2
);
30555 if (PyErr_Occurred()) SWIG_fail
;
30557 arg4
= (int) SWIG_AsInt(obj3
);
30558 if (PyErr_Occurred()) SWIG_fail
;
30561 arg5
= (int) SWIG_AsInt(obj4
);
30562 if (PyErr_Occurred()) SWIG_fail
;
30565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30566 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
30568 wxPyEndAllowThreads(__tstate
);
30569 if (PyErr_Occurred()) SWIG_fail
;
30571 Py_INCREF(Py_None
); resultobj
= Py_None
;
30578 static PyObject
*_wrap_PyTextShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30579 PyObject
*resultobj
;
30580 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30586 PyObject
* obj0
= 0 ;
30587 PyObject
* obj1
= 0 ;
30588 PyObject
* obj2
= 0 ;
30589 PyObject
* obj3
= 0 ;
30590 PyObject
* obj4
= 0 ;
30591 PyObject
* obj5
= 0 ;
30592 char *kwnames
[] = {
30593 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyTextShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30600 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30602 if (arg2
== NULL
) {
30603 PyErr_SetString(PyExc_TypeError
,"null reference");
30606 arg3
= (double) SWIG_AsDouble(obj2
);
30607 if (PyErr_Occurred()) SWIG_fail
;
30608 arg4
= (double) SWIG_AsDouble(obj3
);
30609 if (PyErr_Occurred()) SWIG_fail
;
30610 arg5
= (double) SWIG_AsDouble(obj4
);
30611 if (PyErr_Occurred()) SWIG_fail
;
30612 arg6
= (double) SWIG_AsDouble(obj5
);
30613 if (PyErr_Occurred()) SWIG_fail
;
30615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30616 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
30618 wxPyEndAllowThreads(__tstate
);
30619 if (PyErr_Occurred()) SWIG_fail
;
30621 Py_INCREF(Py_None
); resultobj
= Py_None
;
30628 static PyObject
*_wrap_PyTextShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30629 PyObject
*resultobj
;
30630 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30632 PyObject
* obj0
= 0 ;
30633 PyObject
* obj1
= 0 ;
30634 char *kwnames
[] = {
30635 (char *) "self",(char *) "dc", NULL
30638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
30639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30642 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30644 if (arg2
== NULL
) {
30645 PyErr_SetString(PyExc_TypeError
,"null reference");
30649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30650 (arg1
)->base_OnDrawControlPoints(*arg2
);
30652 wxPyEndAllowThreads(__tstate
);
30653 if (PyErr_Occurred()) SWIG_fail
;
30655 Py_INCREF(Py_None
); resultobj
= Py_None
;
30662 static PyObject
*_wrap_PyTextShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30663 PyObject
*resultobj
;
30664 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30666 PyObject
* obj0
= 0 ;
30667 PyObject
* obj1
= 0 ;
30668 char *kwnames
[] = {
30669 (char *) "self",(char *) "dc", NULL
30672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
30673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30676 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30678 if (arg2
== NULL
) {
30679 PyErr_SetString(PyExc_TypeError
,"null reference");
30683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30684 (arg1
)->base_OnEraseControlPoints(*arg2
);
30686 wxPyEndAllowThreads(__tstate
);
30687 if (PyErr_Occurred()) SWIG_fail
;
30689 Py_INCREF(Py_None
); resultobj
= Py_None
;
30696 static PyObject
*_wrap_PyTextShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30697 PyObject
*resultobj
;
30698 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30700 bool arg3
= (bool) True
;
30701 PyObject
* obj0
= 0 ;
30702 PyObject
* obj1
= 0 ;
30703 PyObject
* obj2
= 0 ;
30704 char *kwnames
[] = {
30705 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
30708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30711 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30712 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30714 if (arg2
== NULL
) {
30715 PyErr_SetString(PyExc_TypeError
,"null reference");
30719 arg3
= (bool) SWIG_AsBool(obj2
);
30720 if (PyErr_Occurred()) SWIG_fail
;
30723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30724 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
30726 wxPyEndAllowThreads(__tstate
);
30727 if (PyErr_Occurred()) SWIG_fail
;
30729 Py_INCREF(Py_None
); resultobj
= Py_None
;
30736 static PyObject
*_wrap_PyTextShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30737 PyObject
*resultobj
;
30738 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30739 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30743 int arg6
= (int) 0 ;
30744 int arg7
= (int) 0 ;
30745 PyObject
* obj0
= 0 ;
30746 PyObject
* obj1
= 0 ;
30747 PyObject
* obj2
= 0 ;
30748 PyObject
* obj3
= 0 ;
30749 PyObject
* obj4
= 0 ;
30750 PyObject
* obj5
= 0 ;
30751 PyObject
* obj6
= 0 ;
30752 char *kwnames
[] = {
30753 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyTextShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30761 arg3
= (bool) SWIG_AsBool(obj2
);
30762 if (PyErr_Occurred()) SWIG_fail
;
30763 arg4
= (double) SWIG_AsDouble(obj3
);
30764 if (PyErr_Occurred()) SWIG_fail
;
30765 arg5
= (double) SWIG_AsDouble(obj4
);
30766 if (PyErr_Occurred()) SWIG_fail
;
30768 arg6
= (int) SWIG_AsInt(obj5
);
30769 if (PyErr_Occurred()) SWIG_fail
;
30772 arg7
= (int) SWIG_AsInt(obj6
);
30773 if (PyErr_Occurred()) SWIG_fail
;
30776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30777 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30779 wxPyEndAllowThreads(__tstate
);
30780 if (PyErr_Occurred()) SWIG_fail
;
30782 Py_INCREF(Py_None
); resultobj
= Py_None
;
30789 static PyObject
*_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30790 PyObject
*resultobj
;
30791 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30792 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30795 int arg5
= (int) 0 ;
30796 int arg6
= (int) 0 ;
30797 PyObject
* obj0
= 0 ;
30798 PyObject
* obj1
= 0 ;
30799 PyObject
* obj2
= 0 ;
30800 PyObject
* obj3
= 0 ;
30801 PyObject
* obj4
= 0 ;
30802 PyObject
* obj5
= 0 ;
30803 char *kwnames
[] = {
30804 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30812 arg3
= (double) SWIG_AsDouble(obj2
);
30813 if (PyErr_Occurred()) SWIG_fail
;
30814 arg4
= (double) SWIG_AsDouble(obj3
);
30815 if (PyErr_Occurred()) SWIG_fail
;
30817 arg5
= (int) SWIG_AsInt(obj4
);
30818 if (PyErr_Occurred()) SWIG_fail
;
30821 arg6
= (int) SWIG_AsInt(obj5
);
30822 if (PyErr_Occurred()) SWIG_fail
;
30825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30826 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30828 wxPyEndAllowThreads(__tstate
);
30829 if (PyErr_Occurred()) SWIG_fail
;
30831 Py_INCREF(Py_None
); resultobj
= Py_None
;
30838 static PyObject
*_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30839 PyObject
*resultobj
;
30840 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30841 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30844 int arg5
= (int) 0 ;
30845 int arg6
= (int) 0 ;
30846 PyObject
* obj0
= 0 ;
30847 PyObject
* obj1
= 0 ;
30848 PyObject
* obj2
= 0 ;
30849 PyObject
* obj3
= 0 ;
30850 PyObject
* obj4
= 0 ;
30851 PyObject
* obj5
= 0 ;
30852 char *kwnames
[] = {
30853 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30861 arg3
= (double) SWIG_AsDouble(obj2
);
30862 if (PyErr_Occurred()) SWIG_fail
;
30863 arg4
= (double) SWIG_AsDouble(obj3
);
30864 if (PyErr_Occurred()) SWIG_fail
;
30866 arg5
= (int) SWIG_AsInt(obj4
);
30867 if (PyErr_Occurred()) SWIG_fail
;
30870 arg6
= (int) SWIG_AsInt(obj5
);
30871 if (PyErr_Occurred()) SWIG_fail
;
30874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30875 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30877 wxPyEndAllowThreads(__tstate
);
30878 if (PyErr_Occurred()) SWIG_fail
;
30880 Py_INCREF(Py_None
); resultobj
= Py_None
;
30887 static PyObject
*_wrap_PyTextShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30888 PyObject
*resultobj
;
30889 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30892 PyObject
* obj0
= 0 ;
30893 PyObject
* obj1
= 0 ;
30894 PyObject
* obj2
= 0 ;
30895 char *kwnames
[] = {
30896 (char *) "self",(char *) "w",(char *) "h", NULL
30899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30902 arg2
= (double) SWIG_AsDouble(obj1
);
30903 if (PyErr_Occurred()) SWIG_fail
;
30904 arg3
= (double) SWIG_AsDouble(obj2
);
30905 if (PyErr_Occurred()) SWIG_fail
;
30907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30908 (arg1
)->base_OnBeginSize(arg2
,arg3
);
30910 wxPyEndAllowThreads(__tstate
);
30911 if (PyErr_Occurred()) SWIG_fail
;
30913 Py_INCREF(Py_None
); resultobj
= Py_None
;
30920 static PyObject
*_wrap_PyTextShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30921 PyObject
*resultobj
;
30922 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30925 PyObject
* obj0
= 0 ;
30926 PyObject
* obj1
= 0 ;
30927 PyObject
* obj2
= 0 ;
30928 char *kwnames
[] = {
30929 (char *) "self",(char *) "w",(char *) "h", NULL
30932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30935 arg2
= (double) SWIG_AsDouble(obj1
);
30936 if (PyErr_Occurred()) SWIG_fail
;
30937 arg3
= (double) SWIG_AsDouble(obj2
);
30938 if (PyErr_Occurred()) SWIG_fail
;
30940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30941 (arg1
)->base_OnEndSize(arg2
,arg3
);
30943 wxPyEndAllowThreads(__tstate
);
30944 if (PyErr_Occurred()) SWIG_fail
;
30946 Py_INCREF(Py_None
); resultobj
= Py_None
;
30953 static PyObject
* PyTextShape_swigregister(PyObject
*self
, PyObject
*args
) {
30955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30956 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape
, obj
);
30958 return Py_BuildValue((char *)"");
30960 static PyObject
*_wrap_new_Diagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30961 PyObject
*resultobj
;
30963 char *kwnames
[] = {
30967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Diagram",kwnames
)) goto fail
;
30969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30970 result
= (wxDiagram
*)new wxDiagram();
30972 wxPyEndAllowThreads(__tstate
);
30973 if (PyErr_Occurred()) SWIG_fail
;
30976 resultobj
= wxPyMake_wxObject(result
);
30984 static PyObject
*_wrap_Diagram_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30985 PyObject
*resultobj
;
30986 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
30987 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
30988 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
30989 PyObject
* obj0
= 0 ;
30990 PyObject
* obj1
= 0 ;
30991 PyObject
* obj2
= 0 ;
30992 char *kwnames
[] = {
30993 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
30996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Diagram_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
30998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31002 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
31003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31007 (arg1
)->AddShape(arg2
,arg3
);
31009 wxPyEndAllowThreads(__tstate
);
31010 if (PyErr_Occurred()) SWIG_fail
;
31012 Py_INCREF(Py_None
); resultobj
= Py_None
;
31019 static PyObject
*_wrap_Diagram_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31020 PyObject
*resultobj
;
31021 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31023 PyObject
* obj0
= 0 ;
31024 PyObject
* obj1
= 0 ;
31025 char *kwnames
[] = {
31026 (char *) "self",(char *) "dc", NULL
31029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
31030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31035 if (arg2
== NULL
) {
31036 PyErr_SetString(PyExc_TypeError
,"null reference");
31040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31041 (arg1
)->Clear(*arg2
);
31043 wxPyEndAllowThreads(__tstate
);
31044 if (PyErr_Occurred()) SWIG_fail
;
31046 Py_INCREF(Py_None
); resultobj
= Py_None
;
31053 static PyObject
*_wrap_Diagram_DeleteAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31054 PyObject
*resultobj
;
31055 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31056 PyObject
* obj0
= 0 ;
31057 char *kwnames
[] = {
31058 (char *) "self", NULL
31061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_DeleteAllShapes",kwnames
,&obj0
)) goto fail
;
31062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31066 (arg1
)->DeleteAllShapes();
31068 wxPyEndAllowThreads(__tstate
);
31069 if (PyErr_Occurred()) SWIG_fail
;
31071 Py_INCREF(Py_None
); resultobj
= Py_None
;
31078 static PyObject
*_wrap_Diagram_DrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31079 PyObject
*resultobj
;
31080 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31086 PyObject
* obj0
= 0 ;
31087 PyObject
* obj1
= 0 ;
31088 PyObject
* obj2
= 0 ;
31089 PyObject
* obj3
= 0 ;
31090 PyObject
* obj4
= 0 ;
31091 PyObject
* obj5
= 0 ;
31092 char *kwnames
[] = {
31093 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Diagram_DrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31100 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31102 if (arg2
== NULL
) {
31103 PyErr_SetString(PyExc_TypeError
,"null reference");
31106 arg3
= (double) SWIG_AsDouble(obj2
);
31107 if (PyErr_Occurred()) SWIG_fail
;
31108 arg4
= (double) SWIG_AsDouble(obj3
);
31109 if (PyErr_Occurred()) SWIG_fail
;
31110 arg5
= (double) SWIG_AsDouble(obj4
);
31111 if (PyErr_Occurred()) SWIG_fail
;
31112 arg6
= (double) SWIG_AsDouble(obj5
);
31113 if (PyErr_Occurred()) SWIG_fail
;
31115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31116 (arg1
)->DrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
31118 wxPyEndAllowThreads(__tstate
);
31119 if (PyErr_Occurred()) SWIG_fail
;
31121 Py_INCREF(Py_None
); resultobj
= Py_None
;
31128 static PyObject
*_wrap_Diagram_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31129 PyObject
*resultobj
;
31130 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31133 PyObject
* obj0
= 0 ;
31134 PyObject
* obj1
= 0 ;
31135 char *kwnames
[] = {
31136 (char *) "self",(char *) "id", NULL
31139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_FindShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31142 arg2
= (long) SWIG_AsLong(obj1
);
31143 if (PyErr_Occurred()) SWIG_fail
;
31145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31146 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
);
31148 wxPyEndAllowThreads(__tstate
);
31149 if (PyErr_Occurred()) SWIG_fail
;
31152 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
31160 static PyObject
*_wrap_Diagram_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31161 PyObject
*resultobj
;
31162 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31163 wxPyShapeCanvas
*result
;
31164 PyObject
* obj0
= 0 ;
31165 char *kwnames
[] = {
31166 (char *) "self", NULL
31169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCanvas",kwnames
,&obj0
)) goto fail
;
31170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31174 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
31176 wxPyEndAllowThreads(__tstate
);
31177 if (PyErr_Occurred()) SWIG_fail
;
31180 resultobj
= wxPyMake_wxObject(result
);
31188 static PyObject
*_wrap_Diagram_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31189 PyObject
*resultobj
;
31190 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31192 PyObject
* obj0
= 0 ;
31193 char *kwnames
[] = {
31194 (char *) "self", NULL
31197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCount",kwnames
,&obj0
)) goto fail
;
31198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31202 result
= (int)(arg1
)->GetCount();
31204 wxPyEndAllowThreads(__tstate
);
31205 if (PyErr_Occurred()) SWIG_fail
;
31207 resultobj
= SWIG_FromInt((int)result
);
31214 static PyObject
*_wrap_Diagram_GetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31215 PyObject
*resultobj
;
31216 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31218 PyObject
* obj0
= 0 ;
31219 char *kwnames
[] = {
31220 (char *) "self", NULL
31223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetGridSpacing",kwnames
,&obj0
)) goto fail
;
31224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31228 result
= (double)(arg1
)->GetGridSpacing();
31230 wxPyEndAllowThreads(__tstate
);
31231 if (PyErr_Occurred()) SWIG_fail
;
31233 resultobj
= SWIG_FromDouble((double)result
);
31240 static PyObject
*_wrap_Diagram_GetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31241 PyObject
*resultobj
;
31242 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31244 PyObject
* obj0
= 0 ;
31245 char *kwnames
[] = {
31246 (char *) "self", NULL
31249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetMouseTolerance",kwnames
,&obj0
)) goto fail
;
31250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31254 result
= (int)(arg1
)->GetMouseTolerance();
31256 wxPyEndAllowThreads(__tstate
);
31257 if (PyErr_Occurred()) SWIG_fail
;
31259 resultobj
= SWIG_FromInt((int)result
);
31266 static PyObject
*_wrap_Diagram_GetShapeList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31267 PyObject
*resultobj
;
31268 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31270 PyObject
* obj0
= 0 ;
31271 char *kwnames
[] = {
31272 (char *) "self", NULL
31275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetShapeList",kwnames
,&obj0
)) goto fail
;
31276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31280 result
= (PyObject
*)wxDiagram_GetShapeList(arg1
);
31282 wxPyEndAllowThreads(__tstate
);
31283 if (PyErr_Occurred()) SWIG_fail
;
31285 resultobj
= result
;
31292 static PyObject
*_wrap_Diagram_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31293 PyObject
*resultobj
;
31294 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31296 PyObject
* obj0
= 0 ;
31297 char *kwnames
[] = {
31298 (char *) "self", NULL
31301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
31302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31306 result
= (bool)(arg1
)->GetQuickEditMode();
31308 wxPyEndAllowThreads(__tstate
);
31309 if (PyErr_Occurred()) SWIG_fail
;
31312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31320 static PyObject
*_wrap_Diagram_GetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31321 PyObject
*resultobj
;
31322 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31324 PyObject
* obj0
= 0 ;
31325 char *kwnames
[] = {
31326 (char *) "self", NULL
31329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetSnapToGrid",kwnames
,&obj0
)) goto fail
;
31330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31334 result
= (bool)(arg1
)->GetSnapToGrid();
31336 wxPyEndAllowThreads(__tstate
);
31337 if (PyErr_Occurred()) SWIG_fail
;
31340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31348 static PyObject
*_wrap_Diagram_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31349 PyObject
*resultobj
;
31350 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31351 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31352 PyObject
* obj0
= 0 ;
31353 PyObject
* obj1
= 0 ;
31354 char *kwnames
[] = {
31355 (char *) "self",(char *) "shape", NULL
31358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31365 (arg1
)->InsertShape(arg2
);
31367 wxPyEndAllowThreads(__tstate
);
31368 if (PyErr_Occurred()) SWIG_fail
;
31370 Py_INCREF(Py_None
); resultobj
= Py_None
;
31377 static PyObject
*_wrap_Diagram_RecentreAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31378 PyObject
*resultobj
;
31379 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31381 PyObject
* obj0
= 0 ;
31382 PyObject
* obj1
= 0 ;
31383 char *kwnames
[] = {
31384 (char *) "self",(char *) "dc", NULL
31387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RecentreAll",kwnames
,&obj0
,&obj1
)) goto fail
;
31388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31391 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31393 if (arg2
== NULL
) {
31394 PyErr_SetString(PyExc_TypeError
,"null reference");
31398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31399 (arg1
)->RecentreAll(*arg2
);
31401 wxPyEndAllowThreads(__tstate
);
31402 if (PyErr_Occurred()) SWIG_fail
;
31404 Py_INCREF(Py_None
); resultobj
= Py_None
;
31411 static PyObject
*_wrap_Diagram_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31412 PyObject
*resultobj
;
31413 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31415 PyObject
* obj0
= 0 ;
31416 PyObject
* obj1
= 0 ;
31417 char *kwnames
[] = {
31418 (char *) "self",(char *) "dc", NULL
31421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
31422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31425 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31427 if (arg2
== NULL
) {
31428 PyErr_SetString(PyExc_TypeError
,"null reference");
31432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31433 (arg1
)->Redraw(*arg2
);
31435 wxPyEndAllowThreads(__tstate
);
31436 if (PyErr_Occurred()) SWIG_fail
;
31438 Py_INCREF(Py_None
); resultobj
= Py_None
;
31445 static PyObject
*_wrap_Diagram_RemoveAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31446 PyObject
*resultobj
;
31447 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31448 PyObject
* obj0
= 0 ;
31449 char *kwnames
[] = {
31450 (char *) "self", NULL
31453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_RemoveAllShapes",kwnames
,&obj0
)) goto fail
;
31454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31458 (arg1
)->RemoveAllShapes();
31460 wxPyEndAllowThreads(__tstate
);
31461 if (PyErr_Occurred()) SWIG_fail
;
31463 Py_INCREF(Py_None
); resultobj
= Py_None
;
31470 static PyObject
*_wrap_Diagram_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31471 PyObject
*resultobj
;
31472 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31473 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31474 PyObject
* obj0
= 0 ;
31475 PyObject
* obj1
= 0 ;
31476 char *kwnames
[] = {
31477 (char *) "self",(char *) "shape", NULL
31480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31487 (arg1
)->RemoveShape(arg2
);
31489 wxPyEndAllowThreads(__tstate
);
31490 if (PyErr_Occurred()) SWIG_fail
;
31492 Py_INCREF(Py_None
); resultobj
= Py_None
;
31499 static PyObject
*_wrap_Diagram_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31500 PyObject
*resultobj
;
31501 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31502 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
31503 PyObject
* obj0
= 0 ;
31504 PyObject
* obj1
= 0 ;
31505 char *kwnames
[] = {
31506 (char *) "self",(char *) "canvas", NULL
31509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
31510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
31513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31516 (arg1
)->SetCanvas(arg2
);
31518 wxPyEndAllowThreads(__tstate
);
31519 if (PyErr_Occurred()) SWIG_fail
;
31521 Py_INCREF(Py_None
); resultobj
= Py_None
;
31528 static PyObject
*_wrap_Diagram_SetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31529 PyObject
*resultobj
;
31530 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31532 PyObject
* obj0
= 0 ;
31533 PyObject
* obj1
= 0 ;
31534 char *kwnames
[] = {
31535 (char *) "self",(char *) "spacing", NULL
31538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetGridSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
31539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31541 arg2
= (double) SWIG_AsDouble(obj1
);
31542 if (PyErr_Occurred()) SWIG_fail
;
31544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31545 (arg1
)->SetGridSpacing(arg2
);
31547 wxPyEndAllowThreads(__tstate
);
31548 if (PyErr_Occurred()) SWIG_fail
;
31550 Py_INCREF(Py_None
); resultobj
= Py_None
;
31557 static PyObject
*_wrap_Diagram_SetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31558 PyObject
*resultobj
;
31559 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31561 PyObject
* obj0
= 0 ;
31562 PyObject
* obj1
= 0 ;
31563 char *kwnames
[] = {
31564 (char *) "self",(char *) "tolerance", NULL
31567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetMouseTolerance",kwnames
,&obj0
,&obj1
)) goto fail
;
31568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31570 arg2
= (int) SWIG_AsInt(obj1
);
31571 if (PyErr_Occurred()) SWIG_fail
;
31573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31574 (arg1
)->SetMouseTolerance(arg2
);
31576 wxPyEndAllowThreads(__tstate
);
31577 if (PyErr_Occurred()) SWIG_fail
;
31579 Py_INCREF(Py_None
); resultobj
= Py_None
;
31586 static PyObject
*_wrap_Diagram_SetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31587 PyObject
*resultobj
;
31588 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31590 PyObject
* obj0
= 0 ;
31591 PyObject
* obj1
= 0 ;
31592 char *kwnames
[] = {
31593 (char *) "self",(char *) "mode", NULL
31596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetQuickEditMode",kwnames
,&obj0
,&obj1
)) goto fail
;
31597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31599 arg2
= (bool) SWIG_AsBool(obj1
);
31600 if (PyErr_Occurred()) SWIG_fail
;
31602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31603 (arg1
)->SetQuickEditMode(arg2
);
31605 wxPyEndAllowThreads(__tstate
);
31606 if (PyErr_Occurred()) SWIG_fail
;
31608 Py_INCREF(Py_None
); resultobj
= Py_None
;
31615 static PyObject
*_wrap_Diagram_SetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31616 PyObject
*resultobj
;
31617 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31619 PyObject
* obj0
= 0 ;
31620 PyObject
* obj1
= 0 ;
31621 char *kwnames
[] = {
31622 (char *) "self",(char *) "snap", NULL
31625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetSnapToGrid",kwnames
,&obj0
,&obj1
)) goto fail
;
31626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31628 arg2
= (bool) SWIG_AsBool(obj1
);
31629 if (PyErr_Occurred()) SWIG_fail
;
31631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31632 (arg1
)->SetSnapToGrid(arg2
);
31634 wxPyEndAllowThreads(__tstate
);
31635 if (PyErr_Occurred()) SWIG_fail
;
31637 Py_INCREF(Py_None
); resultobj
= Py_None
;
31644 static PyObject
*_wrap_Diagram_ShowAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31645 PyObject
*resultobj
;
31646 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31648 PyObject
* obj0
= 0 ;
31649 PyObject
* obj1
= 0 ;
31650 char *kwnames
[] = {
31651 (char *) "self",(char *) "show", NULL
31654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_ShowAll",kwnames
,&obj0
,&obj1
)) goto fail
;
31655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31657 arg2
= (bool) SWIG_AsBool(obj1
);
31658 if (PyErr_Occurred()) SWIG_fail
;
31660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31661 (arg1
)->ShowAll(arg2
);
31663 wxPyEndAllowThreads(__tstate
);
31664 if (PyErr_Occurred()) SWIG_fail
;
31666 Py_INCREF(Py_None
); resultobj
= Py_None
;
31673 static PyObject
*_wrap_Diagram_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31674 PyObject
*resultobj
;
31675 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31676 double *arg2
= (double *) 0 ;
31677 double *arg3
= (double *) 0 ;
31680 PyObject
* obj0
= 0 ;
31681 PyObject
* obj1
= 0 ;
31682 PyObject
* obj2
= 0 ;
31683 char *kwnames
[] = {
31684 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
31687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Diagram_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31691 temp2
= PyFloat_AsDouble(obj1
);
31692 if (PyErr_Occurred()) SWIG_fail
;
31696 temp3
= PyFloat_AsDouble(obj2
);
31697 if (PyErr_Occurred()) SWIG_fail
;
31701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31702 (arg1
)->Snap(arg2
,arg3
);
31704 wxPyEndAllowThreads(__tstate
);
31705 if (PyErr_Occurred()) SWIG_fail
;
31707 Py_INCREF(Py_None
); resultobj
= Py_None
;
31709 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
31710 resultobj
= t_output_helper(resultobj
,o
);
31713 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
31714 resultobj
= t_output_helper(resultobj
,o
);
31722 static PyObject
* Diagram_swigregister(PyObject
*self
, PyObject
*args
) {
31724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31725 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram
, obj
);
31727 return Py_BuildValue((char *)"");
31729 static PyObject
*_wrap_new_PyShapeCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31730 PyObject
*resultobj
;
31731 wxWindow
*arg1
= (wxWindow
*) NULL
;
31732 int arg2
= (int) -1 ;
31733 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31734 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31735 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31736 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31737 long arg5
= (long) wxBORDER
;
31738 wxString
const &arg6_defvalue
= wxPyShapeCanvasNameStr
;
31739 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
31740 wxPyShapeCanvas
*result
;
31743 bool temp6
= False
;
31744 PyObject
* obj0
= 0 ;
31745 PyObject
* obj1
= 0 ;
31746 PyObject
* obj2
= 0 ;
31747 PyObject
* obj3
= 0 ;
31748 PyObject
* obj4
= 0 ;
31749 PyObject
* obj5
= 0 ;
31750 char *kwnames
[] = {
31751 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_PyShapeCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
31757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31760 arg2
= (int) SWIG_AsInt(obj1
);
31761 if (PyErr_Occurred()) SWIG_fail
;
31766 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31772 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31776 arg5
= (long) SWIG_AsLong(obj4
);
31777 if (PyErr_Occurred()) SWIG_fail
;
31781 arg6
= wxString_in_helper(obj5
);
31782 if (arg6
== NULL
) SWIG_fail
;
31787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31788 result
= (wxPyShapeCanvas
*)new wxPyShapeCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
31790 wxPyEndAllowThreads(__tstate
);
31791 if (PyErr_Occurred()) SWIG_fail
;
31794 resultobj
= wxPyMake_wxObject(result
);
31810 static PyObject
*_wrap_PyShapeCanvas__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31811 PyObject
*resultobj
;
31812 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31813 PyObject
*arg2
= (PyObject
*) 0 ;
31814 PyObject
*arg3
= (PyObject
*) 0 ;
31815 PyObject
* obj0
= 0 ;
31816 PyObject
* obj1
= 0 ;
31817 PyObject
* obj2
= 0 ;
31818 char *kwnames
[] = {
31819 (char *) "self",(char *) "self",(char *) "_class", NULL
31822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31829 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31831 wxPyEndAllowThreads(__tstate
);
31832 if (PyErr_Occurred()) SWIG_fail
;
31834 Py_INCREF(Py_None
); resultobj
= Py_None
;
31841 static PyObject
*_wrap_PyShapeCanvas_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31842 PyObject
*resultobj
;
31843 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31844 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31845 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
31846 PyObject
* obj0
= 0 ;
31847 PyObject
* obj1
= 0 ;
31848 PyObject
* obj2
= 0 ;
31849 char *kwnames
[] = {
31850 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
31853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31859 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
31860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31864 (arg1
)->AddShape(arg2
,arg3
);
31866 wxPyEndAllowThreads(__tstate
);
31867 if (PyErr_Occurred()) SWIG_fail
;
31869 Py_INCREF(Py_None
); resultobj
= Py_None
;
31876 static PyObject
*_wrap_PyShapeCanvas_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31877 PyObject
*resultobj
;
31878 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31881 int *arg4
= (int *) 0 ;
31882 wxClassInfo
*arg5
= (wxClassInfo
*) NULL
;
31883 wxPyShape
*arg6
= (wxPyShape
*) NULL
;
31886 PyObject
* obj0
= 0 ;
31887 PyObject
* obj1
= 0 ;
31888 PyObject
* obj2
= 0 ;
31889 PyObject
* obj3
= 0 ;
31890 PyObject
* obj4
= 0 ;
31891 char *kwnames
[] = {
31892 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
31896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeCanvas_FindShape",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31899 arg2
= (double) SWIG_AsDouble(obj1
);
31900 if (PyErr_Occurred()) SWIG_fail
;
31901 arg3
= (double) SWIG_AsDouble(obj2
);
31902 if (PyErr_Occurred()) SWIG_fail
;
31904 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxClassInfo
,
31905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31908 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg6
),SWIGTYPE_p_wxPyShape
,
31909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31913 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
,arg3
,arg4
,arg5
,arg6
);
31915 wxPyEndAllowThreads(__tstate
);
31916 if (PyErr_Occurred()) SWIG_fail
;
31919 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
31922 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
31923 resultobj
= t_output_helper(resultobj
,o
);
31931 static PyObject
*_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31932 PyObject
*resultobj
;
31933 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31936 int *arg4
= (int *) 0 ;
31940 PyObject
* obj0
= 0 ;
31941 PyObject
* obj1
= 0 ;
31942 PyObject
* obj2
= 0 ;
31943 PyObject
* obj3
= 0 ;
31944 char *kwnames
[] = {
31945 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
31949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShapeCanvas_FindFirstSensitiveShape",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31952 arg2
= (double) SWIG_AsDouble(obj1
);
31953 if (PyErr_Occurred()) SWIG_fail
;
31954 arg3
= (double) SWIG_AsDouble(obj2
);
31955 if (PyErr_Occurred()) SWIG_fail
;
31956 arg5
= (int) SWIG_AsInt(obj3
);
31957 if (PyErr_Occurred()) SWIG_fail
;
31959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31960 result
= (wxPyShape
*)(arg1
)->FindFirstSensitiveShape(arg2
,arg3
,arg4
,arg5
);
31962 wxPyEndAllowThreads(__tstate
);
31963 if (PyErr_Occurred()) SWIG_fail
;
31966 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
31969 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
31970 resultobj
= t_output_helper(resultobj
,o
);
31978 static PyObject
*_wrap_PyShapeCanvas_GetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31979 PyObject
*resultobj
;
31980 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31982 PyObject
* obj0
= 0 ;
31983 char *kwnames
[] = {
31984 (char *) "self", NULL
31987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetDiagram",kwnames
,&obj0
)) goto fail
;
31988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31992 result
= (wxDiagram
*)(arg1
)->GetDiagram();
31994 wxPyEndAllowThreads(__tstate
);
31995 if (PyErr_Occurred()) SWIG_fail
;
31998 resultobj
= wxPyMake_wxObject(result
);
32006 static PyObject
*_wrap_PyShapeCanvas_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32007 PyObject
*resultobj
;
32008 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32010 PyObject
* obj0
= 0 ;
32011 char *kwnames
[] = {
32012 (char *) "self", NULL
32015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
32016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32020 result
= (bool)(arg1
)->GetQuickEditMode();
32022 wxPyEndAllowThreads(__tstate
);
32023 if (PyErr_Occurred()) SWIG_fail
;
32026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32034 static PyObject
*_wrap_PyShapeCanvas_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32035 PyObject
*resultobj
;
32036 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32037 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
32038 PyObject
* obj0
= 0 ;
32039 PyObject
* obj1
= 0 ;
32040 char *kwnames
[] = {
32041 (char *) "self",(char *) "shape", NULL
32044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
32045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
32048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32051 (arg1
)->InsertShape(arg2
);
32053 wxPyEndAllowThreads(__tstate
);
32054 if (PyErr_Occurred()) SWIG_fail
;
32056 Py_INCREF(Py_None
); resultobj
= Py_None
;
32063 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32064 PyObject
*resultobj
;
32065 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32068 int arg4
= (int) 0 ;
32069 PyObject
* obj0
= 0 ;
32070 PyObject
* obj1
= 0 ;
32071 PyObject
* obj2
= 0 ;
32072 PyObject
* obj3
= 0 ;
32073 char *kwnames
[] = {
32074 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32080 arg2
= (double) SWIG_AsDouble(obj1
);
32081 if (PyErr_Occurred()) SWIG_fail
;
32082 arg3
= (double) SWIG_AsDouble(obj2
);
32083 if (PyErr_Occurred()) SWIG_fail
;
32085 arg4
= (int) SWIG_AsInt(obj3
);
32086 if (PyErr_Occurred()) SWIG_fail
;
32089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32090 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
);
32092 wxPyEndAllowThreads(__tstate
);
32093 if (PyErr_Occurred()) SWIG_fail
;
32095 Py_INCREF(Py_None
); resultobj
= Py_None
;
32102 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32103 PyObject
*resultobj
;
32104 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32107 int arg4
= (int) 0 ;
32108 PyObject
* obj0
= 0 ;
32109 PyObject
* obj1
= 0 ;
32110 PyObject
* obj2
= 0 ;
32111 PyObject
* obj3
= 0 ;
32112 char *kwnames
[] = {
32113 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32119 arg2
= (double) SWIG_AsDouble(obj1
);
32120 if (PyErr_Occurred()) SWIG_fail
;
32121 arg3
= (double) SWIG_AsDouble(obj2
);
32122 if (PyErr_Occurred()) SWIG_fail
;
32124 arg4
= (int) SWIG_AsInt(obj3
);
32125 if (PyErr_Occurred()) SWIG_fail
;
32128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32129 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
);
32131 wxPyEndAllowThreads(__tstate
);
32132 if (PyErr_Occurred()) SWIG_fail
;
32134 Py_INCREF(Py_None
); resultobj
= Py_None
;
32141 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32142 PyObject
*resultobj
;
32143 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32146 int arg4
= (int) 0 ;
32147 PyObject
* obj0
= 0 ;
32148 PyObject
* obj1
= 0 ;
32149 PyObject
* obj2
= 0 ;
32150 PyObject
* obj3
= 0 ;
32151 char *kwnames
[] = {
32152 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32158 arg2
= (double) SWIG_AsDouble(obj1
);
32159 if (PyErr_Occurred()) SWIG_fail
;
32160 arg3
= (double) SWIG_AsDouble(obj2
);
32161 if (PyErr_Occurred()) SWIG_fail
;
32163 arg4
= (int) SWIG_AsInt(obj3
);
32164 if (PyErr_Occurred()) SWIG_fail
;
32167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32168 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
);
32170 wxPyEndAllowThreads(__tstate
);
32171 if (PyErr_Occurred()) SWIG_fail
;
32173 Py_INCREF(Py_None
); resultobj
= Py_None
;
32180 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32181 PyObject
*resultobj
;
32182 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32185 int arg4
= (int) 0 ;
32186 PyObject
* obj0
= 0 ;
32187 PyObject
* obj1
= 0 ;
32188 PyObject
* obj2
= 0 ;
32189 PyObject
* obj3
= 0 ;
32190 char *kwnames
[] = {
32191 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32197 arg2
= (double) SWIG_AsDouble(obj1
);
32198 if (PyErr_Occurred()) SWIG_fail
;
32199 arg3
= (double) SWIG_AsDouble(obj2
);
32200 if (PyErr_Occurred()) SWIG_fail
;
32202 arg4
= (int) SWIG_AsInt(obj3
);
32203 if (PyErr_Occurred()) SWIG_fail
;
32206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32207 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
);
32209 wxPyEndAllowThreads(__tstate
);
32210 if (PyErr_Occurred()) SWIG_fail
;
32212 Py_INCREF(Py_None
); resultobj
= Py_None
;
32219 static PyObject
*_wrap_PyShapeCanvas_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32220 PyObject
*resultobj
;
32221 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32225 int arg5
= (int) 0 ;
32226 PyObject
* obj0
= 0 ;
32227 PyObject
* obj1
= 0 ;
32228 PyObject
* obj2
= 0 ;
32229 PyObject
* obj3
= 0 ;
32230 PyObject
* obj4
= 0 ;
32231 char *kwnames
[] = {
32232 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShapeCanvas_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32238 arg2
= (bool) SWIG_AsBool(obj1
);
32239 if (PyErr_Occurred()) SWIG_fail
;
32240 arg3
= (double) SWIG_AsDouble(obj2
);
32241 if (PyErr_Occurred()) SWIG_fail
;
32242 arg4
= (double) SWIG_AsDouble(obj3
);
32243 if (PyErr_Occurred()) SWIG_fail
;
32245 arg5
= (int) SWIG_AsInt(obj4
);
32246 if (PyErr_Occurred()) SWIG_fail
;
32249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32250 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
);
32252 wxPyEndAllowThreads(__tstate
);
32253 if (PyErr_Occurred()) SWIG_fail
;
32255 Py_INCREF(Py_None
); resultobj
= Py_None
;
32262 static PyObject
*_wrap_PyShapeCanvas_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32263 PyObject
*resultobj
;
32264 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32268 int arg5
= (int) 0 ;
32269 PyObject
* obj0
= 0 ;
32270 PyObject
* obj1
= 0 ;
32271 PyObject
* obj2
= 0 ;
32272 PyObject
* obj3
= 0 ;
32273 PyObject
* obj4
= 0 ;
32274 char *kwnames
[] = {
32275 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShapeCanvas_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32281 arg2
= (bool) SWIG_AsBool(obj1
);
32282 if (PyErr_Occurred()) SWIG_fail
;
32283 arg3
= (double) SWIG_AsDouble(obj2
);
32284 if (PyErr_Occurred()) SWIG_fail
;
32285 arg4
= (double) SWIG_AsDouble(obj3
);
32286 if (PyErr_Occurred()) SWIG_fail
;
32288 arg5
= (int) SWIG_AsInt(obj4
);
32289 if (PyErr_Occurred()) SWIG_fail
;
32292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32293 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
);
32295 wxPyEndAllowThreads(__tstate
);
32296 if (PyErr_Occurred()) SWIG_fail
;
32298 Py_INCREF(Py_None
); resultobj
= Py_None
;
32305 static PyObject
*_wrap_PyShapeCanvas_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32306 PyObject
*resultobj
;
32307 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32310 int arg4
= (int) 0 ;
32311 PyObject
* obj0
= 0 ;
32312 PyObject
* obj1
= 0 ;
32313 PyObject
* obj2
= 0 ;
32314 PyObject
* obj3
= 0 ;
32315 char *kwnames
[] = {
32316 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32322 arg2
= (double) SWIG_AsDouble(obj1
);
32323 if (PyErr_Occurred()) SWIG_fail
;
32324 arg3
= (double) SWIG_AsDouble(obj2
);
32325 if (PyErr_Occurred()) SWIG_fail
;
32327 arg4
= (int) SWIG_AsInt(obj3
);
32328 if (PyErr_Occurred()) SWIG_fail
;
32331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32332 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
);
32334 wxPyEndAllowThreads(__tstate
);
32335 if (PyErr_Occurred()) SWIG_fail
;
32337 Py_INCREF(Py_None
); resultobj
= Py_None
;
32344 static PyObject
*_wrap_PyShapeCanvas_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32345 PyObject
*resultobj
;
32346 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32349 int arg4
= (int) 0 ;
32350 PyObject
* obj0
= 0 ;
32351 PyObject
* obj1
= 0 ;
32352 PyObject
* obj2
= 0 ;
32353 PyObject
* obj3
= 0 ;
32354 char *kwnames
[] = {
32355 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32361 arg2
= (double) SWIG_AsDouble(obj1
);
32362 if (PyErr_Occurred()) SWIG_fail
;
32363 arg3
= (double) SWIG_AsDouble(obj2
);
32364 if (PyErr_Occurred()) SWIG_fail
;
32366 arg4
= (int) SWIG_AsInt(obj3
);
32367 if (PyErr_Occurred()) SWIG_fail
;
32370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32371 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
);
32373 wxPyEndAllowThreads(__tstate
);
32374 if (PyErr_Occurred()) SWIG_fail
;
32376 Py_INCREF(Py_None
); resultobj
= Py_None
;
32383 static PyObject
*_wrap_PyShapeCanvas_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32384 PyObject
*resultobj
;
32385 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32387 PyObject
* obj0
= 0 ;
32388 PyObject
* obj1
= 0 ;
32389 char *kwnames
[] = {
32390 (char *) "self",(char *) "dc", NULL
32393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
32394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
32397 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32399 if (arg2
== NULL
) {
32400 PyErr_SetString(PyExc_TypeError
,"null reference");
32404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32405 (arg1
)->Redraw(*arg2
);
32407 wxPyEndAllowThreads(__tstate
);
32408 if (PyErr_Occurred()) SWIG_fail
;
32410 Py_INCREF(Py_None
); resultobj
= Py_None
;
32417 static PyObject
*_wrap_PyShapeCanvas_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32418 PyObject
*resultobj
;
32419 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32420 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
32421 PyObject
* obj0
= 0 ;
32422 PyObject
* obj1
= 0 ;
32423 char *kwnames
[] = {
32424 (char *) "self",(char *) "shape", NULL
32427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
32428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
32431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32434 (arg1
)->RemoveShape(arg2
);
32436 wxPyEndAllowThreads(__tstate
);
32437 if (PyErr_Occurred()) SWIG_fail
;
32439 Py_INCREF(Py_None
); resultobj
= Py_None
;
32446 static PyObject
*_wrap_PyShapeCanvas_SetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32447 PyObject
*resultobj
;
32448 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32449 wxDiagram
*arg2
= (wxDiagram
*) 0 ;
32450 PyObject
* obj0
= 0 ;
32451 PyObject
* obj1
= 0 ;
32452 char *kwnames
[] = {
32453 (char *) "self",(char *) "diagram", NULL
32456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames
,&obj0
,&obj1
)) goto fail
;
32457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDiagram
,
32460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32463 (arg1
)->SetDiagram(arg2
);
32465 wxPyEndAllowThreads(__tstate
);
32466 if (PyErr_Occurred()) SWIG_fail
;
32468 Py_INCREF(Py_None
); resultobj
= Py_None
;
32475 static PyObject
*_wrap_PyShapeCanvas_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32476 PyObject
*resultobj
;
32477 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32478 double *arg2
= (double *) 0 ;
32479 double *arg3
= (double *) 0 ;
32482 PyObject
* obj0
= 0 ;
32483 PyObject
* obj1
= 0 ;
32484 PyObject
* obj2
= 0 ;
32485 char *kwnames
[] = {
32486 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
32489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32493 temp2
= PyFloat_AsDouble(obj1
);
32494 if (PyErr_Occurred()) SWIG_fail
;
32498 temp3
= PyFloat_AsDouble(obj2
);
32499 if (PyErr_Occurred()) SWIG_fail
;
32503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32504 (arg1
)->Snap(arg2
,arg3
);
32506 wxPyEndAllowThreads(__tstate
);
32507 if (PyErr_Occurred()) SWIG_fail
;
32509 Py_INCREF(Py_None
); resultobj
= Py_None
;
32511 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
32512 resultobj
= t_output_helper(resultobj
,o
);
32515 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
32516 resultobj
= t_output_helper(resultobj
,o
);
32524 static PyObject
* PyShapeCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
32526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32527 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas
, obj
);
32529 return Py_BuildValue((char *)"");
32531 static PyObject
*_wrap_OGLInitialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32532 PyObject
*resultobj
;
32533 char *kwnames
[] = {
32537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLInitialize",kwnames
)) goto fail
;
32539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32542 wxPyEndAllowThreads(__tstate
);
32543 if (PyErr_Occurred()) SWIG_fail
;
32545 Py_INCREF(Py_None
); resultobj
= Py_None
;
32552 static PyObject
*_wrap_OGLCleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32553 PyObject
*resultobj
;
32554 char *kwnames
[] = {
32558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLCleanUp",kwnames
)) goto fail
;
32560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32563 wxPyEndAllowThreads(__tstate
);
32564 if (PyErr_Occurred()) SWIG_fail
;
32566 Py_INCREF(Py_None
); resultobj
= Py_None
;
32573 static PyMethodDef SwigMethods
[] = {
32574 { (char *)"new_ShapeRegion", (PyCFunction
) _wrap_new_ShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
32575 { (char *)"ShapeRegion_SetText", (PyCFunction
) _wrap_ShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
32576 { (char *)"ShapeRegion_SetFont", (PyCFunction
) _wrap_ShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
32577 { (char *)"ShapeRegion_SetMinSize", (PyCFunction
) _wrap_ShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
32578 { (char *)"ShapeRegion_SetSize", (PyCFunction
) _wrap_ShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
32579 { (char *)"ShapeRegion_SetPosition", (PyCFunction
) _wrap_ShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32580 { (char *)"ShapeRegion_SetProportions", (PyCFunction
) _wrap_ShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
32581 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction
) _wrap_ShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
32582 { (char *)"ShapeRegion_SetName", (PyCFunction
) _wrap_ShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
32583 { (char *)"ShapeRegion_SetColour", (PyCFunction
) _wrap_ShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
32584 { (char *)"ShapeRegion_GetText", (PyCFunction
) _wrap_ShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
32585 { (char *)"ShapeRegion_GetFont", (PyCFunction
) _wrap_ShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
32586 { (char *)"ShapeRegion_GetMinSize", (PyCFunction
) _wrap_ShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
32587 { (char *)"ShapeRegion_GetProportion", (PyCFunction
) _wrap_ShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
32588 { (char *)"ShapeRegion_GetSize", (PyCFunction
) _wrap_ShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
32589 { (char *)"ShapeRegion_GetPosition", (PyCFunction
) _wrap_ShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32590 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction
) _wrap_ShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
32591 { (char *)"ShapeRegion_GetName", (PyCFunction
) _wrap_ShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
32592 { (char *)"ShapeRegion_GetColour", (PyCFunction
) _wrap_ShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
32593 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_ShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
32594 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction
) _wrap_ShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
32595 { (char *)"ShapeRegion_GetPenColour", (PyCFunction
) _wrap_ShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
32596 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction
) _wrap_ShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
32597 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction
) _wrap_ShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
32598 { (char *)"ShapeRegion_SetPenColour", (PyCFunction
) _wrap_ShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
32599 { (char *)"ShapeRegion_GetActualPen", (PyCFunction
) _wrap_ShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
32600 { (char *)"ShapeRegion_GetWidth", (PyCFunction
) _wrap_ShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
32601 { (char *)"ShapeRegion_GetHeight", (PyCFunction
) _wrap_ShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
32602 { (char *)"ShapeRegion_ClearText", (PyCFunction
) _wrap_ShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
32603 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister
, METH_VARARGS
},
32604 { (char *)"new_AttachmentPoint", (PyCFunction
) _wrap_new_AttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
32605 { (char *)"AttachmentPoint_m_id_set", (PyCFunction
) _wrap_AttachmentPoint_m_id_set
, METH_VARARGS
| METH_KEYWORDS
},
32606 { (char *)"AttachmentPoint_m_id_get", (PyCFunction
) _wrap_AttachmentPoint_m_id_get
, METH_VARARGS
| METH_KEYWORDS
},
32607 { (char *)"AttachmentPoint_m_x_set", (PyCFunction
) _wrap_AttachmentPoint_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
32608 { (char *)"AttachmentPoint_m_x_get", (PyCFunction
) _wrap_AttachmentPoint_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
32609 { (char *)"AttachmentPoint_m_y_set", (PyCFunction
) _wrap_AttachmentPoint_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
32610 { (char *)"AttachmentPoint_m_y_get", (PyCFunction
) _wrap_AttachmentPoint_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
32611 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister
, METH_VARARGS
},
32612 { (char *)"new_PyShapeEvtHandler", (PyCFunction
) _wrap_new_PyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
32613 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32614 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
32615 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
32616 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
32617 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
32618 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
32619 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_PyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
32620 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32621 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32622 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32623 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32624 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32625 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32626 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32627 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32628 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32629 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32630 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32631 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32632 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32633 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32634 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32635 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32636 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32637 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32638 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32639 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32640 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32641 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32642 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32643 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32644 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32645 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32646 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32647 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32648 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32649 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister
, METH_VARARGS
},
32650 { (char *)"new_PyShape", (PyCFunction
) _wrap_new_PyShape
, METH_VARARGS
| METH_KEYWORDS
},
32651 { (char *)"PyShape__setCallbackInfo", (PyCFunction
) _wrap_PyShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32652 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
32653 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
32654 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction
) _wrap_PyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
32655 { (char *)"PyShape_GetCanvas", (PyCFunction
) _wrap_PyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32656 { (char *)"PyShape_SetCanvas", (PyCFunction
) _wrap_PyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32657 { (char *)"PyShape_AddToCanvas", (PyCFunction
) _wrap_PyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32658 { (char *)"PyShape_InsertInCanvas", (PyCFunction
) _wrap_PyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32659 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction
) _wrap_PyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
32660 { (char *)"PyShape_GetX", (PyCFunction
) _wrap_PyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
32661 { (char *)"PyShape_GetY", (PyCFunction
) _wrap_PyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
32662 { (char *)"PyShape_SetX", (PyCFunction
) _wrap_PyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
32663 { (char *)"PyShape_SetY", (PyCFunction
) _wrap_PyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
32664 { (char *)"PyShape_GetParent", (PyCFunction
) _wrap_PyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
32665 { (char *)"PyShape_SetParent", (PyCFunction
) _wrap_PyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
32666 { (char *)"PyShape_GetTopAncestor", (PyCFunction
) _wrap_PyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
32667 { (char *)"PyShape_GetChildren", (PyCFunction
) _wrap_PyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
32668 { (char *)"PyShape_Unlink", (PyCFunction
) _wrap_PyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
32669 { (char *)"PyShape_SetDrawHandles", (PyCFunction
) _wrap_PyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
32670 { (char *)"PyShape_GetDrawHandles", (PyCFunction
) _wrap_PyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
32671 { (char *)"PyShape_MakeControlPoints", (PyCFunction
) _wrap_PyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32672 { (char *)"PyShape_DeleteControlPoints", (PyCFunction
) _wrap_PyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32673 { (char *)"PyShape_ResetControlPoints", (PyCFunction
) _wrap_PyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32674 { (char *)"PyShape_GetEventHandler", (PyCFunction
) _wrap_PyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
32675 { (char *)"PyShape_SetEventHandler", (PyCFunction
) _wrap_PyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
32676 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32677 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32678 { (char *)"PyShape_Recompute", (PyCFunction
) _wrap_PyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
32679 { (char *)"PyShape_CalculateSize", (PyCFunction
) _wrap_PyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
32680 { (char *)"PyShape_Select", (PyCFunction
) _wrap_PyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
32681 { (char *)"PyShape_SetHighlight", (PyCFunction
) _wrap_PyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32682 { (char *)"PyShape_IsHighlighted", (PyCFunction
) _wrap_PyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
32683 { (char *)"PyShape_Selected", (PyCFunction
) _wrap_PyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
32684 { (char *)"PyShape_AncestorSelected", (PyCFunction
) _wrap_PyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
32685 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction
) _wrap_PyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
32686 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction
) _wrap_PyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
32687 { (char *)"PyShape_SetDraggable", (PyCFunction
) _wrap_PyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
32688 { (char *)"PyShape_SetFixedSize", (PyCFunction
) _wrap_PyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
32689 { (char *)"PyShape_GetFixedSize", (PyCFunction
) _wrap_PyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
32690 { (char *)"PyShape_GetFixedWidth", (PyCFunction
) _wrap_PyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
32691 { (char *)"PyShape_GetFixedHeight", (PyCFunction
) _wrap_PyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
32692 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction
) _wrap_PyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32693 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction
) _wrap_PyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32694 { (char *)"PyShape_SetShadowMode", (PyCFunction
) _wrap_PyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
32695 { (char *)"PyShape_GetShadowMode", (PyCFunction
) _wrap_PyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
32696 { (char *)"PyShape_HitTest", (PyCFunction
) _wrap_PyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
32697 { (char *)"PyShape_SetCentreResize", (PyCFunction
) _wrap_PyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
32698 { (char *)"PyShape_GetCentreResize", (PyCFunction
) _wrap_PyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
32699 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
32700 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
32701 { (char *)"PyShape_GetLines", (PyCFunction
) _wrap_PyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
32702 { (char *)"PyShape_SetDisableLabel", (PyCFunction
) _wrap_PyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
32703 { (char *)"PyShape_GetDisableLabel", (PyCFunction
) _wrap_PyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
32704 { (char *)"PyShape_SetAttachmentMode", (PyCFunction
) _wrap_PyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
32705 { (char *)"PyShape_GetAttachmentMode", (PyCFunction
) _wrap_PyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
32706 { (char *)"PyShape_SetId", (PyCFunction
) _wrap_PyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
32707 { (char *)"PyShape_GetId", (PyCFunction
) _wrap_PyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
32708 { (char *)"PyShape_SetPen", (PyCFunction
) _wrap_PyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
32709 { (char *)"PyShape_SetBrush", (PyCFunction
) _wrap_PyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
32710 { (char *)"PyShape_Show", (PyCFunction
) _wrap_PyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
32711 { (char *)"PyShape_IsShown", (PyCFunction
) _wrap_PyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
32712 { (char *)"PyShape_Move", (PyCFunction
) _wrap_PyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
32713 { (char *)"PyShape_Erase", (PyCFunction
) _wrap_PyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
32714 { (char *)"PyShape_EraseContents", (PyCFunction
) _wrap_PyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32715 { (char *)"PyShape_Draw", (PyCFunction
) _wrap_PyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
32716 { (char *)"PyShape_Flash", (PyCFunction
) _wrap_PyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
32717 { (char *)"PyShape_MoveLinks", (PyCFunction
) _wrap_PyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32718 { (char *)"PyShape_DrawContents", (PyCFunction
) _wrap_PyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32719 { (char *)"PyShape_SetSize", (PyCFunction
) _wrap_PyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
32720 { (char *)"PyShape_SetAttachmentSize", (PyCFunction
) _wrap_PyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
32721 { (char *)"PyShape_Attach", (PyCFunction
) _wrap_PyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
32722 { (char *)"PyShape_Detach", (PyCFunction
) _wrap_PyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
32723 { (char *)"PyShape_Constrain", (PyCFunction
) _wrap_PyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
32724 { (char *)"PyShape_AddLine", (PyCFunction
) _wrap_PyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
32725 { (char *)"PyShape_GetLinePosition", (PyCFunction
) _wrap_PyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
32726 { (char *)"PyShape_AddText", (PyCFunction
) _wrap_PyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
32727 { (char *)"PyShape_GetPen", (PyCFunction
) _wrap_PyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
32728 { (char *)"PyShape_GetBrush", (PyCFunction
) _wrap_PyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
32729 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_PyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
32730 { (char *)"PyShape_FormatText", (PyCFunction
) _wrap_PyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
32731 { (char *)"PyShape_SetFormatMode", (PyCFunction
) _wrap_PyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
32732 { (char *)"PyShape_GetFormatMode", (PyCFunction
) _wrap_PyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
32733 { (char *)"PyShape_SetFont", (PyCFunction
) _wrap_PyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
32734 { (char *)"PyShape_GetFont", (PyCFunction
) _wrap_PyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
32735 { (char *)"PyShape_SetTextColour", (PyCFunction
) _wrap_PyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32736 { (char *)"PyShape_GetTextColour", (PyCFunction
) _wrap_PyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32737 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_PyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
32738 { (char *)"PyShape_SetRegionName", (PyCFunction
) _wrap_PyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
32739 { (char *)"PyShape_GetRegionName", (PyCFunction
) _wrap_PyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
32740 { (char *)"PyShape_GetRegionId", (PyCFunction
) _wrap_PyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
32741 { (char *)"PyShape_NameRegions", (PyCFunction
) _wrap_PyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
32742 { (char *)"PyShape_GetRegions", (PyCFunction
) _wrap_PyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
32743 { (char *)"PyShape_AddRegion", (PyCFunction
) _wrap_PyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
32744 { (char *)"PyShape_ClearRegions", (PyCFunction
) _wrap_PyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
32745 { (char *)"PyShape_AssignNewIds", (PyCFunction
) _wrap_PyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
32746 { (char *)"PyShape_FindRegion", (PyCFunction
) _wrap_PyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
32747 { (char *)"PyShape_FindRegionNames", (PyCFunction
) _wrap_PyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
32748 { (char *)"PyShape_ClearText", (PyCFunction
) _wrap_PyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
32749 { (char *)"PyShape_RemoveLine", (PyCFunction
) _wrap_PyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
32750 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction
) _wrap_PyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
32751 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_PyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32752 { (char *)"PyShape_AttachmentIsValid", (PyCFunction
) _wrap_PyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
32753 { (char *)"PyShape_GetAttachments", (PyCFunction
) _wrap_PyShape_GetAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32754 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_PyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
32755 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_PyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
32756 { (char *)"PyShape_AttachmentSortTest", (PyCFunction
) _wrap_PyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
32757 { (char *)"PyShape_EraseLinks", (PyCFunction
) _wrap_PyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
32758 { (char *)"PyShape_DrawLinks", (PyCFunction
) _wrap_PyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
32759 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_PyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
32760 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_PyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
32761 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
32762 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
32763 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
32764 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_PyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
32765 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction
) _wrap_PyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
32766 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction
) _wrap_PyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
32767 { (char *)"PyShape_SetBranchStemLength", (PyCFunction
) _wrap_PyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
32768 { (char *)"PyShape_GetBranchStemLength", (PyCFunction
) _wrap_PyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
32769 { (char *)"PyShape_SetBranchSpacing", (PyCFunction
) _wrap_PyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
32770 { (char *)"PyShape_GetBranchSpacing", (PyCFunction
) _wrap_PyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
32771 { (char *)"PyShape_SetBranchStyle", (PyCFunction
) _wrap_PyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
32772 { (char *)"PyShape_GetBranchStyle", (PyCFunction
) _wrap_PyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
32773 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_PyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
32774 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_PyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
32775 { (char *)"PyShape_Draggable", (PyCFunction
) _wrap_PyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
32776 { (char *)"PyShape_HasDescendant", (PyCFunction
) _wrap_PyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
32777 { (char *)"PyShape_CreateNewCopy", (PyCFunction
) _wrap_PyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
32778 { (char *)"PyShape_Copy", (PyCFunction
) _wrap_PyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
32779 { (char *)"PyShape_CopyWithHandler", (PyCFunction
) _wrap_PyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
32780 { (char *)"PyShape_Rotate", (PyCFunction
) _wrap_PyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
32781 { (char *)"PyShape_GetRotation", (PyCFunction
) _wrap_PyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
32782 { (char *)"PyShape_SetRotation", (PyCFunction
) _wrap_PyShape_SetRotation
, METH_VARARGS
| METH_KEYWORDS
},
32783 { (char *)"PyShape_ClearAttachments", (PyCFunction
) _wrap_PyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
32784 { (char *)"PyShape_Recentre", (PyCFunction
) _wrap_PyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
32785 { (char *)"PyShape_ClearPointList", (PyCFunction
) _wrap_PyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
32786 { (char *)"PyShape_GetBackgroundPen", (PyCFunction
) _wrap_PyShape_GetBackgroundPen
, METH_VARARGS
| METH_KEYWORDS
},
32787 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction
) _wrap_PyShape_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
},
32788 { (char *)"PyShape_base_OnDelete", (PyCFunction
) _wrap_PyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32789 { (char *)"PyShape_base_OnDraw", (PyCFunction
) _wrap_PyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32790 { (char *)"PyShape_base_OnDrawContents", (PyCFunction
) _wrap_PyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32791 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32792 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32793 { (char *)"PyShape_base_OnErase", (PyCFunction
) _wrap_PyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32794 { (char *)"PyShape_base_OnEraseContents", (PyCFunction
) _wrap_PyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32795 { (char *)"PyShape_base_OnHighlight", (PyCFunction
) _wrap_PyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32796 { (char *)"PyShape_base_OnLeftClick", (PyCFunction
) _wrap_PyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32797 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32798 { (char *)"PyShape_base_OnRightClick", (PyCFunction
) _wrap_PyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32799 { (char *)"PyShape_base_OnSize", (PyCFunction
) _wrap_PyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32800 { (char *)"PyShape_base_OnMovePre", (PyCFunction
) _wrap_PyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32801 { (char *)"PyShape_base_OnMovePost", (PyCFunction
) _wrap_PyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32802 { (char *)"PyShape_base_OnDragLeft", (PyCFunction
) _wrap_PyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32803 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32804 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32805 { (char *)"PyShape_base_OnDragRight", (PyCFunction
) _wrap_PyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32806 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32807 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32808 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32809 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32810 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32811 { (char *)"PyShape_base_OnMoveLink", (PyCFunction
) _wrap_PyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32812 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32813 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32814 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32815 { (char *)"PyShape_base_OnBeginSize", (PyCFunction
) _wrap_PyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32816 { (char *)"PyShape_base_OnEndSize", (PyCFunction
) _wrap_PyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32817 { (char *)"PyShape_swigregister", PyShape_swigregister
, METH_VARARGS
},
32818 { (char *)"new_PseudoMetaFile", (PyCFunction
) _wrap_new_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32819 { (char *)"delete_PseudoMetaFile", (PyCFunction
) _wrap_delete_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32820 { (char *)"PseudoMetaFile_Draw", (PyCFunction
) _wrap_PseudoMetaFile_Draw
, METH_VARARGS
| METH_KEYWORDS
},
32821 { (char *)"PseudoMetaFile_Clear", (PyCFunction
) _wrap_PseudoMetaFile_Clear
, METH_VARARGS
| METH_KEYWORDS
},
32822 { (char *)"PseudoMetaFile_Copy", (PyCFunction
) _wrap_PseudoMetaFile_Copy
, METH_VARARGS
| METH_KEYWORDS
},
32823 { (char *)"PseudoMetaFile_Scale", (PyCFunction
) _wrap_PseudoMetaFile_Scale
, METH_VARARGS
| METH_KEYWORDS
},
32824 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction
) _wrap_PseudoMetaFile_ScaleTo
, METH_VARARGS
| METH_KEYWORDS
},
32825 { (char *)"PseudoMetaFile_Translate", (PyCFunction
) _wrap_PseudoMetaFile_Translate
, METH_VARARGS
| METH_KEYWORDS
},
32826 { (char *)"PseudoMetaFile_Rotate", (PyCFunction
) _wrap_PseudoMetaFile_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
32827 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction
) _wrap_PseudoMetaFile_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32828 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction
) _wrap_PseudoMetaFile_GetBounds
, METH_VARARGS
| METH_KEYWORDS
},
32829 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction
) _wrap_PseudoMetaFile_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
32830 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_SetRotateable
, METH_VARARGS
| METH_KEYWORDS
},
32831 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_GetRotateable
, METH_VARARGS
| METH_KEYWORDS
},
32832 { (char *)"PseudoMetaFile_SetSize", (PyCFunction
) _wrap_PseudoMetaFile_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
32833 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetFillBrush
, METH_VARARGS
| METH_KEYWORDS
},
32834 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_GetFillBrush
, METH_VARARGS
| METH_KEYWORDS
},
32835 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
},
32836 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
},
32837 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
},
32838 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
},
32839 { (char *)"PseudoMetaFile_IsValid", (PyCFunction
) _wrap_PseudoMetaFile_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
32840 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction
) _wrap_PseudoMetaFile_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
32841 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
32842 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
32843 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
32844 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
32845 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
32846 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction
) _wrap_PseudoMetaFile_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
32847 { (char *)"PseudoMetaFile_DrawText", (PyCFunction
) _wrap_PseudoMetaFile_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
32848 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction
) _wrap_PseudoMetaFile_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
32849 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction
) _wrap_PseudoMetaFile_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
32850 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction
) _wrap_PseudoMetaFile_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
32851 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
32852 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
32853 { (char *)"PseudoMetaFile_SetPen", (PyCFunction
) _wrap_PseudoMetaFile_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
32854 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
32855 { (char *)"PseudoMetaFile_SetFont", (PyCFunction
) _wrap_PseudoMetaFile_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
32856 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction
) _wrap_PseudoMetaFile_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32857 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32858 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
32859 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister
, METH_VARARGS
},
32860 { (char *)"new_PyRectangleShape", (PyCFunction
) _wrap_new_PyRectangleShape
, METH_VARARGS
| METH_KEYWORDS
},
32861 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction
) _wrap_PyRectangleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32862 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
32863 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_GetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
32864 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction
) _wrap_PyRectangleShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32865 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction
) _wrap_PyRectangleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32866 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32867 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32868 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32869 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction
) _wrap_PyRectangleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32870 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32871 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction
) _wrap_PyRectangleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32872 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32873 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32874 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32875 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32876 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32877 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32878 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32879 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32880 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32881 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32882 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32883 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32884 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32885 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32886 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32887 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32888 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32889 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32890 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32891 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32892 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32893 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister
, METH_VARARGS
},
32894 { (char *)"new_PyControlPoint", (PyCFunction
) _wrap_new_PyControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
32895 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction
) _wrap_PyControlPoint__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32896 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction
) _wrap_PyControlPoint_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
32897 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction
) _wrap_PyControlPoint_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32898 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction
) _wrap_PyControlPoint_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32899 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32900 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32901 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32902 { (char *)"PyControlPoint_base_OnErase", (PyCFunction
) _wrap_PyControlPoint_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32903 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32904 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction
) _wrap_PyControlPoint_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32905 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32906 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32907 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction
) _wrap_PyControlPoint_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32908 { (char *)"PyControlPoint_base_OnSize", (PyCFunction
) _wrap_PyControlPoint_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32909 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32910 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32911 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32912 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32913 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32914 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32915 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32916 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32917 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32918 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32919 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32920 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32921 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32922 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32923 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32924 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32925 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction
) _wrap_PyControlPoint_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32926 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister
, METH_VARARGS
},
32927 { (char *)"new_PyBitmapShape", (PyCFunction
) _wrap_new_PyBitmapShape
, METH_VARARGS
| METH_KEYWORDS
},
32928 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32929 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction
) _wrap_PyBitmapShape_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
32930 { (char *)"PyBitmapShape_GetFilename", (PyCFunction
) _wrap_PyBitmapShape_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
32931 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction
) _wrap_PyBitmapShape_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
32932 { (char *)"PyBitmapShape_SetFilename", (PyCFunction
) _wrap_PyBitmapShape_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
32933 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction
) _wrap_PyBitmapShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32934 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction
) _wrap_PyBitmapShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32935 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32936 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32937 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32938 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction
) _wrap_PyBitmapShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32939 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
32940 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction
) _wrap_PyBitmapShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32941 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
32942 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
32943 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
32944 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
32945 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
32946 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
32947 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32948 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32949 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32950 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32951 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32952 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
32953 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
32954 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32955 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
32956 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
32957 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32958 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32959 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
32960 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
32961 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
32962 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister
, METH_VARARGS
},
32963 { (char *)"new_PyDrawnShape", (PyCFunction
) _wrap_new_PyDrawnShape
, METH_VARARGS
| METH_KEYWORDS
},
32964 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction
) _wrap_PyDrawnShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32965 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction
) _wrap_PyDrawnShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
32966 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction
) _wrap_PyDrawnShape_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
32967 { (char *)"PyDrawnShape_DrawArc", (PyCFunction
) _wrap_PyDrawnShape_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
32968 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction
) _wrap_PyDrawnShape_DrawAtAngle
, METH_VARARGS
| METH_KEYWORDS
},
32969 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction
) _wrap_PyDrawnShape_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
32970 { (char *)"PyDrawnShape_DrawLine", (PyCFunction
) _wrap_PyDrawnShape_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
32971 { (char *)"PyDrawnShape_DrawLines", (PyCFunction
) _wrap_PyDrawnShape_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
32972 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction
) _wrap_PyDrawnShape_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
32973 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction
) _wrap_PyDrawnShape_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
32974 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
32975 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
32976 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction
) _wrap_PyDrawnShape_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
32977 { (char *)"PyDrawnShape_DrawText", (PyCFunction
) _wrap_PyDrawnShape_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
32978 { (char *)"PyDrawnShape_GetAngle", (PyCFunction
) _wrap_PyDrawnShape_GetAngle
, METH_VARARGS
| METH_KEYWORDS
},
32979 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction
) _wrap_PyDrawnShape_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32980 { (char *)"PyDrawnShape_GetRotation", (PyCFunction
) _wrap_PyDrawnShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
32981 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction
) _wrap_PyDrawnShape_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
32982 { (char *)"PyDrawnShape_Rotate", (PyCFunction
) _wrap_PyDrawnShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
32983 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction
) _wrap_PyDrawnShape_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
32984 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32985 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
32986 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBrush
, METH_VARARGS
| METH_KEYWORDS
},
32987 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnFont
, METH_VARARGS
| METH_KEYWORDS
},
32988 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnPen
, METH_VARARGS
| METH_KEYWORDS
},
32989 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32990 { (char *)"PyDrawnShape_Scale", (PyCFunction
) _wrap_PyDrawnShape_Scale
, METH_VARARGS
| METH_KEYWORDS
},
32991 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction
) _wrap_PyDrawnShape_SetSaveToFile
, METH_VARARGS
| METH_KEYWORDS
},
32992 { (char *)"PyDrawnShape_Translate", (PyCFunction
) _wrap_PyDrawnShape_Translate
, METH_VARARGS
| METH_KEYWORDS
},
32993 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction
) _wrap_PyDrawnShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
32994 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction
) _wrap_PyDrawnShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
32995 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
32996 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
32997 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
32998 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction
) _wrap_PyDrawnShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
32999 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33000 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction
) _wrap_PyDrawnShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33001 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33002 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33003 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33004 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33005 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33006 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33007 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33008 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33009 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33010 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33011 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33012 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33013 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33014 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33015 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33016 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33017 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33018 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33019 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33020 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33021 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33022 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister
, METH_VARARGS
},
33023 { (char *)"new_OGLConstraint", (PyCFunction
) _wrap_new_OGLConstraint
, METH_VARARGS
| METH_KEYWORDS
},
33024 { (char *)"OGLConstraint_Evaluate", (PyCFunction
) _wrap_OGLConstraint_Evaluate
, METH_VARARGS
| METH_KEYWORDS
},
33025 { (char *)"OGLConstraint_SetSpacing", (PyCFunction
) _wrap_OGLConstraint_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33026 { (char *)"OGLConstraint_Equals", (PyCFunction
) _wrap_OGLConstraint_Equals
, METH_VARARGS
| METH_KEYWORDS
},
33027 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister
, METH_VARARGS
},
33028 { (char *)"new_PyCompositeShape", (PyCFunction
) _wrap_new_PyCompositeShape
, METH_VARARGS
| METH_KEYWORDS
},
33029 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction
) _wrap_PyCompositeShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33030 { (char *)"PyCompositeShape_AddChild", (PyCFunction
) _wrap_PyCompositeShape_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
33031 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddConstraint
, METH_VARARGS
| METH_KEYWORDS
},
33032 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction
) _wrap_PyCompositeShape_AddConstrainedShapes
, METH_VARARGS
| METH_KEYWORDS
},
33033 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddSimpleConstraint
, METH_VARARGS
| METH_KEYWORDS
},
33034 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction
) _wrap_PyCompositeShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
33035 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction
) _wrap_PyCompositeShape_ContainsDivision
, METH_VARARGS
| METH_KEYWORDS
},
33036 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraint
, METH_VARARGS
| METH_KEYWORDS
},
33037 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild
, METH_VARARGS
| METH_KEYWORDS
},
33038 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction
) _wrap_PyCompositeShape_FindContainerImage
, METH_VARARGS
| METH_KEYWORDS
},
33039 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction
) _wrap_PyCompositeShape_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
33040 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction
) _wrap_PyCompositeShape_GetDivisions
, METH_VARARGS
| METH_KEYWORDS
},
33041 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction
) _wrap_PyCompositeShape_MakeContainer
, METH_VARARGS
| METH_KEYWORDS
},
33042 { (char *)"PyCompositeShape_Recompute", (PyCFunction
) _wrap_PyCompositeShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
33043 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction
) _wrap_PyCompositeShape_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
33044 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction
) _wrap_PyCompositeShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33045 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction
) _wrap_PyCompositeShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33046 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33047 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33048 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33049 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction
) _wrap_PyCompositeShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33050 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33051 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction
) _wrap_PyCompositeShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33052 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33053 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33054 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33055 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33056 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33057 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33058 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33059 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33060 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33061 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33062 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33063 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33064 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33065 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33066 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33067 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33068 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33069 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33070 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33071 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33072 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33073 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister
, METH_VARARGS
},
33074 { (char *)"new_PyDividedShape", (PyCFunction
) _wrap_new_PyDividedShape
, METH_VARARGS
| METH_KEYWORDS
},
33075 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction
) _wrap_PyDividedShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33076 { (char *)"PyDividedShape_EditRegions", (PyCFunction
) _wrap_PyDividedShape_EditRegions
, METH_VARARGS
| METH_KEYWORDS
},
33077 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction
) _wrap_PyDividedShape_SetRegionSizes
, METH_VARARGS
| METH_KEYWORDS
},
33078 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction
) _wrap_PyDividedShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33079 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction
) _wrap_PyDividedShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33080 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33081 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33082 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33083 { (char *)"PyDividedShape_base_OnErase", (PyCFunction
) _wrap_PyDividedShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33084 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33085 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction
) _wrap_PyDividedShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33086 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33087 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33088 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction
) _wrap_PyDividedShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33089 { (char *)"PyDividedShape_base_OnSize", (PyCFunction
) _wrap_PyDividedShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33090 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33091 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33092 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33093 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33094 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33095 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33096 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33097 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33098 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33099 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33100 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33101 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33102 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33103 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33104 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33105 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33106 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction
) _wrap_PyDividedShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33107 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister
, METH_VARARGS
},
33108 { (char *)"new_PyDivisionShape", (PyCFunction
) _wrap_new_PyDivisionShape
, METH_VARARGS
| METH_KEYWORDS
},
33109 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction
) _wrap_PyDivisionShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33110 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction
) _wrap_PyDivisionShape_AdjustBottom
, METH_VARARGS
| METH_KEYWORDS
},
33111 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction
) _wrap_PyDivisionShape_AdjustLeft
, METH_VARARGS
| METH_KEYWORDS
},
33112 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction
) _wrap_PyDivisionShape_AdjustRight
, METH_VARARGS
| METH_KEYWORDS
},
33113 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction
) _wrap_PyDivisionShape_AdjustTop
, METH_VARARGS
| METH_KEYWORDS
},
33114 { (char *)"PyDivisionShape_Divide", (PyCFunction
) _wrap_PyDivisionShape_Divide
, METH_VARARGS
| METH_KEYWORDS
},
33115 { (char *)"PyDivisionShape_EditEdge", (PyCFunction
) _wrap_PyDivisionShape_EditEdge
, METH_VARARGS
| METH_KEYWORDS
},
33116 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_GetBottomSide
, METH_VARARGS
| METH_KEYWORDS
},
33117 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_GetHandleSide
, METH_VARARGS
| METH_KEYWORDS
},
33118 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSide
, METH_VARARGS
| METH_KEYWORDS
},
33119 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
},
33120 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
},
33121 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction
) _wrap_PyDivisionShape_GetRightSide
, METH_VARARGS
| METH_KEYWORDS
},
33122 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction
) _wrap_PyDivisionShape_GetTopSide
, METH_VARARGS
| METH_KEYWORDS
},
33123 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
},
33124 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction
) _wrap_PyDivisionShape_ResizeAdjoining
, METH_VARARGS
| METH_KEYWORDS
},
33125 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction
) _wrap_PyDivisionShape_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
33126 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_SetBottomSide
, METH_VARARGS
| METH_KEYWORDS
},
33127 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_SetHandleSide
, METH_VARARGS
| METH_KEYWORDS
},
33128 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSide
, METH_VARARGS
| METH_KEYWORDS
},
33129 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
},
33130 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
},
33131 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction
) _wrap_PyDivisionShape_SetRightSide
, METH_VARARGS
| METH_KEYWORDS
},
33132 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction
) _wrap_PyDivisionShape_SetTopSide
, METH_VARARGS
| METH_KEYWORDS
},
33133 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetTopSideColour
, METH_VARARGS
| METH_KEYWORDS
},
33134 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
},
33135 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction
) _wrap_PyDivisionShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33136 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction
) _wrap_PyDivisionShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33137 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33138 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33139 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33140 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction
) _wrap_PyDivisionShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33141 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33142 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction
) _wrap_PyDivisionShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33143 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33144 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33145 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33146 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33147 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33148 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33149 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33150 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33151 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33152 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33153 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33154 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33155 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33156 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33157 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33158 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33159 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33160 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33161 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33162 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33163 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33164 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister
, METH_VARARGS
},
33165 { (char *)"new_PyEllipseShape", (PyCFunction
) _wrap_new_PyEllipseShape
, METH_VARARGS
| METH_KEYWORDS
},
33166 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction
) _wrap_PyEllipseShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33167 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction
) _wrap_PyEllipseShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33168 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33169 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33170 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33171 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction
) _wrap_PyEllipseShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33172 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33173 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction
) _wrap_PyEllipseShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33174 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33175 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33176 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33177 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33178 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33179 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33180 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33181 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33182 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33183 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33184 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33185 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33186 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33187 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33188 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33189 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33190 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33191 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33192 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33193 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33194 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33195 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister
, METH_VARARGS
},
33196 { (char *)"new_PyCircleShape", (PyCFunction
) _wrap_new_PyCircleShape
, METH_VARARGS
| METH_KEYWORDS
},
33197 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction
) _wrap_PyCircleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33198 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction
) _wrap_PyCircleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33199 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33200 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33201 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33202 { (char *)"PyCircleShape_base_OnErase", (PyCFunction
) _wrap_PyCircleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33203 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33204 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction
) _wrap_PyCircleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33205 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33206 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33207 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction
) _wrap_PyCircleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33208 { (char *)"PyCircleShape_base_OnSize", (PyCFunction
) _wrap_PyCircleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33209 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33210 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33211 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33212 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33213 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33214 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33215 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33216 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33217 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33218 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33219 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33220 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33221 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33222 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33223 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33224 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33225 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction
) _wrap_PyCircleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33226 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister
, METH_VARARGS
},
33227 { (char *)"new_ArrowHead", (PyCFunction
) _wrap_new_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
33228 { (char *)"delete_ArrowHead", (PyCFunction
) _wrap_delete_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
33229 { (char *)"ArrowHead__GetType", (PyCFunction
) _wrap_ArrowHead__GetType
, METH_VARARGS
| METH_KEYWORDS
},
33230 { (char *)"ArrowHead_GetPosition", (PyCFunction
) _wrap_ArrowHead_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
33231 { (char *)"ArrowHead_SetPosition", (PyCFunction
) _wrap_ArrowHead_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
33232 { (char *)"ArrowHead_GetXOffset", (PyCFunction
) _wrap_ArrowHead_GetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
33233 { (char *)"ArrowHead_GetYOffset", (PyCFunction
) _wrap_ArrowHead_GetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
33234 { (char *)"ArrowHead_GetSpacing", (PyCFunction
) _wrap_ArrowHead_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33235 { (char *)"ArrowHead_GetSize", (PyCFunction
) _wrap_ArrowHead_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
33236 { (char *)"ArrowHead_GetName", (PyCFunction
) _wrap_ArrowHead_GetName
, METH_VARARGS
| METH_KEYWORDS
},
33237 { (char *)"ArrowHead_SetXOffset", (PyCFunction
) _wrap_ArrowHead_SetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
33238 { (char *)"ArrowHead_SetYOffset", (PyCFunction
) _wrap_ArrowHead_SetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
33239 { (char *)"ArrowHead_GetMetaFile", (PyCFunction
) _wrap_ArrowHead_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
33240 { (char *)"ArrowHead_GetId", (PyCFunction
) _wrap_ArrowHead_GetId
, METH_VARARGS
| METH_KEYWORDS
},
33241 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction
) _wrap_ArrowHead_GetArrowEnd
, METH_VARARGS
| METH_KEYWORDS
},
33242 { (char *)"ArrowHead_GetArrowSize", (PyCFunction
) _wrap_ArrowHead_GetArrowSize
, METH_VARARGS
| METH_KEYWORDS
},
33243 { (char *)"ArrowHead_SetSize", (PyCFunction
) _wrap_ArrowHead_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
33244 { (char *)"ArrowHead_SetSpacing", (PyCFunction
) _wrap_ArrowHead_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33245 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister
, METH_VARARGS
},
33246 { (char *)"new_PyLineShape", (PyCFunction
) _wrap_new_PyLineShape
, METH_VARARGS
| METH_KEYWORDS
},
33247 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction
) _wrap_PyLineShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33248 { (char *)"PyLineShape_AddArrow", (PyCFunction
) _wrap_PyLineShape_AddArrow
, METH_VARARGS
| METH_KEYWORDS
},
33249 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction
) _wrap_PyLineShape_AddArrowOrdered
, METH_VARARGS
| METH_KEYWORDS
},
33250 { (char *)"PyLineShape_ClearArrow", (PyCFunction
) _wrap_PyLineShape_ClearArrow
, METH_VARARGS
| METH_KEYWORDS
},
33251 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction
) _wrap_PyLineShape_ClearArrowsAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
33252 { (char *)"PyLineShape_DrawArrow", (PyCFunction
) _wrap_PyLineShape_DrawArrow
, METH_VARARGS
| METH_KEYWORDS
},
33253 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
33254 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
33255 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction
) _wrap_PyLineShape_DeleteLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
33256 { (char *)"PyLineShape_DrawArrows", (PyCFunction
) _wrap_PyLineShape_DrawArrows
, METH_VARARGS
| METH_KEYWORDS
},
33257 { (char *)"PyLineShape_DrawRegion", (PyCFunction
) _wrap_PyLineShape_DrawRegion
, METH_VARARGS
| METH_KEYWORDS
},
33258 { (char *)"PyLineShape_EraseRegion", (PyCFunction
) _wrap_PyLineShape_EraseRegion
, METH_VARARGS
| METH_KEYWORDS
},
33259 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction
) _wrap_PyLineShape_FindArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
33260 { (char *)"PyLineShape_FindArrowHead", (PyCFunction
) _wrap_PyLineShape_FindArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
33261 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction
) _wrap_PyLineShape_FindLineEndPoints
, METH_VARARGS
| METH_KEYWORDS
},
33262 { (char *)"PyLineShape_FindLinePosition", (PyCFunction
) _wrap_PyLineShape_FindLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
33263 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction
) _wrap_PyLineShape_FindMinimumWidth
, METH_VARARGS
| METH_KEYWORDS
},
33264 { (char *)"PyLineShape_FindNth", (PyCFunction
) _wrap_PyLineShape_FindNth
, METH_VARARGS
| METH_KEYWORDS
},
33265 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_GetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
33266 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_GetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
33267 { (char *)"PyLineShape_GetEnds", (PyCFunction
) _wrap_PyLineShape_GetEnds
, METH_VARARGS
| METH_KEYWORDS
},
33268 { (char *)"PyLineShape_GetFrom", (PyCFunction
) _wrap_PyLineShape_GetFrom
, METH_VARARGS
| METH_KEYWORDS
},
33269 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction
) _wrap_PyLineShape_GetLabelPosition
, METH_VARARGS
| METH_KEYWORDS
},
33270 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction
) _wrap_PyLineShape_GetNextControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
33271 { (char *)"PyLineShape_GetTo", (PyCFunction
) _wrap_PyLineShape_GetTo
, METH_VARARGS
| METH_KEYWORDS
},
33272 { (char *)"PyLineShape_Initialise", (PyCFunction
) _wrap_PyLineShape_Initialise
, METH_VARARGS
| METH_KEYWORDS
},
33273 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction
) _wrap_PyLineShape_InsertLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
33274 { (char *)"PyLineShape_IsEnd", (PyCFunction
) _wrap_PyLineShape_IsEnd
, METH_VARARGS
| METH_KEYWORDS
},
33275 { (char *)"PyLineShape_IsSpline", (PyCFunction
) _wrap_PyLineShape_IsSpline
, METH_VARARGS
| METH_KEYWORDS
},
33276 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction
) _wrap_PyLineShape_MakeLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33277 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction
) _wrap_PyLineShape_GetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33278 { (char *)"PyLineShape_SetLineControlPoints", (PyCFunction
) _wrap_PyLineShape_SetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33279 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_SetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
33280 { (char *)"PyLineShape_SetAttachments", (PyCFunction
) _wrap_PyLineShape_SetAttachments
, METH_VARARGS
| METH_KEYWORDS
},
33281 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_SetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
33282 { (char *)"PyLineShape_SetEnds", (PyCFunction
) _wrap_PyLineShape_SetEnds
, METH_VARARGS
| METH_KEYWORDS
},
33283 { (char *)"PyLineShape_SetFrom", (PyCFunction
) _wrap_PyLineShape_SetFrom
, METH_VARARGS
| METH_KEYWORDS
},
33284 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction
) _wrap_PyLineShape_SetIgnoreOffsets
, METH_VARARGS
| METH_KEYWORDS
},
33285 { (char *)"PyLineShape_SetSpline", (PyCFunction
) _wrap_PyLineShape_SetSpline
, METH_VARARGS
| METH_KEYWORDS
},
33286 { (char *)"PyLineShape_SetTo", (PyCFunction
) _wrap_PyLineShape_SetTo
, METH_VARARGS
| METH_KEYWORDS
},
33287 { (char *)"PyLineShape_Straighten", (PyCFunction
) _wrap_PyLineShape_Straighten
, METH_VARARGS
| METH_KEYWORDS
},
33288 { (char *)"PyLineShape_Unlink", (PyCFunction
) _wrap_PyLineShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
33289 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_SetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
},
33290 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction
) _wrap_PyLineShape_SetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
},
33291 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_GetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
},
33292 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction
) _wrap_PyLineShape_GetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
},
33293 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction
) _wrap_PyLineShape_GetAlignmentStart
, METH_VARARGS
| METH_KEYWORDS
},
33294 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction
) _wrap_PyLineShape_GetAlignmentEnd
, METH_VARARGS
| METH_KEYWORDS
},
33295 { (char *)"PyLineShape_base_OnDraw", (PyCFunction
) _wrap_PyLineShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33296 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction
) _wrap_PyLineShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33297 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyLineShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33298 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33299 { (char *)"PyLineShape_base_OnErase", (PyCFunction
) _wrap_PyLineShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33300 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction
) _wrap_PyLineShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33301 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction
) _wrap_PyLineShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33302 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33303 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33304 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction
) _wrap_PyLineShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33305 { (char *)"PyLineShape_base_OnSize", (PyCFunction
) _wrap_PyLineShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33306 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction
) _wrap_PyLineShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33307 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction
) _wrap_PyLineShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33308 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33309 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33310 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33311 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33312 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33313 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33314 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyLineShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33315 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33316 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33317 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33318 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33319 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33320 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33321 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction
) _wrap_PyLineShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33322 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction
) _wrap_PyLineShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33323 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister
, METH_VARARGS
},
33324 { (char *)"new_PyPolygonShape", (PyCFunction
) _wrap_new_PyPolygonShape
, METH_VARARGS
| METH_KEYWORDS
},
33325 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction
) _wrap_PyPolygonShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33326 { (char *)"PyPolygonShape_Create", (PyCFunction
) _wrap_PyPolygonShape_Create
, METH_VARARGS
| METH_KEYWORDS
},
33327 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_AddPolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
33328 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction
) _wrap_PyPolygonShape_CalculatePolygonCentre
, METH_VARARGS
| METH_KEYWORDS
},
33329 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_DeletePolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
33330 { (char *)"PyPolygonShape_GetPoints", (PyCFunction
) _wrap_PyPolygonShape_GetPoints
, METH_VARARGS
| METH_KEYWORDS
},
33331 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
},
33332 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
},
33333 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
},
33334 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
},
33335 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
},
33336 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_UpdateOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
},
33337 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction
) _wrap_PyPolygonShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33338 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33339 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33340 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33341 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction
) _wrap_PyPolygonShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33342 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33343 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction
) _wrap_PyPolygonShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33344 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33345 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33346 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33347 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33348 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33349 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33350 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33351 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33352 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33353 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33354 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33355 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33356 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33357 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33358 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33359 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33360 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33361 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33362 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33363 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33364 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33365 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister
, METH_VARARGS
},
33366 { (char *)"new_PyTextShape", (PyCFunction
) _wrap_new_PyTextShape
, METH_VARARGS
| METH_KEYWORDS
},
33367 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction
) _wrap_PyTextShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33368 { (char *)"PyTextShape_base_OnDelete", (PyCFunction
) _wrap_PyTextShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
33369 { (char *)"PyTextShape_base_OnDraw", (PyCFunction
) _wrap_PyTextShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
33370 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction
) _wrap_PyTextShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
33371 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyTextShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
33372 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
33373 { (char *)"PyTextShape_base_OnErase", (PyCFunction
) _wrap_PyTextShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
33374 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction
) _wrap_PyTextShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
33375 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction
) _wrap_PyTextShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
33376 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33377 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
33378 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction
) _wrap_PyTextShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33379 { (char *)"PyTextShape_base_OnSize", (PyCFunction
) _wrap_PyTextShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
33380 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction
) _wrap_PyTextShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
33381 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction
) _wrap_PyTextShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
33382 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33383 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33384 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33385 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33386 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33387 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33388 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyTextShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33389 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33390 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
33391 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
33392 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33393 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33394 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33395 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction
) _wrap_PyTextShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
33396 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction
) _wrap_PyTextShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
33397 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister
, METH_VARARGS
},
33398 { (char *)"new_Diagram", (PyCFunction
) _wrap_new_Diagram
, METH_VARARGS
| METH_KEYWORDS
},
33399 { (char *)"Diagram_AddShape", (PyCFunction
) _wrap_Diagram_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
33400 { (char *)"Diagram_Clear", (PyCFunction
) _wrap_Diagram_Clear
, METH_VARARGS
| METH_KEYWORDS
},
33401 { (char *)"Diagram_DeleteAllShapes", (PyCFunction
) _wrap_Diagram_DeleteAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
33402 { (char *)"Diagram_DrawOutline", (PyCFunction
) _wrap_Diagram_DrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
33403 { (char *)"Diagram_FindShape", (PyCFunction
) _wrap_Diagram_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
33404 { (char *)"Diagram_GetCanvas", (PyCFunction
) _wrap_Diagram_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33405 { (char *)"Diagram_GetCount", (PyCFunction
) _wrap_Diagram_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
33406 { (char *)"Diagram_GetGridSpacing", (PyCFunction
) _wrap_Diagram_GetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33407 { (char *)"Diagram_GetMouseTolerance", (PyCFunction
) _wrap_Diagram_GetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
33408 { (char *)"Diagram_GetShapeList", (PyCFunction
) _wrap_Diagram_GetShapeList
, METH_VARARGS
| METH_KEYWORDS
},
33409 { (char *)"Diagram_GetQuickEditMode", (PyCFunction
) _wrap_Diagram_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
33410 { (char *)"Diagram_GetSnapToGrid", (PyCFunction
) _wrap_Diagram_GetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
33411 { (char *)"Diagram_InsertShape", (PyCFunction
) _wrap_Diagram_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
33412 { (char *)"Diagram_RecentreAll", (PyCFunction
) _wrap_Diagram_RecentreAll
, METH_VARARGS
| METH_KEYWORDS
},
33413 { (char *)"Diagram_Redraw", (PyCFunction
) _wrap_Diagram_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
33414 { (char *)"Diagram_RemoveAllShapes", (PyCFunction
) _wrap_Diagram_RemoveAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
33415 { (char *)"Diagram_RemoveShape", (PyCFunction
) _wrap_Diagram_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
33416 { (char *)"Diagram_SetCanvas", (PyCFunction
) _wrap_Diagram_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33417 { (char *)"Diagram_SetGridSpacing", (PyCFunction
) _wrap_Diagram_SetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
33418 { (char *)"Diagram_SetMouseTolerance", (PyCFunction
) _wrap_Diagram_SetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
33419 { (char *)"Diagram_SetQuickEditMode", (PyCFunction
) _wrap_Diagram_SetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
33420 { (char *)"Diagram_SetSnapToGrid", (PyCFunction
) _wrap_Diagram_SetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
33421 { (char *)"Diagram_ShowAll", (PyCFunction
) _wrap_Diagram_ShowAll
, METH_VARARGS
| METH_KEYWORDS
},
33422 { (char *)"Diagram_Snap", (PyCFunction
) _wrap_Diagram_Snap
, METH_VARARGS
| METH_KEYWORDS
},
33423 { (char *)"Diagram_swigregister", Diagram_swigregister
, METH_VARARGS
},
33424 { (char *)"new_PyShapeCanvas", (PyCFunction
) _wrap_new_PyShapeCanvas
, METH_VARARGS
| METH_KEYWORDS
},
33425 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction
) _wrap_PyShapeCanvas__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
33426 { (char *)"PyShapeCanvas_AddShape", (PyCFunction
) _wrap_PyShapeCanvas_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
33427 { (char *)"PyShapeCanvas_FindShape", (PyCFunction
) _wrap_PyShapeCanvas_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
33428 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction
) _wrap_PyShapeCanvas_FindFirstSensitiveShape
, METH_VARARGS
| METH_KEYWORDS
},
33429 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_GetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
33430 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction
) _wrap_PyShapeCanvas_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
33431 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction
) _wrap_PyShapeCanvas_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
33432 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33433 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33434 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33435 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33436 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
33437 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
33438 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
33439 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
33440 { (char *)"PyShapeCanvas_Redraw", (PyCFunction
) _wrap_PyShapeCanvas_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
33441 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction
) _wrap_PyShapeCanvas_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
33442 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_SetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
33443 { (char *)"PyShapeCanvas_Snap", (PyCFunction
) _wrap_PyShapeCanvas_Snap
, METH_VARARGS
| METH_KEYWORDS
},
33444 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister
, METH_VARARGS
},
33445 { (char *)"OGLInitialize", (PyCFunction
) _wrap_OGLInitialize
, METH_VARARGS
| METH_KEYWORDS
},
33446 { (char *)"OGLCleanUp", (PyCFunction
) _wrap_OGLCleanUp
, METH_VARARGS
| METH_KEYWORDS
},
33451 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33453 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33454 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33456 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33457 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33459 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33460 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33462 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33463 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33465 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33466 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33468 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33469 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33471 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33472 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33474 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33475 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33477 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33478 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33480 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x
) {
33481 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33483 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33484 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33486 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33487 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33489 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x
) {
33490 return (void *)((wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33492 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33493 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33495 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33496 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33498 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33499 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33501 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33502 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33504 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33505 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33507 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33508 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33510 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33511 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33513 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33514 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33516 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33517 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33519 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33520 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33522 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33523 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33525 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33526 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33528 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33529 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33531 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33532 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33534 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33535 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33537 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33538 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33540 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33541 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33543 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33544 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33546 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33547 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33549 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33550 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33552 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33553 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33555 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33556 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33558 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33559 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33561 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33562 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33564 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33565 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33567 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33568 return (void *)((wxWindow
*) ((wxControl
*) x
));
33570 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33571 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33573 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33574 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33576 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33577 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33579 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33580 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33582 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33583 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33585 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33586 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33588 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x
) {
33589 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33591 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33592 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33594 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33595 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33597 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33598 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33600 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33601 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33603 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33604 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33606 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33607 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33609 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33610 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33612 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33613 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33615 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33616 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33618 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
33619 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
33621 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
33622 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
33624 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33625 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33627 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33628 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33630 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
33631 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
33633 static void *_p_wxPyControlPointTo_p_wxObject(void *x
) {
33634 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
33636 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
33637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33639 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
33640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33642 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33643 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33645 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33646 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33648 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33649 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33651 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33652 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33654 static void *_p_wxOGLConstraintTo_p_wxObject(void *x
) {
33655 return (void *)((wxObject
*) ((wxOGLConstraint
*) x
));
33657 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33658 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33660 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33661 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33663 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33664 return (void *)((wxObject
*) ((wxSizer
*) x
));
33666 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x
) {
33667 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
33669 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x
) {
33670 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
33672 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x
) {
33673 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyPolygonShape
*) x
));
33675 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33676 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33678 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33679 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33681 static void *_p_wxArrowHeadTo_p_wxObject(void *x
) {
33682 return (void *)((wxObject
*) ((wxArrowHead
*) x
));
33684 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
33685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
33687 static void *_p_wxEventTo_p_wxObject(void *x
) {
33688 return (void *)((wxObject
*) ((wxEvent
*) x
));
33690 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
33691 return (void *)((wxObject
*) ((wxFontData
*) x
));
33693 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
33694 return (void *)((wxObject
*) ((wxPrintData
*) x
));
33696 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33697 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33699 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33700 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33702 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33703 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33705 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
33706 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
33708 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
33709 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
33711 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
33712 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33714 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33715 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33717 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33718 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33720 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33721 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33723 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33724 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33726 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33727 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33729 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33730 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33732 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
33733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33735 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x
) {
33736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33738 static void *_p_wxControlTo_p_wxObject(void *x
) {
33739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33741 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x
) {
33742 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyEllipseShape
*) x
));
33744 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33745 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33747 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
33748 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33750 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33751 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33753 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
33754 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
33756 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x
) {
33757 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
33759 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33760 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33762 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
33763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33765 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
33766 return (void *)((wxObject
*) ((wxColourData
*) x
));
33768 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33769 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33771 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33772 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33774 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
33775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
33777 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
33778 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33780 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
33781 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33783 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
33784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33786 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
33787 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33789 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
33790 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33792 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
33793 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33795 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
33796 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33798 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
33799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33801 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33802 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33804 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
33805 return (void *)((wxObject
*) ((wxPrinter
*) x
));
33807 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33808 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33810 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33811 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33813 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33814 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33816 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33817 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33819 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33820 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33822 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33823 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33825 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33826 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33828 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33829 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33831 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33832 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33834 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33835 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33837 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33838 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33840 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33841 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33843 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33844 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33846 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33847 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33849 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33850 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33852 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33853 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33855 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33856 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33858 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33859 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33861 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33862 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33864 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33865 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33867 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33868 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33870 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33871 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33873 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
33874 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
33876 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x
) {
33877 return (void *)((wxObject
*) ((wxPyShapeEvtHandler
*) x
));
33879 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
33880 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33882 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
33883 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33885 static void *_p_wxPyTextShapeTo_p_wxObject(void *x
) {
33886 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
33888 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33889 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33891 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x
) {
33892 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
33894 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
33895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33897 static void *_p_wxImageTo_p_wxObject(void *x
) {
33898 return (void *)((wxObject
*) ((wxImage
*) x
));
33900 static void *_p_wxFrameTo_p_wxObject(void *x
) {
33901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
33903 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
33904 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
33906 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33907 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33909 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
33910 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
33912 static void *_p_wxDiagramTo_p_wxObject(void *x
) {
33913 return (void *)((wxObject
*) ((wxDiagram
*) x
));
33915 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
33916 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
33918 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
33919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33921 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33922 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33924 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33925 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33927 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33928 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33930 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33931 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33933 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33934 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33936 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33939 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
33940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
33942 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
33943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
33945 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
33946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
33948 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
33949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
33951 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
33952 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
33954 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
33955 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33957 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
33958 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
33960 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
33961 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33963 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
33964 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33966 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
33967 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33969 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
33970 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
33972 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
33973 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33975 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
33976 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
33978 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
33979 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
33981 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
33982 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33984 static void *_p_wxPanelTo_p_wxObject(void *x
) {
33985 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
33987 static void *_p_wxDialogTo_p_wxObject(void *x
) {
33988 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
33990 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
33991 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33993 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
33994 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33996 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
33997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33999 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
34000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
34002 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
34003 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
34005 static void *_p_wxAttachmentPointTo_p_wxObject(void *x
) {
34006 return (void *)((wxObject
*) ((wxAttachmentPoint
*) x
));
34008 static void *_p_wxPyShapeTo_p_wxObject(void *x
) {
34009 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
34011 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
34012 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
34014 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
34015 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
34017 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
34018 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
34020 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
34021 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
34023 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
34024 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
34026 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
34027 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
34029 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
34030 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
34032 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
34033 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
34035 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
34036 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
34038 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
34039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
34041 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
34042 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
34044 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
34045 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
34047 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
34048 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
34050 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
34051 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
34053 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x
) {
34054 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyRectangleShape
*) x
));
34056 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x
) {
34057 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34059 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x
) {
34060 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34062 static void *_p_wxPyLineShapeTo_p_wxObject(void *x
) {
34063 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyLineShape
*) x
));
34065 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x
) {
34066 return (void *)((wxObject
*) ((wxPseudoMetaFile
*) x
));
34068 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
34069 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34071 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
34072 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
34074 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
34075 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
34077 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
34078 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
34080 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
34081 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
34083 static void *_p_wxShapeRegionTo_p_wxObject(void *x
) {
34084 return (void *)((wxObject
*) ((wxShapeRegion
*) x
));
34086 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34087 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyRectangleShape
*) x
));
34089 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34090 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34092 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34093 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34095 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34096 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34098 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34099 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyLineShape
*) x
));
34101 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34102 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34104 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x
) {
34105 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34107 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34108 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34110 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34111 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34113 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34114 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyPolygonShape
*) x
));
34116 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34117 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34119 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34120 return (void *)((wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
34122 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34123 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyEllipseShape
*) x
));
34125 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
34126 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
34128 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
34129 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
34131 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
34132 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
34134 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
34135 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
34137 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
34138 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
34140 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
34141 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
34143 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
34144 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
34146 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
34147 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
34149 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
34150 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
34152 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
34153 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
34155 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
34156 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
34158 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
34159 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
34161 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
34162 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
34164 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
34165 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
34167 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
34168 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
34170 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
34171 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
34173 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
34174 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
34176 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
34177 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
34179 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
34180 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
34182 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
34183 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
34185 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
34186 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
34188 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
34189 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
34191 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
34192 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
34194 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
34195 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
34197 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
34198 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
34200 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
34201 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
34203 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
34204 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
34206 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
34207 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
34209 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
34210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
34212 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
34213 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
34215 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
34216 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
34218 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
34219 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
34221 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
34222 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
34224 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
34225 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
34227 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
34228 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34230 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
34231 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
34233 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
34234 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
34236 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x
) {
34237 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
34239 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
34240 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
34242 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
34243 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
34245 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34246 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
34248 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34249 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
34251 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
34252 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
34254 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
34255 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
34257 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
34258 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
34260 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
34261 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
34263 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
34264 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
34266 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
34267 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
34269 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
34270 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
34272 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
34273 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
34275 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
34276 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
34278 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x
) {
34279 return (void *)((wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34281 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x
) {
34282 return (void *)((wxPyShape
*) ((wxPyRectangleShape
*) x
));
34284 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x
) {
34285 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34287 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x
) {
34288 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34290 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x
) {
34291 return (void *)((wxPyShape
*) (wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34293 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x
) {
34294 return (void *)((wxPyShape
*) ((wxPyLineShape
*) x
));
34296 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x
) {
34297 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34299 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x
) {
34300 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34302 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x
) {
34303 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34305 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x
) {
34306 return (void *)((wxPyShape
*) (wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34308 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x
) {
34309 return (void *)((wxPyShape
*) ((wxPyPolygonShape
*) x
));
34311 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x
) {
34312 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34314 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x
) {
34315 return (void *)((wxPyShape
*) ((wxPyEllipseShape
*) x
));
34317 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x
) {
34318 return (void *)((wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34320 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x
) {
34321 return (void *)((wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34323 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x
) {
34324 return (void *)((wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34326 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x
) {
34327 return (void *)((wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34329 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x
) {
34330 return (void *)((wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34332 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x
) {
34333 return (void *)((wxPyRectangleShape
*) (wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34335 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x
) {
34336 return (void *)((wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34338 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x
) {
34339 return (void *)((wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34341 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}};
34342 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}};
34343 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}};
34344 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}};
34345 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}};
34346 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}};
34347 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}};
34348 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}};
34349 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}};
34350 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}};
34351 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}};
34352 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}};
34353 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}};
34354 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}};
34355 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}};
34356 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}};
34357 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}};
34358 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}};
34359 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}};
34360 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}};
34361 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}};
34362 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}};
34363 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}};
34364 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}};
34365 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}};
34366 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}};
34367 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}};
34368 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}};
34369 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}};
34370 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}};
34371 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}};
34372 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}};
34373 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}};
34374 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}};
34375 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}};
34376 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}};
34377 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}};
34378 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}};
34379 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}};
34380 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}};
34381 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}};
34383 static swig_type_info
*swig_types_initial
[] = {
34384 _swigt__p_wxOGLConstraint
,
34386 _swigt__p_wxColour
,
34387 _swigt__p_wxShapeRegion
,
34389 _swigt__p_wxRealPoint
,
34390 _swigt__p_wxPyControlPoint
,
34391 _swigt__p_wxArrowHead
,
34393 _swigt__p_wxStringList
,
34398 _swigt__p_wxScrolledWindow
,
34399 _swigt__p_wxWindow
,
34401 _swigt__p_wxPyDivisionShape
,
34402 _swigt__p_wxPyDrawnShape
,
34403 _swigt__p_wxPyPolygonShape
,
34404 _swigt__p_wxBitmap
,
34405 _swigt__p_wxObject
,
34406 _swigt__p_wxPyBitmapShape
,
34407 _swigt__p_wxPyShapeEvtHandler
,
34408 _swigt__p_wxEvtHandler
,
34409 _swigt__p_wxPyEllipseShape
,
34410 _swigt__p_wxPyShapeCanvas
,
34412 _swigt__p_wxDiagram
,
34413 _swigt__p_wxPyShape
,
34414 _swigt__p_wxAttachmentPoint
,
34415 _swigt__p_wxClassInfo
,
34416 _swigt__p_wxPyLineShape
,
34417 _swigt__p_wxPyRectangleShape
,
34418 _swigt__p_wxPyCompositeShape
,
34419 _swigt__p_wxPyCircleShape
,
34422 _swigt__p_wxPseudoMetaFile
,
34423 _swigt__p_wxPyTextShape
,
34424 _swigt__p_wxPyDividedShape
,
34429 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34431 static swig_const_info swig_const_table
[] = {
34441 SWIGEXPORT(void) SWIG_init(void) {
34442 static PyObject
*SWIG_globals
= 0;
34443 static int typeinit
= 0;
34446 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
34447 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34448 d
= PyModule_GetDict(m
);
34451 for (i
= 0; swig_types_initial
[i
]; i
++) {
34452 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
34456 SWIG_InstallConstants(d
,swig_const_table
);
34458 PyDict_SetItemString(d
,"oglMETAFLAGS_OUTLINE", SWIG_FromInt((int)oglMETAFLAGS_OUTLINE
));
34459 PyDict_SetItemString(d
,"oglMETAFLAGS_ATTACHMENTS", SWIG_FromInt((int)oglMETAFLAGS_ATTACHMENTS
));
34460 PyDict_SetItemString(d
,"KEY_SHIFT", SWIG_FromInt((int)KEY_SHIFT
));
34461 PyDict_SetItemString(d
,"KEY_CTRL", SWIG_FromInt((int)KEY_CTRL
));
34462 PyDict_SetItemString(d
,"ARROW_NONE", SWIG_FromInt((int)ARROW_NONE
));
34463 PyDict_SetItemString(d
,"ARROW_END", SWIG_FromInt((int)ARROW_END
));
34464 PyDict_SetItemString(d
,"ARROW_BOTH", SWIG_FromInt((int)ARROW_BOTH
));
34465 PyDict_SetItemString(d
,"ARROW_MIDDLE", SWIG_FromInt((int)ARROW_MIDDLE
));
34466 PyDict_SetItemString(d
,"ARROW_START", SWIG_FromInt((int)ARROW_START
));
34467 PyDict_SetItemString(d
,"ARROW_HOLLOW_CIRCLE", SWIG_FromInt((int)ARROW_HOLLOW_CIRCLE
));
34468 PyDict_SetItemString(d
,"ARROW_FILLED_CIRCLE", SWIG_FromInt((int)ARROW_FILLED_CIRCLE
));
34469 PyDict_SetItemString(d
,"ARROW_ARROW", SWIG_FromInt((int)ARROW_ARROW
));
34470 PyDict_SetItemString(d
,"ARROW_SINGLE_OBLIQUE", SWIG_FromInt((int)ARROW_SINGLE_OBLIQUE
));
34471 PyDict_SetItemString(d
,"ARROW_DOUBLE_OBLIQUE", SWIG_FromInt((int)ARROW_DOUBLE_OBLIQUE
));
34472 PyDict_SetItemString(d
,"ARROW_METAFILE", SWIG_FromInt((int)ARROW_METAFILE
));
34473 PyDict_SetItemString(d
,"ARROW_POSITION_END", SWIG_FromInt((int)ARROW_POSITION_END
));
34474 PyDict_SetItemString(d
,"ARROW_POSITION_START", SWIG_FromInt((int)ARROW_POSITION_START
));
34475 PyDict_SetItemString(d
,"CONTROL_POINT_VERTICAL", SWIG_FromInt((int)CONTROL_POINT_VERTICAL
));
34476 PyDict_SetItemString(d
,"CONTROL_POINT_HORIZONTAL", SWIG_FromInt((int)CONTROL_POINT_HORIZONTAL
));
34477 PyDict_SetItemString(d
,"CONTROL_POINT_DIAGONAL", SWIG_FromInt((int)CONTROL_POINT_DIAGONAL
));
34478 PyDict_SetItemString(d
,"CONTROL_POINT_ENDPOINT_TO", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_TO
));
34479 PyDict_SetItemString(d
,"CONTROL_POINT_ENDPOINT_FROM", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_FROM
));
34480 PyDict_SetItemString(d
,"CONTROL_POINT_LINE", SWIG_FromInt((int)CONTROL_POINT_LINE
));
34481 PyDict_SetItemString(d
,"FORMAT_NONE", SWIG_FromInt((int)FORMAT_NONE
));
34482 PyDict_SetItemString(d
,"FORMAT_CENTRE_HORIZ", SWIG_FromInt((int)FORMAT_CENTRE_HORIZ
));
34483 PyDict_SetItemString(d
,"FORMAT_CENTRE_VERT", SWIG_FromInt((int)FORMAT_CENTRE_VERT
));
34484 PyDict_SetItemString(d
,"FORMAT_SIZE_TO_CONTENTS", SWIG_FromInt((int)FORMAT_SIZE_TO_CONTENTS
));
34485 PyDict_SetItemString(d
,"LINE_ALIGNMENT_HORIZ", SWIG_FromInt((int)LINE_ALIGNMENT_HORIZ
));
34486 PyDict_SetItemString(d
,"LINE_ALIGNMENT_VERT", SWIG_FromInt((int)LINE_ALIGNMENT_VERT
));
34487 PyDict_SetItemString(d
,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_FromInt((int)LINE_ALIGNMENT_TO_NEXT_HANDLE
));
34488 PyDict_SetItemString(d
,"LINE_ALIGNMENT_NONE", SWIG_FromInt((int)LINE_ALIGNMENT_NONE
));
34489 PyDict_SetItemString(d
,"SHADOW_NONE", SWIG_FromInt((int)SHADOW_NONE
));
34490 PyDict_SetItemString(d
,"SHADOW_LEFT", SWIG_FromInt((int)SHADOW_LEFT
));
34491 PyDict_SetItemString(d
,"SHADOW_RIGHT", SWIG_FromInt((int)SHADOW_RIGHT
));
34492 PyDict_SetItemString(d
,"OP_CLICK_LEFT", SWIG_FromInt((int)OP_CLICK_LEFT
));
34493 PyDict_SetItemString(d
,"OP_CLICK_RIGHT", SWIG_FromInt((int)OP_CLICK_RIGHT
));
34494 PyDict_SetItemString(d
,"OP_DRAG_LEFT", SWIG_FromInt((int)OP_DRAG_LEFT
));
34495 PyDict_SetItemString(d
,"OP_DRAG_RIGHT", SWIG_FromInt((int)OP_DRAG_RIGHT
));
34496 PyDict_SetItemString(d
,"OP_ALL", SWIG_FromInt((int)OP_ALL
));
34497 PyDict_SetItemString(d
,"ATTACHMENT_MODE_NONE", SWIG_FromInt((int)ATTACHMENT_MODE_NONE
));
34498 PyDict_SetItemString(d
,"ATTACHMENT_MODE_EDGE", SWIG_FromInt((int)ATTACHMENT_MODE_EDGE
));
34499 PyDict_SetItemString(d
,"ATTACHMENT_MODE_BRANCHING", SWIG_FromInt((int)ATTACHMENT_MODE_BRANCHING
));
34500 PyDict_SetItemString(d
,"BRANCHING_ATTACHMENT_NORMAL", SWIG_FromInt((int)BRANCHING_ATTACHMENT_NORMAL
));
34501 PyDict_SetItemString(d
,"BRANCHING_ATTACHMENT_BLOB", SWIG_FromInt((int)BRANCHING_ATTACHMENT_BLOB
));
34502 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_VERTICALLY
));
34503 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_HORIZONTALLY
));
34504 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_BOTH", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_BOTH
));
34505 PyDict_SetItemString(d
,"gyCONSTRAINT_LEFT_OF", SWIG_FromInt((int)gyCONSTRAINT_LEFT_OF
));
34506 PyDict_SetItemString(d
,"gyCONSTRAINT_RIGHT_OF", SWIG_FromInt((int)gyCONSTRAINT_RIGHT_OF
));
34507 PyDict_SetItemString(d
,"gyCONSTRAINT_ABOVE", SWIG_FromInt((int)gyCONSTRAINT_ABOVE
));
34508 PyDict_SetItemString(d
,"gyCONSTRAINT_BELOW", SWIG_FromInt((int)gyCONSTRAINT_BELOW
));
34509 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_TOP
));
34510 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_BOTTOM
));
34511 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_LEFT
));
34512 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_RIGHT
));
34513 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_TOP
));
34514 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_BOTTOM
));
34515 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_LEFT
));
34516 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_RIGHT
));
34517 PyDict_SetItemString(d
,"DIVISION_SIDE_NONE", SWIG_FromInt((int)DIVISION_SIDE_NONE
));
34518 PyDict_SetItemString(d
,"DIVISION_SIDE_LEFT", SWIG_FromInt((int)DIVISION_SIDE_LEFT
));
34519 PyDict_SetItemString(d
,"DIVISION_SIDE_TOP", SWIG_FromInt((int)DIVISION_SIDE_TOP
));
34520 PyDict_SetItemString(d
,"DIVISION_SIDE_RIGHT", SWIG_FromInt((int)DIVISION_SIDE_RIGHT
));
34521 PyDict_SetItemString(d
,"DIVISION_SIDE_BOTTOM", SWIG_FromInt((int)DIVISION_SIDE_BOTTOM
));
34524 // initoglbasicc();
34525 // initoglshapesc();
34526 // initoglshapes2c();
34527 // initoglcanvasc();
34530 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
34531 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
34532 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
34533 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
34534 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
34535 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
34536 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
34537 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
34538 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
34539 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
34540 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
34541 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
34542 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
34543 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");